Where is the DEFAULT value for mc-toc-depth stored?

This forum is for all Flare issues related to PDF, eBook, Microsoft Word, Adobe FrameMaker, XPS, and XHTML book targets.
Post Reply
ChoccieMuffin
Senior Propellus Maximus
Posts: 2630
Joined: Wed Apr 14, 2010 8:01 am
Location: Surrey, UK

Where is the DEFAULT value for mc-toc-depth stored?

Post by ChoccieMuffin »

I've got some projects where the topics have a mini-TOC inserted, and I'm wondering where the DEFAULT value for how many levels the TOC displays is stored, because nowhere in my stylesheet is there a style that includes a definition for mc-toc-depth. I know I could edit my stylesheet to include "mc-toc-depth: 3;" or whatever, but where is the default value defined?
Started as a newbie with Flare 6.1, now using Flare 2023.
Report bugs at http://www.madcapsoftware.com/bugs/submit.aspx.
Request features at https://www.madcapsoftware.com/feedback ... quest.aspx
robdocsmith
Sr. Propeller Head
Posts: 247
Joined: Thu May 24, 2018 3:11 pm
Location: Queensland, Australia

Re: Where is the DEFAULT value for mc-toc-depth stored?

Post by robdocsmith »

I'm guessing it's in the Madcap install folder. A quick search of files in C:\Program Files\MadCap Software\MadCap Flare 17\Flare.app\Resources\Schemas on my machine for mc-toc-depth finds a definition of 3 for mc-toc-depth. So unless otherwise overwritten in your CSS, that's what it's going to try to use.

Rob
ChoccieMuffin
Senior Propellus Maximus
Posts: 2630
Joined: Wed Apr 14, 2010 8:01 am
Location: Surrey, UK

Re: Where is the DEFAULT value for mc-toc-depth stored?

Post by ChoccieMuffin »

Thanks Rob, should have thought of that.
Started as a newbie with Flare 6.1, now using Flare 2023.
Report bugs at http://www.madcapsoftware.com/bugs/submit.aspx.
Request features at https://www.madcapsoftware.com/feedback ... quest.aspx
Post Reply