Including literals in listnums

R

Ron Todd

Hi folks,

The subject line may not describe exactly what I'm trying to do, so here
goes:

I have a document with the usual heading 1, heading 2 styles. After my third
heading 3 instance:

"3 Function Catalogue"

I have another style called function heading, then instances that read
something like:

"F1 Deployment Functions"

"F2 Publication Functions"

- where the F1 & F2 are automatically numbered as part of the function
heading style.

Now, within each of the function heading sections, I have a table of
individual functions, each of which is numbered for reference. later on in
the document, I want to be able to refer to these directly using cross
reference, numbered item. The individual functions in the first of the
sections should read "F1.1", "F1.2", etc; those under F2 should read "F2.1",
"F2.2", etc. In other words, I want to include the section number with the
leading letter, and then run a list within each section.

Can anyone advise on how to have the numbers appearing as "F1.1", and so on?
They currently appear as "1.1". Once they appear in the correct format as a
single numbered item (i.e. not as 2 adjacent separate field codes), I'm sure
I'll be able to add the cross-references as required. I could use bookmarks,
but they are too high maintenance. I'd be happy to compromise with some
field code where I hard-code the F1, then the F2, and so on. I've tried it
with listnum, but couldn't get the "F" to concatenate with the "1.1".

Any ideas or advice will be gratefully received.

Regards,

Ron
 
C

Cindy M -WordMVP-

Hi Ron,

which version of word do you have?

If I set up a style that includes numbering, then use Insert/Cross Reference
with "Paragraph number" as the category, I get the entire number, with the
"F". (Testing in word 2000)
Now, within each of the function heading sections, I have a table of
individual functions, each of which is numbered for reference. later on in
the document, I want to be able to refer to these directly using cross
reference, numbered item. The individual functions in the first of the
sections should read "F1.1", "F1.2", etc; those under F2 should read "F2.1",
"F2.2", etc. In other words, I want to include the section number with the
leading letter, and then run a list within each section.

Can anyone advise on how to have the numbers appearing as "F1.1", and so on?
They currently appear as "1.1".

Cindy Meister
INTER-Solutions, Switzerland
http://homepage.swissonline.ch/cindymeister (last update Sep 30 2003)
http://www.mvps.org/word

This reply is posted in the Newsgroup; please post any follow question or
reply in the newsgroup and not by e-mail :)
 
B

Bruce Brown

Ron

What will work is a SEQ field followed by a LISTNUM field. The SEQ
field has to be of the Alphabetic kind to give you a capital letter,
and the LISTNUM field has to be LegalDefault. If you want the first
SEQ field to start at F instead of A, use the R switch:

{ SEQ Ltr \*Alphabetic \R 6 }{ LISTNUM LegalDefault \L 2 } = F1.1.

From there on, the C switch continues the same SEQ field letter and
the LISTNUM increments the last number as follows:

{ SEQ Ltr \*Alphabetic \C }{ LISTNUM LegalDefault \L 2 } = F1.2.
{ SEQ Ltr \*Alphabetic \C }{ LISTNUM LegalDefault \L 2 } = F1.3.

To move the SEQ field to the next letter up is easy. Leave out any
switches altogether:

{ SEQ Ltr \*Alphabetic } = G

To move the LISTNUM to a higher first level -- say, 1.9 to 2.1 -- is
not so easy. You have to use a *hidden* LISTNUM field between the SEQ
field and the regular LISTNUM field as follows:

{ SEQ Ltr \*Alphabetic \C }{ LISTNUM LegalDefault \L 1 }{ LISTNUM
LegalDefault \L 2 } = G2.1., where the middle LISTNUM at level 1 has
been discreetly covered up by hidden font.

Interestingly, the SEQ field works fine for cross-referencing in
conjunction with the LISTNUM field. However, multiple SEQ fields side
by side do *not* work at all; their text will be missing from the
cross-reference dialog.

As for the klutzy period at the end of the { LISTNUM LegalDefault \L 2
} field, well, sorry about that. If you'd care to create named list
template and define outline-numbered styles where the period is
missing at the end of level 2, then use the LISTNUM field as a
substitute for those styles, help yourself. It will still require a
hidden field to re-start the 1.9 to 2.1.

Happy Functioning. - Bruce
 
R

Ron Todd

Thanks, Cindy.

I'm actually trying to do something slightly different, though. I don't have
a problem getting section numbering: but within a section that I've numbered
F1 (say), I want to have numbered items that go F1.1, F1.2, etc; and I also
wants these composite labels to appear as cross-referenceable options
(because I need to construct a matrix that refers to them, later in the same
document).

See reply to Bruce for further details, and thanks again.

Ron

(Word 2000, BTW)
 
R

Ron Todd

Thanks Bruce.

I've managed to get the fields combining to give me something like F1.1
(using the method you describe); but they still don't appear as numbered
items so that I can cross-refer to them. The cursor thinks that they're
separate (I can move between the SEQ and the LISTNUM, when they are toggled
to display "F" & "1.1", respectively).

Any more clues? I'm using Word 2000, if that's relevant.

Ron
 
S

Suzanne S. Barnhill

If you are using outline numbering, you can add F to the numbering for Level
2, 3, etc.

--
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA
Word MVP FAQ site: http://www.mvps.org/word
Email cannot be acknowledged; please post all follow-ups to the newsgroup so
all may benefit.
 
B

Bruce Brown

I thought you wanted a numbering method so that when you use the
cross-reference dialog (Reference Type = Numbered Item, Insert
reference to = (i) Paragraph text and (ii) Page number) it gives you
something like . . .

See F.1.4 Function XYZ, p. 37

.. . . where "See" and "p." are the only text items, the other two
being cross-references.

Using the SEQ and LISTNUM fields side by side does let you do that, at
least in Word 2002. Maybe it's different Word 2000. Hope you find
the solution you're looking for. - Bruce
 
R

Ron Todd

You're correct, Bruce. After some experimentation, I found that referencing
the paragraph text does the trick. When I tried to refer to the paragraph
number, it only picked up the LISTNUM.

Sorry, I should have updated my previous post.

Thanks for your help.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top