89 points · by marban · 2y ago · 23 comments
Writing links by hand is rather cumbersome, though, they ought to be better exposed in PDF viewers. It certainly doesn't help adoption when the list of allowed parameter values is locked in a proprietary spec!
view=<keyword>,<position>
The arguments correspond to those found in [ISOPDF2] 12.3.2.2
"Explicit destinations". <keyword> is one of the keywords defined
in [ISOPDF2] "Table 149: Destination syntax" with appropriate
position values.
[ISOPDF2] ISO, "Document management -- Portable document format --
Part 2: PDF 2.0", ISO 32000-2:2017, 2017.
0: https://pdfa.org/pdf-fragment-identifiers/#Browser_support_f...Now, this is very much against the spec [0]. At first glance, the doubled functionality of encoding parameters is irritating, there are query parameters already, so ?page=70 would seem more consistent. But then, this has been worked on for a long and it makes sense to add a whole set of functions for certain mime-types.
https://developer.adobe.com/document-services/docs/assets/5b...
I am not sure, but it is possible that I changed the default behavior for PDF files because I didn't like the integrated PDF viewer. Nevertheless, I think this is a valid use case that should be considered when using this feature.
0: https://kdp.amazon.com/en_US/help/topic/GDDYZG2C7RVF5N9J#fro...