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

Recommended Posts

Hi I have created a long catalogue with different titles in each page(192 pages). When I want to create the Table of Contents I have created a text frame to multiple pages and linked them so that the TOC will follow in pages as the TOC will be too long anyways. So when the TOC created everything works perfect in terms of clicking on it and going to the right page. But the character style is too small so I decided to format the character style to bigger font with different colors for each section. The moment I do this all of the TOC elements go to the very first page pf  the catalogue. And when I check the hyperlinks all of the show the same page. Can someone please help with this issue as it will be very difficult to edit each page one by one (192 pages) and of course if I add new pages and change page order the whole process should be done from scratch. Thank you in advance. Just to show you what I mean I add two pictures which one shows the moment I created the TOC the hyperlink shows the correct page and the second picture with the formatted view that the hyperlink is entirely wrong.

Screen Shot 2021-01-06 at 11.40.58.png

Screen Shot 2021-01-06 at 11.40.16.png

Link to comment
Share on other sites

Welcome to the Serif Affinity forums.

I don't think there's enough info provided to resolve your problem, but I have a question: why are you doing things with Hyperlinks and their properties? The TOC entries are automatically hyperlinked when you export as a PDF with appropriate properties, and will work without you doing anything to them.

-- 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 17.7, Apple Pencil 2, Magic Keyboard 
Mac:  2023 M2 MacBook Air 15", 16GB memory, macOS Sonoma 14.7

Link to comment
Share on other sites

Thank you Walt,

 

In fact I am not doing anything with hyperlinks. All I do is to generate the TOC based on text styles(namely Heading 2). The problem is once it is generated it works just fine. But I want my table of contents to look with a different font and different size. So when I apply this font and size change then all autogenerated hyperlinks(programatically) shifts to the very first page. And the generated pdf also directs all links to the same page. That is the problem. Once again thank you in advance

Link to comment
Share on other sites

Thanks for the clarificaton.

How are you applying the format change? You should be doing it by editing the Paragraph Text Style for that TOC entry (which will be visible in the Text Styles panel when you have the text cursor within the TOC entry you want to update).

-- 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 17.7, Apple Pencil 2, Magic Keyboard 
Mac:  2023 M2 MacBook Air 15", 16GB memory, macOS Sonoma 14.7

Link to comment
Share on other sites

I am applying format change as you exactly define. Here is an additional info since the catalogue is 192 pages in total my TOC (with the desired format change) should spread to 8 pages. To do this I created 8 pages and added a frame text tool. Then Once I created the TOC I tied these text holders so that the TOC will follow among pages. As I said the weird thing is when I create the TOC all auto generated hyperlinks work but the moment I change any style they got lost and go the exact same page. 

Here is what I found. This happens only when you apply a predefined style(not the stock one but the one I made and changed the name) This does not happen if I change the style manually instead of using a preselect. This might be something to look for Affinity people. I have solved the problem temporarily but in theory whatever you choose from styles boxes (either pre defined or stock) it should do it. If I can replicate the problem again I will do a screen movie for that

 

Thanks for your help

Link to comment
Share on other sites

You're welcome, and thanks for the additional info.

You should be editing the text style that is automatically applied to the TOC entries, not applying an entirely different text style. For example, you would update TOC 1: Entry to affect all the entries in the TOC that has TOC Style TOC 1, or TOC 1: Heading 2 to affect only the TOC entries for Heading 2 in that TOC.

If you can replicate what you did with a small sample file, and record a video or write down a sequence of actions,  you could provide that sample, which might also 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 17.7, Apple Pencil 2, Magic Keyboard 
Mac:  2023 M2 MacBook Air 15", 16GB memory, macOS Sonoma 14.7

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.