linking to specific sections of the pdf

This forum is for all Flare issues related to PDF, eBook, Microsoft Word, Adobe FrameMaker, XPS, and XHTML book targets.
Post Reply
Nick-Metcalfe
Propeller Head
Posts: 16
Joined: Fri May 28, 2021 4:12 am

linking to specific sections of the pdf

Post by Nick-Metcalfe »

When i generate my output, i have the pdfs generated and links created for them to be accessed.

I would like to have some sort of tag in the pdfs so that I can link to a specific section from a URL I have looked into doing this with named destinations but cant see whether it will work or not.

Some guidance would be useful please
Cheers
Nick
AlexFox
Sr. Propeller Head
Posts: 162
Joined: Thu Oct 19, 2017 1:56 am

Re: linking to specific sections of the pdf

Post by AlexFox »

Hi Nick,

You can use anchors/named destinations in a PDF to link to specific locations.

Code: Select all

<a name="target"></a>
inserted anywhere in the document can be linked to by using

Code: Select all

<a href="#target">click here</a>
You can use Insert > Hyperlink and Link to "Place in this Document" to easily insert these named destinations.
Nick-Metcalfe
Propeller Head
Posts: 16
Joined: Fri May 28, 2021 4:12 am

Re: linking to specific sections of the pdf

Post by Nick-Metcalfe »

So if i wanted to then craft a URL for someone to click on external to the document to then be taken to that tag what would the URL look like?
Cheers
Nick
AlexFox
Sr. Propeller Head
Posts: 162
Joined: Thu Oct 19, 2017 1:56 am

Re: linking to specific sections of the pdf

Post by AlexFox »

Ah sorry, I misunderstood, but this might still be possible by appending #mysection to your URL where mysection is the bookmark name.
Post Reply