Faster Way to Add Cross References?

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
Mishou6779
Propeller Head
Posts: 57
Joined: Mon Jun 01, 2009 9:19 am

Faster Way to Add Cross References?

Post by Mishou6779 »

Hello fellow technical communicators!

I use both MadCap Flare and Freshdesk by Zendesk.

In Freshdesk, I can click a button titled TOC, and any of the H1, H2, H3, etc., that are in the article I've written will automatically be generated into a lovely little TOC in the article, wherever I put the cursor. It's instant, easy, and like magic. :lol:

I want a TOC in each online help topic, but I want it two ways. First, for me, in my topics that are long, so that while I am writing, I can get a visual on everything I've added to the one long topic (I don't want to scroll--what can I say? I'm lazy). Second, for my customers, so they can more easily navigate long topics once they are published.

I know that in Flare, for published output, I could use a mini TOC proxy, and I would like to do that, but can't seem to get it to work for my (I realize it's deprecated--I'm working on pushing my company into 2021) WebHelp output. I've also tried it using tripane HTML5 output and can't get it to work there either. I've double-checked that I am using the correct template (formerly master) page. And I've double-checked that I have the mini TOC proxy in my template page.

Any tips for navigating in-progress help topics and for troubleshooting mini TOC proxies would be appreciated.

Thank you!
Michelle
robdocsmith
Sr. Propeller Head
Posts: 247
Joined: Thu May 24, 2018 3:11 pm
Location: Queensland, Australia

Re: Faster Way to Add Cross References?

Post by robdocsmith »

For output, a minitoc proxy I think is the only way to go unless you're happy to hand copy headings and manually insert links. You could feasibly put together a table or div containing the links. But I think that would be a pain to maintain. Or if you're a coder then perhaps you could create a javascript that would make a minitoc on the fly. That's beyond my abilities though.

As for help on Mini-tocs... Not sure what the issue might be:
  • Does the toc depth of the minitoc have sufficient levels to capture the headings on the page?
  • Do any of the heading styles you are trying to capture include mc-heading-level: 0; ?
  • Are the styles defined for MadCap|miniTocProxy and p.MiniTOC1 etc and none of them set to display:none;
  • Does a preview of the topic using your target show the minitoc on the page?
For browsing a topic during creation, the only thing I can think of is... if you're in the web layout, you can click to collapse all headings. Or individually collapse headings with Alt+Shift+C (or right-click the heading and choose Collapse). That way you might be able to get an overview of the topic without seeing all the content. It works in print view too, but doesn't always work as expected. I think because of the page layout interpreting how the text is displayed.

Sorry it's not that helpful...

Rob
NorthEast
Master Propellus Maximus
Posts: 6359
Joined: Mon Mar 05, 2007 8:33 am

Re: Faster Way to Add Cross References?

Post by NorthEast »

A mini TOC proxy (in web outputs) will only display items that you've actually included in the TOC - e.g. links to child topics, or bookmarks in the current topic.
The mini TOC proxy (in web outputs) will not automatically generate a list of links to headings in the current topic.

You can do this in Flare using a menu proxy set to display (headings), but that only works for HTML5 and not WebHelp. Perhaps another reason to move away from WebHelp.
This is only generated in the output, so wouldn't help you when editing the source.
Post Reply