Results 1 to 11 of 11
  1. #1
    Star Lounger
    Join Date
    Jun 2005
    Posts
    87
    Thanks
    0
    Thanked 0 Times in 0 Posts

    StyleRef fields (WordXP)

    I have a Style Ref field which references the Title of the Document. The last character in the title is a footnote (superscript). I don't want this to appear in the Style Ref field. Is there a way to exclude footnotes?

  2. #2
    Super Moderator
    Join Date
    Jan 2001
    Location
    Melbourne, Victoria, Australia
    Posts
    3,852
    Thanks
    4
    Thanked 259 Times in 239 Posts

    Re: StyleRef fields (WordXP)

    Is the style used more than once in the document? If not, try using a bookmark of the title and then change the styleref field to a Ref field. Alternatively you could use the document properties for the Title of the document and then reference that for both the Title and the field.

    If you DO use the style more than once then I would apply a Character style for the heading text (excluding the superscript text) and then styleref to the character style.
    Andrew Lockton, Chrysalis Design, Melbourne Australia

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

    Re: StyleRef fields (WordXP)

    I just tried this (Word 2003 SR2) and the footnote did not appear in the Styleref. Can you have a look at this document and see if it is different to yours.

    StuartR
    Attached Files Attached Files

  4. #4
    Star Lounger
    Join Date
    Jun 2005
    Posts
    87
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: StyleRef fields (WordXP)

    Unfortunately, my footnote reference in the Title is just a superscript letter (not a true footnote) (see attached).

    The title only ever appears once in the document (at the top).

    Currently, we use a REF field and the title is bookmarked. However, we sometimes find that the bookmarks disappear and we lose the reference. This can be very embarassing. Is there a way to prevent this from happening? If not, it would be good if we can somehow use the STYLEREF field instead.

    I don't think that using the Document properties will work either, because the Title is sometimes changed in the document.

    As for using Character styles, can these disappear as easily as bookmarks?

    Thanks.
    Attached Files Attached Files

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

    Re: StyleRef fields (WordXP)

    Does this do what you want?

    I have inserted a hidden paragraph mark between the title and the superscript 1

    StuartR
    Attached Files Attached Files

  6. #6
    Star Lounger
    Join Date
    Jun 2005
    Posts
    87
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: StyleRef fields (WordXP)

    Not really, the superscript needs to be in the same line as the Title. Perhaps your version of Word is showing them on the same line, but my version (XP) is showing them on 2 separate lines.

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

    Re: StyleRef fields (WordXP)

    They will only show on 2 lines if you have Hidden text displayed. Have a look at Tools > Options > View and make sure that you don't have All or Hidden checked.

    I have added a reminder to the document to turn off hidden text.

    StuartR
    Attached Files Attached Files

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

    Re: StyleRef fields (WordXP)

    Is this better? It uses the Style Separator introduced in Word 2002.
    Attached Files Attached Files

  9. #9
    Star Lounger
    Join Date
    Jun 2005
    Posts
    87
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: StyleRef fields (WordXP)

    It is better because we need to work with the hidden text displayed. However the footer doesn't show the StyleRef field any more!!

    How do you insert the Style Separator, and what is it?

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

    Re: StyleRef fields (WordXP)

    To make the Style Separator available:
    - Select Tools | Customize...
    - Activate the Commands tab.
    - Select All Commands in the list of Categories.
    - Select InsertStyleSeparator in the list of Commands list.
    - Drag InsertStyleSeparator to a convenient location on the Formatting toolbar.
    - Click Close.
    The Style Separator allows you to have two different paragraph styles on the same line.

    Try previewing the document, or activate the Footer, select the StyleRef field and press F9 to update it. If that doesn't work, delete the StyleRef field and create it anew. (The problem is probably caused by my non-English version of Word - the Title style has a different name in Dutch)

  11. #11
    Star Lounger
    Join Date
    Jun 2005
    Posts
    87
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: StyleRef fields (WordXP)

    Brilliant!!! Thank you to everyone. <img src=/S/bananas.gif border=0 alt=bananas width=33 height=35>

Posting Permissions

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