When I cross reference to a section within a topic that has drop-down text (for online Help) and build to a PDF, when I click the cross reference, it takes me to the bookmarked section, but does not show the heading name. It looks like this:
see "" on page 1.
I have...
- The drop-down section with bookmark in one topic.
- The cross-reference to the section that contains the bookmark in another topic.
- Both topics are in the built PDF.
The bookmark is within the drop-down text. I think when I tried putting the bookmark before the drop-down text, the drop-down text did not display correctly in Help.
How can I get the heading to appear correctly in the PDF and at the same time get the drop-down text to display correctly in Help?
Cross reference to bookmarked drop-down
Re: Cross reference to bookmarked drop-down
I was just about to ask a similar question. I hope you receive an answer.
Re: Cross reference to bookmarked drop-down
We have this working in our HTML5 help and PDF (and Word) output. Without being able to take a look at your project, it is a bit difficult to determine why it is not working for you. If you already figured out what you need to do, please let us know.
Check to make sure:
1) the XRef Format you are using is appropriate. For example, {paratext}.
2) there are no spaces in the bookmark.
3) you have defined the XRef Format to display correctly in the default medium and in any other medium you are using (e.g., PDF) in your stylesheet.
In the topic containing the xref link to the other topic, the Text Editor view of a cross reference link should look something like this:
In the topic containing the bookmarked dropdown, the Text Editor view of the bookmarked dropdown should look something like this:
Check to make sure:
1) the XRef Format you are using is appropriate. For example, {paratext}.
2) there are no spaces in the bookmark.
3) you have defined the XRef Format to display correctly in the default medium and in any other medium you are using (e.g., PDF) in your stylesheet.
In the topic containing the xref link to the other topic, the Text Editor view of a cross reference link should look something like this:
Code: Select all
<MadCap:xref href="TopicContainingTheBookmarkedDropdown.htm#BookmarkedDropdown">Bookmark in a different topic</MadCap:xref>Code: Select all
<MadCap:dropDown>
<MadCap:dropDownHead class="h4">
<MadCap:dropDownHotspot><a name="BookmarkedDropdown"></a>Bookmark in a different topic</MadCap:dropDownHotspot>
</MadCap:dropDownHead>
<MadCap:dropDownBody>
<ol>
<li>Step one.</li>
<li>Step two.</li>
</ol>
</MadCap:dropDownBody>
</MadCap:dropDown>