Table capition including in TOC proxy

This forum is for all Flare issues related to PDF, eBook, Microsoft Word, Adobe FrameMaker, XPS, and XHTML book targets.
Post Reply
Matze
Sr. Propeller Head
Posts: 163
Joined: Mon Jun 20, 2016 10:35 pm

Table capition including in TOC proxy

Post by Matze »

Hi all,
the TOC proxy for PDF collects my headings 1 to 3.

Is it possible to collect other styles like the caption heading of a table (instead of using the caption table headings in own list of proxy).
We have often topics with heading 2 and one table which has the same content like heading 2. So we can determine heading 2 and use the caption of a table instead but then the caption should be displayed in our TOC.
doloremipsum
Sr. Propeller Head
Posts: 290
Joined: Mon Aug 26, 2019 2:11 pm

Re: Table capition including in TOC proxy

Post by doloremipsum »

That's certainly possible! You can add the mc-heading-level style to any paragraph style you like and it will appear in the TOC with that heading level.
For example, you might use:

Code: Select all

p.tablecaption
{
    mc-heading-level: 2;
}
in hoc foro dolorem ipsum amamus, consectimur, adipisci volumus.
Matze
Sr. Propeller Head
Posts: 163
Joined: Mon Jun 20, 2016 10:35 pm

Re: Table capition including in TOC proxy

Post by Matze »

good idea - thx :madcap:

Instead of a p.class I´ve create a caption class with mc-heading-level, works fine.
Post Reply