How can I get Table of Contents to show a sub-heading for each foldered part?

This Forum is for the use of End Users requiring help and assistance for Tracker Software's PDF-Tools.

Moderators: PDF-XChange Support, Daniel - PDF-XChange, Chris - PDF-XChange, Sean - PDF-XChange, Vasyl - PDF-XChange, Stefan - PDF-XChange

chrisjj
User
Posts: 403
Joined: Mon Aug 02, 2021 3:47 pm

How can I get Table of Contents to show a sub-heading for each foldered part?

Post by chrisjj »

I feel sure this must be possible...

My tool is Inputting files recursively from this folder structure:
image.png
then Merge Documents, and Build Table of Contents.

How can I get Table of Contents to show a sub-heading for each part? E.g.

Code: Select all

TABLE OF CONTENTS

Part 1
doc1 ......................... 1
doc2 ......................... 2
Part 2
doc3 ......................... 3
doc4 ......................... 4
etc.
My best attempt is a kluge. I add an input file "Part n" being a front page for each Part, giving me

Code: Select all

TABLE OF CONTENTS

Part 1 ....................... 1
doc1 ......................... 2
doc2 ......................... 3
Part 2 ....................... 4
doc3 ......................... 5
doc4 ......................... 6
etc.
plus Part front pages I don't like, with from my header:

%[FolderTitle] -- %[FileName]

a rather silly result: "Part n -- "Part n".

Yuk.

Thanks.
You do not have the required permissions to view the files attached to this post.
User avatar
Daniel - PDF-XChange
Site Admin
Posts: 11252
Joined: Wed Jan 03, 2018 6:52 pm

Re: How can I get Table of Contents to show a sub-heading for each foldered part?

Post by Daniel - PDF-XChange »

Hello, chrisjj

This is not currently possible, you can only specify one style type for the create ToC action at the moment, so you would always see one of these 4 options for all items listed:
image.png
Perhaps in the future we can offer finer controls to style each bookmark level, but for now, the only solution i can offer is to use the style you want your docs to appear as, then manually open and use the "edit text" tool to remove the text from the lines you do not want it on.

Kind regards,
You do not have the required permissions to view the files attached to this post.
Dan McIntyre - Support Technician
PDF-XChange Co. LTD

+++++++++++++++++++++++++++++++++++
Our Web site domain and email address has changed as of 26/10/2023.
https://www.pdf-xchange.com
Support@pdf-xchange.com
chrisjj
User
Posts: 403
Joined: Mon Aug 02, 2021 3:47 pm

Re: How can I get Table of Contents to show a sub-heading for each foldered part?

Post by chrisjj »

OK. Thanks.
User avatar
Stefan - PDF-XChange
Site Admin
Posts: 19913
Joined: Mon Jan 12, 2009 8:07 am

How can I get Table of Contents to show a sub-heading for each foldered part?

Post by Stefan - PDF-XChange »

:)