Automatically Generating Bookmarks - A Question  SOLVED

Forum for the PDF-XChange Editor - Free and Licensed Versions

Moderators: TrackerSupp-Daniel, Tracker Support, Paul - Tracker Supp, Vasyl-Tracker Dev Team, Chris - Tracker Supp, Sean - Tracker, Ivan - Tracker Software, Tracker Supp-Stefan

Post Reply
standish-001
User
Posts: 76
Joined: Sun Apr 01, 2018 2:45 pm

Automatically Generating Bookmarks - A Question

Post by standish-001 »

Hi,

About automatically generating bookmarks from the document's own headers, I saw this: https://www.pdf-xchange.com/knowledgebase/485-How-do-I-Create-a-table-of-contents-with-the-Editor

Is there any way to use a document's OWN Table of Contents to generate bookmarks? Such that if we can see a page like this

TABLE OF CONTENTS

Introduction.....iv

Author's Note.....viii

Chapter 1.....3

Chapter 2....56

Chapter 3....99

Conclusion...198

Then the bookmarks get created from these values? Rather than scanning each page header - which offers hundreds of opportunities for a mis-read, is there any way to act upon the page values of the two or three Table of Contents Pages to generate bookmarks?

Sincerely,

SW
Willy Van Nuffel
User
Posts: 2342
Joined: Wed Jan 18, 2006 12:10 pm

Re: Automatically Generating Bookmarks - A Question

Post by Willy Van Nuffel »

Hi,

I think that you will have to use : Create Bookmarks "From Table of Contents" in the Bookmarks ribbon.

More info here: https://help.pdf-xchange.com/pdfxe9/bookmarks-guide_ed.html (click the fourth hyperlink).

Kind regards.

Willy
Attachments
PDF-XChange Editor - Bookmarks.png
User avatar
Paul - Tracker Supp
Site Admin
Posts: 6813
Joined: Wed Mar 25, 2009 10:37 pm
Location: Chemainus, Canada
Contact:

Re: Automatically Generating Bookmarks - A Question

Post by Paul - Tracker Supp »

Thanks Willy,

there is also this one: https://help.pdf-xchange.com/pdfxe ... xt_ed.html

I hope that helps.
Best regards

Paul O'Rorke
Tracker Support North America
http://www.tracker-software.com
standish-001
User
Posts: 76
Joined: Sun Apr 01, 2018 2:45 pm

Re: Automatically Generating Bookmarks - A Question

Post by standish-001 »

Hi Willy and Paul,

What can I do where there are LONG chapter titles? This means the PDF file has linebreaks at the end of each line. So that a chapter written as:

Explore lung, breathing and allergy disorders, treatments, tests and prevention services provided by the Respiratory Institute 25

Is picked up as two separate bookmarks

Explore lung, breathing and allergy disorders, treatments, tests and
prevention services provided by the Respiratory Institute.

The SECOND link work. The first one only brings me back to the original table of contents.

I selected the below option, and then selected ALL checkboxes. No difference.
Image

Where TOC titles have linebreaks...what can we do?

Thanks!

WS
Attachments
2021-10-23_22-29-31-946.png
standish-001
User
Posts: 76
Joined: Sun Apr 01, 2018 2:45 pm

Re: Automatically Generating Bookmarks - A Question

Post by standish-001 »

Tried this: https://help.pdf-xchange.com/pdfxe9/index.html?bookmarks-guide_ed.html

BUT...the document has a 93 page introduction. Using a plain text file, how can I enter an offset value for the import bookmarks via TOC from a text file?

Then, please, too, if my question about the line breaks could be answered.

Sincerely,

SW
standish-001
User
Posts: 76
Joined: Sun Apr 01, 2018 2:45 pm

Re: Automatically Generating Bookmarks - A Question

Post by standish-001 »

Hi Again,

Extra info:

What I did was to use the advance pagination feature. So that I have

iii~Xciii

for the introduction.

I did this to mimic the actual printed pages' visible pagination.

Now, in the pagination box at the bottom of the page I see:
xii.jpg
xii.jpg (11.63 KiB) Viewed 1014 times
So, if I want to use a text file for my bookmarks, how do I handle the pages

iii~Xciii

most efficiently?

Put another way - right now the printed Table of Contents shows

XYZ content on page 20

BUT

XYZ content actually is on page 111

because of the Introduction. What would be the most efficient way, or alternative, to handle this if I want to use a text file to generate bookmarks based on the Table of Contents, short of doing the math for every printed bookmark - please note...it's an...897 page book. Hoping for an automated solution.

Thanks!

SW
User avatar
TrackerSupp-Daniel
Site Admin
Posts: 8371
Joined: Wed Jan 03, 2018 6:52 pm

Re: Automatically Generating Bookmarks - A Question  SOLVED

Post by TrackerSupp-Daniel »

Hello, standish-001

The only way to setup a page offset for import from a text file currently, is to manually edit the text file, adding the appropriate number of pages to the page number for each line of text:
image.png
image.png (12.02 KiB) Viewed 984 times
The "Logical page numbers" are not counted for the purpose of the txt file, and simply utilize their raw page number, (IE your "xiii" in the screenshot above is page 11 out of 897. So the bookmark should be written out as:

"Bookmark name; 11"

A more efficiently workaround, to do this right now, would be to extract the pages you do not want to be counted from the document. so that it starts on the "page 1" which you want these bookmarks to count from. Then apply the bookmarks, and re-insert the previously extracted pages.

I hope this helps!

Kind regards,
Dan McIntyre - Support Technician
Tracker Software Products (Canada) LTD

+++++++++++++++++++++++++++++++++++
Our Web site domain and email address has changed as of 26/10/2023.
https://www.pdf-xchange.com
Support@pdf-xchange.com
standish-001
User
Posts: 76
Joined: Sun Apr 01, 2018 2:45 pm

Re: Automatically Generating Bookmarks - A Question

Post by standish-001 »

Thanks! :)))))))))))))))))))))))))))))
User avatar
TrackerSupp-Daniel
Site Admin
Posts: 8371
Joined: Wed Jan 03, 2018 6:52 pm

Automatically Generating Bookmarks - A Question

Post by TrackerSupp-Daniel »

:)
Dan McIntyre - Support Technician
Tracker Software Products (Canada) LTD

+++++++++++++++++++++++++++++++++++
Our Web site domain and email address has changed as of 26/10/2023.
https://www.pdf-xchange.com
Support@pdf-xchange.com
Post Reply