Ian Underwood | 29 Mar 22:53
Picon
Picon

Syntax detection problem

Dear developers

I've noticed a possible problem with the way that AUCTeX's syntax 
detection/highlighting works on a LaTeX document. Take the following 
snippet of code:

\verb=C:\=

by which, of course, I intend to insert 'C:\' into a document. 
AUCTeX/Emacs fails to recognize the end of the \verb environment, so the 
rest of the document gets flooded with brown text. This only happens 
when final character is a backslash, so it seems that the identification 
  of a command (\=) is somehow interfering with detection of the end of 
the \verb environment.

best regards,
--

-- 
Ian Underwood
  ian <at> ling.ed.ac.uk
  www.ling.ed.ac.uk/~s0453746
Reiner Steib | 29 Mar 12:30
X-Face
Favicon

Re: Mailing lists...

On Mon, Mar 28 2005, David Kastrup wrote:

> Reiner Steib <reinersteib+gmane <at> imap.cc> writes:
>
>> On Thu, Mar 24 2005, Reiner Steib wrote:
>>> I would propose:
>>>
>>> - Keep the current (=old) Gmane groups.
>
> Not really enthused about that idea.  Can they be hidden from the
> group display, so that article links still work, but the groups are
> not visible in the group overview anymore?

It's no possible to to it in the way I had in mind:

