TOC Depth in PDF output

This forum is for all Flare issues related to PDF, eBook, Microsoft Word, Adobe FrameMaker, XPS, and XHTML book targets.
Post Reply
Doug Eaton
Propeller Head
Posts: 68
Joined: Tue Feb 19, 2008 9:47 am

TOC Depth in PDF output

Post by Doug Eaton »

Somehow I've managed to restrict TOC depth to two levels. How do eliminate the restriction? I can't find this setting in the CSS or in the TOC properties. I have topics in the TOC that don't show in the TOC or the book.
garyjgeoaccess
Sr. Propeller Head
Posts: 148
Joined: Mon Feb 16, 2009 3:23 pm

Re: TOC Depth in PDF output

Post by garyjgeoaccess »

For each heading style, you indicate the heading level.

mc-heading-level: 0 means don't include this heading in the TOC
mc-heading-level: 1 is first level
mc-heading-level: 2 is second level
etc.
LTinker68
Master Propellus Maximus
Posts: 7247
Joined: Thu Feb 16, 2006 9:38 pm

Re: TOC Depth in PDF output

Post by LTinker68 »

In the target, on the Printed Output tab, do you have "Use TOC depth for heading levels" enabled or disabled? If it's disabled, then do all those topics in the TOC start with one of the headings (h1 through h6)? If not, then you may want to enable the TOC depth option so that it builds the TOC based on the structure of the TOC file.
Image

Lisa
Eagles may soar, but weasels aren't sucked into jet engines.
Warning! Loose nut behind the keyboard.
Doug Eaton
Propeller Head
Posts: 68
Joined: Tue Feb 19, 2008 9:47 am

Re: TOC Depth in PDF output

Post by Doug Eaton »

"Use TOC Depth" is enabled. I think it's set up right. I think garyjgeoaccess has it right... probably set h3 to 0, but I don't see that control in the h styles or TOC styles. I find mc-heading-format, but not "level."
Doug Eaton
Propeller Head
Posts: 68
Joined: Tue Feb 19, 2008 9:47 am

Re: TOC Depth in PDF output

Post by Doug Eaton »

I found it by opening the CSS in the text editor.
LTinker68
Master Propellus Maximus
Posts: 7247
Joined: Thu Feb 16, 2006 9:38 pm

Re: TOC Depth in PDF output

Post by LTinker68 »

I normally have the Stylesheet Editor set to Advanced view, and if you set it to show property groups then the mc-heading-level shows up under the PrintSupport and Unclassified categories, I think. If you set it to show relevant properties then I think it also shows up. For the h1 through h6 styles, at least.
Image

Lisa
Eagles may soar, but weasels aren't sucked into jet engines.
Warning! Loose nut behind the keyboard.
Post Reply