<div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sat, Feb 26, 2022 at 10:01 AM luigi scarso <<a href="mailto:luigi.scarso@gmail.com">luigi.scarso@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Feb 25, 2022 at 10:24 PM Esger Renkema <<a href="mailto:post@elrenkema.nl" target="_blank">post@elrenkema.nl</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Please see the attached patch; it solves this issue and also a similar <br>
one with pdf.setnames() that I have reported before in [1], but which <br>
apparently has not been seen.<br>
<br>
Warm regards,<br>
Esger Renkema<br>
<br>
[1] <a href="https://tug.org/pipermail/luatex/2021-June/007543.html" rel="noreferrer" target="_blank">https://tug.org/pipermail/luatex/2021-June/007543.html</a></blockquote><div><br></div><div> I remembered that email and indeed I made a note to check it, as in this case  (sorry for the delay) .</div><div></div></div></div></blockquote><div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div class="gmail_quote"><div>In </div><div> <a href="https://tug.org/pipermail/luatex/2021-June/007543.html" target="_blank">https://tug.org/pipermail/luatex/2021-June/007543.html</a><br></div><div>the fact that this works</div>\pdfextension names {}<br>\directlua{pdf.setnames('/Some/Key')}<br>test \bye</div><div class="gmail_quote">perhaps is a signa of a missed documentation (I hope so)</div></div></blockquote><div><br></div><div>14.1.2 [set|get][catalog|info|names|trailer]<br>These functions complement the corresponding pdf backend token lists dealing with metadata.<br>The value types are strings and they are written to the pdf file directly after the token registers<br>set at the TEX end are written.</div><div><br></div><div>Hm, this means that your code before is the correct way to modify names.</div></div><div><br></div>-- <br><div dir="ltr" class="gmail_signature">luigi<br></div></div>