MS Office Forum / Word / Numbering / November 2004
referencing the style number
|
|
Thread rating:  |
Vijay J. - 19 Nov 2004 18:12 GMT I am working in Word 2000. I wish to insert the Number of Heading Style 1 in my text. (only the Number, not the text). I can do this by Insert>CrossRef and then by choosing Heading, and then Number. This inserts the number of Heading 1. When I toggle the code, I can see something like this:
{REF _Ref88649742 \r \h }
Now, this is particular to the heading bookmark which I inserted. Is there a general way, which is not specific to the particular bookmark of the Heading number, so that if I use that field code in any document, it inserts the Heading number of previous Heading 1?
Suzanne S. Barnhill - 19 Nov 2004 23:32 GMT No. When you create the cross-reference, Word creates the bookmark. It will almost certainly be different every time.
 Signature Suzanne S. Barnhill Microsoft MVP (Word) Words into Type Fairhope, Alabama USA Word MVP FAQ site: http://word.mvps.org Email cannot be acknowledged; please post all follow-ups to the newsgroup so all may benefit.
> I am working in Word 2000. I wish to insert the Number of > Heading Style 1 in my text. (only the Number, not the [quoted text clipped - 10 lines] > if I use that field code in any document, it inserts the > Heading number of previous Heading 1? Vijay J. - 22 Nov 2004 10:33 GMT Suzanne, thankyou for the reply.
I am a bit nervous to hear this. I would like to detail my particular problem (i.e. why I need to cross reference style number), in a hope that there may be some solution to it, though it may not be in a way as I had thought while posting my initial query. My problem is this:
I have separate chapters of thesis in separate documents (WORD 2000). I have bibliographies at the end of each chapter, rather than a combined bibliography at the end. (I agree this is a bit strange, but I may have to carry on with this !). I use the bibliography management software ENDNOTE 5.0 to manage the bibliography. The bibliography I am getting at the end of each chapter is
[1]....... [2]....... [3]......etc.
However, I would like to include the chapter number also, i.e., for example, in my fifth chapter, I want the bibliography as:
[5.1]..... [5.2]...... [5.3]......etc,
where the chapter number 5 is Heading 1 (in each chapter).
Now, I have been successful in putting the field code of bookmark of Heading 1 of a particular chapter into the ENDNOTE style which I am using, and it generates a bibliography as desired. But the problem is that since the bookmark is particular to that heading (i.e. say Chapter 5), I get the same prefix [5.] in every chapter, whether it is chapter 2,3,4 or 5.
Is there a way out? (One way I can think is to define different ENDNOTE style for each chapter, which is similar in every respect other than the heading 1 bookmark).
Thanks in advance.
>-----Original Message----- >No. When you create the cross-reference, Word creates the bookmark. It will [quoted text clipped - 16 lines] > >. Suzanne S. Barnhill - 22 Nov 2004 14:29 GMT I'm not familiar with EndNote, but I feel sure there must be a better way to do what you're trying to do.
 Signature Suzanne S. Barnhill Microsoft MVP (Word) Words into Type Fairhope, Alabama USA Word MVP FAQ site: http://word.mvps.org Email cannot be acknowledged; please post all follow-ups to the newsgroup so all may benefit.
> Suzanne, thankyou for the reply. > [quoted text clipped - 71 lines] > > > >. Peter Gallmann - 24 Nov 2004 00:05 GMT If I understand you correctly, you use numbered headings and you want refer to the number of the preceding heading 1. You can do this. Insert the following field:
{ styleref 1 \s }
This field should work in every document.
Peter Gallmann
++++++++
> I am working in Word 2000. I wish to insert the Number of > Heading Style 1 in my text. (only the Number, not the [quoted text clipped - 10 lines] > if I use that field code in any document, it inserts the > Heading number of previous Heading 1? Vijay J. - 24 Nov 2004 17:50 GMT Peter,
Thanks a lot !
This is exactly what I needed in the first place. As my next assignment, I will now try to combine this feature of MSWord with the Bibliography Management Software (ENDNOTE 5.0), so that I can have a bibliography list, in which each list number is preceded by the number of Heading 1, though I have no idea how to do this.
Any ideas are most welcome and appreciated.
Thanks
Vijay
>-----Original Message----- >If I understand you correctly, you use numbered headings and you want [quoted text clipped - 24 lines] >> Heading number of previous Heading 1? >. Daiya Mitchell - 24 Nov 2004 18:05 GMT Hi Vijay,
The EndNote references are themselves fields....let us know what happens if you try to put the field code into the EndNote bib style definition. (barely conceivable that Word will remember it's a field code and not just {} if you copy and paste it? Try both ways, I guess)
Alternatively, a Find and Replace after EndNote has spit out the reference list might work. (probably require wildcards to search for [ followed by any number).
Though to be honest, though nesting fields is usually fine, I don't know about nesting fields within fields generated by a different application, and I'm not sure I would trust EndNote to be able to handle this. Practice on a copy. Also note that if you update your reference list, it will wipe out the numbers.
Is this a one-time end solution or something you want to keep going as you edit and work on the thesis?
DM
> Peter, > [quoted text clipped - 48 lines] >>> Heading number of previous Heading 1? >> .
 Signature Daiya Mitchell, MVP Mac/Word Word FAQ: http://www.word.mvps.org/ MacWord Tips: <http://www.word.mvps.org/MacWordNew/> What's an MVP? A volunteer! Read the FAQ: http://mvp.support.microsoft.com/
Klaus Linke - 30 Nov 2004 15:00 GMT BTW, the built-in bookmark \HeadingLevel can sometimes be used for stuff like this. { REF \\HeadingLevel \n } or { REF \\HeadingLevel \w } insert the number of the previous heading (no matter whether that's a "Heading 1", "Heading 2", ...).
\HeadingLevel refers to the heading preceeding the selection, so you can't select all and update fields (Ctrl+A, F9). But if you plan to unlink the fields after inserting them (Ctrl+Shift+F9) or lock them (Ctrl+F11), you can make use of \HeadingLevel.
Regards, Klaus
> I am working in Word 2000. I wish to insert the Number of > Heading Style 1 in my text. (only the Number, not the [quoted text clipped - 10 lines] > if I use that field code in any document, it inserts the > Heading number of previous Heading 1?
|
|
|