Jump to content
You must now use your email address to sign in [click for more info] ×

Alphabetical Table of contents


Recommended Posts

Creating a songbook in Affinity Publisher 2 I want to have an alphabetical TOC or Index of songtitels including alternative songtitels. These titels are alle created and defined as paragraph styles on every page.

Should I do  this as a TOC or as an index? 

In the TOC panel I cannot find a way to choose alphabetical sorting. In the index panel I cannot see how to choose the paragraph styles.

Link to comment
Share on other sites

A TOC is in page order, not alphabetical order.

Indexes are in alphabetical order, but you can only have one in a document. And they are not based on text styles. Instead, they use Index Marks that you insert into the document.

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

    Laptop:  Windows 11 Pro, version 23H2, 32GB memory, Intel Core i7-10750H @ 2.60GHz, Intel UHD Graphics Comet Lake GT2 and NVIDIA GeForce RTX 3070 Laptop GPU.
iPad:  iPad Pro M1, 12.9": iPadOS 17.5, Apple Pencil 2, Magic Keyboard 
Mac:  2023 M2 MacBook Air 15", 16GB memory, macOS Sonoma 14.5

Link to comment
Share on other sites

I would generate an index by putting an index mark in each Song Name. Then I would copy and paste, as text, that index into the front of the book.

Mac Pro (Late 2013) Mac OS 12.7.4 
Affinity Designer 2.4.1 | Affinity Photo 2.4.1 | Affinity Publisher 2.4.1 | Beta versions as they appear.

I have never mastered color management, period, so I cannot help with that.

Link to comment
Share on other sites

In "Help" I found this:

About text styles in indexing

When you insert an index, index-specific paragraph styles (Index Section Heading, Index Entry 1, Index Entry 2) will be assigned automatically, along with character styles for page references and cross reference labels; these styles are controlled via the Text Styles panel.

But I simply need a more specified explanation to understand this.

Link to comment
Share on other sites

5 minutes ago, Ove Steen said:

In "Help" I found this:

About text styles in indexing

When you insert an index, index-specific paragraph styles (Index Section Heading, Index Entry 1, Index Entry 2) will be assigned automatically, along with character styles for page references and cross reference labels; these styles are controlled via the Text Styles panel.

But I simply need a more specified explanation to understand this.

That is saying that text styles are assigned to index entries automatically as the index is generated. Indexes are not like TOCs, where the TOC is constructed from entries to which you have assigned specific text styles.

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

    Laptop:  Windows 11 Pro, version 23H2, 32GB memory, Intel Core i7-10750H @ 2.60GHz, Intel UHD Graphics Comet Lake GT2 and NVIDIA GeForce RTX 3070 Laptop GPU.
iPad:  iPad Pro M1, 12.9": iPadOS 17.5, Apple Pencil 2, Magic Keyboard 
Mac:  2023 M2 MacBook Air 15", 16GB memory, macOS Sonoma 14.5

Link to comment
Share on other sites

Walt, you sat:

" text styles are assigned to index entries automatically as the index is generated."

Is that something I can use to make an alphabetical index based on a text style named "songtitles"? I simply don't understand the procedure. Can you decribe it step by step?

Before buying Affinity Publisher 2 I asked the team, if I would be able to create alphabetical index. And someone named Nathan answered, that I could.  So please...

Link to comment
Share on other sites

11 minutes ago, Ove Steen said:

" text styles are assigned to index entries automatically as the index is generated."

Is that something I can use to make an alphabetical index based on a text style named "songtitles"? I simply don't understand the procedure. Can you decribe it step by step?

No. The Index entries will be in alphabetical order automatically, based on their index entry names. You simply would select the song title in the document and insert an index mark for it. Then it will show up in the index.

Here is an example where I selected each song title (which are not in alphabetical order in the document), and for each fully-selected song title I added an index mark. I then created an index, and you will see that the songs are now in alphabetical order automatically.

