Extracting figure number from heading number

This forum is for all Flare issues related to styles, stylesheets and XML.

Extracting figure number from heading number

Postby oceanclub on Wed Apr 24, 2019 3:09 am

I used the following for my heading 1 numbering (where heading 1s are my chapter headings):

Code: Select all
h1
   {
      color: #000000;
      /* Black */
      mc-auto-number-format: 'GH:{n+} ';
   }


I've set up my figure numbering as follows:

Code: Select all
mc-auto-number-format: 'CF:{b}Figure {chapnum}.{Cn+}: {/b}';



So I should see:

1. Chapter 1

Figure 1.1:
Figure 1.2:

2. Chapter 2

Figure 2.1:
Figure 2.2:

etc.

However, this depends on the chapter breaks being set up correctly. I've rather just directly use the heading 1 number value in my figure numbering. How do I do that?

P.
User avatar
oceanclub
Sr. Propeller Head
 
Posts: 197
Joined: Thu Oct 10, 2013 4:45 am
Location: Dublin

Return to Styles, Stylesheets and XML

Who is online

Users browsing this forum: richt and 4 guests