Can't get header from mini-toc to render in HTML help (CHM)

This forum is for all Flare issues not related to any of the other categories.
Post Reply
yipenburg
Jr. Propeller Head
Posts: 4
Joined: Tue Apr 24, 2018 2:37 am

Can't get header from mini-toc to render in HTML help (CHM)

Post by yipenburg »

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
NorthEast
Master Propellus Maximus
Posts: 6363
Joined: Mon Mar 05, 2007 8:33 am

Re: Can't get header from mini-toc to render in HTML help (C

Post by NorthEast »

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:

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;
}
yipenburg
Jr. Propeller Head
Posts: 4
Joined: Tue Apr 24, 2018 2:37 am

Re: Can't get header from mini-toc to render in HTML help (C

Post by yipenburg »

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.
Post Reply