[tex-k] teTeX-beta 20021116 and source specials and the syntax package

Kai Gro▀johann kai.grossjohann@uni-duisburg.de
Mon, 09 Dec 2002 10:52:50 +0100


--=-=-=

I used to use TeXlive 7 which grokked source specials fine.  Here is
a small input document:


--=-=-=
Content-Type: text/x-tex
Content-Disposition: attachment; filename=x.tex
Content-Description: Small test of grammar environment

\documentclass{article}
\usepackage{syntax}
\begin{document}
\begin{grammar}
  <S> ::= `.'
\end{grammar}
\end{document}

%%% Local Variables: 
%%% mode: latex
%%% TeX-master: t
%%% End: 

--=-=-=


Here is the output from the TeX run:


--=-=-=
Content-Disposition: attachment

Running `LaTeX' on `x' with ``latex --src-specials '\nonstopmode\input{x.tex}'''
This is derived from TeX, Version 3.14159 (Web2C 7.3.7x)
Source specials enabled.
LaTeX2e <2001/06/01>
Babel <v3.7h> and hyphenation patterns for american, french, german, ngerman, l
oaded.

(./x.tex (/usr/sw/texlive/7/texmf/tex/latex/base/article.cls
Document Class: article 2001/04/21 v1.4e Standard LaTeX document class
(/usr/sw/texlive/7/texmf/tex/latex/base/size10.clo))
(/usr/sw/texlive/7/texmf/tex/latex/mdwtools/syntax.sty)
No file x.aux.
[1] (./x.aux) )
Output written on x.dvi (1 page, 400 bytes).
Transcript written on x.log.

LaTeX finished at Mon Dec  9 10:40:20


--=-=-=
Content-Disposition: inline


As you can see, it works fine using TeXlive 7.  Last weekend, I
installed teTeX-beta 20021116 where it fails:


--=-=-=
Content-Disposition: attachment

kai@lucy> latex --src-specials '\nonstopmode\input{x.tex}'
This is TeXk, Version 3.14159 (Web2C 7.3.11)
 Source specials enabled.
LaTeX2e <2001/06/01>
Babel <v3.7h> and hyphenation patterns for american, french, german, ngerman, n
ohyphenation, loaded.

(./x.tex (/usr/local/tetex/texmf/tex/latex/base/article.cls
Document Class: article 2001/04/21 v1.4e Standard LaTeX document class
(/usr/local/tetex/texmf/tex/latex/base/size10.clo))
(/usr/local/tetex/texmf-local/tex/latex/mdwtools/syntax.sty) (./x.aux)
! Use of \gr@implitem doesn't match its definition.
<inserted text> \special 
                         {src:5x.tex}
l.5   <
       S> ::= `.'
[1] (./x.aux) )
(see the transcript file for additional information)
Output written on x.dvi (1 page, 284 bytes).
Transcript written on x.log.
[status 1]


--=-=-=
Content-Disposition: inline


Stefan suggested I report this to you.  Hope this is okay.

Hm.  There are three different versions of syntax.sty involved (the
one from TeXlive 7, the one from teTeX-beta, the one I downloaded from
ftp.dante.de).  I tested teTeX-beta with all three of them, and got
(modulo filenames) the same output you see above.

Let me know if there is something I can do to help.  Warning: I'm a
TeX-newbie.  Can't even spell \expandafter.

-- 
~/.signature is: umop ap!sdn    (Frank Nobis)

--=-=-=--