TOC with H1 & H2 only, excl. Table of Contents entry

This forum is for all Flare issues related to PDF, eBook, Microsoft Word, Adobe FrameMaker, XPS, and XHTML book targets.

TOC with H1 & H2 only, excl. Table of Contents entry

Postby Mina on Wed Feb 17, 2021 8:30 pm

I am trying to create a TOC for PDF output and I need to remove or hide the highlighted entry.

I found a article online that suggested changing the TOC heading in the topic to H4, then amend the H4.TOC style to be transparent and hidden. I have tried everything I can think of and nothing is helping.

This is my table of contents topic
Code: Select all
<?xml version="1.0" encoding="utf-8"?>
<html xmlns:MadCap="">
        <link href="../Resources/Stylesheets/Test.css" rel="stylesheet" type="text/css" />
        <h4>Table Of Contents</h4>
        <MadCap:tocProxy />

H4 and H4.TOC stylesheet
Code: Select all
      font-style: normal;
      margin-top: 6pt;
      margin-bottom: 24pt;
      mc-hyphenate: never;
      font-variant: normal;
      padding-top: 24pt;
      padding-bottom: 0pt;
      font-weight: normal;
      mc-auto-number-position: none;
      visibility: hidden;
      color: transparent;
      font-size: -6.2pt;
      mc-toc-depth: 0;

      mc-heading-level: 9;
      visibility: hidden;
      color: transparent;
      font-size: 1;
You do not have the required permissions to view the files attached to this post.
Jr. Propeller Head
Posts: 4
Joined: Wed Sep 18, 2019 2:18 am

Re: TOC with H1 & H2 only, excl. Table of Contents entry

Postby ChoccieMuffin on Thu Feb 18, 2021 2:13 am

Create H1.TOC make it mc-heading-level:0 and no auto-numbering, apply that style to your Table of Contents heading. Sorted!
Started as a newbie with Flare 6.1, now using Flare 2019r1 and 2020.
Report bugs at
Request features at ... quest.aspx
Senior Propellus Maximus
Posts: 2461
Joined: Wed Apr 14, 2010 8:01 am
Location: Surrey, UK

Return to Printed Documentation Targets

Who is online

Users browsing this forum: No registered users and 3 guests