Jump to content

Whole document can only access Table of Contents Styles ?


Recommended Posts

Probably missing something simple here....

But I have a document where I can't access styles other than those related to the table of contents. 

The document is set up with master pages  and has a table of contents.

"outside" the text frame the text styles are available - ie if I try creating a new text frame the full list of styles are available

 "Inside" the text frame only the table of contents related styles are available.

Link to comment
Share on other sites

When you have a Frame Text layer which has been linked to a TOC, the only Text Styles that are really relevant are the TOC Text Styles.

When the TOC updates, the entire contents of the Text Frame will be replaced, with text which is formatted using the TOC Text Styles (sometimes with reference to the non-TOC Text Styles), so there’s often not much point in being able to use the other Text Styles in there.

I could see some use of being able to use the non-TOC Text Styles in there but any TOC update will ‘overwrite’ the formatting anyway.

Is there a reason why you are trying to reformat the TOC manually?

Or have I missed the point of the issue completely?

Link to comment
Share on other sites

I can't think of a way that would happen. Usually when you're in a text frame that contains a TOC the TOC text styles are added to the other document text styles. 

Can you share the document?

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

    Laptop:  Windows 11 Pro 23H2, 32GB memory, Intel Core i7-10750H @ 2.60GHz, Intel UHD Graphics Comet Lake GT2 and NVIDIA GeForce RTX 3070 Laptop GPU.
    Laptop 2: Windows 11 Pro 24H2,  16GB memory, Snapdragon(R) X Elite - X1E80100 - Qualcomm(R) Oryon(TM) 12 Core CPU 4.01 GHz, Qualcomm(R) Adreno(TM) X1-85 GPU
iPad:  iPad Pro M1, 12.9": iPadOS 18.1, Apple Pencil 2, Magic Keyboard 
Mac:  2023 M2 MacBook Air 15", 16GB memory, macOS Sequoia 15.0.1

Link to comment
Share on other sites

18 minutes ago, walt.farrell said:

Usually when you're in a text frame that contains a TOC the TOC text styles are added to the other document text styles. 

As I understand it, this will depend on your specific selection within the TOC text frame - selecting the frame itself or text within the TOC will only display the TOC styles in the Text Styles Studio.

Selecting the text below the TOC is the same as selecting any other text frame that does not contain a TOC, whereby all other styles will be displayed in the Text Styles Studio:

 

44 minutes ago, Alex_A said:

"outside" the text frame the text styles are available - ie if I try creating a new text frame the full list of styles are available

 "Inside" the text frame only the table of contents related styles are available.

Therefore I believe the above behaviour reported by OP is correct & expected. 

I hope this helps :)

Link to comment
Share on other sites

36 minutes ago, GarryP said:

When you have a Frame Text layer which has been linked to a TOC, the only Text Styles that are really relevant are the TOC Text Styles.

When the TOC updates, the entire contents of the Text Frame will be replaced, with text which is formatted using the TOC Text Styles (sometimes with reference to the non-TOC Text Styles), so there’s often not much point in being able to use the other Text Styles in there.

I could see some use of being able to use the non-TOC Text Styles in there but any TOC update will ‘overwrite’ the formatting anyway.

Is there a reason why you are trying to reformat the TOC manually?

Or have I missed the point of the issue completely?

OK so I have a TOC  followed by the main document Text

From reading the above somehow what has happened is that the main text has become part of the TOC ? As i the main body of the document is a 'manual' change to the TOC ?

In which case how do I now separate what is meant to be the main document from the TOC so I can access the text styles ?

Link to comment
Share on other sites

37 minutes ago, walt.farrell said:

I can't think of a way that would happen. Usually when you're in a text frame that contains a TOC the TOC text styles are added to the other document text styles. 

Can you share the document?

Sure - for the sake of reducing file size etc I've stripped it back to the first couple of pages but you'll be able to see the TOC and the first couple of headers referred to. In those sections "0" and "1" only the TOC styles are available.

Very strangely I somehow managed to format one of the paragraphs to "body". Can't remember how ! Perhaps I cut and pasted it...

Forgot to say its Affinity Publisher v1

A23C1-HSF_Upload.afpub

