Discussion:
Help with astrange numbering scheme
(too old to reply)
Shorthouse
2005-02-04 12:50:26 UTC
Permalink
I was asked the following by a colleague today:

=================================================
I think the numbering is referred to as "Legal" but it takes the
following form (approximately):

1 - Heading Text
1.1 - Heading Text
1.1.1 Heading Text
1 - first paragraph
2 - second paragraph
3 - third paragraph
1.1.2 Heading Text
1 - first paragraph
2 - second paragraph
2 - Heading Text
2.1 - Heading Text
1 - first paragraph.

What I want is an updated form that looks something like this:

1(of 2) - Heading Text
1(of 2).1(of 1) - Heading Text
1(of 2).1(of 1).1(of 2) Heading Text
1(of 3) - first paragraph
2(of 3) - second paragraph
3(of 3) - third paragraph
1(of 2).1(of 1).2(of 2) Heading Text
1(of 2) - first paragraph
2(of 2) - second paragraph
2(of 2) - Heading Text
2(of 2).1(of 1) - Heading Text
1(of 1) - first paragraph.

Each heading section/level is independently numbered separately to the
others and it is "encapsulated" within any higher section as is each
block of paragraphs.

Apologies if it seems a little complicated (and I might well have made
mistakes above) but I hope the intent is clear. All the numbers should
be calculated by the s/w and it gives the reader an idea of how far
through the hierarchy and, if they are reading a paragraph in a
section, how many more paragraphs there are.

Now I am not saying it is a good idea (it would need a trial) but I
think it might have value for documents that are primarily handled in
electronic form as the idea of "pages" is somewhat inapplicable in
such a case. However, the idea of sections, sub-sections and paragraph
numbers is OK.
=================================================

I took a quick look at Frame but couldn't see anything obvious.

Great ideas gratefully received....



=============================================

Shorthouse
Thomas Michanek
2005-02-04 23:46:33 UTC
Permalink
You didn't say whether the highest-level headings would appear
in different documents in a book file, or if they're all to be
present in the same file.

I'll address both cases below for the original "Legal" numbering.
In both cases, each heading level is of course a separate paragraph
tag (Heading1, Heading2, etc.) and the ordinary numbered paragraphs
are one and the same tag.
You want to know how to set up the Autonumbering string for these
paragraphs, right? And you're using FM 6 or 7.x, right?

Case 1: in different documents:
Heading1: H:<$chapnum>
Heading2: H:<$chapnum>.<n+>
Heading3: H:<$chapnum>.<n>.<n+>
Paragraph: H:< >< >< ><n+>

Case 2: in the same document:
Heading1: H:<n+>
Heading2: H:<n>.<n+>
Heading3: H:<n>.<n>.<n+>
Paragraph: H:< >< >< ><n+>

In both cases, you need to set up the Numbering properties in any used
book file correctly, so that Chapter Numbering is set to Continue for
each chapter file (case 1), or Paragraph Numbering is set to Continue
for each file.

However, if you're asking how to achieve the "updated form", where
the maximum number of each numbering sequence is to be added, i.e.
you actually want the numbering to be displayed as "1(of 2)", the
answer is: you cannot achieve that with FM, automatically.
--
/Thomas Michanek, FrameMaker/UNIX/MIF expert
Technical Communicator, Linkoping, Sweden
Shorthouse
2005-02-05 13:44:35 UTC
Permalink
In an idle moment on Fri, 04 Feb 2005 23:46:33 GMT, "Thomas Michanek"
Post by Thomas Michanek
You didn't say whether the highest-level headings would appear
in different documents in a book file, or if they're all to be
present in the same file.
I'll address both cases below for the original "Legal" numbering.
In both cases, each heading level is of course a separate paragraph
tag (Heading1, Heading2, etc.) and the ordinary numbered paragraphs
are one and the same tag.
You want to know how to set up the Autonumbering string for these
paragraphs, right? And you're using FM 6 or 7.x, right?
Heading1: H:<$chapnum>
Heading2: H:<$chapnum>.<n+>
Heading3: H:<$chapnum>.<n>.<n+>
Paragraph: H:< >< >< ><n+>
Heading1: H:<n+>
Heading2: H:<n>.<n+>
Heading3: H:<n>.<n>.<n+>
Paragraph: H:< >< >< ><n+>
In both cases, you need to set up the Numbering properties in any used
book file correctly, so that Chapter Numbering is set to Continue for
each chapter file (case 1), or Paragraph Numbering is set to Continue
for each file.
However, if you're asking how to achieve the "updated form", where
the maximum number of each numbering sequence is to be added, i.e.
you actually want the numbering to be displayed as "1(of 2)", the
answer is: you cannot achieve that with FM, automatically.
Thanks for that Thomas. I was indeed after a solution for the "updated
form" in Frame 7.

I was pretty sure it wasn't possible automatically but as these things
have a habit of being obvious when you see the solution, I thought it
worth asking!




=============================================

Shorthouse

Loading...