Extract Pages - %Bookmark does not appear to work

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
RedSharpEye
User
Posts: 155
Joined: Mon Oct 25, 2010 6:38 am

Extract Pages - %Bookmark does not appear to work

Post by RedSharpEye »

Hi,

I have tried to extract pages from an open pdf which has bookmarks for each page using "Organise-Extract Pages". I chose to save each page as a separaate file and added the %[Bookmark] macro thinking that each file would be names after the bookmark for that page.
image.png
However the first file was called untitled/pdf and the subsequent file caused a name conflict which caused Editor to offer to auto number which I accepted. The subsequent files were then called _1.pdf _2.pdf etc.

I wonder what I am doing wrong?

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

Re: Extract Pages - %Bookmark does not appear to work

Post by Willy Van Nuffel »

I have run a test with the latest version 9.2.357.0 of PDF-XChange Editor, and "Extract Pages" to a separate file per page seems to be working correctly.

For naming the extracted pages, I have used the %[Bookmark] macro. It seems like for every page the first bookmark in the bookmark list for that page is being used.

So, I would advise to check the bookmarks in your original document and to begin with a few specific pages, so that you can run some short tests to see if you get it to work like you wish.

Best regards.

Willy
RedSharpEye
User
Posts: 155
Joined: Mon Oct 25, 2010 6:38 am

Re: Extract Pages - %Bookmark does not appear to work

Post by RedSharpEye »

Hi Willy

I have tested also with the latest version 9.2.357.0.

A different pdf worked so it must be something peculiar with the ones generated by autocad - more investigation being carried out....

I think I have found the problem......

The bookmarks in the document are for each page, but they are child bookmarks to a top level bookmark that has no action assigned to it.
image.png
Promoting the child bookmarks to the top level and deleting the no action bookmark fixes the issue.

Thanks for helping me solve the probem Willy.

Kind regards

Red
User avatar
Radi - Tracker Supp
Site Admin
Posts: 597
Joined: Tue Mar 03, 2015 12:46 pm

Re: Extract Pages - %Bookmark does not appear to work

Post by Radi - Tracker Supp »

Hi RedSharpEye,

I am happy to hear that you managed to find the issue and solve it.

@Willy, thanks for your assistance on this case!

Regards,
Radi
RedSharpEye
User
Posts: 155
Joined: Mon Oct 25, 2010 6:38 am

Re: Extract Pages - %Bookmark does not appear to work

Post by RedSharpEye »

Hi Radi

The question is... bookmarks did exist for each page, but the software did not look for them down the levels so tried to save each file as untitled.

Would it be reasonable to expect a more comprehensive scan of the bookmark levels to reflect the "Build table of contents" function which recognises up to 999 levels, or would it be normal to think that the whole bookmark structure to be moved to the top level for exporting?

Regards

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

Re: Extract Pages - %Bookmark does not appear to work

Post by Willy Van Nuffel »

Hi all,

Myself, I think it would be logic that the first bookmark of each page would be taken for the name of the file, whatever its level in the whole bookmarks list, because there is never a guarantee that there will be a level 1 bookmark for each page in the original file.

Regards.

Willy
RedSharpEye
User
Posts: 155
Joined: Mon Oct 25, 2010 6:38 am

Re: Extract Pages - %Bookmark does not appear to work

Post by RedSharpEye »

Willy Van Nuffel wrote: Wed Oct 20, 2021 11:59 am Hi all,

Myself, I think it would be logic that the first bookmark of each page would be taken for the name of the file, whatever its level in the whole bookmarks list, because there is never a guarantee that there will be a level 1 bookmark for each page in the original file.

Regards.

Willy
I second that :-)
User avatar
Paul - Tracker Supp
Site Admin
Posts: 6813
Joined: Wed Mar 25, 2009 10:37 pm
Location: Chemainus, Canada
Contact:

Re: Extract Pages - %Bookmark does not appear to work

Post by Paul - Tracker Supp »

Hi Guys,

I went to try this myself and I also see some issues with, similar but not identical. You mentioned
A different pdf worked so it must be something peculiar with the ones generated by autocad - more investigation being carried out....
and I would like to do a little deeper digging. May we have that problematic PDF you first had issues with perhaps?

please and thanks
Best regards

Paul O'Rorke
Tracker Support North America
http://www.tracker-software.com
RedSharpEye
User
Posts: 155
Joined: Mon Oct 25, 2010 6:38 am

Re: Extract Pages - %Bookmark does not appear to work

Post by RedSharpEye »

No problem Paul, where shall I email it to?
User avatar
Dimitar - Tracker Supp
Site Admin
Posts: 1778
Joined: Mon Jan 15, 2018 9:01 am

Re: Extract Pages - %Bookmark does not appear to work

Post by Dimitar - Tracker Supp »

Hello RedSharpEye,

Please use this email address: support@pdf-xchange.com

Regards.
RedSharpEye
User
Posts: 155
Joined: Mon Oct 25, 2010 6:38 am

Re: Extract Pages - %Bookmark does not appear to work

Post by RedSharpEye »

Hi PAul

Email sent

Red
User avatar
Dimitar - Tracker Supp
Site Admin
Posts: 1778
Joined: Mon Jan 15, 2018 9:01 am

Re: Extract Pages - %Bookmark does not appear to work

Post by Dimitar - Tracker Supp »

Hi Red,

I can confirm that we received your email, and it was forwarded to the appropriate person.

Thanks.
User avatar
Paul - Tracker Supp
Site Admin
Posts: 6813
Joined: Wed Mar 25, 2009 10:37 pm
Location: Chemainus, Canada
Contact:

Re: Extract Pages - %Bookmark does not appear to work

Post by Paul - Tracker Supp »

Hi guys,

I can confirm this was fixed in yesterday's build. Please test 9.2.358.0 and let me know if that gives you what you expected?

please and thanks
Best regards

Paul O'Rorke
Tracker Support North America
http://www.tracker-software.com
Willy Van Nuffel
User
Posts: 2342
Joined: Wed Jan 18, 2006 12:10 pm

Re: Extract Pages - %Bookmark does not appear to work

Post by Willy Van Nuffel »

For me it seems to be working correctly now in build 358.

Thanks for having solved this problem.

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

Extract Pages - %Bookmark does not appear to work

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
RedSharpEye
User
Posts: 155
Joined: Mon Oct 25, 2010 6:38 am

Re: Extract Pages - %Bookmark does not appear to work

Post by RedSharpEye »

Hi Paul

Checked with the errant file and now works perfectly.

Well done fellers.

Red
User avatar
Paul - Tracker Supp
Site Admin
Posts: 6813
Joined: Wed Mar 25, 2009 10:37 pm
Location: Chemainus, Canada
Contact:

Extract Pages - %Bookmark does not appear to work

Post by Paul - Tracker Supp »

:)
Best regards

Paul O'Rorke
Tracker Support North America
http://www.tracker-software.com
Post Reply