Jump to content
You must now use your email address to sign in [click for more info] ×

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
Designer, Photo, and Publisher V1 and V2 at latest retail and beta releases
PC:
    Desktop:  Windows 11 Pro, version 23H2, 64GB memory, AMD Ryzen 9 5900 12-Core @ 3.00 GHz, NVIDIA GeForce RTX 3090 

    Laptop:  Windows 11 Pro, version 23H2, 32GB memory, Intel Core i7-10750H @ 2.60GHz, Intel UHD Graphics Comet Lake GT2 and NVIDIA GeForce RTX 3070 Laptop GPU.
iPad:  iPad Pro M1, 12.9": iPadOS 17.4.1, Apple Pencil 2, Magic Keyboard 
Mac:  2023 M2 MacBook Air 15", 16GB memory, macOS Sonoma 14.4.1

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. 

2017 27” iMac 4.2 GHz Quad-Core Intel Core i7 • Radeon Pr 580 8GB • 64GB • Ventura 13.6.4.

iPad Pro (10.5-inch) • 256GB • Version 16.4

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.

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.

Loading...
×
×
  • Create New...

Important Information

Terms of Use | 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.