Jump to content
Our response time is longer than usual currently. We're working to answer users as quickly as possible and thank you for your continued patience.

Including Paragraph Numbering in TOC

Recommended Posts

Is it possible for the TOC entries to automatically include the paragraph numbering of the referenced paragraphs?
For example, in my second attached image I have the paragraphs numbered as I want them and it would be nice if those numbers are automatically brought across into the TOC, as in my first attached image.
I made the first attached image by manually adding the numbering to the TOC styles but I am wondering if there is a simpler way.

Annotation 2019-09-07 134727.png

Annotation 2019-09-07 134338.png

Edited by GarryP
Images were switched round for some reason.
Link to comment
Share on other sites

Interesting question, Garry. You can certainly specify numbering for the "TOC 1: <style name>" styles and then, if you're careful with your layout and assign different paragraph styles if you have sets of paragraphs with unrelated numbers, the TOC entries should end up with the same generated numbers as their associated paragraphs.

But I don't see an obvious way to pick up the actual numbers used on the paragraphs and include them in the TOC entry.

-- Walt

Desktop:  Windows 11 Home, version 21H2 (22000.613) 64GB memory, AMD Ryzen 9 5900 12-Core @ 3.00 GHz, NVIDIA GeForce RTX 3090 
Laptop:  Windows 10 Home, version 21H2 (19044.1706) 32GB memory, Intel Core i7-10750H @ 2.60GHz, Intel UHD Graphics Comet Lake GT2 and NVIDIA GeForce RTX 3070 Laptop GPU.
        Affinity Photo 1.10.5 (.1342) and 2.0.0 / Affinity Designer 1.10.5 (.1342)  and 2.0.0 / Affinity Publisher 1.10.5 (.1342)  and 2.0.0
iPad Pro M1, 12.9", iPadOS 16.1, Apple Pencil 2, Magic Keyboard

      Affinity Photo 1.10.5 (.280) and 2.0.2 / Affinity Designer 1.10.5 (.21) and 2.0.2 / Affinity Publisher 2.0.2

Link to comment
Share on other sites

1 hour ago, GarryP said:

Is it possible for the TOC entries to automatically include the paragraph numbering of the referenced paragraphs?

Hi Gary,

I haven't tried it but this might be a 2 step process.

1. Generate TOC as per @walt.farrell

2. Apply Number and Bullets Paragraph Style (this needs to be defined to suit your needs) oner the generated TOC. 

Link to comment
Share on other sites

Thanks for the replies.

Your methods are, if I have read them correctly, what I used to create the first image.
This works - and it's not too much hassle - but, if the numbering style changes in the text – from 1.1 to 1.a, for example – the styles in the TOC will also have to be manually changed, something which might be forgotten “in the heat of battle”.

Having thought about it a bit more, I’m starting to come around to the idea that this way of doing it might be better than having the numbering automatically passed through to the TOC.
If the numbering was automatically picked up by the TOC then we would have one of (at least) two scenarios:
1. The numbers in the TOC would have to be formatted in exactly the same way as the TOC items (doesn’t allow for much user choice);
2. Or, there would have to be some special way of specifically handling the formatting of the numbers (which might be more complicated than this way of doing things).

For the moment I think I will continue as I have been doing and see if there are any complications along the road.
I’ve got a long way to go with this document so I’m sure I’ll see over time whether it works nicely or not.

Link to comment
Share on other sites

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.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Create New...

Important Information

Please note there is currently a delay in replying to some post. See pinned thread in the Questions forum. These are the Terms of Use you will be asked to agree to if you join the forum. | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.