Jump to content

Recommended Posts

Posted
18 minutes ago, Hilltop said:

Is there a simple way to render an alphabetical TOC?

Sorry, no. This has been requested before but there's no way to do it.

If you're only printing your document, you can copy the unsorted TOC text from the front of the document to another program, sort it there, and then paste it back into Publisher. But if you're exporting to PDF and want clickable page numbers that would break the links.

Posted
9 hours ago, MikeTO said:

Sorry, no. This has been requested before but there's no way to do it.

If you're only printing your document, you can copy the unsorted TOC text from the front of the document to another program, sort it there, and then paste it back into Publisher. But if you're exporting to PDF and want clickable page numbers that would break the links.

Too bad. Hopefully, it will be added in the future.

So, I did as you suggested in Word. The only thing was that I couldn't get the entries, the leading periods and the page numbers to nicely line up as in the original TOC. Is there some way to do that, if you know? 

The book is basically for print, so clickable page numbers are not essential but wouldn't it be possible to manually add links?

9 hours ago, thomaso said:

Alternatively you might want to use an index for alphabetical order.

https://affinity.help/publisher2/English.lproj/index.html

You can only create one index in Publisher and I already used it for that purpose.

Posted
1 minute ago, Hilltop said:

the leading periods and the page numbers to nicely line up as in the original TOC. Is there some way to do that, if you know? 

With Character > Baseline Shift you can move selected characters up/down within their lines. With Find & Replace you might select the wanted chars.

macOS 10.14.6 | MacBookPro Retina 15" | Eizo 27" | Affinity V1

Posted
3 hours ago, thomaso said:

With Character > Baseline Shift you can move selected characters up/down within their lines. With Find & Replace you might select the wanted chars.

I may not have made myself clear. I was talking about each line in the TOC -- with the chapter, the leading periods following it and the page number at the right margin -- filled and justified, so that it looks like an auto-generated TOC. 

Posted
14 minutes ago, Hilltop said:

the chapter, the leading periods following it and the page number at the right margin -- filled and justified

Aren't they all attributes of your text style(s) and defined there?

macOS 10.14.6 | MacBookPro Retina 15" | Eizo 27" | Affinity V1

Posted

The dot leaders should be defined in the original TOC text styles but when you paste everything back in from word it was likely all pasted back in as one style, perhaps as TOC 1: Heading 1, and perhaps even with the TOC 1: Heading 1 Number character style applied on top.

You'd need to manually re-format the sorted text from Word, applying TOC 1: Heading 1 (and Heading 2) as required, and applying the Heading 1 Number as required. Take a look at the "before" TOC and compare it to where you are now.

More information on how to create dot leaders for TOCs is included in my manual in the "Formatting a Table of Contents" section under "To add a dot leader".

Cheers

Posted
2 hours ago, thomaso said:

Aren't they all attributes of your text style(s) and defined there?

Duh! Yes, of course!

1 hour ago, MikeTO said:

The dot leaders should be defined in the original TOC text styles but when you paste everything back in from word it was likely all pasted back in as one style, perhaps as TOC 1: Heading 1, and perhaps even with the TOC 1: Heading 1 Number character style applied on top.

You'd need to manually re-format the sorted text from Word, applying TOC 1: Heading 1 (and Heading 2) as required, and applying the Heading 1 Number as required. Take a look at the "before" TOC and compare it to where you are now.

More information on how to create dot leaders for TOCs is included in my manual in the "Formatting a Table of Contents" section under "To add a dot leader".

Cheers

I was overcomplicating things but am back on track again. 🙂 

Edit: Actually not since I don't know how I can have the TOC text style show as the converted text is no longer a TOC.

Posted

Update: I discovered a little trick. I connected the text frames of the regular TOC with the manual TOC and selected one line of the former and all lines of the latter in order for the TOC text styles to appear. Then I applied the desired text style to the manual TOC, cut it, disconnected the text frames and pasted the TOC back in place. Looks perfect now.

Thanks again for your help guys as it moved me into this direction!

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.