Number for figures,tables starts at 1 every chapter

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

Number for figures,tables starts at 1 every chapter

Postby mattbnh on Wed Dec 17, 2008 10:34 am

I am sure there is a simple way to do this but in my PDF output, the figure and table captions restart numbering at 1 in every chapter.

What I want is for the first figure in chapter 3 to be Figure 6 if the previous chapters had 5 prior figures.

I am not using chapter page numbering; page numbers are continuous across chapters.

Here is the CSS for the FigureCaption (table is similar).

p.FigureCaption
{
text-align: center;
margin-left: 0in;
margin-right: 0in;
margin-top: 10pt;
margin-bottom: 14pt;
font-family: Arial;
font-weight: normal;
font-style: normal;
font-size: 8pt;
letter-spacing: 0em;
color: #000000;
mc-auto-number-format: 'F:Figure {n+}:  ';
mc-auto-number-position: inside-head;
mc-auto-number-offset: 0px;
mc-auto-number-class: Emphasis;
text-indent: 0px;
line-height: 10pt;
text-decoration: none;
page-break-after: avoid;
}
mattbnh
Sr. Propeller Head
 
Posts: 110
Joined: Tue Feb 26, 2008 12:17 pm
Location: Home: NH --- Compensated Servitude: MA

Re: Number for figures,tables starts at 1 every chapter

Postby LTinker68 on Wed Dec 17, 2008 11:38 am

You need to change your auto-number format to mc-auto-number-format: 'GF:Figure {n+}: '; The "G" tells it to make it a global counter. If you want it to only increment per chapter, then use "C" instead of "G".
Image

Lisa
Eagles may soar, but weasels aren't sucked into jet engines.
Warning! Loose nut behind the keyboard.
LTinker68
Master Propellus Maximus
 
Posts: 7245
Joined: Thu Feb 16, 2006 9:38 pm

Re: Number for figures,tables starts at 1 every chapter

Postby mattbnh on Wed Dec 17, 2008 1:20 pm

Thanks and DOH!
mattbnh
Sr. Propeller Head
 
Posts: 110
Joined: Tue Feb 26, 2008 12:17 pm
Location: Home: NH --- Compensated Servitude: MA


Return to Printed Documentation Targets

Who is online

Users browsing this forum: No registered users and 3 guests