auctex-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[AUCTeX-devel] Re: [Bug-AUCTeX] 11.81; cygwin and LaTeX: LaTeX found no


From: David Kastrup
Subject: [AUCTeX-devel] Re: [Bug-AUCTeX] 11.81; cygwin and LaTeX: LaTeX found no preview images
Date: Thu, 08 Dec 2005 23:56:57 +0100
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux)

Sven de Vries <address@hidden> writes:

> would anybody have some advise with the problem below?
>
> thank you,
> sven
>
> Remember to cover the basics.  Including a minimal LaTeX example
> file exhibiting the problem might help.
>
>
>
> Emacs  : GNU Emacs 21.2.1 (i686-pc-cygwin, X toolkit)
>   of 2004-03-22 on cm-test

Very old Emacs.

> Package: 11.81
>
> Run buffer contents:
>
> Running `Preview-LaTeX' on `circ' with ``latex -ini "&latex" prv_circ.ini  
> "\nonstopmode\nofiles\PassOptionsToPackage{active,tightpage,auctex}{preview}\AtBeginDocument{\ifx\ifPreview\undefined\RequirePackage[displaymath,floats,graphics,textmath,sections,footnotes]{preview}[2004/11/05]\fi}\input{circ.tex}"''
> This is pdfeTeXk, Version 3.141592-1.21a-2.2 (Web2C 7.5.4) (INITEX)
>   file:line:error style messages enabled.
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

AUCTeX (and preview-latex) can't deal with file:line:error style
messages.

Configure them off for now.

> (macros/preview/prauctex.cfg)) (macros/preview/prshowlabels.def))kpathsea: 
> Running mktextfm ecrm0800
> mktextfm: Running mf-nowin -progname=mf \mode:=ljfive; mag:=1; nonstopmode; 
> input ecrm0800
> This is METAFONT, Version 2.71828 (Web2C 7.5.4)
>
> kpathsea: Running mktexmf ecrm0800
> mktexmf: /var/cache/fonts/source/jknappen/ec/ecrm0800.mf: successfully 
> generated.
> (/var/cache/fonts/source/jknappen/ec/ecrm0800.mf
> (/usr/share/texmf/fonts/source/jknappen/ec/exbase.mf)
> (/usr/share/texmf/fonts/source/jknappen/ec/ecrm.mf
> (/usr/share/texmf/fonts/source/jknappen/ec/exroman.mf
>   Ok (/usr/share/texmf/fonts/source/jknappen/ec/exaccess.mf
>   Ok) (/usr/share/texmf/fonts/source/jknappen/ec/expseudo.mf
>   Ok) (/usr/share/texmf/fonts/source/jknappen/ec/exruwest.mf
>   Ok [192] [193] [194] [195] [196] [197] [198] [199] [200] [201] [202] [203]
> [204] [205] [206] [207] [208] [209] [210] [211] [212] [213] [214...

METAFONT runs may confuse the parsing.  Rerunning preview-latex might
help.  Not that this is relevant here.

> [...]
>
>       ....tex:383: Preview: Snippet 96 started.
> <-><->
>
> l.383 dann muß in bekannter Weise $f$ um~$
>                                            1$ erhöht und $e$ um~$1$
> ./circ.tex:383: Preview: Snippet 96 ended.(422343+0x327681).
> <-><->

Now this is interesting.  I never ever considered using file:line:
error style messages since we would lose the character-exact context
in the file.  However, it appears like the context is all there, and
we only get _additional_ information.

We probably should teach AUCTeX and preview-latex how to parse this:
after all, it the information that is the least robust to get.

Copying to the developer list and directing followups there.

I am afraid that with the current version, all you can do is edit your
texmf.cnf file (or whatever equivalent your TeX system is using) and
disable file:line: style error messages.

> Output written on circ.dvi (103 pages, 42648 bytes).
> Transcript written on circ.log.
>
> Preview-LaTeX exited as expected with code 1 at Thu Dec  8 11:55:24
> LaTeX: LaTeX found no preview images

-- 
David Kastrup, Kriemhildstr. 15, 44793 Bochum




reply via email to

[Prev in Thread] Current Thread [Next in Thread]