Your message dated Thu, 08 Jun 2006 16:03:39 +0200
with message-id <[EMAIL PROTECTED]>
and subject line Fixed in latest auctex packages
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
Package: preview-latex-style
Version: 0.9.1-1
Severity: normal

When the style file preview.sty is used with the options active and
textmath and the xy package is also loaded, the category code of @
unexpectedly changes to letter.  This can lead to mysterious
results: e.g. I think that is why I have some wrong previews in
Emacs with preview-latex.

Without the package xy and/or the option textmath the category change does not 
occur.

Below is a sample file proba.tex and the log file after "latex
proba.tex". The lines starting with '----' are not part of the
files.
The "\show @" commands writes the category of @ in the log file.
The log file shows that it is changed at \begin{document} time.

I guess that the category change is caused by \xyreuncatcodes in the 121st 
line of preview.sty.  I don't understand the code but this seems to be the 
only space connected with package xy. 
Here is a snippet of preview.sty with line numbers:

117-  \DeclareOption{textmath}{%
118-    \PreviewEnvironment{math}%
119-    [EMAIL PROTECTED]@undefined \let#1=$%$
120-      \fi\catcode`\$=\active
121:      [EMAIL PROTECTED]
122-    [EMAIL PROTECTED]@ship\([EMAIL PROTECTED] \)
123-    [EMAIL PROTECTED]@[EMAIL PROTECTED]
124-        [EMAIL PROTECTED]@textmathcheck}}{}}%
125-  [EMAIL PROTECTED]@endaftergroup
126-    [EMAIL PROTECTED]@gobbletwo\fi#2}}


 Gabor Braun

------------ The file proba.tex ----------------
\documentclass{article}
\usepackage{xy}
\usepackage[active,textmath]{preview}

\show @
\begin{document}
\show @
\end{document}
------------- End of proba.tex -----------------

------------ The file proba.log ----------------
This is e-TeX, Version 3.14159-2.1 (Web2C 7.4.5) (format=latex 2005.5.29)  30 
MAY 2005 18:52
entering extended mode
**proba.tex
(./proba.tex
LaTeX2e <2001/06/01>
Babel <v3.7h> and hyphenation patterns for american, german, ngerman, magyar, 
n
ohyphenation, basque, czech, icelandic, slovak, slovene, loaded.
(/usr/share/texmf/tex/latex/base/article.cls
Document Class: article 2001/04/21 v1.4e Standard LaTeX document class
(/usr/share/texmf/tex/latex/base/size10.clo
File: size10.clo 2001/04/21 v1.4e Standard LaTeX file (size option)
)
[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]
\abovecaptionskip=\skip41
\belowcaptionskip=\skip42
\bibindent=\dimen102
)
(/usr/share/texmf/tex/generic/xypic/xy.sty
(/usr/share/texmf/tex/generic/xypic/xy.tex Bootstrap'ing: catcodes, docmode,
(/usr/share/texmf/tex/generic/xypic/xyrecat.tex)
(/usr/share/texmf/tex/generic/xypic/xyidioms.tex)

 Xy-pic version 3.7 <1999/02/16>
 Copyright (c) 1991-1998 by Kristoffer H. Rose <[EMAIL PROTECTED]>
 Xy-pic is free software: see the User's Guide for details.

Loading kernel: messages; fonts; allocations: state,
[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]
 direction,
[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]
\Direction=\count89
[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]

utility macros; pictures: \xy, positions,
\swaptoks@@=\toks16
\connectobjectbox@@=\box28
 objects,
[EMAIL PROTECTED]
 decorations;
kernel objects: directionals, circles, text; options; algorithms: directions,
edges, connections;  Xy-pic loaded)
Package: xy 1999/02/16 Xy-pic version 3.7
)
(/usr/share/texmf/tex/latex/preview/preview.sty
Package: preview 2005/04/03 preview-latex 0.9.1
[EMAIL PROTECTED]
[EMAIL PROTECTED]
)
> the character @.
l.5 \show @
           
? 
No file proba.aux.
\openout1 = `proba.aux'.

LaTeX Font Info:    Checking defaults for OML/cmm/m/it on input line 6.
LaTeX Font Info:    ... okay on input line 6.
LaTeX Font Info:    Checking defaults for T1/cmr/m/n on input line 6.
LaTeX Font Info:    ... okay on input line 6.
LaTeX Font Info:    Checking defaults for OT1/cmr/m/n on input line 6.
LaTeX Font Info:    ... okay on input line 6.
LaTeX Font Info:    Checking defaults for OMS/cmsy/m/n on input line 6.
LaTeX Font Info:    ... okay on input line 6.
LaTeX Font Info:    Checking defaults for OMX/cmex/m/n on input line 6.
LaTeX Font Info:    ... okay on input line 6.
LaTeX Font Info:    Checking defaults for U/cmr/m/n on input line 6.
LaTeX Font Info:    ... okay on input line 6.
Preview: Fontsize 10pt
> the letter @.
l.7 \show @
           
? 
(./proba.aux) ) 
Here is how much of TeX's memory you used:
 1192 strings out of 95669
 12286 string characters out of 1193311
 71879 words of memory out of 1000001
 4287 multiletter control sequences out of 10000+50000
 4501 words of font info for 19 fonts, out of 500000 for 1000
 19 hyphenation exceptions out of 1000
 23i,0n,19p,180b,36s stack positions out of 1500i,500n,5000p,200000b,5000s

No pages of output.
------------------ End of proba.log ------------------------------ 

-- System Information
Debian Release: 3.0
Architecture: i386
Kernel: Linux gabor 2.6.9.20041228 #1 Tue Dec 28 17:03:16 CET 2004 i686
Locale: LANG=hu_HU.iso88592, LC_CTYPE=hu_HU.iso88592

+++-==============-==============-=====================================
ii  tetex-base     2.0.2c-8       Basic library files of teTeX
ii  tetex-bin      2.0.2-30       The teTeX binary files
ii  tetex-extra    2.0.2c-8       Additional library files of teTeX



--- End Message ---
--- Begin Message ---
This bug has been fixed in latest auctex, which supersedes
preview-latex.

-- 
Ciao, Davide

--- End Message ---

Reply via email to