--- Begin Message ---
- To: submit@bugs.debian.org
- Subject: geometry package doesn't work with cslatex
- From: "Anton Khirnov" <wyskas@gmail.com>
- Date: Wed, 12 Mar 2008 08:18:04 +0100
- Message-id: <12b495d0803120018n3f946a5cq7291b39c449c5b@mail.gmail.com>
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
It seems to fix the problem, but I'm not skilled enough with Latex to
tell if it doesn't break anything else.
Anton Khirnov
######################################
List of ls-R files
-rw-r--r-- 1 root root 1576 2008-03-10 22:37 /var/lib/texmf/ls-R
lrwxrwxrwx 1 root root 29 2007-11-26 07:10 /usr/share/texmf/ls-R ->
/var/lib/texmf/ls-R-TEXMFMAIN
lrwxrwxrwx 1 root root 27 2007-11-03 10:33
/usr/share/texmf-texlive/ls-R -> /var/lib/texmf/ls-R-TEXLIVE
lrwxrwxrwx 1 root root 27 2007-11-03 10:33
/usr/share/texmf-texlive/ls-R -> /var/lib/texmf/ls-R-TEXLIVE
######################################
Config files
lrwxrwxrwx 1 root root 20 2007-11-26 07:10
/usr/share/texmf/web2c/texmf.cnf -> /etc/texmf/texmf.cnf
-rw-r--r-- 1 root root 12088 2008-03-10 22:36 /var/lib/texmf/web2c/fmtutil.cnf
-rw-r--r-- 1 root root 20860 2008-03-10 22:36 /var/lib/texmf/web2c/updmap.cfg
-rw-r--r-- 1 root root 14700 2008-03-10 22:36
/var/lib/texmf/tex/generic/config/language.dat
######################################
Files in /etc/texmf/web2c/
total 4
-rw-r--r-- 1 root root 283 2007-04-14 08:57 mktex.cnf
######################################
md5sums of texmf.d
42c20d7e8bd343542772b5a145bf8ad8 /etc/texmf/texmf.d/05TeXMF.cnf
5f7f6652cc8b8071c9e4ea6ba9e9f0a1 /etc/texmf/texmf.d/15Plain.cnf
8ed54ce13b2eed4871e03bdfdace9342 /etc/texmf/texmf.d/45TeXinputs.cnf
ea33127256c6a9f37145ae5b16fdb80c /etc/texmf/texmf.d/55Fonts.cnf
afccf1d3f87057411166a77c58e00bd1 /etc/texmf/texmf.d/65BibTeX.cnf
9da7c1c7b1eaf06f941af91f48a23068 /etc/texmf/texmf.d/75DviPS.cnf
7ae52efac46feb97010986e57877d12e /etc/texmf/texmf.d/80DVIPDFMx.cnf
055e06548bac99958d8ab2dd1248f2b4 /etc/texmf/texmf.d/80tex4ht.cnf
8fee79ccdd5d1f56b1563dabfd53c717 /etc/texmf/texmf.d/85Misc.cnf
a8952d594677235951d447665ec46e9c /etc/texmf/texmf.d/90TeXDoc.cnf
30f4f13357c2761ed01a6a15f28725a5 /etc/texmf/texmf.d/95NonPath.cnf
1df66bc319cec731e202eaf39f5d85e1 /etc/texmf/texmf.d/96JadeTeX.cnf
-- System Information:
Debian Release: sid
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.24.3-nb.b (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages texlive-latex-base depends on:
ii texlive-base 2007-13 TeX Live: Essential programs and f
ii texlive-common 2007-13 TeX Live: Base component
Versions of packages texlive-latex-base recommends:
ii texlive-latex-base-doc 2007-13 TeX Live: Documentation files for
Versions of packages tex-common depends on:
ii debconf 1.5.19 Debian configuration management sy
ii ucf 3.005 Update Configuration File: preserv
Versions of packages texlive-latex-base is related to:
pn tetex-base <none> (no description available)
pn tetex-bin <none> (no description available)
pn tetex-extra <none> (no description available)
ii tex-common 1.10 common infrastructure for building
-- debconf information excluded
--- geometry/geometry.sty 2006-05-15 21:12:21.000000000 +0200
+++ /usr/share/texmf-texlive/tex/latex/geometry/geometry.sty 2008-03-12 08:03:52.000000000 +0100
@@ -560,11 +560,11 @@
\fi}%
\@onlypreamble\Gm@checkmp
\def\Gm@checkdrivers{%
- \ifx\pdfpagewidth\@undefined\else
- \ifnum\pdfoutput=\@ne
- \Gm@setdriver{pdftex}%
- \fi
- \fi
+ \ifx\pdfoutput\@undefined\else
+ \ifnum\pdfoutput>0
+ \Gm@setdriver{pdftex}%
+ \fi
+ \fi
\ifx\VTeXversion\@undefined\else
\ifnum\OpMode=\@ne
\Gm@setdriver{vtex}%
--- End Message ---
--- Begin Message ---
Version: 2012.20120611-1
On Mi, 12 Mär 2008, Anton Khirnov wrote:
> 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
The later given minimal document compiles now with cslatex,
closing this bug.
Best wishes
Norbert
------------------------------------------------------------------------
Norbert Preining preining@{jaist.ac.jp, logic.at, debian.org}
JAIST, Japan TeX Live & Debian Developer
DSA: 0x09C5B094 fp: 14DF 2E6C 0307 BE6D AD76 A9C0 D2BF 4AA3 09C5 B094
------------------------------------------------------------------------
SNITTERFIELD (n.)
Office noticeboard on which snitters (q.v.), cards saying 'You don't
have to be mad to work here, but if you are it helps !!!' and slightly
smutty postcards from Ibiza get pinned up by snitterbies (q.v.)
--- Douglas Adams, The Meaning of Liff
--- End Message ---