Roman page number in TOC

  • Thread starter Thread starter Sougata Roy
  • Start date Start date
S

Sougata Roy

I have used TOC to form a Table of Contents in Word 2002. Some of the pages
are numbered using roman small letters (e.g., i, ii, etc.). But the headings
on these pages are "All Caps". In Table of Contents, the page number appears
as capitals (e.g., I, II, etc.) in line with formating for the heading,
since style TOC1 is set "All Caps". However, if style TOC1 is modified by
removing "All Caps", both the page number and the heading appears in small
letters. It is possible to change the page number by physically selecting it
and formating, but the format changes to that of TOC1 everytime the table is
updated.

Is there any way of solving this problem?

Sougata Roy
Bethlehem, PA
 
Hi Sougata,

Let's see if I understand you correctly.

1) The headings in your text are formatted as "All Caps". Did you do this
manually, or as part of the style definition?

2) And did you specify large roman numerals for the Heading numbers in the
number format? Or are these a result of applying direct formatting to the
Heading paragraphs?

3) So, in the TOC you get large roman numerals on the left, and also on the
right (for the page numbers)? But you want the page numbers to display as
small-case roman numerals?

In a general way, I'd say that if you did everything with styles, and no
direct formatting, you shouldn't run into a problem... But I may not be
understanding exactly what the problem is.
I have used TOC to form a Table of Contents in Word 2002. Some of the pages
are numbered using roman small letters (e.g., i, ii, etc.). But the headings
on these pages are "All Caps". In Table of Contents, the page number appears
as capitals (e.g., I, II, etc.) in line with formating for the heading,
since style TOC1 is set "All Caps". However, if style TOC1 is modified by
removing "All Caps", both the page number and the heading appears in small
letters. It is possible to change the page number by physically selecting it
and formating, but the format changes to that of TOC1 everytime the table is
updated.

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

This reply is posted in the Newsgroup; please post any follow question or
reply in the newsgroup and not by e-mail :-)
 
Cindy, here are clarifications sought:
Cindy M -WordMVP- said:
Hi Sougata,

Let's see if I understand you correctly.

1) The headings in your text are formatted as "All Caps". Did you do this
manually, or as part of the style definition?

Headings are formatted "All Caps" as part of style definition.
2) And did you specify large roman numerals for the Heading numbers in the
number format? Or are these a result of applying direct formatting to the
Heading paragraphs?

The Heading styles are outline numbered in Arabic. I did not specify any
roman numeral for the Heading numbers. Also no number format is specified
for the TOC styles. I have not applied any direct formatting to the Heading
paragraphs.
3) So, in the TOC you get large roman numerals on the left, and also on the
right (for the page numbers)? But you want the page numbers to display as
small-case roman numerals?

In the TOC I am getting large roman numerals on the right for page numbrs,
but I want the page numbers to be displayed as small-case roman numerals. In
fact the page numbers in the footers of the respective pages are in
small-case roman numerals.
In a general way, I'd say that if you did everything with styles, and no
direct formatting, you shouldn't run into a problem... But I may not be
understanding exactly what the problem is.

As I have mentioned earlier, I have done everything with styles and not by
direct formatting. If you would like, I can send you a part of my document
for ease of understanding. It appears that the TOC style applies
indiscriminately to the content in the Heading and the page number,
irrespective of their individual style.

Thanks and I look forward to a resolution of the problem.

Sougata Roy
 
Hi Sougata,
I have done everything with styles and not by
direct formatting. It appears that the TOC style applies
indiscriminately to the content in the Heading and the page number,
irrespective of their individual style.
OK, I was able to follow now what you've done, and confirm I see the same.
The "culprit" appears to be setting "All Caps" as part of the TOC style.

Try the following, it works here:
- Remove the AllCaps formatting from the TOC style(s)
- Alt+F9 to turn on the field code
- Add the following formatting switch at the end of the TOC field:
\* Upper
- Alt+F9 again to hide the field codes
- F9 to update the TOC field

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

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

Your solution is not going to work in my case, since I have 3 levels of
Heading style (and accordingly 3 level of TOC styles) in my document and all
of them are not "All Caps". Setting "\*Upper" in the TOC field codes, turns
all levels of heading in the TOC to "All Caps", and that I do not want. I
want to preserve the each level of heading styles in the TOC.

By chance, I have found another way out, which is antithetical to the very
idea of styles. If I use direct formating in the Headings, i.e., if I type
all Heading1 under "Caps Lock" and remove the "All Caps" from TOC1, the TOC
look exactly the way I want it to be (including small roman page numbers).

The problem seems to be that TOC field code picks up the headings preserving
their "case" (e.g., "Sentence", "Upper", etc.) as typed, without any heed to
the style of the headings. And then it blindly applies the styles TOC1, TOC2
etc. to the various levels without considering the formatting styles of the
individual page numbers.

This seems definitely a flaw with TOC styles. Do you have any other
suggestion?

Sougata Roy
 
Hi Sougata,
By chance, I have found another way out, which is antithetical to the very
idea of styles. If I use direct formating in the Headings, i.e., if I type
all Heading1 under "Caps Lock" and remove the "All Caps" from TOC1, the TOC
look exactly the way I want it to be (including small roman page numbers).
Actually, typing capitals is not direct formatting, it's simply entering the
data in the correct case. I personally find "All Caps" formatting very
counter-intuitive because it masks the actual data (character codes); but this
is probably because I'm a data-oriented person :-)

I would have suggested this method, but thought you wouldn't like to hear
it... Note that there is a shortcut, in case someone would forget to turn on
the Caps Lock: select the text, then press Shift+F3 until you get all upper
case.

Direct formatting would be if you typed the text "any old way", then selected
it, and went over Format/Font and activated "All Caps".
The problem seems to be that TOC field code picks up the headings preserving
their "case" (e.g., "Sentence", "Upper", etc.) as typed, without any heed to
the style of the headings. And then it blindly applies the styles TOC1, TOC2
etc. to the various levels without considering the formatting styles of the
individual page numbers.
Actually, this is how the TOC styles are supposed to work. Often enough, one
wants to display the TOC entries differently than how the original text ranges
formatted by their styles. So the TOC style overrides styles applied to the
text. OTOH, direct formatting of the text will override formatting of the TOC
styles. So if you were to select a Heading and go over Format/Font to apply
"All Caps" you get the result you want in the TOC.

What I would consider a bug, though, is that including ALL CAPS in a TOC style
also changes the display of the Page Number when it's not Arabic. I'm not sure
there's much that could be done about this, however, as the Page Number is
actually generated from a field generated as a result of the TOC field. To see
what I mean, select a page number, then press Shift+F9. You should see a
PageRef field code.

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

This reply is posted in the Newsgroup; please post any follow question or
reply in the newsgroup and not by e-mail :-)
 
Hi Cindy,
Actually, typing capitals is not direct formatting, it's simply entering the
data in the correct case. I personally find "All Caps" formatting very
counter-intuitive because it masks the actual data (character codes); but this
is probably because I'm a data-oriented person :-)

Could not agree more with you.
What I would consider a bug, though, is that including ALL CAPS in a TOC style
also changes the display of the Page Number when it's not Arabic. I'm not sure
there's much that could be done about this, however, as the Page Number is
actually generated from a field generated as a result of the TOC field. To see
what I mean, select a page number, then press Shift+F9. You should see a
PageRef field code.

That is what I alluded to as flaw. I understand why TOC styles are the way
they are. Only while generating the PageRef field code it should have added
special format switches for roman page numbers. Hope someday MS will address
this.

Any way thanks for your input.

Sougata
 

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

Back
Top