[poppler] Why poppler, which supports tagged PDFs, doesn't recognize some of the tags as a whole?
Denis Bitouzé
denis.bitouze at univ-littoral.fr
Thu Jun 24 05:48:45 UTC 2021
Hi,
the joined `test.pdf` file is properly tagged as you can check it by
loading it at:
┌────
│ https://www.ngpdf.com/loadFile
└────
and then looking at:
┌────
│ https://www.ngpdf.com/editor/editFile
└────
You can see each line of the code:
┌────
│ \pdfdict_new:n {l_my_action_dict}
│ \pdfdict_put:nnn {l_my_action_dict}{Type}{/Action}
│ \pdfdict_put:nnn {l_my_action_dict}{S}{/URI}
│ \pdfdict_put:nnn {l_my_action_dict}{URI}{(https://www.latex-project.org)}
└────
is a single tag.
Nevertheless this code, if copied e.g. from Evince 3.38.1, is pasted not
as it is and but as:
┌────
│ \pdfdict_new:n
│ \pdfdict_put:nnn
│ \pdfdict_put:nnn
│ \pdfdict_put:nnn
│ {l_my_action_dict}
│ {l_my_action_dict}{Type}{/Action}
│ {l_my_action_dict}{S}{/URI}
│ {l_my_action_dict}{URI}{(https://www.latex-project.org)}
└────
Thanks!
--
Denis
-------------- next part --------------
A non-text attachment was scrubbed...
Name: test.pdf
Type: application/pdf
Size: 13208 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/poppler/attachments/20210624/8b93f7dc/attachment.pdf>
More information about the poppler
mailing list