Xref to lower-level heading in a topic

This forum is for all Flare related Tips and Tricks.
Have a tip or trick you use while working in Flare? Share it here.
Post Reply
bwait
Propeller Head
Posts: 11
Joined: Wed Aug 01, 2012 5:21 pm

Xref to lower-level heading in a topic

Post by bwait »

Hi
I'd like to create an xref format that includes the title of the target heading, not necessarily the first instance of that heading.
Flare generates a bookmark for the selected heading. But the text is always the first instance of that heading, from what I can tell.

For example, suppose I have a single topic that contains two H2s. I think the default format of {h2} pulls in the *first instance* of the H2 as Xref text. But, what if the xref points to the second H2? How can I get the Xref to pull in the second H2 title instead?

Hypertext links seem to work well for this model, but I m trying to use XRefs for better PDF output.

Thanks
Brad
BedfordWriter
Sr. Propeller Head
Posts: 217
Joined: Wed Jun 23, 2010 10:13 am
Location: Nova Scotia

Re: Xref to lower-level heading in a topic

Post by BedfordWriter »

What if you add a bookmark in the second heading, and include that in the xref?
Post Reply