Auto numbering in appendices

This forum is for all Flare issues not related to any of the other categories.
Post Reply
BenS
Jr. Propeller Head
Posts: 3
Joined: Wed Sep 07, 2016 11:01 pm

Auto numbering in appendices

Post by BenS »

Hi all,
I'm having a fight with auto numbering in appendices in Flare, and I think Flare's winning...
I have a book (printed output) with three heading levels. In the main contents, chapter numbers of all three levels work beautifully, but in the appendices level three doesn't update.
It looks something like this:
Appendix A Something cool
A.1. Subsection in A
A.1.1 Heading 3
A.1.1 Heading 3 stuck on 1 (no number increment)
etc...
A.2 Heading 2 works fine
A.2.1 Heading 3
A.2.1 Still stuck on 1
A.2.1 'Cmon already...
As mentioned before, the regular heading 3's in the document (before the appendices) work perfectly. The auto numbering in the h3 style is identical to the h3.Appendix. TOC settings are identical.
What am I missing here?
emsachs
Propeller Head
Posts: 91
Joined: Wed Nov 19, 2014 12:49 pm

Re: Auto numbering in appendices

Post by emsachs »

Can you copy/paste the definitions for the appendix styles from the CSS?

We actually use the same styles for h2 and h3 in an appendix. So what I have for print (taking out the formatting and just leaving the numbering):

h1
{
mc-auto-number-format: 'CH:Chapter {chapnum} ';
}

h1.Appendix
{
mc-auto-number-format: 'CH:Appendix {chapnum} ';
}

h2
{
mc-auto-number-format: 'CH:{chapnum}.{n+} ';
}

h3
{
mc-auto-number-format: 'CH:{chapnum}.{n}.{n+} ';
}

Then h2 and h3 are used for both regular chapters and appendices.
Post Reply