[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: subtle bug in generating PDF outlines with luatex
From: |
Werner LEMBERG |
Subject: |
Re: subtle bug in generating PDF outlines with luatex |
Date: |
Thu, 09 Jan 2025 08:11:54 +0000 (UTC) |
>> So: can this be fixed on the side of `texinfo.tex` at least for the
>> space character, circumventing the luatex bug for the most common
>> case?
>
> I have minimal understanding of lua and luatex. I've edited
> texinfo.tex in the obvious way: [...]
>
> Is there any testing you can do of this to confirm it works as
> expected before I commit it?
Yes, I tested it by simply rebuilding the LilyPond documentation (from
current git); `gs` gets used as a post-processor if the
`extractpdfmark` utility is installed.
Alas, your patch doesn't fix the issue; I get the same bad result
(i.e., missing entries in the outline) as before. Apparently it is
important that the space character gets protected.
I guess we have to wait until Luigi has corrected this problem in
luatex.
Luigi, Masamichi-san, can you confirm, please? Gavin's patch can be
found here:
https://lists.gnu.org/archive/html/bug-texinfo/2025-01/msg00049.html
If I'm right it maybe makes sense to add a small note to Texinfo,
mentioning that you need a luatex version XXXX or newer to get correct
outlines.
Werner