Hi,
I have inherited a few projects, one of which uses a master page with a mini-toc proxy. The text to show up as the header for the mini table of contents is defined in a style:
.MCMiniTocBox_mini-toc-default_0:before /*specify text to use here, rest of styling in styles.css*/
{
content: 'In this section';
}
Up to now this worked perfectly in out HTML5 outputs, but I need to produce CHM too. In the CHM the TOC links are generated and displayed, but the "In this Section" header is missing.
Does anyone know how to generate this type of header in CHM?
I have already made sure the masterpage is included in my CHM target, and have a suspicions that the built-in madcap proxy is not entirely working in a CHM output.
Any ideas?
Regards,
Jennifer
Can't get header from mini-toc to render in HTML help (CHM)
Re: Can't get header from mini-toc to render in HTML help (C
CHMs are displayed using the HTML Help Viewer - I think it is based on Internet Explorer 7, which doesn't support :before.
But you could use a Flare autonumber instead - I use something like this:
But you could use a Flare autonumber instead - I use something like this:
Code: Select all
MadCap|miniTocProxy
{
mc-auto-number-format: 'In this section';
mc-auto-number-class: minitocTitle;
}
span.minitocTitle
{
margin: 0em 0em 0.5em 0em;
display: block;
}
Re: Can't get header from mini-toc to render in HTML help (C
Hi Dave,
Sorry I got distracted with non-chmm work, so left this posting unread for far too long. Thank you for the tip I'll try that out in the project. I can never remember the autonumbering syntax, so great that you could provide this information.
Sorry I got distracted with non-chmm work, so left this posting unread for far too long. Thank you for the tip I'll try that out in the project. I can never remember the autonumbering syntax, so great that you could provide this information.