Bug#367842: tetex-extra: hyperref handles some characters incorrectly when unicode bookmarks are used
Package: tetex-extra Version: 3.0-17 Severity: normal Tags: patch hyperref handles some characters (mainly those that are not letters) incorrectly when unicode bookmarks are used, as in attached example. You can compile it with pdflatex and than look at it in acroread or evince (compare text on document pages and in bookmars). Attached patch fixes this problem for all symbols listed in example, it also removes one of entries for /textbeta (there is another one in the same file). -- Package-specific info: ## minimal input file attached ## other files ## List of ls-R files -rw-r--r-- 1 root users 1129 2006-05-18 14:57 /var/lib/texmf/ls-R lrwxrwxrwx 1 root staff 25 2005-12-10 19:49 /usr/local/share/texmf/ls-R -> /var/lib/texmf/ls-R-LOCAL lrwxrwxrwx 1 root root 29 2006-05-18 04:22 /usr/share/texmf/ls-R -> /var/lib/texmf/ls-R-TEXMFMAIN lrwxrwxrwx 1 root root 35 2006-03-25 19:01 /usr/share/texmf-tetex/ls-R -> /var/lib/texmf/ls-R-TEXMFDIST-TETEX -- System Information: Debian Release: testing/unstable APT prefers unstable APT policy: (500, 'unstable') Architecture: i386 (i686) Shell: /bin/sh linked to /bin/bash Kernel: Linux 2.6.17-rc4-me Locale: LANG=uk_UA.UTF-8, LC_CTYPE=uk_UA.UTF-8 (charmap=UTF-8) Versions of packages tetex-extra depends on: ii dpkg 1.13.19package maintenance system for Deb ii tetex-base3.0-17 Basic library files of teTeX ii tetex-bin 3.0-16 The teTeX binary files ii ucf 2.0010 Update Configuration File: preserv tetex-extra recommends no packages. -- no debconf information diff -urN tetex-base-3.0/tex/latex/hyperref/puenc.def tetex-base-3.0-fixes/tex/latex/hyperref/puenc.def --- tetex-base-3.0/tex/latex/hyperref/puenc.def 2004-03-14 13:00:23.0 +0200 +++ tetex-base-3.0-fixes/tex/latex/hyperref/puenc.def 2006-05-18 15:44:42.0 +0300 @@ -81,29 +81,29 @@ \DeclareTextCommand{\textbar}{PU}{|} % bar \DeclareTextCommand{\textbraceright}{PU}{\80\175} % braceright \DeclareTextCommand{\textasciitilde}{PU}{\80\176} % asciitilde -\DeclareTextCommand{\textbullet}{PU}{\80\200} % bullet -\DeclareTextCommand{\textdagger}{PU}{\80\201} % dagger -\DeclareTextCommand{\textdaggerdbl}{PU}{\80\202} % daggerdbl -\DeclareTextCommand{\textellipsis}{PU}{\80\203} % ellipsis -\DeclareTextCommand{\textemdash}{PU}{\80\204} % emdash -\DeclareTextCommand{\textendash}{PU}{\80\205} % endash -\DeclareTextCommand{\textflorin}{PU}{\80\206} % florin +\DeclareTextCommand{\textbullet}{PU}{\9040\042} % bullet +\DeclareTextCommand{\textdagger}{PU}{\9040\040} % dagger +\DeclareTextCommand{\textdaggerdbl}{PU}{\9040\041} % daggerdbl +\DeclareTextCommand{\textellipsis}{PU}{\9040\046} % ellipsis +\DeclareTextCommand{\textemdash}{PU}{\9040\024} % emdash +\DeclareTextCommand{\textendash}{PU}{\9040\023} % endash +\DeclareTextCommand{\textflorin}{PU}{\81\222} % florin \DeclareTextCommand{\textfractionmark}{PU}{/} % fraction, \80\207 -\DeclareTextCommand{\guilsinglleft}{PU}{\80\210} % guilsinglleft -\DeclareTextCommand{\guilsinglright}{PU}{\80\211} % guilsinglright +\DeclareTextCommand{\guilsinglleft}{PU}{\9040\071} % guilsinglleft +\DeclareTextCommand{\guilsinglright}{PU}{\9040\072} % guilsinglright \DeclareTextCommand{\textminus}{PU}{-} % minus, \80\212 -\DeclareTextCommand{\textperthousand}{PU}{\80\213} % perthousand -\DeclareTextCommand{\quotedblbase}{PU}{\80\214} % quotedblbase -\DeclareTextCommand{\textquotedblleft}{PU}{\80\215} % quotedblleft -\DeclareTextCommand{\textquotedblright}{PU}{\80\216} % quotedblright -\DeclareTextCommand{\textquoteleft}{PU}{\80\217} % quoteleft -\DeclareTextCommand{\textquoteright}{PU}{\80\220} % quoteright -\DeclareTextCommand{\quotesinglbase}{PU}{\80\221} % quotesinglbase -\DeclareTextCommand{\texttrademark}{PU}{\80\222} % trademark +\DeclareTextCommand{\textperthousand}{PU}{\9040\060} % perthousand +\DeclareTextCommand{\quotedblbase}{PU}{\9040\036} % quotedblbase +\DeclareTextCommand{\textquotedblleft}{PU}{\9040\034} % quotedblleft +\DeclareTextCommand{\textquotedblright}{PU}{\9040\035} % quotedblright +\DeclareTextCommand{\textquoteleft}{PU}{\9040\030} % quoteleft +\DeclareTextCommand{\textquoteright}{PU}{\9040\031} % quoteright +\DeclareTextCommand{\quotesinglbase}{PU}{\9040\032} % quotesinglbase +\DeclareTextCommand{\texttrademark}{PU}{\9041\042} % trademark \DeclareTextCommand{\textfi}{PU}{fi} % fi ?? \80\223 \DeclareTextCommand{\textfl}{PU}{fl} % fl ?? \80\224 -\DeclareTextCommand{\OE}{PU}{\80\226} % OE -\DeclareTextCommand{\oe}{PU}{\80\234} % oe +\DeclareTextCommand{\OE}{PU}{\81\122} % OE +\DeclareTextCommand{\oe}{PU}{\81\123} % oe \DeclareTextCommand{\textexclamdown}{PU}{\80\241} % exclamdown \DeclareTextCommand{\textcent}{PU}{\80\242} % cent \DeclareTextCommand{\textsterling}{PU}{\80\243} % sterling @@ -204,7 +204,7 @@ \DeclareTextCompositeCo
Bug#367842: tetex-extra: hyperref handles some characters incorrectly when unicode bookmarks are used
On 18.05.06 Eugeniy Meshcheryakov ([EMAIL PROTECTED]) wrote: Hi, Thanks very much for the bug report! > hyperref handles some characters (mainly those that are not > letters) incorrectly when unicode bookmarks are used, as in > attached example. You can compile it with pdflatex and than look at > it in acroread or evince (compare text on document pages and in > bookmars). > I believe I can see the bug. > Attached patch fixes this problem for all symbols listed in > example, it also removes one of entries for /textbeta (there is > another one in the same file). > I'm using Acroread 5.0.1 and I can still see bugs (see http://www.amasol.de/~preusse/367842/ ). For reference I've put there the TeX file I used and the patch I applied to puenc.def. That screen shot was done using teTeX 3.0 from cygwin and Acroread from Windows however I can reproduce ith using evince and acroread 7.0 on Linux. Regards, Hilmar -- sigmentation fault -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Bug#367842: tetex-extra: hyperref handles some characters incorrectly when unicode bookmarks are used
19 травня 2006 о 17:01 +0200 Hilmar Preusse написав(-ла): > > Attached patch fixes this problem for all symbols listed in > > example, it also removes one of entries for /textbeta (there is > > another one in the same file). > > > I'm using Acroread 5.0.1 and I can still see bugs (see > http://www.amasol.de/~preusse/367842/ ). For reference I've put there > the TeX file I used and the patch I applied to puenc.def. > That screen shot was done using teTeX 3.0 from cygwin and Acroread > from Windows however I can reproduce ith using evince and acroread > 7.0 on Linux. That is strange, especially when all other glyphs are displayed correctly... Could you make file "*.out" available too (and maybe .pdf)? -- Eugeniy Meshcheryakov signature.asc Description: Digital signature
Bug#367842: tetex-extra: hyperref handles some characters incorrectly when unicode bookmarks are used
On 19.05.06 Eugeniy Meshcheryakov ([EMAIL PROTECTED]) wrote: > 19 2006 ?? 17:01 +0200 Hilmar Preusse ??(-): Hi, > > That screen shot was done using teTeX 3.0 from cygwin and > > Acroread from Windows however I can reproduce ith using evince > > and acroread 7.0 on Linux. > > That is strange, especially when all other glyphs are displayed > correctly... Could you make file "*.out" available too (and maybe > .pdf)? > All files are in test.tar.gz on http://www.amasol.de/~preusse/367842/ H. -- sigmentation fault pgpJzm0OBaDbc.pgp Description: PGP signature
Bug#367842: tetex-extra: hyperref handles some characters incorrectly when unicode bookmarks are used
Hello, 22 травня 2006 о 11:06 +0200 Hilmar Preusse написав(-ла): > > > That screen shot was done using teTeX 3.0 from cygwin and > > > Acroread from Windows however I can reproduce ith using evince > > > and acroread 7.0 on Linux. > > > > That is strange, especially when all other glyphs are displayed > > correctly... Could you make file "*.out" available too (and maybe > > .pdf)? > > > All files are in test.tar.gz on http://www.amasol.de/~preusse/367842/ I cannot reproduce the bug with that .pdf-file. I tried with Adobe Reader 7.0 and evince on Linux. See screenshots at http://www.cluster.kiev.ua/eugen/tetex/ . The .out file also looks correct. BTW do you have the same bug in Linux like in Windows, or maybe you have boxes with some numbers displayed instead on needed symbols (it may indicate that you do not have needed fonts installed)? -- Eugeniy Meshcheryakov signature.asc Description: Digital signature
Bug#367842: tetex-extra: hyperref handles some characters incorrectly when unicode bookmarks are used
Eugeniy Meshcheryakov <[EMAIL PROTECTED]> wrote: > Hello, > > 22 травня 2006 о 11:06 +0200 Hilmar Preusse написав(-ла): >> > > That screen shot was done using teTeX 3.0 from cygwin and >> > > Acroread from Windows however I can reproduce ith using evince >> > > and acroread 7.0 on Linux. >> > >> > That is strange, especially when all other glyphs are displayed >> > correctly... Could you make file "*.out" available too (and maybe >> > .pdf)? >> > >> All files are in test.tar.gz on http://www.amasol.de/~preusse/367842/ > I cannot reproduce the bug with that .pdf-file. I tried with Adobe Reader 7.0 > and evince on Linux. See screenshots at > http://www.cluster.kiev.ua/eugen/tetex/ . The .out file also looks > correct. > > BTW do you have the same bug in Linux like in Windows, or maybe you have > boxes with some numbers displayed instead on needed symbols (it may > indicate that you do not have needed fonts installed)? With the pdf file in Hilmar's tar.gz, I see correct bookmarks for °C and this NG thing in Adobe Reader 7.0.5 (Christian Marillat's package) on sarge. With xpdf, the oe ligatures are displayed as separate letters, and no °C or NG is displayed, just the ascii names. Recreating the pdf with pdflatex gives identical output (dvipdfm doesn't produce bookmarks at all, and dvips/ps2pdf has ASCII for °C and NG, and a "no font for this" sign for all others. Regards, Frank -- Frank Küster Single Molecule Spectroscopy, Protein Folding @ Inst. f. Biochemie, Univ. Zürich Debian Developer (teTeX)
Bug#367842: tetex-extra: hyperref handles some characters incorrectly when unicode bookmarks are used
22 травня 2006 о 18:17 +0200 Frank Küster написав(-ла): > With the pdf file in Hilmar's tar.gz, I see correct bookmarks for °C and > this NG thing in Adobe Reader 7.0.5 (Christian Marillat's package) on > sarge. With xpdf, the oe ligatures are displayed as separate letters, > and no °C or NG is displayed, just the ascii names. > I belive that this is a problem with xpdf itself, see http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=302271 > Recreating the pdf with pdflatex gives identical output (dvipdfm doesn't > produce bookmarks at all, and >dvips/ps2pdf has ASCII for °C and NG, and > a "no font for this" sign for all others. I did not know that ps files can store bookmarks, so not tested this. But now when I executed fillowing commands I get pdf file with the same bookmarks as with pdflatex: % latex test.tex % latex test.tex % dvips test.dvi % ps2pdf test.ps So, I cannot reproduce the bug here (but maybe because I use 'unstable'?). -- Eugeniy Meshcheryakov signature.asc Description: Digital signature
Bug#367842: tetex-extra: hyperref handles some characters incorrectly when unicode bookmarks are used
Eugeniy Meshcheryakov <[EMAIL PROTECTED]> wrote: > So, I cannot reproduce the bug here (but maybe because I use > 'unstable'?). Maybe (note that I'm using unstable's teTeX), or because you're using a different ghostscript; here, gs points to gs-esp. Regards, Frank -- Frank Küster Single Molecule Spectroscopy, Protein Folding @ Inst. f. Biochemie, Univ. Zürich Debian Developer (teTeX)
Bug#367842: tetex-extra: hyperref handles some characters incorrectly when unicode bookmarks are used
23 травня 2006 о 09:57 +0200 Frank Küster написав(-ла): > Eugeniy Meshcheryakov <[EMAIL PROTECTED]> wrote: > > > So, I cannot reproduce the bug here (but maybe because I use > > 'unstable'?). > > Maybe (note that I'm using unstable's teTeX), or because you're using a > different ghostscript; here, gs points to gs-esp. Hmm, % ls -l /etc/alternatives/gs lrwxrwxrwx 1 root root 15 2006-04-07 19:17 /etc/alternatives/gs -> /usr/bin/gs-esp -- Eugeniy Meshcheryakov signature.asc Description: Digital signature
Bug#367842: tetex-extra: hyperref handles some characters incorrectly when unicode bookmarks are used
On Tue, May 23, 2006 at 11:11 +0300, Eugeniy Meshcheryakov wrote: > 23 2006 ?? 09:57 +0200 Frank Küster ??(-): > > Eugeniy Meshcheryakov <[EMAIL PROTECTED]> wrote: > > > > > So, I cannot reproduce the bug here (but maybe because I use > > > 'unstable'?). > > > > Maybe (note that I'm using unstable's teTeX), or because you're using a > > different ghostscript; here, gs points to gs-esp. Sarge, hence gs-esp version 7.07 I guess. Or have you backported GS? > % ls -l /etc/alternatives/gs > lrwxrwxrwx 1 root root 15 2006-04-07 19:17 /etc/alternatives/gs -> > /usr/bin/gs-esp In unstable, gs-esp is version 8.15 or so. The step from v7 to v8 was very important for the quality of PDF. I get here (with gs pointing to gs-gpl version 8.01) identical results from pdflatex and from latex+ dvips+ps2pdf. The only error in the bookmarks that I can see is 'N' and 'n' instead of the proper 'Eng' and 'eng' (or 'Ng' and 'ng') glyphs. But that happens with both routes and may well be a font issue. How about forwarding this patch upstream? I think Heiko is better equiped than we to judge all the fine details here. cheerio ralf
Bug#367842: tetex-extra: hyperref handles some characters incorrectly when unicode bookmarks are used
Ralf Stubner <[EMAIL PROTECTED]> wrote: > Sarge, hence gs-esp version 7.07 I guess. Or have you backported GS? > [...] > How about forwarding this patch upstream? I think Heiko is better equiped > than we to judge all the fine details here. Yes, no, yes. Regards, Frank -- Frank Küster Single Molecule Spectroscopy, Protein Folding @ Inst. f. Biochemie, Univ. Zürich Debian Developer (teTeX)