Comment 9 for bug 26514

Revision history for this message
In , Frank Küster (frank-kuesterei) wrote : Re: Bug#337259: debian-reference: FTBFS with new tetex-bin: Error trying to create pdflatex.fmt

Jens Seidel <email address hidden> wrote:

>> 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?
>
> PDF files are not created using latex/dvips/ps2pdf! (See again #321942.)

So why not simply drop hyperref at all in this case?

>> 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).
>
> Since our packages FTBFS all the time it may be a good idea to add an
> option to debiandoc2latex to specify the further processing.

Why do you think you need this? Isn't

\ifpdf
\usepackage[colorlinks=true,CJKbookmarks]{hyperref}
\fi

enough? This will ignore hyperref completely for dvi generation, and
thus for ps generation.

Regards, Frank
--
Frank Küster
Inst. f. Biochemie der Univ. Zürich
Debian Developer