Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Drop duplicate IDs from topic.fo #2985
Removes duplicate IDs from
Motivation and Context
Building DITA-OT docs to PDF results in a lot of duplicate ID warnings, such as:
These appear for three reasons:
The fix for the first two issues is one we've been using for a few weeks now; it places the short description (in link context) or the title (in TOC context) into a variable, and then writes that variable into the FO file while dropping any
The fix for the third issue is just to ensure
How Has This Been Tested?
Build DITA-OT docs to PDF; all duplicate ID errors are removed, and the PDF is still good.
Type of Changes
Note -- this pull request builds on 2984 which is also aimed at the 3.1 release, which is why a few seemingly unrelated commits show up first at this point.