,----[ http://article.gmane.org/gmane.discuss/7830 ]
| inn rejects messages that are already present in the spool, so the
| Message-IDs will change, and all threading will break.
`----

So I will request the Gmane groups for new mailing list now.  We can
think about the archives and the old Gmane groups later.

Bye, Reiner.
--

-- 
       ,,,
      (o o)
---ooO-(_)-Ooo---  |  PGP key available  |  http://rsteib.home.pages.de/

_______________________________________________
(Continue reading)

Ralf Angeli | 29 Mar 10:00
Picon

Special hyphen string insertion for (n)german.sty

In documents loading german.sty or ngerman.sty, you can now insert a
special hyphen string provided by these packages by typing `-' twice.
The first key press will insert - and the second will replace it with
"=.  The third will replace "= with --.  Any subsequent key press will
add another -.  Sounds confusing?  Well, it isn't.  Just try it.

In the German TeX newsgroup people with report problems about words
with hyphens are not broken accross lines correctly.  So I thought
about letting "= be inserted right at the first key press (you can
control the behavior with the variable
`LaTeX-german-hyphen-after-hyphen') but this is probably too
intrusive.

Another idea was to cycle through the hyphen strings and hyphenation
aids (n)german.sty provides ("=, "~, "-) with -, but this clashed a
bit with sticking to the insertion of - with subsequent key presses.

Does anybody like to document this feature?  We should probably add a
new section to the manual containing information about special support
for certain LaTeX packages.  This could also be a place to put the
stuff about (n)german.sty and csquotes.sty currently in (info
"(auctex)Quotes").

--

-- 
Ralf
Ralf Angeli | 29 Mar 09:20
Picon

Re: [AUCTeX] Re: Prompt for master file

* David Kastrup (2005-03-28) writes:

> Ian Underwood <ian <at> ling.ed.ac.uk> writes:
>
>> I didn't quite follow Ralf's instructions to the letter after all!
>> I've now discovered that provided I
>>
>> a) open the file with C-x C-f (NOT the menu)
>
> Uh, is that supposed to make a difference?

It shouldn't make a difference but apparently it does.  I thought only
CVS Emacs was affected (you know, that hang we've already got two bug
reports about), but it seems that on Emacs 21.3 there are problems,
too.

As we don't have anybody with an AUCTeX installation on Windows
debugging this, we should probably add it to the known bugs section in
the manual.

--

-- 
Ralf
Ralf Angeli | 29 Mar 09:22
Picon

Re: New mailing lists on web page

* David Kastrup (2005-03-28) writes:

> Did the unsubscribe confirmation mails for
> the old auc-tex list make it to anybody or did they just arrive at my
> mailbox?

I only got the subscription messages for the new lists.

--

-- 
Ralf
David Kastrup | 24 Mar 01:47
Picon
Picon

Mailing lists...


Hello,

I have now got all the mailing lists at gnu.org together and will
configure them in the next few days.  After thinking this over, I have
decided that I shall attempt to transfer all the subscriptions myself.
There are a few problems with this approach:

I am not actually the list owner of the AUCTeX mailing list (or if I
am, I don't know how to make use of it), but the moderator.  I can get
the subscription list, but I don't think I can change it.  I'll
probably try writing a script that will subscribe and unsubscribe
everyone by sending the respective mails to the list managing
software.  This will mean that you will get mails and have to
reconfirm both your unsubscription as well as your subscription.

I'll only transfer the auc-tex list, though: I think that few people
are actually subscribed to the preview-latex-only lists without being
subscribed to AUCTeX as well.  I'll redirect the preview-latex-bugs
list to bug-auctex, and the preview-latex-devel list to auctex-devel.
I think it would make sense to remove the preview-related groups from
gmane altogether: they are already archived at Sourceforge, and people
that look into the then stagnant gmane groups might get the wrong
impression that the project has died.  Of course, not finding any
preview-latex specific group any more might lead to a similar
conclusion.  Sigh.  Maybe one can have a group that only contains a
single article pointing to where one should look instead?

I think Reiner might manage telling the Gmane people what groups to
create and how: he certainly has shown the largest amount of clue
(Continue reading)

Tim Janssen | 8 Mar 15:28
Picon
Favicon

Mystery errors

LS,

I just installed preview-latex and cannot even get the
demo (circ.tex) to work. All my software is pretty
recent and I have checked settings according to the
things listed in Known Problems. All seems ok but I
get "error in EPS file" and the compilation says:

===================================================
(/usr/share/texmf/tex/latex/base/inputenc.sty
(/usr/share/texmf/tex/latex/base/latin1.def))
(preview.sty (prauctex.def
)) (circ.aux)

! Package Preview Error: Snippet 1 started.

See the Preview package documentation for explanation.
Type  H <return>  for immediate help.
 ...                                              

l.41 \begin{abstract}

[1]

! Package Preview Error: Snippet 1 ended.

See the Preview package documentation for explanation.
Type  H <return>  for immediate help.
 ...                                              

(Continue reading)

David Kastrup | 8 Mar 12:26
Picon
Picon

Important: CVS move of preview-latex into AUCTeX completed.


Dear preview-latex developers and users,

like announced previously, preview-latex has been moved into the
AUCTeX CVS archive.  preview-latex 0.9 was the last version released
from Sourceforge.  It will take some time to reflect this change on
web site and similar: I think we should have a short blurb on the
AUCTeX web site showing off the functionality, and a somewhat longer
web site with screen shots that gets referenced, but that is also in
the AUCTeX design.  I will then let the web site at Sourceforge
redirect to this page.

Since the move is now completed, also for dvipng, I will shortly give
notice to SourceForge about this move to make sure we are not being in
conflict with their policies.  The ideal solution I would want to have
is to have the preview-latex site and pages at Sourceforge basically
point to AUCTeX.  I'll see what parts would be reasonable to shut down
there completely, and what parts of download area and CVS would
remain, partly for archival reasons.

This also means that it is perfectly feasible for previous
preview-latex developers and combined preview-latex/AUCTeX developers
to request the copyright assignment forms from the FSF, as previously
discussed.  Please use the appended form to do so, requiring a form
for the AUCTeX project, and using preview/preview.el and similar file
names for the files you touched.

People with a copyright assignment in place for AUCTeX that have _not_
previously worked on preview-latex don't need to hand in any _new_
request if they now want to start working on it: preview-latex is now
(Continue reading)

Frank Küster | 4 Mar 14:12
Picon

rel-0-9; Initialisation: Error in INSTALL or in preview-latex.el


Remember to cover the basics.  Including a minimal LaTeX example
file exhibiting the problem might help.

The INSTALL file says:

,----
|    For GNU Emacs, the recommended way to activate preview-latex is to
| copy the file `preview-latex.el' (which is generated during the
| installation) to a place where your installation keeps automatically
| loaded startup files.  Alternatively, you can copy it to some place on
| your `load-path' and load it with
| 
|      (load "preview-latex.el" nil t t)
| 
|    That is all.
`----