Link to comment
Share on other sites

16 minutes ago, Dan C said:

As I understand it, this will depend on your specific selection within the TOC text frame - selecting the frame itself or text within the TOC will only display the TOC styles in the Text Styles Studio.

Selecting the text below the TOC is the same as selecting any other text frame that does not contain a TOC, whereby all other styles will be displayed in the Text Styles Studio:

Therefore I believe the above behaviour reported by OP is correct & expected. 

I hope this helps :)

Yes thats the behaviour exactly... except somehow the TOC and the main body of the text has got mixed up so its as if it thinks the whole document is a TOC and is only giving me the text styles for the TOC.

Link to comment
Share on other sites

Thanks for providing your file - it appears as though your TOC is split between Master and regular Page frames, some of which are subsequently 'flowing' with your other story text frames, causing this issue.

For example, the left hand page of the TOC is included as a Master Page object, however the right hand page is not:

 

Equally, your document appears to contain 3 separate TOCs and TOC 2 is currently the actual 'TOC' in your file: 

image.png

With TOC 1 starting at the top of Page 1, in the non-master Frame:

image.png

As mentioned, I'm not really certain how this file has ended up in this state or the reason for multiple TOCs included in your file - therefore I have essentially recreated the Story flow within your document in order to remove the unnecessary TOCs and resolve the main body text style issue.

In doing this, I had to remove all formatting from your document and reapply this - I have done my best to ensure this matches the document as you provided it, but please be sure to double check these changes I've made carefully.

A23C1-HSF_Upload_F.afpub

The file above only has 1 TOC applied to the file, all text frames are included within and provided by the Master, and the body story text can be edited / styled as expected. Unfortunately this required enough changes/editing  that I can't really cover all of the steps I took succinctly here, as I prefer to 'teach' than 'do' in most scenarios, my apologies for being unable in this case.

I hope this helps!

Link to comment
Share on other sites

23 minutes ago, Dan C said:

Thanks for providing your file - it appears as though your TOC is split between Master and regular Page frames, some of which are subsequently 'flowing' with your other story text frames, causing this issue.

For example, the left hand page of the TOC is included as a Master Page object, however the right hand page is not:

Equally, your document appears to contain 3 separate TOCs and TOC 2 is currently the actual 'TOC' in your file: 

image.png

With TOC 1 starting at the top of Page 1, in the non-master Frame:

image.png

As mentioned, I'm not really certain how this file has ended up in this state or the reason for multiple TOCs included in your file - therefore I have essentially recreated the Story flow within your document in order to remove the unnecessary TOCs and resolve the main body text style issue.

In doing this, I had to remove all formatting from your document and reapply this - I have done my best to ensure this matches the document as you provided it, but please be sure to double check these changes I've made carefully.

A23C1-HSF_Upload_F.afpub

The file above only has 1 TOC applied to the file, all text frames are included within and provided by the Master, and the body story text can be edited / styled as expected. Unfortunately this required enough changes/editing  that I can't really cover all of the steps I took succinctly here, as I prefer to 'teach' than 'do' in most scenarios, my apologies for being unable in this case.

I hope this helps!

Many thanks for this ! 

Christ what a mess lol. I think the multiple TOCs came about due to the process of trying to fix the file. However the text frame issue sounds like it could be the chief culprit ?

So I used a 'manual' text frame as an 'expansion' for the TOC - so to fix the style issue its just a question of using master text frames throughout ?

Link to comment
Share on other sites

It's very hard to say, there is nothing inherently 'incorrect' about mixing master page frames and non-master frames so it will not be specifically this that caused it - but was an addition element to the confusion of the expected layout of the file.

23 hours ago, Alex_A said:

so to fix the style issue its just a question of using master text frames throughout ?

Again, not specifically - in repairing your file I moved the frame to the Master in order to simplify the document layout, but to resolve the Style issue I had to remove all formatting from your text and then manually reapply this throughout the story text, being careful to retain the actual TOC separately.

Without knowing the steps that caused the file to end up this way it is hard for me to be certain how this happened - but I haven't previously seen this occur with other documents so I certainly hope it should not occur again for you :)

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.