Jump to content

Recommended Posts

Posted

Hi, I assume you mean PDF Bookmarks which are generated from Anchors in Affinity. There's no way to generate anchors from a character style.

PDF bookmarks can be generated automatically by the TOC feature, but only from paragraph styles. Perhaps you could use paragraph styles instead? For example, if you have a character style named Emphasis and it's applied to text formatted with the Body paragraph style, you could create a paragraph style named Body-Emphasis based on Body. It would be identical to Body and you'd still have to apply Emphasis to the desired characters in that paragraph.

Then you'd create a TOC, and if you have one already this would be a second TOC. This TOC would include just the single style Body-Emphasis. Generating the TOC would generate anchors for the character style. The TOC could be hidden so that it wasn't visible in the document.

Perhaps there's another way to do this but it's the first idea that came to mind. Good luck!

Posted
10 hours ago, MikeTO said:

Hi, I assume you mean PDF Bookmarks which are generated from Anchors in Affinity. There's no way to generate anchors from a character style.

PDF bookmarks can be generated automatically by the TOC feature, but only from paragraph styles. Perhaps you could use paragraph styles instead? For example, if you have a character style named Emphasis and it's applied to text formatted with the Body paragraph style, you could create a paragraph style named Body-Emphasis based on Body. It would be identical to Body and you'd still have to apply Emphasis to the desired characters in that paragraph.

Then you'd create a TOC, and if you have one already this would be a second TOC. This TOC would include just the single style Body-Emphasis. Generating the TOC would generate anchors for the character style. The TOC could be hidden so that it wasn't visible in the document.

Perhaps there's another way to do this but it's the first idea that came to mind. Good luck!

It seems to work, but I have a problem. When I insert the table of contents and select show page number, all the entries have page number 1. Although there is nothing on the first page. How can I change this?

Posted
5 hours ago, anto said:

It seems to work, but I have a problem. When I insert the table of contents and select show page number, all the entries have page number 1. Although there is nothing on the first page. How can I change this?

I don't know how that could happen. Is the number before the text or after it? If it's before then paragraph numbering might be turned on.

You can also review the generated anchors with the TOC panel. Do they show the right page numbers?

Posted
32 minutes ago, MikeTO said:

I don't know how that could happen. Is the number before the text or after it? If it's before then paragraph numbering might be turned on.

 

2025-01-29162716.png.be8dc3635d1fd418b9573031c2290977.png

 

33 minutes ago, MikeTO said:

You can also review the generated anchors with the TOC panel. Do they show the right page numbers?

there are no page numbers

2025-01-29162921.png.435b2b3c7b496c1f35831165a61ef45d.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.