Batch formatting endnote references

J

jg70124

After I resetPara, resetChar on my long documents, all the endnote
references (100's) have inherited the style of the paragraph in which they
appear. (That is, they are no longer assigned to the Endnote Reference
style.)

I tried to do a search/replace, but it seems that because the reference
numbers are in fields, the search command ignores them.

Is there anyway to batch assign them to Endnote Reference again?

Word 2002.

Thanks.
 
R

Robert M. Franz (RMF)

Hi jg
After I resetPara, resetChar on my long documents, all the endnote
references (100's) have inherited the style of the paragraph in which they
appear. (That is, they are no longer assigned to the Endnote Reference
style.)

A bug IMHO. Can you still undo the ResetChar? That would be best (if
not, the following will help you NEXT time only); MVP Klaus Linke has
written some code to do a "proper" ResetChar that retains character
style, see

http://groups.google.com/groups?hl=en&lr=&ie=UTF-8&oe=UTF-8&[email protected]

I tried to do a search/replace, but it seems that because the reference
numbers are in fields, the search command ignores them.

Is there anyway to batch assign them to Endnote Reference again?

I'm not sure, and there are folks in here much more versatile with
Word's RegEx when it comes to search/replace (look for Klaus again!
:)), I'm not goin into that one. If you have to reapply the styles
manually, the quickest way would most probably be to use normal view,
view | endnotes, then doubleclick on the first end not (brings you to
the reference in the text), apply the style, doubleclick on the
reference (brings you back to the endnote list, advance one number, and
so on.

There are nice things to do for 20', I know :-/

2cents
..bob
...Word-MVP
 
K

Klaus Linke

Hi jg,

You can search for endnote references with ^e.

So if you search for ^e and replace with the endnote reference style,
that will fix the references.

I agree with Bob that it's a nasty bug that Ctrl+Spacebar removes
character styles... especially in this case.

Might be worth writing to (e-mail address removed) about. The more people
complain, the more likely something is done about it (... though most
nuisances like this aren't ever fixed).

Regards,
Klaus
 
J

jg70124

Klaus,

That's the ticket, thanks.

And I'll send a little note along to the black hole.

jg
 
D

Dayo Mitchell

Thanks also for the link to the macro and the tip from Klaus, I've saved
both as well.

FYI along these lines, for the archives and future reference:
I tend to do Reset Char instead of cntl-spacebar (set to Normal), and while
a few times I have gotten freaked out to see hundreds of note marks lose
their superscription, after a Reset Char one can still replace the style
Endnote Reference with itself to reapply the formatting.

In general, b/c of this problem, I tend to avoid the select/keyboard way to
applying styles, and to work with Find and Replacing styles and reapplying
them via the Format | Style menu first. The Style Width pane really helps
here.

DM
 
M

Margaret Aldis

Hi Dayo

My experience doesn't quite tally with what I think I'm reading here - can
you clarify.

At least up to 2002 my findings were that Ctrl-Spacebar, Reset Char and
applying Default Paragraph Font all do exactly the same thing - that is,
they remove both direct font formatting (fine) and character styles (not
what you might expect from Reset Char).

Ctrl-Q resets paragraph formatting and doesn't change the font at all.

Reapplying the paragraph style leaves character styles unchanged - will
remove direct font formatting if it has been applied to the paragraph end
marker or more than half the paragraph. This is the method I use (macro to
pick up current para style and reapply it, because there doesn't seem to be
a command for this).

But have you found some version of Reset Char that keeps the character style
tagging intact, even if it changes the font formatting? That would be so
useful :)
 
D

Dayo Mitchell

Hi Margaret,
I did write that from memory, and then noticed that my program (MacWord
2001‰PCWord 2000) also claims those commands are all the same things. I
thought I had a previous experience where cntl-spacebar produced a different
result than Reset Char, but I just now tested that, and apparently not. So
I think I must have misremembered what I did that wiped out my formatting,
but still allowed me to use the Replace style method to recover my notes. My
next guess would have been manually applying a point size, but that isn't
changing my notes now. I remember the situation, and what I was undoing, but
now I can't duplicate it.

So my mistake, no other version of Reset Char, very sorry.

Thanks for catching that.

Is Control-Q the same as Reset Para? The main mac/pc difference is in
keyboard shortcuts, and I get thrown off every so often.

Dayo
 
M

Margaret Aldis

Dayo Mitchell said:
Is Control-Q the same as Reset Para? The main mac/pc difference is in
keyboard shortcuts, and I get thrown off every so often.

As far as I can see, yes. Putting the commands on a toolbar and recording a
macro for shortcut and button press shows:

Selection.ParagraphFormat.Reset for Reset Para and Ctrl Q
and Selection.Font.Reset for Reset Char and Ctrl Space

Applying Default paragraph font gets you

Selection.Style = ActiveDocument.Styles("Default Paragraph Font").

Shame that Font.Reset doesn't reset to *style* (para or char) rather than to
default paragraph font too.
 
D

Dayo Mitchell

Thanks much, Margaret.

Dayo

Margaret Aldis said:
As far as I can see, yes. Putting the commands on a toolbar and recording a
macro for shortcut and button press shows:

Selection.ParagraphFormat.Reset for Reset Para and Ctrl Q
and Selection.Font.Reset for Reset Char and Ctrl Space

Applying Default paragraph font gets you

Selection.Style = ActiveDocument.Styles("Default Paragraph Font").

Shame that Font.Reset doesn't reset to *style* (para or char) rather than to
default paragraph font too.
 

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