Jump to content
Amaroun

Hierarchical Table of content according to the new styles

Recommended Posts

Hello! 

I would like to create table of content from my new text styles, however I am not quite sure to make table of content hierarchical according to my newly created styles. With heading 1; 2; 3, the hierarchy is automatic. Is it something with next style and next level? I am confused from this... Thx!

 

Thank you for any help

 

Share this post


Link to post
Share on other sites

Okay solved one part - You can edit Toc style1 and Toc style 2, however with every editting of toc style you need to update Table of contents, because all texts will be formated by previously changed to style.

 

However I am not quite still able to solve the order of styles. I am not quite sure what to do, if you want to have Toc style 2 above Toc style 1.   

Share this post


Link to post
Share on other sites
1 hour ago, Amaroun said:

I am not quite sure what to do, if you want to have Toc style 2 above Toc style 1.   

I'm not sure what you mean by having Toc style 2 above style 1.  Can you clarify that?


-- Walt

Windows 10 Home, version 2004 (19041.388),
   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.5.703 and 1.9.0.903 Beta   / Affinity Designer 1.8.5.703 and 1.9.0.903 Beta  / Affinity Publisher 1.8.5.703 and 1.9.0.902 Beta.

Share this post


Link to post
Share on other sites
18 minutes ago, walt.farrell said:

I'm not sure what you mean by having Toc style 2 above style 1.  Can you clarify that?

Well If I would like to change the order of styles in table of contents, what should I do? It seems to me that it is made alphabetically and there is no way how to change it that first will go heading 2 and than heading 1.

 

image.png.ddb66777242b64ca5bfa466d1e585c34.png

Share this post


Link to post
Share on other sites

The names are irrelevant to the ordering. It's the characteristics and definition of the text styes that matters.

For example, if you look at the definition of Heading 1 you'll see that it specifies that the "Next level" is Heading 2. That's what determines that Heading 2 is subordinate to Heading 1:

next-level.png.278103cd9c9e6dc8738100cd10e0f8f7.png

The next thing that's important is the order of the text with respect to

  • which page it's on,
  • and within a page, the headings in a text frame that is lower in the layer stack will appear before those higher in the layer stack.
  • and there's also an ordering related to pinning, but I need to do some more research on that.

 


-- Walt

Windows 10 Home, version 2004 (19041.388),
   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.5.703 and 1.9.0.903 Beta   / Affinity Designer 1.8.5.703 and 1.9.0.903 Beta  / Affinity Publisher 1.8.5.703 and 1.9.0.902 Beta.

Share this post


Link to post
Share on other sites

Okay

I created 2 styles... Style1 and Style2., then I put next level for Style2 Style 1 and still table of contents is accroding to the alphabetical order of styles (See top down image)

 

image.png.53cec14e7ebdf126c5ee210b73bc2d7c.png 

 

image.png.ca25c995cc117e0423d452dbd84e46dd.png

Share this post


Link to post
Share on other sites

Your style order is a bit confusing because you have also said that Style 2 is "Based on" Style 1". I don't know if that would make a difference.

Please upload a copy of your sample .afpub document for us to examine; that may reveal something else.


-- Walt

Windows 10 Home, version 2004 (19041.388),
   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.5.703 and 1.9.0.903 Beta   / Affinity Designer 1.8.5.703 and 1.9.0.903 Beta  / Affinity Publisher 1.8.5.703 and 1.9.0.902 Beta.

Share this post


Link to post
Share on other sites

Sorry; I was busy with other things.

Your example of what you expected confuses me:

image.png.5681dc1c9bc5bcf8f825f79ab0bb93f2.png

You'll never see a TOC from Publisher in that order. TOCs are in page order (2, 3, 4, 5).

 


-- Walt

Windows 10 Home, version 2004 (19041.388),
   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.5.703 and 1.9.0.903 Beta   / Affinity Designer 1.8.5.703 and 1.9.0.903 Beta  / Affinity Publisher 1.8.5.703 and 1.9.0.902 Beta.

Share this post


Link to post
Share on other sites

Yeah I know that is a not a perfect example, however my concern is still valid, I think. Imagine if you will do a new style for headings which will alphabetically lower than previsous heading, however you would like it use it as main heading (Because you are doing main headings as last during a workflow or whatever). It will cause a mess in Table of contents. Still, the headings order is according alphabetical order, because I didn't find any other solution.

However thanks for your time 🙂

 

   

Share this post


Link to post
Share on other sites

Sorry, I'm still not sure I understand.

The order in the TOC is:

  1. By Page Number. Headings on an earlier page are always before headings on a later page.
  2. Within a Page, by Layer order in the Layers panel (lower layers appear earlier in the TOC).
  3. Within a single Text Frame, by where the heading appears in the frame.
  4. And the ordering is also affected if you Pin a heading into a Text Frame. I don't recall how this works, though.

If you're adding headings later, probably point 2 applies, and you need to make sure that you insert them the right place in the Layers panel. But point 4 may also apply. None of this is based on the hierarchy of the text styles.


-- Walt

Windows 10 Home, version 2004 (19041.388),
   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.5.703 and 1.9.0.903 Beta   / Affinity Designer 1.8.5.703 and 1.9.0.903 Beta  / Affinity Publisher 1.8.5.703 and 1.9.0.902 Beta.

Share this post


Link to post
Share on other sites

Ouuu okay!

Now I get it! You are right. I was testing it  and it is okay! My fault! :/ However now I understand how can I manage my table of context considering text styles! So thanks!

Share this post


Link to post
Share on other sites

You're welcome :)


-- Walt

Windows 10 Home, version 2004 (19041.388),
   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.5.703 and 1.9.0.903 Beta   / Affinity Designer 1.8.5.703 and 1.9.0.903 Beta  / Affinity Publisher 1.8.5.703 and 1.9.0.902 Beta.

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.

Loading...

×
×
  • 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.