Jump to content

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.

Share this post


Link to post
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

Windows 10 Home, version 1909 (183623.476),
   Desktop: 16GB memory, Intel Core i7-6700K @ 4.00GHz, GeForce GTX 970
   Laptop:  8GB memory, Intel Core i7-3625QM @ 2.30GHz, Intel HD Graphics 4000 or NVIDIA GeForce GT 630M
Affinity Photo 1.8.3.641 and 1.8.4.647 Beta   / Affinity Designer 1.8.3.641 and 1.8.4.647 Beta  / Affinity Publisher 1.8.3.641 and 1.8.3.627 Beta.

Share this post


Link to post
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. 

Share this post


Link to post
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.

Share this post


Link to post
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.

Guest
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 the Annual Company Closure section in the Terms of Use. 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.