Skip to main content
Participant
February 22, 2020
Question

Link to bookmark with space in Bookmark

  • February 22, 2020
  • 1 reply
  • 619 views

I have a PDF document that is going to grow as time goes on and will be accessed from a Web Browser. I have Bookmarks created from topic headings and I can link to the correct page using the format:

<a href="https://requestedPDF.pdf#Bookmark1">

The problem is that many of the bookmarks have a space in them and don't work in a hyperlink. I have tried:

<a href="https://requestedPDF.pdf#Bookmark 1">

and

<a href="https://requestedPDF.pdf#Bookmark%201">

But that doesn't work besause I think that special characters and spaces are not allowed in the PDF open code?

Destinations don't work like I need because as the document grows, the destination will not be on the correct page.

Creating Bookmarks without spaces doesn't look correct either.

What is the method to link to a bookmark that has a space in the bookmark or another method to achieve the dynamic location for a link?

This topic has been closed for replies.

1 reply

Bernd Alheit
Community Expert
Community Expert
February 22, 2020

Adobe Acrobat doesn't support this links.