Page 1 of 2 12 LastLast
Results 1 to 15 of 20
  1. #1
    New Lounger
    Join Date
    Jun 2005
    Posts
    7
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Heading numbering not applied from template (2000 sr1)

    I have a global template that I attach to a document, but the heading styles from the template are not applied to the document. I have tried checking and unchecking the 'automatically update styles' check box when I attach the template but it makes no difference. My heading styles are not updated and are therefore missing the numbering I've applied to the heading styles. I can copy the styles manually from the global template to the document template using the organiser, but can't get this to happen automatically when I attach the global template. How can I make the template update the styles in the document automatically?

    Thanks.

    Catherine

  2. #2
    Plutonium Lounger
    Join Date
    Nov 2001
    Posts
    10,550
    Thanks
    0
    Thanked 7 Times in 7 Posts

    Re: Heading numbering not applied from template (2000 sr1)

    There is something a little confusing here, you say that this is a global template, but then talk about Attaching it.

    Global Templates are stored in Word's Startup folder and they contain macros and toolbars that are available to all documents. Document templates are stored in Words User Templates or Group Templates folder and contain styles, they can also contain macros and toolbars that are used by some documents only.

    If you set "Automatically Update Styles" when attaching to a document template then the styles in the template will replace identically named styles in the document, this will not remove any manual formatting that has been applied. If for example you have manually applied numbering to a "Heading 1" in the document, then applying a style with unnumbered Heading 1 will not remove this.

    StuartR

  3. #3
    New Lounger
    Join Date
    Jun 2005
    Posts
    7
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Heading numbering not applied from template (2000 sr1)

    Oh, I thought global templates were those available for attaching to all documents, and then documents also had their own 'local' templates. This template that I've called 'global' is in the C:Program FilesMicrosoft OfficeOfficeTemplates folder.

    So are you saying that the styles in my template won't automatically overwrite those in the document? I thought that was what the 'automatically update styles' option was for. I haven't applied any local formatting deliberately to the document. I've just published it to Word from AuthorIT and am now tyring to get its headings to do what I want.

    Catherine

  4. #4
    Plutonium Lounger
    Join Date
    Nov 2001
    Posts
    10,550
    Thanks
    0
    Thanked 7 Times in 7 Posts

    Re: Heading numbering not applied from template (2000 sr1)

    What you have is a Document Template, not a Global Template. If you attach it with "Automatically Update Document Styles" checked then it should replace any identically named styles in the document.

    Can you use Shift F1 to reveal the formatting that is applied to the problem text before and after attaching the template (use the check box marked "Distinguish Style Source" so you can tell where the formatting comes from).

    StuartR

  5. #5
    New Lounger
    Join Date
    Jun 2005
    Posts
    7
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Heading numbering not applied from template (2000 sr1)

    OK, I've used Shift+F1 and the formatting is slightly different after attaching the template. I don't know where the 'Distinguish style source' check box is though, so I can't tell where the formatting comes from.

    Catherine

  6. #6
    Plutonium Lounger
    Join Date
    Nov 2001
    Posts
    10,550
    Thanks
    0
    Thanked 7 Times in 7 Posts

    Re: Heading numbering not applied from template (2000 sr1)

    > I don't know where the 'Distinguish style source' check box is

    Bother! It's in Word 2003

    Does the difference between the formatting give any clue?
    Have you looked at the style in each case, as well as the actual document?

    StuartR

  7. #7
    New Lounger
    Join Date
    Jun 2005
    Posts
    7
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Heading numbering not applied from template (2000 sr1)

    Well, the difference in formatting (keep with next setting is different) tells me that the styles are different, so I assume they have different sources! It's the numbering that I'm having trouble with, and that seems to be set up the same in the 'before attaching template' style and the 'after attaching template' style.

    Thanks.

    Catherine

  8. #8
    Plutonium Lounger
    Join Date
    Nov 2001
    Posts
    10,550
    Thanks
    0
    Thanked 7 Times in 7 Posts

    Re: Heading numbering not applied from template (2000 sr1)

    Numbering can be a bit of a nightmare. I suspect there may be a problem with the numbering in the template itself, how was this created?

    You may find this article helpful.

    StuartR

    Edited to add
    This article on the Word MVPS web site may be helpful too.

  9. #9
    New Lounger
    Join Date
    Jun 2005
    Posts
    7
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Heading numbering not applied from template (2000 sr1)

    Ooer. Looks difficult. I was hoping for a quick and easy solution.

    I created the template some time ago. Can't remember how. Probably by setting the styles as I wanted them in a particular document, then saving the document as a template. Surely this would give me a template for use with other documents. Wouldn't it?

    Catherine

  10. #10
    Plutonium Lounger
    Join Date
    Nov 2001
    Posts
    10,550
    Thanks
    0
    Thanked 7 Times in 7 Posts

    Re: Heading numbering not applied from template (2000 sr1)

    Your method will work for most aspects of styles. Numbering is tricky to get right.

    At a bare minimum you need to
    <UL><LI>Create all the styles that will be used (e.g. Heading 1, Heading 2 etc)
    <LI>Set all font and paragraph attributes for these styles, except for the numbering
    <LI>Put the cursor in a paragraph formatted as the top level of your numbering (e.g. Heading 1)
    <LI>Format Bullets and Numbering, complete all the next steps without exiting from this dialog box
    <UL><LI>Select the Outline Numbered tab
    <LI>Choose a list gallery entry that is roughly like the outline numbering you want
    <LI>Click Customize and DO NOT EXIT FROM THIS DIALOG BOX UNTIL YOU HAVE SET ALL LEVELS
    <UL><LI>Click the More button
    <LI>Select Level 1 and in the "Link level to style" box choose Heading 1 (or your top level heading)
    <LI>Set the number format, indents etc. for your first heading
    <LI>WITHOUT EXITING FROM THE DIALOG BOX - select Level 2
    <LI>Link level 2 in the list to your next level heading
    <LI>Set the numbering style and indent for Level 2
    <LI>Repeat the above steps for Levels 3 through 9
    <LI>Now return to Level 1 before clicking OK[/list]<LI>Click OK to exit from the bullets and numbering dialog box[/list]<LI>You now have a single list gallery that corresponds to all the heading levels
    <LI>Copy these styles to your template[/list]See if this helps

    StuartR

  11. #11
    New Lounger
    Join Date
    Jun 2005
    Posts
    7
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Heading numbering not applied from template (2000 sr1)

    Unfortunately this doesn't help. The Heading styles revert to being un-numbered when I close then re-open the document and attach the template. However, I can still copy the Heading styles manually from the template to the document, and then they are as I've defined, i.e. with numbers. It's not that the styles aren't saved to the template: they are. It's that they aren't automatically applied to the document when I attach the template.

    Catherine

  12. #12
    Plutonium Lounger
    Join Date
    Nov 2001
    Posts
    10,550
    Thanks
    0
    Thanked 7 Times in 7 Posts

    Re: Heading numbering not applied from template (2000 sr1)

    Did you actually try doing this. I am guessing that the styles in the template may be messed up and that resetting the numbering like this may help to fix it.

    It is definitely possible to create numbered styles in a template that work the way you want, I have one that does exactly that - but it is proprietary and I can't share it here.

    StuartR

  13. #13
    5 Star Lounger
    Join Date
    May 2001
    Location
    Stuttgart, Baden-W, Germany
    Posts
    931
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Heading numbering not applied from template (2000 sr1)

    Perhaps another article from word.mvps.org can help. The problem might be that the organizer only works properly for styles that are actually used (or at least regarded as "in use" by Word).
    Since the list template is stored apart from the (up to 9) numbered styles using it, you get a mess when only some of those styles are copied over. Also, I imagine you'd get a mess if one style restarts on some other style, but that style hadn't been copied yet.
    For those reasons, Charles Kenyon and others recommend to copy all styles belonging to some list template three times, if you do use the organizer.

    Since even selecting all the necessary styles and copying them by hand isn't safe, I probably wouldn't depend on "Automatically update document styles" for numbered styles (... but rarely use numbering at all anyway).

    <img src=/S/cheers.gif border=0 alt=cheers width=30 height=16> Klaus

  14. #14
    Star Lounger
    Join Date
    Jan 2005
    Location
    Linthicum, Maryland, USA
    Posts
    71
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Heading numbering not applied from template (2000 sr1)

    I had to chime in -- I've worked with Word for several years, and I'm always getting calls from others that have documents that the numbering has "gone bad" in. But the reason I'm getting into this discussion is the idea that checking off "Automatically update style" will update or change what you have in your document. Exactly the opposite happens! Microsoft should actually reword that statement, since it works backwards from what it sounds like.

    What happens is that ANY manual formatting you do in a paragraph changes the style you've applied to it. Suppose your heading 1 style in the template is automatically numbered 1.0 and the font is Arial 14 pt. You have "Automatically update style" selected for the style. If you manually change ANY heading 1 in your document -- for instance, make it Times Roman 16 pt Italic and change the numbering to A -- it will change the style in your template and also change ALL heading 1's in your document. If you have a backup copy of the template you started out with, you might want to use that one to straighten stuff out.

    If you copied text in from some other document, sometimes the styles in that source document will overwrite the styles in your document. All you have to do is go to the organizer and re-copy styles from your template over to your document. I usually do this as a last step before I publish, just to make sure all is consistent.

  15. #15
    Plutonium Lounger
    Join Date
    Mar 2002
    Posts
    84,353
    Thanks
    0
    Thanked 29 Times in 29 Posts

    Re: Heading numbering not applied from template (2000 sr1)

    There is some confusion here between two types of automatic updating. The one mentioned higher up in this thread is "Automatically update document styles" in the Tools | Templates and Add-Ins dialog. This will update the styles in the document to match those in the attached template when the document is opened. The one you mean is "Automatically update" in the Modify Style dialog.

Page 1 of 2 12 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •