Robert Gibson PWES Posted July 23, 2021 Posted July 23, 2021 Hi guys! So I've been trying to create a layout for a school textbook. I have figured out that the TOC is updated using Heading Styles. Let me first say that I downloaded Manuscript and Cover Templates for KDP Printing in Affinity Publisher from https://robert-chalmers.uk/affinity-downloads/. These templates mimic the KDP templates in Microsoft Word, which allow me to use preset book dimensions, margins, etc. that are set at the exact specifications for different sized publications to be uploaded to Amazon's Kindle Document Printing (KDP) platform. Alright, with that as context... I've been trying to use Heading Styles to create/use the Heading 1 for the first blue bar (containing CHAPTER ONE), Heading2 for the second blue bar (containing Section One) and Heading 3 for the third blue bar (Containing the title of the subsection for Section One.) This was what I was trying to accomplish when I made my first query here about not seeing anything/only seeing Heading1 for my TOC. (I'm still working on this problem, by the way, but understanding this query will solve that one, I believe.) So, I've tried highlighting the text in the different sections and then choosing right clicking and selecting Update Heading 1, as I saw in the tutorials on YouTube. However, I find a couple of things: I have multiple Heading1 and Heading2 styles, and my TOC is still not being updated. In the screenshot below, it seems like my highlighted text is No Style, even though I remember selecting the said Heading1 and Heading2 styles Is there a way to delete these multiple Text Styles and recreate a Heading1, Heading2 and Heading3 that will be recognized by the TOC Panel? What my issue is (not only here but for the other project that I've been working on) is that whatever I'm doing introduces extra Text Styles with the same names, and then when I try to apply a TOC it says that there's no table of contents entries found. I'll also say that the below image represents Frame Texts as child layers for Rectangles and Elipses grouped together to form these particular graphic representations for each section. The fact that the Frame Texts are buried under layers shouldn't bother the software when trying to make a Text Style, right? It shouldn't, but I'm new, so forgive the question with the (seemingly) obvious answer. Ultimately, my goal is to make the beginning of every Chapter look like this, the beginning of every section look similar (except, of course, for the CHAPTER ONE strip) and, if there are multiple headings under a section, the new heading titles will look like the third strip (minus the first two blue strips.) I know that I need to create Master Pages for these looks to be consistent - and I have (though the challenges with those I will leave for another post.) What I'm trying to figure out is how do I fix it so I have one Heading1, one Heading2 and a Heading3 that are all recognized by my TOC panel? Thank you for coming to my TED Talk... LOL Seriously, thanks for any assistance you can give. I have multiple text styles with the same name now and I don't know which is the original/which ones I should delete. Why is my TOC not allowing me to update even though I selected it after choosing a Text Style? Quote
walt.farrell Posted July 23, 2021 Posted July 23, 2021 Note that you have both "Heading 1" and "heading 1", and "Heading 2" and "heading 2". The capitalization is important. I can't tell you which is "original" in your template, but the standard usage is "Heading 1" and "Heading 2" with capital H. I also can't see enough from your screenshots to be sure what styles you're using. If you were to provide a subset of your actual .afpub document that would help. 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.5, Apple Pencil 2, Magic Keyboard Mac: 2023 M2 MacBook Air 15", 16GB memory, macOS Sequoia 15.5
Robert Gibson PWES Posted July 23, 2021 Author Posted July 23, 2021 4 hours ago, walt.farrell said: Note that you have both "Heading 1" and "heading 1", and "Heading 2" and "heading 2". The capitalization is important. I can't tell you which is "original" in your template, but the standard usage is "Heading 1" and "Heading 2" with capital H. I also can't see enough from your screenshots to be sure what styles you're using. If you were to provide a subset of your actual .afpub document that would help. How do I do that? I didn't add anything, just tried to update, and then I saw that they were both there. Not sure what to do. When you say the capitalization is important, do you mean that Affinity won't recognize it unless it is captalized? Thanks! Quote
Old Bruce Posted July 23, 2021 Posted July 23, 2021 7 minutes ago, Robert Gibson PWES said: When you say the capitalization is important, do you mean that Affinity won't recognize it unless it is captalized? Capital is different from capital. The term is Case Sensitive. Upper Case vs Lower Case. C or c, head 1 is not the same name as Head 1 Quote Mac Pro (Late 2013) Mac OS 12.7.6 Affinity Designer 2.6.0 | Affinity Photo 2.6.0 | Affinity Publisher 2.6.0 | Beta versions as they appear. I have never mastered color management, period, so I cannot help with that.
walt.farrell Posted July 23, 2021 Posted July 23, 2021 19 minutes ago, Robert Gibson PWES said: How do I do that? Make a copy of the document. Open it and delete most of the pages, keeping a few from the front that have your TOC and a few that have text entries that appear in it. 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.5, Apple Pencil 2, Magic Keyboard Mac: 2023 M2 MacBook Air 15", 16GB memory, macOS Sequoia 15.5
Robert Gibson PWES Posted July 23, 2021 Author Posted July 23, 2021 5 hours ago, walt.farrell said: Note that you have both "Heading 1" and "heading 1", and "Heading 2" and "heading 2". The capitalization is important. I can't tell you which is "original" in your template, but the standard usage is "Heading 1" and "Heading 2" with capital H. I also can't see enough from your screenshots to be sure what styles you're using. If you were to provide a subset of your actual .afpub document that would help. I attached the afpub. Please let me know if I'm doing something wrong. INDUSTRY 6x9 Template 2.afpub Quote
kenmcd Posted July 23, 2021 Posted July 23, 2021 9 hours ago, Robert Gibson PWES said: What my issue is (not only here but for the other project that I've been working on) is that whatever I'm doing introduces extra Text Styles with the same names, and then when I try to apply a TOC it says that there's no table of contents entries found. These text styles are probably coming from pasted text or a placed file which has those styles. Make sure your text source is using the exact same style names as your APub document. The template uses Heading 1, Heading 2 for the Table of Contents styles. Since your styles do not match those, nothing appears. Do a Find/Replace to find the "heading 1" style and replace it with the "Heading 1" style. Same with "heading 2" and Heading 2" etc. I did this and the ToC appeared OK. Quote
Robert Gibson PWES Posted July 23, 2021 Author Posted July 23, 2021 34 minutes ago, LibreTraining said: These text styles are probably coming from pasted text or a placed file which has those styles. Make sure your text source is using the exact same style names as your APub document. The template uses Heading 1, Heading 2 for the Table of Contents styles. Since your styles do not match those, nothing appears. Do a Find/Replace to find the "heading 1" style and replace it with the "Heading 1" style. Same with "heading 2" and Heading 2" etc. I did this and the ToC appeared OK. Thank you! Makes sense. Will try it now. This means I'll have to make sure that my heading3 is spelled 'Heading 3' for it to show up. Quote
Komatös Posted July 23, 2021 Posted July 23, 2021 Heading 1 2 and 3 have different font properties than their counterparts heading 1 2 and 3. You should rename the one group instead of deleting it, otherwise you might lose the formatting. Quote MAC mini M4 | MacOS Sequoia 15.5 | 16 GB RAM | 256 GB SSD AMD Ryzen 7 5700X | Sapphire Nitro+ RX 9060 XT 16 GB | 32 GB DDR4 3200MHz | Windows 11 Pro 24H2 (26100.4351) Windows 11 Pro on VMWare Virtual Machine (on Mac) Affinity Suite V 2.6.3 & Beta 2.6 (latest) Interested in a free (selfhosted) PDF Solution? Have a look at Stirling PDF No backup, no pity.
Robert Gibson PWES Posted July 23, 2021 Author Posted July 23, 2021 36 minutes ago, LibreTraining said: These text styles are probably coming from pasted text or a placed file which has those styles. Make sure your text source is using the exact same style names as your APub document. The template uses Heading 1, Heading 2 for the Table of Contents styles. Since your styles do not match those, nothing appears. Do a Find/Replace to find the "heading 1" style and replace it with the "Heading 1" style. Same with "heading 2" and Heading 2" etc. I did this and the ToC appeared OK. Ok ... ummmm where do I search for heading 1? If I open the document and do a Find | Replace, it searches the documement. how do I do what you did? Quote
Komatös Posted July 23, 2021 Posted July 23, 2021 Do you know, that Heading 3 based on heading 2? You should work on the styles. To search a style click right-hand coq and choose paragraph style, make the same with replace. Quote MAC mini M4 | MacOS Sequoia 15.5 | 16 GB RAM | 256 GB SSD AMD Ryzen 7 5700X | Sapphire Nitro+ RX 9060 XT 16 GB | 32 GB DDR4 3200MHz | Windows 11 Pro 24H2 (26100.4351) Windows 11 Pro on VMWare Virtual Machine (on Mac) Affinity Suite V 2.6.3 & Beta 2.6 (latest) Interested in a free (selfhosted) PDF Solution? Have a look at Stirling PDF No backup, no pity.
Robert Gibson PWES Posted July 23, 2021 Author Posted July 23, 2021 3 minutes ago, Komatös said: Do you know, that Heading 3 based on heading 2? You should work on the styles. To search a style click right-hand coq and choose paragraph style, make the same with replace. I'm relatively new to Affinity - and got thrown into the deep end with a large project by one of my clients lol so I'm learning on the job. When you say right click on coq that do you mean? And I don't know what you mean by working on the styles. LOL I literally create the text I want then right click on the style and click Update. So teach me sensei!!!!! Quote
Komatös Posted July 23, 2021 Posted July 23, 2021 Search and replace: Absatzstil = paragraph style. If you have the text style studio open, you can right-click on a style to open a pop-down with various options. Quote MAC mini M4 | MacOS Sequoia 15.5 | 16 GB RAM | 256 GB SSD AMD Ryzen 7 5700X | Sapphire Nitro+ RX 9060 XT 16 GB | 32 GB DDR4 3200MHz | Windows 11 Pro 24H2 (26100.4351) Windows 11 Pro on VMWare Virtual Machine (on Mac) Affinity Suite V 2.6.3 & Beta 2.6 (latest) Interested in a free (selfhosted) PDF Solution? Have a look at Stirling PDF No backup, no pity.
Robert Gibson PWES Posted July 23, 2021 Author Posted July 23, 2021 okay I did right click on the headings and was able to delete 'heading 1' and 'heading2', leaving 'Heading 1' and 'Heading 2'. Now I can see them on the TOC. I'm trying to create a 'Heading 3' and I tried to base it off 'Heading 2' by duplicating Heading 2, then changing it and renaming it as Heading 3. That strategy created the style, but after I selected the checkbox saying Heading 3 it looks like this: I'm laughing at myself... How do I get Heading 3 to be under Heading 2? INDUSTRY 6x9 Template 2.afpub Quote
Old Bruce Posted July 23, 2021 Posted July 23, 2021 You have the Show Samples turned on in the the Text Styles panel. I am guessing that Head 1 and 2 are centred and Head 3 is Right Aligned. If you turn off the Show Samples they will all look the same, aligned to the left. Quote Mac Pro (Late 2013) Mac OS 12.7.6 Affinity Designer 2.6.0 | Affinity Photo 2.6.0 | Affinity Publisher 2.6.0 | Beta versions as they appear. I have never mastered color management, period, so I cannot help with that.
Robert Gibson PWES Posted July 23, 2021 Author Posted July 23, 2021 1 hour ago, Old Bruce said: You have the Show Samples turned on in the the Text Styles panel. I am guessing that Head 1 and 2 are centred and Head 3 is Right Aligned. If you turn off the Show Samples they will all look the same, aligned to the left. No that's not what I meant, (thank you for that trick by the way!) I just meant that in my screenshot (check below) the part that is highlighted is Heading 3, which shows as ABOVE the Heading 1 and Heading 2 and not as a 'child' of Heading 2, like Heading 2 is a 'child' of Heading 1. I don't care if the Heading 1, Heading 2 or Heading 3 styles showcase the actual style. I just want the TOC to look correct. Quote
Komatös Posted July 24, 2021 Posted July 24, 2021 Heading 3 has as base Heading 2. Set the based on to none. Quote MAC mini M4 | MacOS Sequoia 15.5 | 16 GB RAM | 256 GB SSD AMD Ryzen 7 5700X | Sapphire Nitro+ RX 9060 XT 16 GB | 32 GB DDR4 3200MHz | Windows 11 Pro 24H2 (26100.4351) Windows 11 Pro on VMWare Virtual Machine (on Mac) Affinity Suite V 2.6.3 & Beta 2.6 (latest) Interested in a free (selfhosted) PDF Solution? Have a look at Stirling PDF No backup, no pity.
Robert Gibson PWES Posted August 2, 2021 Author Posted August 2, 2021 I set Heading 3 to be based on No Style The TOC has Heading 3 indented correctly but on top of Heading 1 (Chapter 1) rather than under heading 2 (Section 1.1) How do I get Heading 3 to be positioned correctly? INDUSTRY 6x9 Template 2.afpub Quote
Brian_J Posted August 2, 2021 Posted August 2, 2021 The headings are out of order in the table of contents because of the layer order in the Master. In the Master, move the 'Chapter Header Group' group below the 'Sub-Section Group' group, then update the TOC and issue should be corrected. Robert Gibson PWES 1 Quote Windows 10 22H2 | Affinity Designer/Photo/Publisher 2 (MSI/EXE)
Robert Gibson PWES Posted August 2, 2021 Author Posted August 2, 2021 Okay thanks! Will do! Brian_J 1 Quote
Robert Gibson PWES Posted August 2, 2021 Author Posted August 2, 2021 okay yes that seems to have worked! Now ... why does the Heading 3 I created not have a page number like Heading 1 and Heading 2 in the TOC? Quote
Brian_J Posted August 2, 2021 Posted August 2, 2021 To get the page number back in there for Heading 3... In the menu: View > Studio > Table of Contents Click anywhere in the table of contents. In the Table of Contents panel, click the hamburger menu for 'Heading 3' (the three horizontal lines on the right). Check the box for 'Include page numbers.' Robert Gibson PWES 1 Quote Windows 10 22H2 | Affinity Designer/Photo/Publisher 2 (MSI/EXE)
Robert Gibson PWES Posted August 2, 2021 Author Posted August 2, 2021 3 minutes ago, Brian_J said: To get the page number back in there for Heading 3... In the menu: View > Studio > Table of Contents Click anywhere in the table of contents. In the Table of Contents studio, click the hamburger menu for 'Heading 3' (the three horizontal lines on the right). Check the box for 'Include page numbers.' Hi! I've selected the TOC but when I try to select the Heading 3 hamburger menu the entire TOC Studio is greyed out.... Is it because I'm looking at the master and not the page itself? Quote
Brian_J Posted August 2, 2021 Posted August 2, 2021 With the Text Tool, click anywhere in the table of contents... i.e., on one of the chapter headings in the TOC. That will enable editing in the Table of Contents studio. Robert Gibson PWES 1 Quote Windows 10 22H2 | Affinity Designer/Photo/Publisher 2 (MSI/EXE)
Robert Gibson PWES Posted August 2, 2021 Author Posted August 2, 2021 Ah I see! I was clicking on the TOC but not inside it to select an actual item. Thank you! Brian_J 1 Quote
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.