MikeTO Posted August 9, 2024 Posted August 9, 2024 (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. Open Test.afpub. Note that the Anchors are in the correct order and are nested. Export to PDF with bookmarks - the PDF bookmarks will match the document. Create a new Book and add Test to the Book. Change the TOC scope to Book and update the TOC. Anchors will be good and if you export the Book it will be good. Create a new document, save it, and add it in the Book before Test so that it's a front matter chapter. 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 August 9, 2024 by MikeTO Clarified what I meant by flattened Quote Download a free PDF manual for Affinity Publisher 2.6 Download a quick reference chart for Affinity's Special Characters Affinity 2.6 for macOS Sequoia 15.5, MacBook Pro (M4 Pro) and iPad Air (M2)
Hangman Posted August 9, 2024 Posted August 9, 2024 FWIW, the same issue exists on Windows... Quote 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
walt.farrell Posted August 9, 2024 Posted August 9, 2024 Can you explain what you mean by the anchors being flattened? (Just curious and can't run the test right now.) Quote -- 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
MikeTO Posted August 9, 2024 Author Posted August 9, 2024 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. walt.farrell 1 Quote Download a free PDF manual for Affinity Publisher 2.6 Download a quick reference chart for Affinity's Special Characters Affinity 2.6 for macOS Sequoia 15.5, MacBook Pro (M4 Pro) and iPad Air (M2)
Hangman Posted August 9, 2024 Posted August 9, 2024 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) Which is also reflected in the PDF Bookmarks... walt.farrell 1 Quote 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
Staff NathanC Posted August 13, 2024 Staff Posted August 13, 2024 Hi @MikeTO, I've replicated and logged this with the developers, thanks for the detailed report and sample file. 🙂 MikeTO 1 Quote
Staff Affinity Info Bot Posted October 22, 2024 Staff Posted October 22, 2024 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. Quote
Recommended Posts
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.