Combining Cross-References and Removing Trailing Spaces

D

dterzis

Hi folks...

I want to automatically combine cross-references in Microsoft Word
2003, so that they appear in a list when I refer to them. For example,
in a list of references like

[1] First Reference
[2] Second Reference
[3] Third Reference
[4] Fourth Reference
[5] Fifth Reference
[6] Sixth Reference

I would like to be able to refer to, say, the second, the fifth and the
sixth, not as

[2], [5], [6]

but rather as

[2, 5, 6].

Can this be done automatically by Word and, if yes, how?

On another question, every time I insert a cross-reference (e.g., [3]),
there is an annoying trailing space (say _) included (i.e., I get
[3]_). The only way I have found for removing it is by right-clicking
on the reference, selecting "Edit Field", and then "Suppress all
non-delimiter chars". This works, but is obviously time-consuming. Is
there any way of getting rid of the trailing space by default? How
could I remove it from all references in a document?

Thanks!

Dimitris
 
C

Cindy M -WordMVP-

I want to automatically combine cross-references in Microsoft Word
2003, so that they appear in a list when I refer to them. For example,
in a list of references like

[1] First Reference
[2] Second Reference
[3] Third Reference
[4] Fourth Reference
[5] Fifth Reference
[6] Sixth Reference

I would like to be able to refer to, say, the second, the fifth and the
sixth, not as

[2], [5], [6]

but rather as

[2, 5, 6].

Can this be done automatically by Word and, if yes, how?
No, Word doesn't support anything of this nature, at least not directly.
If you're not adverse to a bit of manual labor, getting it set up, you
could insert the [ ] yourself, then each individual reference (just the
numbers).
On another question, every time I insert a cross-reference (e.g., [3]),
there is an annoying trailing space (say _) included (i.e., I get
[3]_). The only way I have found for removing it is by right-clicking
on the reference, selecting "Edit Field", and then "Suppress all
non-delimiter chars". This works, but is obviously time-consuming. Is
there any way of getting rid of the trailing space by default? How
could I remove it from all references in a document?
I'm not sure exactly what the result of "Edit Field" is, here. If you
display the field code (button in the dialog box) before, then after
making the change, how do they differ?

I know of no way you can change the default; perhaps something can be
done with Find/Replace. If not, you'd need a macro to either insert the
cross-reference or make the editing change to the field after the fact.

Cindy Meister
INTER-Solutions, Switzerland
http://homepage.swissonline.ch/cindymeister (last update Jun 8 2004)
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 :)
 

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

Top