15.1.3 Constraining the number of bookmarks in Word

By default, DITA2Go includes bookmarks in Word for all references between documents, and for all index ranges. However, Word has a limit of 16,379 bookmarks per document. If you are converting a very large document with many references, you might need to reduce the number of bookmarks.

To omit bookmarks in Word for index ranges:

[WordOptions]
BookmarkIXRanges = No

To omit bookmarks in Word for interfile references;

[WordOptions]
ExternalXrefs = No

Omitting unneeded related links can drastically reduce the number of bookmarks. For example, to produce the DITA2Go User's Guide, all but the child links had to go:

[RelatedLinks]
AppendLinksToTopics = Yes
GeneratePrevNext = No
GenerateParentChild = Yes
GenerateSiblings = No
UsePrevNext = No
UseParent = No
UseChildren = No
UseSiblings = No
UseAncestors = No
UseDescendants = No
UseCousins = No
UseFriends = No
UseRelatedDivider = No

See §13.3 Appending links to topics.

Previous Topic:  15.1.2 Specifying the default output language and code page

Next Topic:  15.1.4 Including or excluding contents and index for RTF output

Parent Topic:  15.1 Setting up a print RTF project

Sibling Topics:

15.1.1 Specifying output file extension

15.1.2 Specifying the default output language and code page

15.1.4 Including or excluding contents and index for RTF output

15.1.5 Producing PDF automatically via Word

15.1.6 Launching Word from the DITA2Go Project Manager

15.1.7 Importing a Word template