Your message dated Sat, 01 Oct 2005 18:02:06 -0700
with message-id <[EMAIL PROTECTED]>
and subject line Bug#321942: fixed in debiandoc-sgml 1.1.89
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 8 Aug 2005 11:47:12 +0000
>From [EMAIL PROTECTED] Mon Aug 08 04:47:12 2005
Return-path: <[EMAIL PROTECTED]>
Received: from idmailgate1.unizh.ch [130.60.127.100] 
        by spohr.debian.org with esmtp (Exim 3.36 1 (Debian))
        id 1E2664-0008QJ-00; Mon, 08 Aug 2005 04:47:12 -0700
Received: from localhost.localdomain ([130.60.169.227])
        by idmailgate1.unizh.ch (8.13.1/8.13.1/SuSE Linux 0.7) with ESMTP id 
j78BlAR1022509
        for <[EMAIL PROTECTED]>; Mon, 8 Aug 2005 13:47:10 +0200
Received: from localhost
        ([127.0.0.1] helo=localhost.localdomain ident=frank)
        by localhost.localdomain with esmtp (Exim 4.50)
        id 1E2662-0001lK-9P
        for [EMAIL PROTECTED]; Mon, 08 Aug 2005 13:47:10 +0200
From: =?iso-8859-1?q?Frank_K=FCster?= <[EMAIL PROTECTED]>
To: Debian Bug Tracking System <[EMAIL PROTECTED]>
Subject: debiandoc-sgml: Always produces PDF output with teTeX-3.0, no DVI
X-Debbugs-CC: [email protected]
X-Attribution: fant
X-Ehrenamt: http://www.langau.de
Date: Mon, 08 Aug 2005 13:47:10 +0200
Message-ID: <[EMAIL PROTECTED]>
User-Agent: Gnus/5.1007 (Gnus v5.10.7) Emacs/21.4 (gnu/linux)
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="=-=-="
X-Virus-Scanned: by amavisd-new
Delivered-To: [EMAIL PROTECTED]
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
        (1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Level: 
X-Spam-Status: No, hits=-11.0 required=4.0 tests=BAYES_00,HAS_PACKAGE,
        X_DEBBUGS_CC autolearn=ham version=2.60-bugs.debian.org_2005_01_02

--=-=-=

Package: debiandoc-sgml
Version: 1.1.88
Severity: important

in tools/lib/Format/LaTeX.pm there is code that inserts the following
code into the generated *tex file:

\ifx\pdfoutput\undefined
\usepackage[hypertex,colorlinks=true]{hyperref}
\else
\usepackage[pdftex,colorlinks=true,<languageoptions>]{hyperref}
\fi

This breaks with teTeX-3.0 (now in experimental, soon in unstable),
because we now use pdfTeX to produce both DVI and PDF output.
Therefore, \pdfoutput is always defined, it's just 0 for DVI output.
The portable solution to this would be to use ifpdf.sty and its \ifpdf
command. 

In this case, however, it isn't necessary at all, because hyperref
detects itself whether DVI or PDF output is produced, and will choose
the correct drivers for dvips or pdfTeX, respectively.

Therefore the attached patch will fix this bug.  Note that is going to
become of RC severity as soon as teTeX-3.0 enters unstable.

Regards, Frank


--=-=-=
Content-Type: text/x-patch; charset=iso-8859-1
Content-Disposition: attachment; filename=hyperref.patch
Content-Transfer-Encoding: quoted-printable

diff -Nur debiandoc-sgml-1.1.88.orig/debian/changelog debiandoc-sgml-1.1.88=
/debian/changelog
--- debiandoc-sgml-1.1.88.orig/debian/changelog 2005-05-31 00:40:43.0000000=
00 +0200
+++ debiandoc-sgml-1.1.88/debian/changelog      2005-08-08 12:35:19.000000000 
+0=
200
@@ -1,3 +1,10 @@
+debiandoc-sgml (1.1.88.1) unstable; urgency=3Dlow
+
+  * Fixed LaTeX code to produce DVI output even if pdfTeX is the engine
+    behind LaTeX, needed to cooperate with teTeX-3.0
+
+ -- Frank K=FCster <[EMAIL PROTECTED]>  Mon,  8 Aug 2005 12:35:19 +0200
+
 debiandoc-sgml (1.1.88) unstable; urgency=3Dhigh
=20
   * Locale: added Romanian locale (closes: Bug#310885)
diff -Nur debiandoc-sgml-1.1.88.orig/tools/lib/Format/LaTeX.pm debiandoc-sg=
ml-1.1.88/tools/lib/Format/LaTeX.pm
--- debiandoc-sgml-1.1.88.orig/tools/lib/Format/LaTeX.pm        2005-02-13 
17:04:2=
4.000000000 +0100
+++ debiandoc-sgml-1.1.88/tools/lib/Format/LaTeX.pm     2005-08-08 12:40:23.583=
533849 +0200
@@ -122,14 +122,10 @@
     output( "\\usepackage{varioref}\n" );
     output( "\\vrefwarning\n" );
     output( "\n" );
-    output( "\\ifx\\pdfoutput\\undefined\n" );
-    output( "\\usepackage[hypertex,colorlinks=3Dtrue]{hyperref}\n" );
-    output( "\\else\n" );
-    output( "\\usepackage[pdftex,colorlinks=3Dtrue" );
+    output( "\\usepackage[colorlinks=3Dtrue" );
     output( ",$locale{ 'pdfhyperref' }" )
        if (length( $locale{ 'pdfhyperref' } ));
     output( "]{hyperref}\n" );
-    output( "\\fi\n" );
     output( "\n" );
     output( "\\parindent=3D0pt\n" );
     output( "\\setlength{\\parskip}{%\n" );

--=-=-=
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: quoted-printable


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

--=-=-=--


---------------------------------------
Received: (at 321942-close) by bugs.debian.org; 2 Oct 2005 01:08:08 +0000
>From [EMAIL PROTECTED] Sat Oct 01 18:08:08 2005
Return-path: <[EMAIL PROTECTED]>
Received: from katie by spohr.debian.org with local (Exim 3.36 1 (Debian))
        id 1ELsEw-0001NA-00; Sat, 01 Oct 2005 18:02:06 -0700
From: Ardo van Rangelrooij <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
X-Katie: $Revision: 1.56 $
Subject: Bug#321942: fixed in debiandoc-sgml 1.1.89
Message-Id: <[EMAIL PROTECTED]>
Sender: Archive Administrator <[EMAIL PROTECTED]>
Date: Sat, 01 Oct 2005 18:02:06 -0700
Delivered-To: [EMAIL PROTECTED]
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
        (1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Level: 
X-Spam-Status: No, hits=-6.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER 
        autolearn=no version=2.60-bugs.debian.org_2005_01_02

Source: debiandoc-sgml
Source-Version: 1.1.89

We believe that the bug you reported is fixed in the latest version of
debiandoc-sgml, which is due to be installed in the Debian FTP archive:

debiandoc-sgml_1.1.89.dsc
  to pool/main/d/debiandoc-sgml/debiandoc-sgml_1.1.89.dsc
debiandoc-sgml_1.1.89.tar.gz
  to pool/main/d/debiandoc-sgml/debiandoc-sgml_1.1.89.tar.gz
debiandoc-sgml_1.1.89_all.deb
  to pool/main/d/debiandoc-sgml/debiandoc-sgml_1.1.89_all.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [EMAIL PROTECTED],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Ardo van Rangelrooij <[EMAIL PROTECTED]> (supplier of updated debiandoc-sgml 
package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [EMAIL PROTECTED])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Wed, 10 Aug 2005 02:40:17 +0200
Source: debiandoc-sgml
Binary: debiandoc-sgml
Architecture: source all
Version: 1.1.89
Distribution: unstable
Urgency: low
Maintainer: DebianDoc-SGML Pkgs <[EMAIL PROTECTED]>
Changed-By: Ardo van Rangelrooij <[EMAIL PROTECTED]>
Description: 
 debiandoc-sgml - DebianDoc SGML DTD and formatting tools
Closes: 321942
Changes: 
 debiandoc-sgml (1.1.89) unstable; urgency=low
 .
   * Fixed LaTeX code to produce DVI output even if pdfTeX is the engine
     behind LaTeX, needed to cooperate with teTeX-3.0 (closes: Bug#321942)
     (thanks to Frank Küster <[EMAIL PROTECTED]>) [jens]
   * Use -z option of dvips to obtain valid links if ps2pdf is applied on
     PostScript files (see Bug#321942) [jens]
Files: 
 66bd656ae54351ae2054a9e67d2992ac 666 text optional debiandoc-sgml_1.1.89.dsc
 86116b044130811eafc29cca549188b1 81820 text optional 
debiandoc-sgml_1.1.89.tar.gz
 768e9706fb72a18ddfe01adcf8a30b5f 81432 text optional 
debiandoc-sgml_1.1.89_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQFDPzGv6A/EwagGHzIRAgpyAKCA61FZpgyNfu5GiN52W2+Oa3ztCQCfWtIg
2AB3DEAgaHufV93r6pt31Ac=
=/tYD
-----END PGP SIGNATURE-----


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to