On 9/13/26 20:23, Hans Hagen via ntg-context wrote:
> On 9/13/2026 7:44 PM, Pablo Rodriguez via ntg-context wrote:
>>
>> Then I only have to explain: open the PDF with Acrobat Reader (or
>> Firefox) and click on the [x-colored] link borders.
> 
> hm, but that overloads going to external documents

My patch wasn’t intended for the general public and `/GotoR` was no use
for me.

Besides `/GotoR` has its issues in PDF.js
(https://github.com/mozilla/pdf.js/issues/17278).

>> With my modification above, I would need to embed document 3 twice (once
>> in the main document and a second time in the embedded request).
> 
> but how does one knows what doc is embedded in the embedded doc

Because all embedding is generated by the same user (not all the
embedded document themselves).

>> Syntax could be `\goto{}[embedded-1.pdf>embedded-2.pdf>target]` for
>> hidden attachments and `\goto{}[1:1>target]` for visible ones.
> 
> that doesn't fit the syntax, it would be something [embedded(filename)] 
> or so

Perfectly fine fo me. I thought a variant of `::` for external file
could be `:>:` for link to a child (but syntax isn’t the main thing here
for me).

> What open source viewers support this?

PDF.js by Mozilla does support it.

`poppler`
(https://gitlab.freedesktop.org/poppler/poppler/-/work_items/130) will
need more time to implement this.

MuPDF cannot deal with attachments (at least hidden).

Chrome/Edge don’t deal with attachments.

> We need an (uncompressed) example at least.

Sure, with hidden attachment and a link to a child (since it is
uncompressed:
https://codeberg.org/ousia/context-issues/media/branch/main/gotoe-link_to_child.pdf,
because just the uncompressed document is bigger than 100KB).

For visible attachments and/or link to x-child, I would have to write it
by hand (which would take longer).

The PDF-1.7 spec link:
https://opensource.adobe.com/dc-acrobat-sdk-docs/pdfstandards/PDF32000_2008.pdf#nameddest=G11.2048909.

https://opensource.adobe.com/dc-acrobat-sdk-docs/pdfstandards/PDF32000_2008.pdf#page=429
contains examples: the last one is a link to a grandchild.

Let me know what you need in this. Btw, it might take longer to reply,
since these months are demanding for me: in no way it means I’m not
extremely interested in this feature (which I think I’m going to need it
for myself in the no-so-distant future).

> Do people really believe that adobe tools are not looking into their 
> embedded legal documents?

I totally agree, but I wouldn’t bet my life on a similar situation with
“Mozilla” (not that I positively distrust them, but because everyone has
every incentive to abuse users).

> I stopped launching acrobat as it kept offering summaries and
> whatever which could as wll mean 'go to some adobe ai thing'

I need “Acrobat Reader” (I don’t have any access to the professional
version) mainly to check digital signatures: both mathematical
correctness and legal validity (EU Trust List, Regulation EU/910/2014).

In re electronic signature verification (when not signing itself):

* MuPDF seems to me a real mess (and my experience in reporting to them
is a waste of time).

* `poppler` is not just quite there (EUTL is essential to know know
whether an electronic signature is legally binding [and “Firefox”
doesn’t include it or it doesn’t provide a way to mark a certificate as
coming from EUTL as “Acrobat” does]) and because of the lack of
contributors, `poppler` development is painfully slow (from the user
perspective, not complaining myself).

* PDF.js is still in its testing mode and has non-minor issues
(https://github.com/mozilla/pdf.js/issues/21698).

At least in my work (when not in personal life [such as with the example
of my friend]), I need to check whether digital signatures are legally
binding or not (I have already faced broken signatures, self-signed
certificates and modified documents after being signed [all these
documents having been rejected on legal grounds]): this is the main
reason I have to use “Acrobat Reader”.

Many thanks for your help,

Pablo
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : [email protected] / 
https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive  : https://github.com/contextgarden/context
wiki     : https://wiki.contextgarden.net
___________________________________________________________________________________

Reply via email to