Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
0

Links to chapters in PDF

New Here ,
May 08, 2019 May 08, 2019

Copy link to clipboard

Copied

Hi,

https://www.adobe.com/content/dam/acom/en/devnet/acrobat/pdfs/pdf_open_parameters.pdf has some explanation for opening a PDF file with parameters. On page 8, there are some examples for URLs. The first one is:

http://example.org/doc.pdf#Chapter6 (so to make one thing clear, before anybody complains that there are no Chapters in pdf, this is in a public document by adobe, I'm just referring to their choice of words).

And this works like a charm, at least in Chrome. The link https://www.adobe.com/content/dam/acom/en/devnet/acrobat/pdfs/pdf_open_parameters.pdf#Parameters opens the same document, but on page 5, where the chapter named "Parameters" is located as of now.

Now I have two questions:

1. How would I link to chapter "Who should read this guide?"

So far I have tried clanks in the URL, underscores, double quotation marks and square brackets, but to no avail.

2. If there are multiple chapters with the same name (e.g. "Conclusion" at the end of every larger section), how would I address these?

Thanks

Ole

Views

3.0K
Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
May 08, 2019 May 08, 2019

Copy link to clipboard

Copied

That should not have worked. You can't link to bookmarks (what you call "Chapters"). Only to pages, named destinations or specific views.

Maybe Chrome's viewer does allow that, but it's not a part of the official open parameters API.

Votes

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
May 08, 2019 May 08, 2019

Copy link to clipboard

Copied

try67  wrote

Maybe Chrome's viewer does allow that, but it's not a part of the official open parameters API.

Unless it is part of the official "Parameters for Opening PDF Files​" found on Acrobat DC SDK Documentation​. On page 8, it says:

URL examples

http://example.org/doc.pdf#Chapter6

(This changed somewhen between Version 7.0.5 and Version 8.1. In 7.0.5, it read "http://example.org/doc.pdf#nameddest=Chapter6".)

It might well be that you are right after all, in which case somebody at Adobe should correct the documentation.

Votes

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
May 08, 2019 May 08, 2019

Copy link to clipboard

Copied

LATEST

I think that if you don't specify the parameter name it defaults to "nameddest".

Votes

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines