Bug#321942: [debiandoc-sgml-pkgs] Bug#321942: Coordinating upload of teTeX-3.0 to unstable

Jens Seidel jensseidel at users.sf.net
Wed Aug 10 00:56:23 UTC 2005


tags 321942 + fixed-upstream pending
thanks

On Tue, Aug 09, 2005 at 01:50:13PM +0200, Frank Küster wrote:
> Indeed, I missed the problem with breaklinks and dvips vs. hypertex.
> I'll investigate this, and maybe we'll find a fix that does not need to
> differentiate between PDF and DVI output.

Great.

> However, for the time being, you should use ifpdf.sty instead:
> 
> \usepackage{ifpdf}
> \ifpdf
> \usepackage[hypertex,colorlinks=true]{hyperref}
> \else
> \usepackage[pdftex,colorlinks=true]{hyperref}
> \fi

Fixed in CVS (but the statements need to be swapped).

> You can have a look at the code in ifpdf.sty.  The purpose of all that
> is not only to correctly detect whether we are running TeX, or pdfTeX in
> DVI mode, or pdfTeX in PDF mode, but also to not change the
> "definedness" and the setting of \pdfoutput, so that this can be checked
> again.  The code you use does not only fail with pdfTeX in DVI mode, it
> also has the side effect that now \pdftex is \relax even when TeX is
> used, and doing the test a second time will fail.

This is only true for linuxdoc-tools since this package uses "\pdfoutput=1" but
I understand :-))

Regards, Jens

P.S. Osamu or Ardo please upload a new package. I tested it (not in such
detail as usual since I have a few problems such as lack of disc space)
and it works as expected.




More information about the Debiandoc-sgml-pkgs mailing list