Bug#391017: tetex-base: pdfcslatex does not create pdf, but dvi instead
Package: tetex-base
Version: 3.0-22
Severity: important
Tags: patch
The pdfcslatex and pdfcsplain formats are made of cslatex.ini file, which
simply disables pdf output, resulting in forced dvi output. I'm attaching a
patch that fixes that for me.
######################################
List of ls-R files
-rw-rw-r-- 1 root users 1729 2006-10-04 11:25 /var/lib/texmf/ls-R
lrwxrwxrwx 1 root root 29 2006-10-02 21:52 /usr/share/texmf/ls-R -> /var/lib/texmf/ls-R-TEXMFMAIN
lrwxrwxrwx 1 root root 35 2006-10-01 11:12 /usr/share/texmf-tetex/ls-R -> /var/lib/texmf/ls-R-TEXMFDIST-TETEX
-- System Information:
Debian Release: testing/unstable
APT prefers testing
APT policy: (990, 'testing'), (500, 'unstable'), (500, 'stable')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.16-2-686
Locale: LANG=cs_CZ.ISO-8859-2, LC_CTYPE=cs_CZ.ISO-8859-2 (charmap=ISO-8859-2)
Versions of packages tetex-base depends on:
ii tex-common 0.30 Common infrastructure for using an
ii ucf 2.0015 Update Configuration File: preserv
Versions of packages tetex-base recommends:
pn tetex-doc <none> (no description available)
Versions of packages tetex-bin depends on:
ii debconf [debconf-2.0] 1.5.4 Debian configuration management sy
ii debianutils 2.17 Miscellaneous utilities specific t
ii dialog 1.0-20060221-1 Displays user-friendly dialog boxe
ii dpkg 1.13.22 package maintenance system for Deb
ii ed 0.2-20 The classic unix line editor
ii libc6 2.3.6.ds1-4 GNU C Library: Shared libraries
ii libfontconfig1 2.4.1-2 generic font configuration library
ii libfreetype6 2.2.1-5 FreeType 2 font engine, shared lib
ii libgcc1 1:4.1.1-13 GCC support library
ii libice6 1:1.0.1-2 X11 Inter-Client Exchange library
ii libjpeg62 6b-13 The Independent JPEG Group's JPEG
ii libkpathsea4 3.0-18 path search library for teTeX (run
ii libpaper1 1.1.20 Library for handling paper charact
ii libpng12-0 1.2.8rel-5.2 PNG library - runtime
ii libpoppler0c2 0.4.5-4.1 PDF rendering library
ii libsm6 1:1.0.1-3 X11 Session Management library
ii libstdc++6 4.1.1-13 The GNU Standard C++ Library v3
ii libt1-5 5.1.0-2 Type 1 font rasterizer library - r
ii libx11-6 2:1.0.0-9 X11 client-side library
ii libxaw7 1:1.0.2-4 X11 Athena Widget library
ii libxext6 1:1.0.1-2 X11 miscellaneous extension librar
ii libxmu6 1:1.0.2-2 X11 miscellaneous utility library
ii libxpm4 1:3.5.5-2 X11 pixmap library
ii libxt6 1:1.0.2-2 X11 toolkit intrinsics library
ii mime-support 3.37-1 MIME files 'mime.types' & 'mailcap
ii perl 5.8.8-6.1 Larry Wall's Practical Extraction
ii sed 4.1.5-1 The GNU sed stream editor
ii ucf 2.0015 Update Configuration File: preserv
ii whiptail 0.52.2-7 Displays user-friendly dialog boxe
ii zlib1g 1:1.2.3-13 compression library - runtime
Versions of packages tetex-extra depends on:
ii tetex-bin 3.0-18 The teTeX binary files
ii ucf 2.0015 Update Configuration File: preserv
-- debconf information:
tetex-base/olddat: true
tetex-base/fmtutil-failed:
tetex-bin/cnf_name:
tetex-base/oldupdm:
tetex-base/updmap-failed:
--- /etc/texmf/fmt.d/01tetex.cnf.orig 2006-07-21 15:12:08.000000000 +0200
+++ /etc/texmf/fmt.d/01tetex.cnf 2006-10-03 00:57:51.000000000 +0200
@@ -68,8 +68,8 @@
# - Czech / Slovak:
#! csplain pdfetex - -translate-file=cp227.tcx *csplain.ini
#! cslatex pdfetex - -translate-file=cp227.tcx *cslatex.ini
-#! pdfcsplain pdfetex - -translate-file=cp227.tcx *csplain.ini
-#! pdfcslatex pdfetex - -translate-file=cp227.tcx *cslatex.ini
+#! pdfcsplain pdfetex - -translate-file=cp227.tcx *pdfcsplain.ini
+#! pdfcslatex pdfetex - -translate-file=cp227.tcx *pdfcslatex.ini
# Other formats:
--- - 2006-10-04 11:20:39.278121000 +0200
+++ /usr/share/texmf-tetex/tex/cslatex/pdfcslatex.ini 2006-10-02 23:24:27.000000000 +0200
@@ -0,0 +1,40 @@
+%% The cslatex ini file
+%% use:
+%% tex -ini cslatex.ini
+%% or (for example):
+%% tex -ini \let\enc=w \input cslatex.ini
+%% see the csplain.doc in csplain.tar/zip for more details
+
+\ifx\pdfoutput\undefined
+\else
+ \ifx\pdfoutput\relax
+ \else
+ \input pdftexconfig
+ \pdfoutput=1
+ \fi
+\fi
+
+\ifx\enc\undefined \else %% Reencoding by encTeX is needed
+ \begingroup
+ \catcode`\{=1 \catcode`\}=2 \catcode`\#=6
+ \input enc-\enc.tex
+ \global\let\orieveryjob=\everyjob
+ \gdef\everyjob#1{\let\everyjob=\orieveryjob
+ \let\orieveryjob=\undefined
+ \everyjob=\expandafter{\the\everyjob #1}}
+ \endgroup
+\fi
+\ifx\xprncode\undefined \else %% The encTeX is detected
+ \begingroup
+ \catcode`\{=1 \catcode`\}=2
+ \count255=128
+ \def\next{\xprncode\count255=1 \advance\count255 by 1
+ \ifnum \count255>255 \let\next=\relax \fi \next}
+ \next
+ \endgroup
+ \let\enc=\undefined \let\setinputchr=\undefined
+ \let\xordcode=\undefined \let\xchrcode=\undefined \let\xprncode=\undefined
+\fi
+
+\input latex.ltx
+
--- - 2006-10-04 11:25:58.530396000 +0200
+++ /usr/share/texmf-tetex/tex/csplain/pdfcsplain.ini 2006-10-02 23:24:48.000000000 +0200
@@ -0,0 +1,93 @@
+\ifx\pdfoutput\undefined
+\else
+ \ifx\pdfoutput\relax
+ \else
+ \input pdftexconfig
+ \pdfoutput=1
+ \fi
+\fi
+
+\input csfonts % re-defines primitive \font
+\input plain % format Plain
+\restorefont % original meaning of primitive \font
+\input il2code % extra codes for czech / slovak letters in ISO-8859-2 encoding
+\input hyphen.lan % czech / slovak hyphenation pattern (may be others too)
+\input plaina4 % \hsize and \vsize for A4
+\everyjob=\expandafter{\the\everyjob
+ \message{The format: csplain <Feb. 2000>.}
+ \message{The cs-fonts are preloaded and A4 size implicitly defined.}}
+\ifx\enc\undefined \else \input enc-\enc.tex \fi % re-encoding using encTeX
+\ifx\xprncode\undefined \else %% The encTeX is detected
+ \count255=128 % All codes > 128 are printable:
+ \loop \xprncode\count255=1 \advance\count255 by 1
+ \ifnum \count255<256 \repeat
+% The document macros can't test the re-encoding state:
+\let\enc=\undefined \let\setinputchr=\undefined
+\let\xordcode=\undefined \let\xchrcode=\undefined \let\xprncode=\undefined
+\fi
+
+\dump
+
+Information about changes (since <Apr. 1995>)
+=============================================
+
+** 1 ** <Aug. 1996>
+file extcode.tex renamed to il2code.tex (suggested by Jan Kasprzak)
+
+** 2 ** <Sep. 1996>
+* New metrics of cs-fonts loaded (T\v reba has no kern between T\v r).
+* File il2code.tex:
+ - \icrqq, \protect: removed
+ - \def\crqq{\protect\irrqq} -> \chardef\crqq=255 \sfcode255=0
+ - The definition \def\foo{\char<number> } -> \chardef\foo=<number>
+ for following \foos: \clqq, \flqq, \frqq.
+ - New definition of \ogonek (the \ogonek A is improoved).
+ - \defaulthyphenchar=\extrahyphenchar added to \extrahyphens macro.
+ - The \uv definition added.
+
+** 3 ** <Oct. 1998>
+* The input re-encoding possibility using encTeX primitives added.
+* Files enc-k.tex, enc-w.tex and enc-p.tex added.
+* You can use (for example): tex -ini \let\enc=k \input csplain.ini
+ to activate the encTeX reencoding
+
+** 4 ** <Feb. 2000>
+* The Czech/Slovak patterns are loaded in T1 encoding too: hyphen.lan
+ was modified, \toneczech, \toneslovak, \iltwoczech, \iltwoslovak
+ \chardef's was introduced. The default encoding was keep ISO-8859-2.
+* You can use (for example): tex -ini \let\Cork=\relax \input csplain.ini
+ to suppress the loading hyphen patterns in T1 encoding.
+* You can use (for example): %&csplain -translate-file=il2-t1
+ \input t1code \chyph
+ \font\f=ptmr8t \f
+ Here is czech text processed in T1 encoded
+ font ptmr8t and hyphenated by right
+ pattern table. \end
+
+COPYRIGHT
+=========
+
+This macro package (csplain.ini, il2code.tex, csfonts.tex, hyphen.lan,
+plaina4.tex) is free software; you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation; either version 2 of the License, or (at
+your option) any later version with the following appendix:
+
+You can do any changes in this software for your own usage. However,
+you cannot distribute the changed software under the same name
+"csplain". Only the current administrator of CSTeX can do official
+changes to csplain.
+
+This macro package is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program; if not, write to the Free Software
+Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
+USA
+
+
+
+
Reply to: