Appendix numbering

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

Appendix numbering

Postby Paul Griffiths on Tue Dec 08, 2015 7:25 am

This should be really simple but I'm struggling. What I want is:

Appendix A
A.1
A.1.2
...

followed by

Appendix B
B.1
B.1.2

But what I get is Appendix A followed by Appendix A again, and the numbering doesn't reset.

Can anyone tell me why the following doesn't work?

Code: Select all
   html.appendix h1
   {
      mc-auto-number-format: 'X:Appendix {A+}:{ =0} ';
   }

   html.appendix h2
   {
      mc-auto-number-format: 'X:{A}.{Gn+} ';
   }

   html.appendix h3
   {
      mc-auto-number-format: 'X:{A}.{Gn}.{Gn+} ';
   }
Paul Griffiths
Sr. Propeller Head
 
Posts: 249
Joined: Wed Apr 18, 2007 2:25 am
Location: Nottingham, UK

Re: Appendix numbering

Postby Rene Severens on Tue Dec 08, 2015 8:07 am

hi,

The mc-auto-number-format must start with "G" for global so : 'GX:{A}.{n}.{n+} ';

GX: Appendix {A+}
GX: {A}.{n+}
GX: {A}.{n}.{n+}

Greetings,

Rene Severens
"The numbers are strange today; they somehow do not seem to add up."
Rene Severens
Sr. Propeller Head
 
Posts: 210
Joined: Mon Sep 19, 2011 2:06 am
Location: Netherlands - Zoetermeer

Re: Appendix numbering

Postby Paul Griffiths on Wed Dec 09, 2015 4:01 am

It worked! Thank you, Rene.
Paul Griffiths
Sr. Propeller Head
 
Posts: 249
Joined: Wed Apr 18, 2007 2:25 am
Location: Nottingham, UK

Re: Appendix numbering

Postby erinhill on Tue Oct 13, 2020 1:26 pm

This fixed my issue, too! thank you!
erinhill
Propeller Head
 
Posts: 12
Joined: Wed Aug 05, 2020 1:35 pm


Return to Printed Documentation Targets

Who is online

Users browsing this forum: Google [Bot] and 11 guests