Autonumbering headings

This forum is for all Flare issues related to PDF, eBook, Microsoft Word, Adobe FrameMaker, XPS, and XHTML book targets.
Post Reply
Scotty
Propeller Head
Posts: 98
Joined: Thu Feb 02, 2012 6:56 pm
Location: Europe

Autonumbering headings

Post by Scotty »

Hi all,

I'm struggling to add autonumbering to printed output, even with the Flare help.

The required numbering is as follows:

h1 - 1..2..3.....
h2 - a..b..c.....
h3 - i..ii..iii.....
h4 - 1)...2)...3)...

For example:

1 Stuff
a Things
b Things
c Things

2 Stuff
a Things
b Things
i Bobs
ii Bobs
c Things

3 Stuff
a Things
i Bobs
ii Bobs
1) Wibs
2) Wibs
b Things

Any suggestions on how to configure the mc-autonumbering, and then implement this in the output such that numbering in sections, sub-sections, sub-subsections resets as appropriate through the heading nestings? Is there a simpler way to implement this, short of manual numbering?

Thanks!
The newest noob in town.
ChoccieMuffin
Senior Propellus Maximus
Posts: 2632
Joined: Wed Apr 14, 2010 8:01 am
Location: Surrey, UK

Re: Autonumbering headings

Post by ChoccieMuffin »

What a shame you didn't attend MadWorld, there was an excellent presentation on just that thing.

I'm sure there's a webinar about it, I'll take a quick look and see if I can find it. (Webinars can be found here: https://www.madcapsoftware.com/resource ... aspx#flare)

EDIT: Found it! Take a look at this one: https://www.madcapsoftware.com/webinars ... abilities/
Started as a newbie with Flare 6.1, now using Flare 2023.
Report bugs at http://www.madcapsoftware.com/bugs/submit.aspx.
Request features at https://www.madcapsoftware.com/feedback ... quest.aspx
Scotty
Propeller Head
Posts: 98
Joined: Thu Feb 02, 2012 6:56 pm
Location: Europe

Re: Autonumbering headings

Post by Scotty »

ChoccieMuffin wrote:What a shame you didn't attend MadWorld, there was an excellent presentation on just that thing.

I'm sure there's a webinar about it, I'll take a quick look and see if I can find it. (Webinars can be found here: https://www.madcapsoftware.com/resource ... aspx#flare)

EDIT: Found it! Take a look at this one: https://www.madcapsoftware.com/webinars ... abilities/
Many thanks, I'll take a look at that!
The newest noob in town.
TaylorTalkington
Jr. Propeller Head
Posts: 5
Joined: Tue Nov 28, 2017 7:34 am
Location: USA

Re: Autonumbering headings

Post by TaylorTalkington »

Did you get your headings setup? If not: I have a similar setup that may help you.

My headings are similar to what you are after:

H1 - 1., 2., 3.
H2 - 1.A., 1.B., 1.C.
H3 - 1.A.i., 1.A.ii., 1.A.iii.
H4 - 1.A.i.1., 1.A.i.2., 1.A.i.3.

My headings mc-autonumber-format are setup as follows:

h1: '{chapnum}. '
h2: '{chapnum}.{secnum}. '
h3: 'A: {chapnum}.{secnum}.{r+}. '
h4: 'A: {chapnum}.{secnum}.{r}.{n+}. '

You should be able to modify these to create the output you want, h2 would just be '{secnum}. ', h3 'A: {r+}. ', etc.

This assumes that each each topic has at most 1 section (h2) and h3/h4 numbering do not span topics.

In your TOC, set topics to be chapter breaks (top of the printed output tab) where H1 should increment and section breaks (bottom of the printed output tab) where h2 should increment.
On the first chapter break, on the auto-numbers tab, set Chapter number to reset to 1. All other Chapter Breaks should be set to increment the chapter number (on the 'Auto-numbers' tab)
On each of the first section breaks after a new chapter break, set the Section Number to reset to A and the format to 'alpha (a,b,c).' All other section breaks should be set to increment the section number.
H2 and H3 should work without any other adjustments from there.
Post Reply