Jump to content

Recommended Posts

Posted

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: 

  1. I have multiple Heading1 and Heading2 styles, and my TOC is still not being updated.  
  2. 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. 

 

image.png.52f23328e002b4b0d8d5ce8dcb8605e0.png

 

 

image.png.3f544c81dd2ed6695043155b498568c7.png

 

I have multiple text styles with the same name now and I don't know which is the original/which ones I should delete. 

 

image.png.5e738894cbaf998d642d4b114007c3be.png

 

Why is my TOC not allowing me to update even though I selected it after choosing a Text Style?

Posted

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.

-- 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

Posted
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!

Posted
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

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.

Posted
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.

 

-- 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

Posted
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

Posted
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.

 

Posted
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. 

Posted

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.

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.

Posted
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?

Posted

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.

 

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.

Posted
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!!!!!

Posted

Search and replace: Absatzstil = paragraph style. 

2133474624_searchreplace.png.23bbdfb799b323c1ca1f281eaa6ffbe7.png

 

If you have the text style studio open, you can right-click on a style to open a pop-down with various options.image.png.b4d36644dc34648b33beb535bb04123b.png

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.

Posted

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?

image.png.c2bc877d0af0f93b5a59bfd976afa95b.png

INDUSTRY 6x9 Template 2.afpub

Posted

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.

522860370_ScreenShot2021-07-23at3_14_51PM.png.7c5a1c94dfffa401f0a7592b4b18e471.png

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.

Posted
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.

522860370_ScreenShot2021-07-23at3_14_51PM.png.7c5a1c94dfffa401f0a7592b4b18e471.png

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.

 

image.png.422e8b12b64f3b91bb0429b013b535b2.png

Posted

Heading 3 has as base Heading 2. Set the based on to none.

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.

  • 2 weeks later...
Posted

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.

Windows 10 22H2 | Affinity Designer/Photo/Publisher 2 (MSI/EXE)

Posted

To get the page number back in there for Heading 3...

  1. In the menu: View > Studio > Table of Contents
  2. Click anywhere in the table of contents.
  3. In the Table of Contents panel, click the hamburger menu for 'Heading 3' (the three horizontal lines on the right).
  4. Check the box for 'Include page numbers.'

Windows 10 22H2 | Affinity Designer/Photo/Publisher 2 (MSI/EXE)

Posted
3 minutes ago, Brian_J said:

To get the page number back in there for Heading 3...

  1. In the menu: View > Studio > Table of Contents
  2. Click anywhere in the table of contents.
  3. In the Table of Contents studio, click the hamburger menu for 'Heading 3' (the three horizontal lines on the right).
  4. 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?

 

image.png.96d9c4ad5009bd59e54b902fb4996342.png

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.