Alex_A Posted May 14 Share Posted May 14 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. Quote Link to comment Share on other sites More sharing options...
GarryP Posted May 14 Share Posted May 14 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? Quote Link to comment Share on other sites More sharing options...
walt.farrell Posted May 14 Share Posted May 14 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? Quote -- 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 More sharing options...
Dan C Posted May 14 Share Posted May 14 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: 2024-05-14 14-08-03.mp4 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 walt.farrell 1 Quote Link to comment Share on other sites More sharing options...
Alex_A Posted May 14 Author Share Posted May 14 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 ? Quote Link to comment Share on other sites More sharing options...
Alex_A Posted May 14 Author Share Posted May 14 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 walt.farrell 1 Quote Link to comment Share on other sites More sharing options...
Alex_A Posted May 14 Author Share Posted May 14 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: 2024-05-14 14-08-03.mp4 5.02 MB · 0 downloads 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. Quote Link to comment Share on other sites More sharing options...
Dan C Posted May 14 Share Posted May 14 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: 2024-05-14 14-38-59.mp4 Equally, your document appears to contain 3 separate TOCs and TOC 2 is currently the actual 'TOC' in your file: With TOC 1 starting at the top of Page 1, in the non-master Frame: 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! Quote Link to comment Share on other sites More sharing options...
Alex_A Posted May 14 Author Share Posted May 14 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: 2024-05-14 14-38-59.mp4 2.27 MB · 0 downloads Equally, your document appears to contain 3 separate TOCs and TOC 2 is currently the actual 'TOC' in your file: With TOC 1 starting at the top of Page 1, in the non-master Frame: 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 ? Quote Link to comment Share on other sites More sharing options...
Dan C Posted May 15 Share Posted May 15 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 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.