Thonex Posted October 10, 2021 Share Posted October 10, 2021 Hi there, Currently, there is not way to add a single word or an isolated phrase in a paragraph to a Table of Contents (TOC). Only Paragraph styles are recognized by Table of Contents (TOC). It is currently impossible to isolate a word or two in a paragraph to be added to the TOC without some tedious (and potentially invasive) workarounds (like invisible layers and hidden text boxes etc). Allowing Character Styles to be added to the TOC as Styles Names would be a great way to fix this. Here is the thread talking about this: Fingers crossed. Cheers, Andrew K Quote Link to comment Share on other sites More sharing options...
RM f/g Posted April 28, 2023 Share Posted April 28, 2023 I join Thonex in his request for the option to make a table of contents based on a character style. For me it would be very usefull. I’ll give you an example from my daily work: making a list of figures in a book. Example An everyday caption – e.g. on page 56 – would look like this: Figure 3.17. A most remarkable blancmange. This second sentence gives more information, but it is superfluous in the list of figures. Scale 1:4. (photo Angus Podgorny) In the list of figures – actually a list of captions – it should appear like this: 3.17. A most remarkable blancmange. 56 Former working method Back in the inDesign days I would apply an empty character style with appropriate name to the parts of the caption that should not appear in the list of figures. On generating this list as a table of contents, this character style would be copied to that list. Then I would have a script remove the unwanted parts with that character style from that list. (Ah, scripts! Remember? Double click, the blink of an eye and done!) Cleanup in Publisher In Publisher character styles are not copied to the table of contents. Therefore a search and destroy command is not possible. So now I have to manually remove the unwanted parts (in all two hundred or so instances). And again in case of last minute changes. To speed things up, it would be nice if Publisher would have the option to make a table of contents based on a character style. Then an empty character style could be applied to the parts of a caption that should appear in the list of figures. Use index It is on the other hand possible to make a list of figures to my liking as an index. But: – there are no clickable links to the actual captions in the pdf, – there’s only one index possible and I have to make a list of tables as well (and possibly an index intended to be an index). Nest paragraph styles It is possible to nest paragraph styles (‘apply “style name” to characters’ in the style’s menu), but it is not possible to generate a table of contents from this nested style. Request Therefore my kind request for the possibility to generate a table of contents based on a character style — or on a nested paragraph style. Thanks for your attention Quote Macbook Pro mid 2015, 16 GB, double barrel: MacOS Mojave + Affinity 1 / MacOS Monterey + Affinity 2 Link to comment Share on other sites More sharing options...
MikeTO Posted April 28, 2023 Share Posted April 28, 2023 I'd rather have a Table of Figures feature than changing the TOC feature to support character styles so we could hack together a table of figures. Quote Download a free manual for Publisher 2.3 from this forum - expanded 260-page PDF Affinity 2.3.1 for macOS Sonoma 14.3, MacBook Pro 14" (M1 Pro) Link to comment Share on other sites More sharing options...
RM f/g Posted April 30, 2023 Share Posted April 30, 2023 The point is that only a part of the caption needs to be included in the list. I can imagine using something like zero width spaces to delimit the desired part and in the list delete everything before and after such a space would work (if they are copied to the TOC. Easiest done with the help of a script, of course. Quote Macbook Pro mid 2015, 16 GB, double barrel: MacOS Mojave + Affinity 1 / MacOS Monterey + Affinity 2 Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.