Jump to content

Editing a heading used in the TOC shouldn't create another anchor


Recommended Posts

If you don't finalize your headings before generating the TOC you will have duplicate anchors which will clutter up your PDF bookmarks. Deleting them can be difficult without breaking your cross-references. For example:

  1. Create a heading named Eating Apples and generate the TOC. Publisher creates an anchor named Eating Apples
  2. You then add a cross-reference to Eating Apples (using 2.2 but this isn't a beta issue, I'm just illustrating a point)
  3. Then you decide it would be better as just Apples so you rename it. Generate the TOC and now you have two anchors, Eating Apples and Apples. The cross-reference will be out of date but Preflight helps you fix that.
  4. Then you realize it was better before so you change it back to Eating Apples. Generate the TOC and now you have three anchors, Eating Apples, Apples, and Eating Apples.

Now you don't want the Apples or that extra Eating Apples anchors in your document because they will clutter up the PDF bookmarks, but how do you know which Eating Apples anchor it's safe to delete? There's no indication of which anchor is tied to the TOC. I had this issue today after I renamed a bunch of headings and then renamed them back. I deleted all of the anchors since there was no easy way to do it and then fixed up my cross-references.

It would be great if the TOC could rename its anchors rather than creating new ones after each edit.

Thanks

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.