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.

Table capition including in TOC proxy

Postby Matze on Wed Mar 10, 2021 5:43 am

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.
Matze
Sr. Propeller Head
 
Posts: 111
Joined: Mon Jun 20, 2016 10:35 pm

Re: Table capition including in TOC proxy

Postby doloremipsum on Wed Mar 10, 2021 6:07 pm

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;
}
neque porro quisquam est qui dolorem ipsum quia dolor sit amet, consectetur, adipisci velit - sed saepe cum dolor apud multos callidos mutuetur, reduci potest.
doloremipsum
Sr. Propeller Head
 
Posts: 183
Joined: Mon Aug 26, 2019 2:11 pm

Re: Table capition including in TOC proxy

Postby Matze on Thu Mar 11, 2021 1:17 am

good idea - thx :madcap:

Instead of a p.class I´ve create a caption class with mc-heading-level, works fine.
Matze
Sr. Propeller Head
 
Posts: 111
Joined: Mon Jun 20, 2016 10:35 pm


Return to Printed Documentation Targets

Who is online

Users browsing this forum: No registered users and 11 guests

cron