[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [help-texinfo] Umlaut strangeness
From: |
Andreas Falkenhahn |
Subject: |
Re: [help-texinfo] Umlaut strangeness |
Date: |
Tue, 7 Jun 2016 17:28:38 +0200 |
On 05.06.2016 at 17:43 Gavin Smith wrote:
> On 5 June 2016 at 13:20, Gavin Smith <address@hidden> wrote:
>>> Oh, that's great. Now it works with the \passthroughcharstrue patch
>>> by Gavin. The umlauts now appear correctly both in the bookmarks
>>> and on the page. Great, just like I wanted to have it.
>> Do the bookmarks actually work when you click on them? They don't for me...
> They did work in the Google Chrome PDF viewer, and sometimes they
> worked in Okular (the KDE pdf viewer), and never in xpdf.
I've now done some tests and I didn't experience any problems. I also tried
xpdf but I don't know how I can get xpdf to show the bookmarks so I haven't
been able to check if it's working with xpdf or not.
> I tracked it down to the following in the PDF file:
> /Names [(-1) 7 0 R (1) 18 0 R (2) 19 0 R (3) 20 0 R (Regular node) 22
> 0 R (Regular node 2) 26 0 R (Ubersicht) 30 0 R]
> This lists the targets in the file: here I had three chapters,
> "Regular node", "Regular node 2" and "Ubersicht".
> When the chapter was called "Übersicht" instead (in Latin-1), this
> /Names object in the PDF file would have the text "Übersicht" instead
> (one byte's difference) but this led to all the hyperlinks in the file
> ceasing to work. Evidently, Latin-1 isn't good to use in this context.
> The definition of \pdfmkdest has to be fixed to output ASCII
> destination names, something like this works:
> ===================================================================
> --- texinfo.tex (revision 7201)
> +++ texinfo.tex (working copy)
> @@ -1311,8 +1311,9 @@
> % We have to set dummies so commands such as @code, and characters
> % such as \, aren't expanded when present in a section title.
> \indexnofonts
> - \turnoffactive
> + %\turnoffactive
> \makevalueexpandable
> + \passthroughcharsfalse
> \def\pdfdestname{#1}%
> \txiescapepdf\pdfdestname
> \safewhatsit{\pdfdest name{\pdfdestname} xyz}%
Ok, thanks, I've applied this patch now (even though everything seemed
to work fine without it here anyway).
--
Best regards,
Andreas Falkenhahn mailto:address@hidden
- Re: [help-texinfo] Umlaut strangeness, (continued)
- Re: [help-texinfo] Umlaut strangeness, Andreas Falkenhahn, 2016/06/04
- Re: [help-texinfo] Umlaut strangeness, Karl Berry, 2016/06/04
- Re: [help-texinfo] Umlaut strangeness, Andreas Falkenhahn, 2016/06/05
- Re: [help-texinfo] Umlaut strangeness, Gavin Smith, 2016/06/05
- Re: [help-texinfo] Umlaut strangeness, Gavin Smith, 2016/06/05
- Re: [help-texinfo] Umlaut strangeness, Andreas Falkenhahn, 2016/06/05
- Re: [help-texinfo] Umlaut strangeness, Gavin Smith, 2016/06/05
- Re: [help-texinfo] Umlaut strangeness,
Andreas Falkenhahn <=
- Re: [help-texinfo] Umlaut strangeness, Gavin Smith, 2016/06/07
- Re: [help-texinfo] Umlaut strangeness, Gavin Smith, 2016/06/07