image.png.3b691106d635a3b795e15359987a66d9.png

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

    Laptop:  Windows 11 Pro, version 23H2, 32GB memory, Intel Core i7-10750H @ 2.60GHz, Intel UHD Graphics Comet Lake GT2 and NVIDIA GeForce RTX 3070 Laptop GPU.
iPad:  iPad Pro M1, 12.9": iPadOS 17.5, Apple Pencil 2, Magic Keyboard 
Mac:  2023 M2 MacBook Air 15", 16GB memory, macOS Sonoma 14.5

Link to comment
Share on other sites

So, you tell me, that I should go to every single songtitle (hundreds), select the title and insert index mark?

It is not possible to apply index to the paragraph style?

I have tried to create an index. I am surprised to see that it does not come up with tab between the text and the related page number.

Is there a way to choose that?

Link to comment
Share on other sites

26 minutes ago, Ove Steen said:

So, you tell me, that I should go to every single songtitle (hundreds), select the title and insert index mark?

Yes.

26 minutes ago, Ove Steen said:

It is not possible to apply index to the paragraph style?

Correct, That is how you build a TOC, but it is not how you build an Index.

27 minutes ago, Ove Steen said:

I have tried to create an index. I am surprised to see that it does not come up with tab between the text and the related page number.

Is there a way to choose that?

Look in the Index studio panel, where you should find a Separator field.

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

    Laptop:  Windows 11 Pro, version 23H2, 32GB memory, Intel Core i7-10750H @ 2.60GHz, Intel UHD Graphics Comet Lake GT2 and NVIDIA GeForce RTX 3070 Laptop GPU.
iPad:  iPad Pro M1, 12.9": iPadOS 17.5, Apple Pencil 2, Magic Keyboard 
Mac:  2023 M2 MacBook Air 15", 16GB memory, macOS Sonoma 14.5

Link to comment
Share on other sites

Hi, you asked Serif if you could create an alphabetical index and you said Nathan replied yes, which is correct. As Walt has pointed out, you can create an alphabetical index but you have to manually insert your index marks.

To create a list based on paragraph style you need to use a TOC. Fortunately, you can create as many TOCs as you want. Just create a TOC for this, copy the text into any program which can sort alphabetically, sort it, and paste it back where you want it in Affinity. This isn't hard to do.

Download a free manual for Publisher 2.4 from this forum - expanded 300-page PDF

My system: Affinity 2.4.2 for macOS Sonoma 14.5, MacBook Pro 14" (M1 Pro)

Link to comment
Share on other sites

18 minutes ago, MikeTO said:

Just create a TOC for this, copy the text into any program which can sort alphabetically, sort it, and paste it back where you want it in Affinity. This isn't hard to do.

But to be clear, that means you can't let Publisher generate the TOC. It must be one that is manually created, or at least manually updated. And if anything changes, the manual updating will need to be re-applied, because if you just tell Publisher to update it, it will go back into page order, not alphabetical order.

Also, copying the text from Publisher into the other application will be at least as hard as selecting the text and inserting Index marks, so using an Index will probably be easier in the end than doing it with a TOC.

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

    Laptop:  Windows 11 Pro, version 23H2, 32GB memory, Intel Core i7-10750H @ 2.60GHz, Intel UHD Graphics Comet Lake GT2 and NVIDIA GeForce RTX 3070 Laptop GPU.
iPad:  iPad Pro M1, 12.9": iPadOS 17.5, Apple Pencil 2, Magic Keyboard 
Mac:  2023 M2 MacBook Air 15", 16GB memory, macOS Sonoma 14.5

Link to comment
Share on other sites

Mike, you said:

"Just create a TOC for this, copy the text into any program which can sort alphabetically, sort it, and paste it back where you want it in Affinity. This isn't hard to do." 

Yes, that is most easy. Unfortunately I loose the hyperlinks, if the text has been around another program (Word). The alphabetical version will not be clickable. 

Walt,

I hope you agree, that the most simple solution would be, if Affinity could make it possible to choose alphabetical order when creating a TOC. We are looking forward to the next update. I suppose I am not the only user hoping for that.

