How to make a mini-toc in Publish to HTML Help?
Using Publish to HTML Help, how do I get a mini-toc in topics? I tried using the default HTML template which is installed here:
C:\Program Files (x86)\Adobe\AdobeFrameMaker2015\fminit\Publisher\Template\Document\PageTemplate\HTMLTemplate.htm
and also parts of the one online from here:
To use the template, in the Publish pod, I select "Microsoft HTML Help", click the "Edit" (settings) then select "Use HTML Page Template", click the Import button to load the template file. I've been able to make some simple boiler plate stuff work, but the mini-toc just shows as dead text.
The documentation says I should be able to insert something like this in the template HTML:
<div data-type=”minitoc”>
<p data-type=”minitoc-caption”>This section covers the following:</p>
<p data-type=”minitoc-level1”><span data-type=”minitoc-selector”>’H2_Heading2’</span></p>
<p data-type=”minitoc-level2”><span data-type=”minitoc-selector”>’H3_Heading3’</span></p>
<p data-type=”minitoc-level3”><span data-type=”minitoc-selector”>’H4_Heading4’</span></p>
</div>
But this results in the literal text 'H2_heading2' appearing instead of a variable replacement, and the whole thing is static.
Do I need to do something in FM or in the Publish settings to get this to work too? Do I need to manually insert mini-toc(s) into my FM documents? I was hoping it would be automatically generated.
Has anybody got the mini-toc feature to work? I'm sorry to ask but I've found virtually no documentation on this.
Thanks.