However, preview-latex.el contains these lines:

(add-to-list 'load-path (expand-file-name "preview" (file-name-directory load-file-name)))
(defvar preview-icondir (expand-file-name "preview/images" (file-name-directory load-file-name)))

As far as my understanding of Emacs lisp goes, file-name-directory
load-file-name will be /etc/emacs/site-start.d/ if I copy
preview-latex.el to that directory, which is "a place where my
installation keeps automatically loaded startup files".

Creating a file with the load statement in it in that directory seems
to work.
(Continue reading)

Frank Küster | 4 Mar 14:27
Picon

rel-0-9; No previews with version 0.9


emacs -q --no-site-file
M-x toggle-debug-on-error RET
M-x load-library RET tex-site RET
M-x load-library RET preview-latex RET
C-x C-f latex/text/auctex/preview-gs-mini.tex

,----
| \documentclass{book}
| 
| \usepackage[textmath]{preview}
| 
| 
| \begin{document}
| 
| 
| $a$
| 
| \end{document}
| 
| %%% Local Variables: 
| %%% mode: latex
| %%% TeX-master: t
| %%% End: 
`----

C-c C-p C-b y 

I get "Type `C-c C-l' to display results of compilation", but no
change in the file buffer.  The image is generated, because in the
(Continue reading)

David Ronis | 4 Mar 02:43
Picon

Error building preview-latex-0.9


I'm trying to build 0.9 on an i686 box, on which emacs-20.4.1 is
running.  I built 0.8 on the same box and it works.  Here the build
dies with the error:

make[1]: Leaving directory `/home/ronis/preview-latex-0.9/latex'
for x in prv-emacs.el preview.el ; do \
  echo /usr/local/bin/emacs -batch -q -no-site-file -no-init-file --eval '(setq load-path (cons "."
load-path))' -eval '(let ((dir (pop command-line-args-left))) (if (not (string-equal dir "")) (push
dir load-path)))' /usr/local/share/emacs/site-lisp -f batch-byte-compile $x ; \
  /usr/local/bin/emacs -batch -q -no-site-file -no-init-file --eval '(setq load-path (cons "."
load-path))' -eval '(let ((dir (pop command-line-args-left))) (if (not (string-equal dir "")) (push
dir load-path)))' /usr/local/share/emacs/site-lisp -f batch-byte-compile $x ; \
done
/usr/local/bin/emacs -batch -q -no-site-file -no-init-file --eval (setq load-path (cons "."
load-path)) -eval (let ((dir (pop command-line-args-left))) (if (not (string-equal dir "")) (push dir
load-path))) /usr/local/share/emacs/site-lisp -f batch-byte-compile prv-emacs.el
While compiling toplevel forms in file /home/ronis/preview-latex-0.9/prv-emacs.el:
  !! Wrong type argument ((listp -129278440))
Done
/usr/local/bin/emacs -batch -q -no-site-file -no-init-file --eval (setq load-path (cons "."
load-path)) -eval (let ((dir (pop command-line-args-left))) (if (not (string-equal dir "")) (push dir
load-path))) /usr/local/share/emacs/site-lisp -f batch-byte-compile preview.el
While compiling toplevel forms in file /home/ronis/preview-latex-0.9/preview.el:
  !! Wrong type argument ((listp -129278440))
Done
make: *** [prv-emacs.elc] Error 1

Any suggestions?

(Continue reading)


Gmane