Avram Posted July 9, 2021 Posted July 9, 2021 I just put together a quick four-page lorem ipsum document to check Publisher's PDF table-of-contents feature, and there's a bug that mystifies me: The ToC doesn't include the first entry. Like I said, it's a four-page document. On each page, there's one short paragraph styled "Hed," which is the only style that's checked on to show up in the ToC. But when I generates the ToC, only the second through fourth headers show up in it. I've included both the AFPUB file and the PDF I generated. I tried to use common fonts (Times, Helvetica, Impact). And I'm aware that the ToC text frame is off the page; I'm interested in creating a PDF that has a PDF table-of-contents, without a regular appearing-on-the-page ToC. I do this in InDesign all the time. In any event, the first heading is skipped in the regular ToC as well. toc-test.afpub toc-test.pdf Quote
R C-R Posted July 9, 2021 Posted July 9, 2021 3 hours ago, Avram said: And I'm aware that the ToC text frame is off the page; I suspect this is the problem. At least if I move it onto page 1, tick "Include entries before TOC," then click Update, the first "Hed" entry shows up. EDIT: Actually, just clicking "Include entries before TOC" without moving the TOC anywhere includes the first page entry ... but of course since it is not on any page it won't be included in the export. Quote All 3 1.10.8, & all 3 V2.6 Mac apps; 2020 iMac 27"; 3.8GHz i7, Radeon Pro 5700, 32GB RAM; macOS 10.15.7 All 3 V2 apps for iPad; 6th Generation iPad 32 GB; Apple Pencil; iPadOS 15.7
walt.farrell Posted July 9, 2021 Posted July 9, 2021 3 hours ago, Avram said: I'm interested in creating a PDF that has a PDF table-of-contents, without a regular appearing-on-the-page ToC. By PDF Table-of-Contents do you mean the PDF Bookmarks list? If so, why not just create an Anchor for each Heading, and in the anchor settings indicate to export it as a bookmark. Then you don't need a Publisher TOC in the document at all. 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
Avram Posted July 10, 2021 Author Posted July 10, 2021 4 hours ago, walt.farrell said: why not just create an Anchor for each Heading, and in the anchor settings indicate to export it as a bookmark. OK, thanks for the work-around. But that's an extra step, and the basic functionality ought to work correctly, right? I haven't fiddled around with anchors yet. Is this an automatic thing, where I can set each heading as being an anchor once, and that will get applied to all headings of that style? Or would I have to go an click each one individually? Quote
Avram Posted July 10, 2021 Author Posted July 10, 2021 4 hours ago, R C-R said: Actually, just clicking "Include entries before TOC" without moving the TOC anywhere includes the first page entry Yes! Thank you! This worked! Problem solved! Quote
walt.farrell Posted July 10, 2021 Posted July 10, 2021 8 hours ago, Avram said: I haven't fiddled around with anchors yet. Is this an automatic thing, where I can set each heading as being an anchor once, and that will get applied to all headings of that style? Or would I have to go an click each one individually? It appears to be something you'd have to do manually for each heading, so definitely not the best way if your other approach works. So it's good you got that working 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
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.