[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#470595: geometry package doesn't work with cslatex



OK, the problem looks like this:

wiskas@zohar:~$ cat test.tex
\documentclass{article}
\usepackage{geometry}
\begin{document}
\end{document}
wiskas@zohar:~$ cslatex test.tex
This is pdfTeXk, Version 3.141592-1.40.3 (Web2C 7.5.6)
 %&-line parsing enabled.
entering extended mode
(./test.tex
LaTeX2e <2005/12/01>
Loading CZ hyphenation patterns: Pavel Sevecek, v3, 1995
Loading SK hyphenation patterns: Jana Chlebikova, 1992
(/usr/share/texmf-texlive/tex/latex/base/article.cls
Document Class: article 2005/09/16 v1.4f Standard LaTeX document class
(/usr/share/texmf-texlive/tex/latex/base/size10.clo))
(/usr/share/texmf-texlive/tex/latex/geometry/geometry.sty
(/usr/share/texmf-texlive/tex/latex/graphics/keyval.sty)
(/usr/share/texmf-texlive/tex/xelatex/xetexconfig/geometry.cfg)) (./test.aux)
! Undefined control sequence.
\Gm@checkdrivers ...fined \else \ifnum \pdfoutput
                                                  =\@ne \Gm@setdriver {pdfte...
l.3 \begin{document}
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}

If you run just latex, or remove geometry, it will work.

And as I said, I don't know what this patch does, I just happened to
find it and it worked.

Anton Khirnov

On Wed, Mar 12, 2008 at 11:22 PM, Frank Küster <frank@debian.org> wrote:
> "Anton Khirnov" <wyskas@gmail.com> wrote:
>
>  > Package: texlive-latex-base
>  > Version: 2007-13
>  > Severity: normal
>  > Tags: patch
>  >
>  > When trying to compile a document using geometry package with cslatex,
>  > it fails, saying that \begin{document} wasn't def'ed. I'm attaching a
>  > patch, proposed by Petr Olsak here -
>  > http://usenet.jyxo.cz/cz.comp.cstex/0704/problem-s-balickem-geometry-pri-prekladu-cslatexem.html
>
>  In this thread (at least in the initial e-mail) it is \pdfoutput which
>  in undefined, not \begin{document}. What's the actual problem on your
>  system?  Can you provide a minimal example document?
>
>  Moreover, cslatex is a symlink to pdftex by default, so why should the
>  patch make a difference? I'm not sure, but it might be on purpose what
>  geometry.sty does.
>
>  Regards, Frank
>  --
>  Frank Küster
>  Debian Developer (teTeX/TeXLive)
>

Reply to: