On Sun, Dec 07, 2025 at 04:07:48PM +0100, Patrice Dumas wrote: > On Sun, Dec 07, 2025 at 02:19:30PM +0000, Gavin Smith wrote: > > On Sun, Dec 07, 2025 at 02:06:08PM +0100, Patrice Dumas wrote: > > > I used something like that, but keeping the same end of line as > > > previously. It seems to work well for me for your test and I also > > > checked the output of other @* tests, which looks ok to me. > > > > With the current git master (commit 4530b19e606c56410), there is no change > > to the output. The '\texorpdfstring ...' output is still used. It appears > > from the code that this would always be used inside the argument to @part. > > Indeed, I put the new code in the wrong place. I wonder if we should > also have the protection when outside of sectioning command arguments. > I have left that code in comments, but I could add it if you think it is > relevant.
Great, it looks like it works now.
