Bug#470595: geometry package doesn't work with cslatex
On 13.03.08 Anton Khirnov (wyskas@gmail.com) wrote:
Hi,
> OK, the problem looks like this:
>
> wiskas@zohar:~$ cat test.tex
> \documentclass{article}
> \usepackage{geometry}
> \begin{document}
> \end{document}
> wiskas@zohar:~$ cslatex test.tex
<snip>
> ! Undefined control sequence.
> \Gm@checkdrivers ...fined \else \ifnum \pdfoutput
> =\@ne \Gm@setdriver {pdfte...
>
But it works with pdflatex. /usr/bin/cslatex is a soft link pointing
to /usr/bin/pdftex, so it must have something to do with the format
file used by cslatex. cslatex.ini contains some code to redefine(?)
\pdfoutput, so it could be a bug in cslatex too.
Is there a special reason, why you use cslatex instead of latex?
> wiskas@zohar:~$ pdftex test.tex
> This is pdfTeXk, Version 3.141592-1.40.3 (Web2C 7.5.6)
> %&-line parsing enabled.
> entering extended mode
> (./test.tex
> ! Undefined control sequence.
> l.1 \documentclass
> {article}
>
This will never work. plain TeX won't be able to process LaTeX file.
Use pdflatex here.
> And as I said, I don't know what this patch does, I just happened
> to find it and it worked.
>
It seems to change the way how geometry detects if pdftex is in use.
Hilmar
--
sigmentation fault
Reply to: