Re: rel-0-8-1; Default options are always used, even when package is loaded

[email protected] (Frank Küster) Mon, 21 Feb 2005 18:58:40 +0100
Newsgroups gmane.emacs.latex.preview.devel
Message-ID <87ekf9vlpr.fsf__14499.6766503484$1109011149$gmane$org@alhambra.kuesterei.ch>
David Kastrup <[email protected]> wrote:

>> What seems to happen is that preview-latex uses the Default Option
>> list although the package is loaded.
>>
>> This used to work before; I think it simply didn't try to render my
>> sectioning commands, but I am not sure about that - perhaps it tried
>> and succeeded.
>
> This does not sound probable.

Indeed the problem seems to be something different; it only showed up at
a sectioning command. This is a minimal test file:

\documentclass{book}

\usepackage[textmath]{preview}


\begin{document}


$a$

\end{document}

%%% Local Variables:=20
%%% mode: latex
%%% TeX-PDF-mode: t
%%% TeX-master: t
%%% End:=20

With this file, preview-latex runs _pdf_latex, and that seems to be the
cause of the error. Below is the complete output buffer from that file,
and the _region_.tex file

*******************************************

Running `Preview-LaTeX' on `mini' with ``pdflatex -ini "&pdflatex" prv_mini=
.ini   "\nonstopmode\PassOptionsToPackage{active,tightpage,auctex}{preview}=
\AtBeginDocument{\ifx\ifPreview\undefined\RequirePackage[displaymath,floats=
,graphics,textmath,sections,footnotes]{preview}\fi}\input{mini.tex}"''
This is pdfeTeX, Version 3.14159-1.10b-2.1 (Web2C 7.4.5) (INITEX)
entering extended mode
(./prv_mini.ini
LaTeX2e <2001/06/01>
Babel <v3.7h> and hyphenation patterns for american, german, loaded.
(/usr/share/texmf/tex/latex/carlisle/mylatex.ltx)
(/usr/share/texmf/tex/latex/tools/.tex File ignored))
(./mini.tex (/usr/share/texmf/tex/latex/base/book.cls
Document Class: book 2001/04/21 v1.4e Standard LaTeX document class
(/usr/share/texmf/tex/latex/base/bk10.clo))
(/usr/share/texmf/tex/latex/preview/preview.sty
(/usr/share/texmf/tex/latex/preview/prtightpage.def)
(/usr/share/texmf/tex/latex/preview/prauctex.def
(/usr/share/texmf/tex/latex/preview/prauctex.cfg))
No auxiliary output files.

) )
Beginning to dump on file prv_mini.efmt
 (format=3Dprv_mini 2005.2.21)
5056 strings of total length 65438
47355 memory locations dumped; current usage is 183&45825
3511 multiletter control sequences
\font\nullfont=3Dnullfont
\font\OMX/cmex/m/n/5=3Dcmex10
\font\tenln=3Dline10
\font\tenlnw=3Dlinew10
\font\tencirc=3Dlcircle10
\font\tencircw=3Dlcirclew10
\font\OT1/cmr/m/n/5=3Dcmr5
\font\OT1/cmr/m/n/7=3Dcmr7
\font\OT1/cmr/m/n/10=3Dcmr10
\font\OML/cmm/m/it/5=3Dcmmi5
\font\OML/cmm/m/it/7=3Dcmmi7
\font\OML/cmm/m/it/10=3Dcmmi10
\font\OMS/cmsy/m/n/5=3Dcmsy5
\font\OMS/cmsy/m/n/7=3Dcmsy7
\font\OMS/cmsy/m/n/10=3Dcmsy10
\font\OT1/cmr/m/n/12=3Dcmr12
\font\OT1/cmr/m/n/8=3Dcmr8
\font\OT1/cmr/bx/n/10=3Dcmbx10
\font\OT1/cmr/bx/it/10=3Dcmbxti10
\font\OT1/cmr/m/it/10=3Dcmti10
\font\OT1/cmtt/m/n/10=3Dcmtt10
\font\OT1/cmss/m/n/10=3Dcmss10
5716 words of font info for 21 preloaded fonts
14 hyphenation exceptions
Hyphenation trie of length 13987 has 388 ops out of 35111
  207 for language 1
  181 for language 0
No pages of output.
Transcript written on prv_mini.log.

Preview-LaTeX finished at Mon Feb 21 18:27:34
Running `Preview-LaTeX' on `_region_' with ``pdflatex "&prv_mini" _region_.=
tex''
This is pdfeTeX, Version 3.14159-1.10b-2.1 (Web2C 7.4.5)
entering extended mode
(./_region_.tex{/usr/share/texmf/pdftex/config/pdftex.cfg}
LaTeX2e <2001/06/01>
Babel <v3.7h> and hyphenation patterns for american, german, loaded.
CUSTOMISED FORMAT. Preloaded files:
        .
    mini.tex
    book.cls    2001/04/21 v1.4e Standard LaTeX document class
    bk10.clo    2001/04/21 v1.4e Standard LaTeX file (size option)
 preview.sty    2004/04/11 preview-latex 0.8.1
prtightpage.def
prauctex.def
prauctex.cfg
        .
No file _region_.aux.
Preview: Fontsize 10pt
Preview: PDFoutput 1
 !name(mini.tex) !offset(-3)=20
! Preview: Snippet 1 started.
<-><->
=20=20=20=20=20=20
l.12 $
      a$
Preview: Tightpage -32891 -32891 32891 32891
! Preview: Snippet 1 ended.(282168+0x346416).
<-><->
=20=20=20=20=20=20
l.12 $a$
=20=20=20=20=20=20=20=20
[1{/var/lib/texmf/dvips/config/pdftex.map}] )
(see the transcript file for additional information){/usr/share/texmf/dvips=
/tet
ex/aae443f0.enc}</usr/share/texmf/fonts/type1/bluesky/cm/cmmi10.pfb>
Output written on _region_.pdf (1 page, 4060 bytes).
Transcript written on _region_.log.

Preview-LaTeX exited abnormally with code 1 at Mon Feb 21 18:27:35
Running `Preview-PDF2DSC' with ``pdf2dsc _region_.pdf _region_.prv/tmp4728H=
oh/preview.dsc''

Preview-PDF2DSC finished at Mon Feb 21 18:27:35

****************************************

\message{ !name(mini.tex)}\documentclass{book}

\usepackage[textmath]{preview}


\begin{document}

\message{ !name(mini.tex) !offset(-3) }



$a$

\end{document}

%%% Local Variables:=20
%%% mode: latex
%%% TeX-PDF-mode: t
%%% TeX-master: t
%%% End:=20

\message{ !name(mini.tex) !offset(-22) }

Regards, Frank

--=20
Frank K=FCster
Inst. f. Biochemie der Univ. Z=FCrich
Debian Developer



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
preview-latex-bugs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/preview-latex-bugs


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click