ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Pablo Rodriguez <oinos@gmx.es>
To: ntg-context@ntg.nl
Subject: [NTG-context] Re: Link from a PDF to a reference of an embedded PDF
Date: Tue, 25 Jul 2023 17:38:02 +0200	[thread overview]
Message-ID: <b8e97a5b-708a-c9e3-04fd-561e1e72e9ad@gmx.es> (raw)
In-Reply-To: <4626410.LvFx2qVVIh@falbala>

On 7/24/23 18:04, Gerion Entrup wrote:
> […]
> I'm do not know the structure of PDFs exactly, therefore some of my
> terms might be wrong. […]

Hi Gerion,

now I realize that my explanation was unnecesarily technical or not
focused on your needs.

My point was that if PDF as such doesn’t offer the capability, there is
no way to include it in ConTeXt (with PDF documents as output files).

> The situation is that I have a PDF-document (inner.pdf) that defines
> several destinations and I want to embed that document with
> \externalfigure into another PDF-document (outer.pdf). My question is:
> Is it possible to create references within the source code of outer.pdf
> that correctly set a link to a destination that is defined in inner.pdf?
> Asked in another way: Is is possible that \externalfigure can extract
> the (maybe named) destinations of inner.pdf and translate them in such a
> way, that I can use \in within the outer document to link to them.

I’m in a hurry, excuse my rash reply.

As far as I know (although I never used them), you can use \in with
references to other documents (I guess this is why you need the .tuc
file of the other document [to resolve the reference]).

In that case, you will have the reference number solved in your
document. As far as I know, there is no link for that.

Importing the document (with \externalfigure) has issues to preserve
internal links.

I hope it helps,

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

maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : https://contextgarden.net
___________________________________________________________________________________

  parent reply	other threads:[~2023-07-25 15:41 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-07-20 14:25 [NTG-context] " Gerion Entrup
2023-07-22  8:29 ` [NTG-context] " Pablo Rodriguez
2023-07-24 16:04   ` Gerion Entrup
2023-07-24 17:13     ` Aditya Mahajan
2023-07-25 15:38     ` Pablo Rodriguez [this message]
2023-07-26 17:47       ` Pablo Rodriguez
2023-07-27 15:20         ` Pablo Rodriguez

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=b8e97a5b-708a-c9e3-04fd-561e1e72e9ad@gmx.es \
    --to=oinos@gmx.es \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).