View Single Post
  #16   Report Post  
Posted to microsoft.public.word.formatting.longdocs
Stefan Blom[_3_] Stefan Blom[_3_] is offline
external usenet poster
 
Posts: 6,897
Default Missing Caption Number

If formatting is changing each time you update the TOC, then something
is not right. Did you make sure that your headings were correctly
defined, that is, that formatting comes from the Modify Style dialog box
(and not by applying formatting directly to the text, for example, via
the ribbon)? You can remove direct font formatting by selecting text and
pressing Ctrl+SpaceBar. Once you have done this, the formatting of TOC
levels will be controlled by the TOC 1, TOC 2, etc. styles.

If a level is missing in the TOC, you have to adjust the field code. For
example, if level 4 is missing, and you are using the built-in headings
(or custom headings with an "Outline level" defined), make sure that the
code reads { TOC \o "1-4" \h }. Use Alt+F9 to show/hide field codes, and
use F9 to update the field(s) in the selection.

You can include custom headings in a TOC, for example by giving them an
"Outline level" as suggested above. (In the Modify Style dialog box,
click Format, and then click Paragraph. You'll find the option on the
Indents and Spacing tab.) Usually, however, the built-in headings are
quite sufficient.

I'm still interested in taking a look at the file (you can delete any
text that you don't want to share, as long as there are captions that
exhibit the numbering problem). You can send it to
stefanDOTblomATmvpsDOTorg.

--
Stefan Blom
Microsoft Word MVP



On 2012-06-04 13:16 (GMT+1), Himmelswüst wrote:
Maybe I misunderstood your previous reply, but as I had answered, I am
indeed using styles to format my TOC -- but I find it extremely
bothersome to have to apply those styles all over again every time I
might have to update the TOC, especially as I would in addition have to
define an entirely new TOC every time because an entire level is
missing.

I'm not sure whether your suggestion really means that I would have to
use the heading styles supplied by word. If so, that strikes me as an
equally tiresome solution because I would have to overwrite them instead
of adding my own. Furthermore, the solution appears to involve my using
the same heading styles for the headings as they are formatted in the
text as for the ones that are part of the TOC -- which again is
something I do not want to do, because they need to be formatted
differently.

Apart from this, I still can't figure out the numbering issue