Comment 22 for bug 26514

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Message-ID: <email address hidden>
Date: Thu, 01 Dec 2005 19:30:17 +0100
From: =?iso-8859-1?q?Frank_K=FCster?= <email address hidden>
To: <email address hidden>
Cc: Osamu Aoki <email address hidden>,
 Jens Seidel <email address hidden>, <email address hidden>,
 <email address hidden>
Subject: Re: Bug#337259: debian-reference: FTBFS with new tetex-bin: Error
 trying to create pdflatex.fmt

Hi,

I have looked into this bug, and it seems that it is the fault of
debiandoc-sgml. With reference.zh-cn.sgml, it produces the following
LaTeX code

\ifpdf
\usepackage[colorlinks=3Dtrue,CJKbookmarks]{hyperref}
\else
\usepackage[hypertex]{hyperref}
\fi

If this is changed to=20

\ifpdf
\usepackage[colorlinks=3Dtrue,CJKbookmarks]{hyperref}
\else
\usepackage[hypertex,CJKbookmarks]{hyperref}
\fi

the PS file can be produced without problems.

Here, again, we are at a point were the debiandoc-sgml maintainers need
to decide (perhaps you have, but I don't know yet):

Do you want to produce PDF files only with pdflatex, or is there a
reason to create them via latex/dvips/ps2pdf?

If yes, you should use CJKbookmarks also for DVI files, as indicated
above. If not (and I recommend that), simply do not load hyperref at
all when producing dvi (unless you want to distribute DVI files, too).=20

Regards, Frank

--=20
Frank K=FCster
Inst. f. Biochemie der Univ. Z=FCrich
Debian Developer