There are a few new settings for TOCs and Mini-TOCs in Flare V8.  In this post we will go over these new style properties as well as outline some of the others that help define the look and feel of TOCs and Mini-TOCs.  This post will use the Mini-TOC as an example.

New Properties:

  • mc-multiline-indent: This property gives you the ability to set the indent for entries that spans multiple lines.  The indent will not affect the first line but will be applied to any wrapped line. As you can see below it is applied to the p.MiniTOC2 class. This property is not set by default.
  • mc-leader-indent: Allows you to control the distance from the end of the entry to the beginning of the leader. In the screenshot you can see it applied to the p.MiniTOC2 class.  It is not set by default.
  • mc-pagenum-display: This property will give you the ability to show or hide page numbers, or to show them only when an entry has no subentries (“leaf” option). By default page numbers and leaders will be shown on all entries.  Below the property has been set to “leaf” on the p.MiniTOC1 class. As you can see all of the MiniTOC1 level entries (bold) have leaders and page numbers except for the one with sub-entries.

Another item addressed in Flare V8 is that page numbers associated with items that wrap are bottom aligned to match the leader.  You can also see this in the screenshot below.

TOC & MiniTOC Styles

Other properties:

There are two main styles for the MiniTOCs:

MadCap|miniTocProxy: This style is the ‘container’ style for the MiniTOC. You can set things on the ‘container’ like; the max ‘depth’ of entries to display, padding, borders, etc.

p.MiniTOC#: This class is numbered 1 – 9. The number correlates with the ‘depth’ of the Mini-TOC entries.  As you can see in the sample that only p.MiniTOC1 and MiniTOC2 were needed. These classes are used to fine tune each of the different entry levels.  You can set things like; font, margin, etc.  Settings on these classes will be applied over ones set in the MadCap|miniTocProxy.

The properties above can be used with the TOC but you will have to apply them to the TOC specific styles and classes, MadCap|tocProxy and p.TOC1 – 9.

For more information on what’s new in Flare V8, click here.

About The Author

Jose Sermeno

About Jose Sermeno

With over 10 years of experience in the software industry, Mr. Sermeno brings a wealth of knowledge and expertise to the product evangelist team, helping introduce new users to everything MadCap Software. In his spare time, Jose is the Project Director for San Diego City Robotics, the San Diego community college systems robotics program, and enjoys working in software design and open source hardware development. Prior to joining MadCap in late 2010, Jose ran a Drupal development shop, and was an application manager for Temple University Health System.

Last Modified: October 17, 2014

This entry was posted in MadCap Flare, MadCap Software, MadPak, Tech Comm, Tips & Tricks. Bookmark the permalink.

Have Something to Say?

Your email address will not be published. Required fields are marked *