TOC with Heading 1 only

This forum is for all Flare issues related to PDF, eBook, Microsoft Word, Adobe FrameMaker, XPS, and XHTML book targets.
Post Reply
WebHelpppp
Propeller Head
Posts: 78
Joined: Thu Jul 17, 2014 8:08 am

TOC with Heading 1 only

Post by WebHelpppp »

Hi,
Typically, my TOC goes to Heading 4, but for this target we only want H1. Anyway to do this?

I tried: <MadCap:tocProxy style="mc-toc-depth: 1;" /> and it still prints to H4.

Thanks!
WebHelpppp
Propeller Head
Posts: 78
Joined: Thu Jul 17, 2014 8:08 am

Re: TOC with Heading 1 only

Post by WebHelpppp »

In case anyone else has this question....So I went to Support and it looks like it can be done. I thought mini might work but it doesn't, even though the dialog asks you for the TOC depth. It still reads the mc-toc-depth and if it has a number it displays.
peckerdunne
Propeller Head
Posts: 32
Joined: Thu Apr 08, 2010 12:19 pm
Location: Watford, UK

Re: TOC with Heading 1 only

Post by peckerdunne »

I specify the heading levels in the stylesheet. Works OK.

Code: Select all

h1
{
	font-size: @base-font-size * 1.6;
	mc-heading-level: 1;
}
h2
{
	mc-heading-level: 0;
}
Post Reply