[OS X TeX] New TeX i-Package released
Maarten Sneep
maarten.sneep at xs4all.nl
Tue Oct 26 22:00:24 CEST 2004
On 26 okt 2004, at 18:37, Piet van Oostrum wrote:
> The last problem is very strange, and I haven't been able to diagnose
> it
> properly. I have a file that uses beamer, but through my own class. It
> runs
> properly with pdflatex, but not with latex. In the latter case it
> gives a
> strange undefined control sequence. I must investigate what causes
> tris.
>
> ! Undefined control sequence.
> \GenericError ...
> #4 \errhelp
> \@err@ ...
> l.13 \maketitle
How does Beamer test for pdflatex? if it uses an old construct like
\ifx\pdfoutput\undefined
....
\else
....
\fi
it will fail under latex, since both latex and pdflatex define this
macro (they just set it to different values).
The proper way would be to use the ifpdf package.
Maarten
--------------------- Info ---------------------
Mac-TeX Website: http://www.esm.psu.edu/mac-tex/
& FAQ: http://latex.yauh.de/faq/
TeX FAQ: http://www.tex.ac.uk/faq
List Post: <mailto:MacOSX-TeX at email.esm.psu.edu>
More information about the macostex-archives
mailing list