Jump to content

Recommended Posts

Posted (edited)

Anchors generated from a TOC will be flattened and alpha sorted if the chapter with the TOC doesn't include at least the first heading of the TOC.

  1. Open Test.afpub. Note that the Anchors are in the correct order and are nested.
  2. Export to PDF with bookmarks - the PDF bookmarks will match the document.
  3. Create a new Book and add Test to the Book.
  4. Change the TOC scope to Book and update the TOC. Anchors will be good and if you export the Book it will be good.
  5. Create a new document, save it, and add it in the Book before Test so that it's a front matter chapter.
  6. Draw a frame in the new document, insert a TOC, set the scope to Book, and update it. Now if you go back to the Test chapter the anchor hierarchy will be flattened - anchors for the level 1 and 2 headings will now be at the same level. Exporting to PDF will alpha sort the bookmarks.

Test.afpub

This was a confusing one to figure out.

Edited by MikeTO
Clarified what I meant by flattened
Posted

FWIW, the same issue exists on Windows...

Affinity Designer 2.6.3 | Affinity Photo 2.6.3 | Affinity Publisher 2.6.3
MacBook Pro M3 Max, 36 GB Unified Memory, macOS Sonoma 14.6.1, Magic Mouse
HP ENVY x360, 8 GB RAM, AMD Ryzen 5 2500U, Windows 10 Home, Logitech Mouse

Posted

Can you explain what you mean by the anchors being flattened? (Just curious and can't run the test right now.)

-- 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
7 minutes ago, walt.farrell said:

Can you explain what you mean by the anchors being flattened? (Just curious and can't run the test right now.)

The anchor hierarchy is flattened so they're all at the same level - level 2 heading anchors are no longer children of level 1 heading anchors. Thus when it's exported to PDF, the bookmarks are all at the same level.

I will edit my post and clarify this. Thanks.

Posted
7 minutes ago, walt.farrell said:

Can you explain what you mean by the anchors being flattened? (Just curious and can't run the test right now.)

Before Left | After Right (No longer Nested)

Anchors.png.9045d236c570ef4799472bcbb2436549.png

Which is also reflected in the PDF Bookmarks...

Affinity Designer 2.6.3 | Affinity Photo 2.6.3 | Affinity Publisher 2.6.3
MacBook Pro M3 Max, 36 GB Unified Memory, macOS Sonoma 14.6.1, Magic Mouse
HP ENVY x360, 8 GB RAM, AMD Ryzen 5 2500U, Windows 10 Home, Logitech Mouse

  • 2 months later...
  • Staff
Posted

The issue "Nested Anchor hierarchy can be flattened when updating the TOC between book chapters" (REF: AF-4078) has been fixed by the developers in the latest beta build (2.6.0.2805). The fix is planned for inclusion in the next customer release.
Customer beta builds are announced here and you can participate by following these instructions.
If you still experience this problem once you are using that build version (or later) please reply to this thread including @Affinity Info Bot to notify us.

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.