Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

TOC for page numbers in Appendix

491 views
Skip to first unread message

Steven M (remove cola to reply)

unread,
May 2, 2004, 3:47:57 AM5/2/04
to
I'm working on a document that I converted from PDF to Word 2000.

The main body of the document has ordinary page numbers (1, 2, etc.)
Then there are several appendices, each with their own table of
contents and page numbering (A-1, A-2, etc.).

The page numbering in each section starts with 1 (or A-1, B-1, etc.).
To get those, I added the characters "A-" to the footer of the section
for Appendix A, and so on.

I also created new styles for the Table of Contents entries in each
appendix. This TOC field almost gives me what I want, for the TOC in
Appendix A:

{toc \t "Heading A1,1,Heading A2,2"} (I)

However, each page number in the Table of Contents is missing the "A-"
prefix from each number.

The online help says:

\p "Separators"
Specifies the characters that separate an entry and its page number.

Therefore, this TOC field should work, but does not:

{toc \p "<tab>A-" \t "Heading A1,1,Heading A2,2"} (II)

The result looks just like the version given on line (I), above. It is
lacking the 'A-' sequence.

This version of the TOC field adds the "A-" characters before the page
number, but the tab character is missing, that would place the number
at the right margin tab setting.

{toc \p "A-" \t "Heading A1,1,Heading A2,2"}

Any suggestions?

--
Steve M - uns...@houston.rrdirt.com (remove dirt for reply)

I allow my cats to express themselves, never interfere with their
romances, and raise them with dogs to broaden their outlook.
-- Murray Robinson

Steven M (remove cola to reply)

unread,
May 2, 2004, 3:55:58 AM5/2/04
to
After some more experiments, here's what is happening: only the first
character in quotation marks after the \p switch is included in place
of the tab character.

The Help screen says that it should accept up to 5 characters here.
Is this a bug? If so, is there is a workaround?

The only other way I see to do this is by using chapter numbers and
SEQ fields, which I have done before. However, how can I tell Word
that the "chapter number" is actually a letter?

Steven

Steven M (remove cola to reply)

unread,
May 2, 2004, 4:16:02 AM5/2/04
to
After more research, I have learned that this is a well-known bug.
The \p switch only uses the first character and not five. So it's
useless for this.

I'm not sure what to do next. Currently my Heading styles do not
including automatic numbering, the section numbers are hard coded in
the text.

I'm not looking forward to switching to automatic numbering. It's
something that will provide zero benefit in working with this
document.

Is there another way?

Steven


On Sun, 02 May 2004 07:55:58 GMT, "Steven M (remove cola to reply)"

Shauna Kelly

unread,
May 2, 2004, 8:59:24 AM5/2/04
to
Hi Steven

There's only one way to get "chapter" numbering (as it's called) in both
your page numbers and TOC and it's explained on the following site:

I want to include the chapter number with the page number in the Header -
how can I do this?
http://www.mvps.org/word/FAQs/Numbering/ChapterNumber.htm

Hope this helps.

Shauna Kelly. Microsoft MVP.
http://www.shaunakelly.com/word


"Steven M (remove cola to reply)" <uns...@houston.rrcola.com> wrote in
message news:lbb990l94u5q8vman...@4ax.com...

0 new messages