\pdfstartlink goto
Max Chernoff via pdftex <[email protected]> Sat, 19 Apr 2025 23:31:52 -0600
| Newsgroups | gmane.comp.tex.pdftex |
|---|---|
| Message-ID | <[email protected]> |
Hi Karl and Thanh,
(Via this TeX.SX question: https://tex.stackexchange.com/q/741113)
§4.11.2 of the pdfTeX manual says that "\pdfstartlink goto" should
accept a "page spec", but
⟨page spec⟩ → page ⟨number⟩ | named ⟨general text⟩
and "\pdfstartlink goto" doesn't work with "named". I added the "| named
⟨general text⟩", so I suspect that this is just a documentation bug that
I introduced (sorry), but maybe you actually intended to support "named"
here? Sample document:
Target \pdfdest name {test} xyz\par
\leavevmode\pdfstartlink goto page 1 {/XYZ null null null}
Page link \pdfendlink\par
% \leavevmode\pdfstartlink goto named {test} {/XYZ null null null}
% Name link 1 \pdfendlink\par
\leavevmode\pdfstartlink goto name {test}
Name link 2 \pdfendlink\par
\bye
Also, I find §4.11.2 (the entire section, but especially the "goto"
paragraph) essentially impossible to understand. I'd offer to help
rewrite it, but since I don't really understand all the options to
\pdfstartlink, I can't really help much.
Thanks,
-- Max