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.
Post Reply
mattbnh
Sr. Propeller Head
Posts: 110
Joined: Tue Feb 26, 2008 12:17 pm
Location: Home: NH --- Compensated Servitude: MA
Contact:

Number for figures,tables starts at 1 every chapter

Post by mattbnh »

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;
}
LTinker68
Master Propellus Maximus
Posts: 7247
Joined: Thu Feb 16, 2006 9:38 pm

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

Post by LTinker68 »

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.
mattbnh
Sr. Propeller Head
Posts: 110
Joined: Tue Feb 26, 2008 12:17 pm
Location: Home: NH --- Compensated Servitude: MA
Contact:

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

Post by mattbnh »

Thanks and DOH!
Post Reply