I seem to be running into a wall with l2h 98 p1 and p3. On some (legal)
latex I get all kinds of errors. I seem to remember that on some of
the late 97 versions the same documents worked fine. I haven't really
been able to pinpoint each of the problems, by writing a short document,
but some of the features are:

Erroneous (?) translation of macros in an \input file. Removing the commands
(that is REMOVING, not commenting out which fails as well!)
\newcommand{\ket}[1]{\left|#1\right\rangle}
\newcommand{\bra}[1]{\left\langle#1\right|}
\newcommand{\rket}[1]{\left|#1\right)}
\newcommand{\rbra}[1]{\left(#1\right|}
\newcommand{\dket}[1]{\left|\left|#1\right\rangle\right.}
\newcommand{\dbra}[1]{\left.\left\langle#1\right|\right|}
\newcommand{\tket}[1]{\left|\left|\left|#1\right\rangle\right.\right.}
\newcommand{\tbra}[1]{\left.\left.\left\langle#1\right|\right|\right|}
\newcommand{\braket}[2]{\left\langle #1|#2 \right\rangle}
seems to solve this problem (no closing bracket #514). This may be due 
to an error I noticed in 97..., which was code generation for a macro.
(i.e., the macro itself, rather than a call to it.)

Extraneous copies of the full input file in images.tex when I have two
\input statements in the preamble to my document. Somewhere full $_
gets written to the preamble! This leads to crap images. When I in
desperation combine the two input files, I find as yet one more error.

Erroneuos expansion of (again this is in an input file) the code

\newcounter{example}
\setcounter{example}{0}
\newcommand{\Example}{\par\vspace*{0.5cm}\addtocounter{example}{1} \noindent{\pa
r\noindent\Large \bf \theexample.}
\hspace*{0.5cm}}

becomes, in the preamble of images.tex

\{example\}
\newcommand{\Example}{
\vspace*{0.5cm}\addtocounter{example}{1} \noindent{
\noindent\Large \bf \theexample.}
\hspace*{0.5cm}}

etc, etc!

HELP! I thought I could easily regenerate these documents for my students,
but apparently I was wrong!

Niels
-- 
Dr Niels R. Walet  http://www.phy.umist.ac.uk/Theory/people/walet.html
Dept. of Physics,  UMIST,   P.O. Box 88,    Manchester,  M60 1QD,  U.K.
Phone: +44(0)161-2003693 Fax: +44(0)161-2004303 [EMAIL PROTECTED]

Reply via email to