Link to comment
Share on other sites

17 minutes ago, Ove Steen said:

I hope you agree, that the most simple solution would be, if Affinity could make it possible to choose alphabetical order when creating a TOC. We are looking forward to the next update. I suppose I am not the only user hoping for that.

I doubt that is something we will see in the next update, but I guess we'll find out soon when the 2.1 beta program begins.

In the meantime, I would estimate that using the Index approach I mentioned would take a few seconds per title, once you get used to doing it. And it works now.

  • Click in the title. Triple-click to select all of a single-line title, or quadruple-click for a multi-line title that is the entire content of the paragraph.
  • Ctrl+Alt+Shift+[ to insert the mark (you can change that shortcut to something shorter, if you want), followed by clicking OK.
  • Repeat for next title.

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

    Laptop:  Windows 11 Pro, version 23H2, 32GB memory, Intel Core i7-10750H @ 2.60GHz, Intel UHD Graphics Comet Lake GT2 and NVIDIA GeForce RTX 3070 Laptop GPU.
iPad:  iPad Pro M1, 12.9": iPadOS 17.5, Apple Pencil 2, Magic Keyboard 
Mac:  2023 M2 MacBook Air 15", 16GB memory, macOS Sonoma 14.5

Link to comment
Share on other sites

You're welcome.

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

    Laptop:  Windows 11 Pro, version 23H2, 32GB memory, Intel Core i7-10750H @ 2.60GHz, Intel UHD Graphics Comet Lake GT2 and NVIDIA GeForce RTX 3070 Laptop GPU.
iPad:  iPad Pro M1, 12.9": iPadOS 17.5, Apple Pencil 2, Magic Keyboard 
Mac:  2023 M2 MacBook Air 15", 16GB memory, macOS Sonoma 14.5

Link to comment
Share on other sites

  • 8 months later...

The export-alphabetize-import workarounds have a couple of problems.

1. Links get lost.

2. A lot of steps, which I am sure to mess up on revisions.

Pretty please Affinity. Can't we have this? This doesn't seem all that hard. Indesign has had this a very long time. And many sorts of books need multiple TOCs.

Link to comment
Share on other sites

I agree. Alphabetical index is an example of Affinity making some solutions unnecessarily complicated. Do as InDesign when you e.g. want to make a songbook:

Paragraph style intended for song titles are put in alphabetical index. 

Fine that you can more complicated references. But please leave the easy and simple working solutions for the rest of us.

Link to comment
Share on other sites

On 2/12/2023 at 1:43 PM, Ove Steen said:

So, you tell me, that I should go to every single songtitle (hundreds), select the title and insert index mark?

It is not possible to apply index to the paragraph style?

Trying to use Find & Replace, I found that it is possible to add an index mark to each paragraph of a certain style (combining format search + regular expression + copy an existing index mark)

Capturedcran2023-10-2219_20_26.png.639b15f6ad61048370aed8459f226dbb.png

— so it is possible to have an index with one reference, one "topic", containing all the page numbers where that style, e.g. Intitulé, is applied — but I have not been able to "select" the text with that style, for it to be copied in the index as a new topic. 

Capturedcran2023-10-2223_51_39.png.cace840517aae8fa6985d3fe7c3b47a5.png

Thus this seems a no-way avenue but perhaps this will give some ideas to someone more experienced than I'm… 

(The regular expression is a very simple one, used as a proof of concept. I don't master that at all…)

 

 

Affinity Suite 2.4 – Monterey 12.7.4 – MacBookPro 14" 2021 M1 Pro 16Go/1To

I apologise for any approximations in my English. It is not my mother tongue.

Link to comment
Share on other sites

  • 4 months later...

Well, I think I found it here:

https://forum.affinity.serif.com/index.php?/topic/191879-unofficial-pdf-manual-expert-guide-to-affinity-publisher/

But as always Affinity makes everything more complicated than necessary. I and have to study the manual everytime I want to make an index once more.

In InDesign TOC and index were two related topics. But not in Affinity.

Good luck

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.