Group:  Microsoft Word ยป microsoft.public.word.spelling.grammar
Thread: ignoring fields?

DotNetBag
.NET Development Newsgroups

HTVi
TV Discussion Newsgroups

Our Hot Pick: Rising Antivirus 2006 - Certified by TUV & Checkmark! Get 10% discount by entering this coupon code: ONDISCOUNT10
Rising Antivirus 2006

ignoring fields?
flex99[ at ]gmail.com 06.09.2006 03:14:55
Hello,

I would like spell checker to ignore End Note-generated citations, as
these contains proper names.

Is there an easy way to do this?

I gather that if I could set all citations to a particular style, and
set that style to be ignored that would work. However, how would I go
about changing the style of all EndNote citations?

Thanks for your help

Alex

Re: ignoring fields?
"Herb Tyson [MVP]" <herb[ at ]1x2y3z.xnw> 06.09.2006 04:13:35
I'm not an EndNote user, so my advice will be general. But, do EndNote
citations have something in common? If so, you can possibly use Find/Replace
to do the job. Or, if this is prospective (i.e., a solution for EndNote
citations you insert in the future as well), depending on how EndNote
citations are inserted, you might be able to intervene in the process using
a macro to format the citation using a particular style.

--
Herb Tyson MS MVP
http://www.herbtyson.com
Please respond in the newsgroups so everyone can follow along.
<flex99[ at ]gmail.com> wrote in message
news:1157512495.894700.119660[ at ]d34g2000cwd.googlegroups.com...
[Quoted Text]
> Hello,
>
> I would like spell checker to ignore End Note-generated citations, as
> these contains proper names.
>
> Is there an easy way to do this?
>
> I gather that if I could set all citations to a particular style, and
> set that style to be ignored that would work. However, how would I go
> about changing the style of all EndNote citations?
>
> Thanks for your help
>
> Alex
>


Re: ignoring fields?
flex99[ at ]gmail.com 07.09.2006 07:56:48
Hello,
Thanks for your reply.

Herb Tyson [MVP] wrote:
[Quoted Text]
> do EndNote
> citations have something in common?

yes, they are all fields starting with the code "ADDIN EN.CITE"

> If so, you can possibly use Find/Replace

Can I use Find / Replace to set a style?
I have citations in several places, like the main text, but also figure
legends. Does that mean I would have to set the style of the citation
as a function of the style of the paragraph within which it is found?
Is this possible with find/replace?

> Or, if this is prospective (i.e., a solution for EndNote
> citations you insert in the future as well), depending on how EndNote
> citations are inserted, you might be able to intervene in the process using
> a macro to format the citation using a particular style.

I guess I should look into the macros used by Endnote to insert/format
the citations. Perhaps I could add a line or two to set the style...
But, I'm not familiar with VBA at all... Oh the fun :)


Thanks for your help & any further advice!

Re: ignoring fields?
"Herb Tyson [MVP]" <herb[ at ]1x2y3z.xnw> 08.09.2006 04:23:28
Word actually has several different kinds of styles: paragraph, character,
list, and table. In this case, I suspect you'd want to use a character
style.

So, first create a character style, perhaps calling it EndNote (note that
Word has a style called Endnote Reference... don't confuse it with the one
you create). Format - Styles and Formatting - New Style. Set Style type to
Character. At the bottom of the dialog, choose Format - Language, and enable
Do not check spelling or grammar. Click OK - OK.

Back in the document, press Ctrl+H (Find/Replace). Set:

Find what:^dADDIN EN.CITE (note: not sure if you need a space after ^d; ^d
is the secret code for "Find a field")

Click More at the bottom of the dialog, click in the Replace with: field,
then choose Format - Style, select your EndNote style, and click OK.

Replace with: should now be empty, but should have EndNote just below the
text box.

Click Find Next to see if if selects an EndNote field. If so, then try
Replace, and verify that it works correctly. If not, then try inserting a
space after ^d, and try again.

It might take some futzing to get it to work, but I'm convinced that it will
work.

--
Herb Tyson MS MVP
http://www.herbtyson.com
Please respond in the newsgroups so everyone can follow along.
<flex99[ at ]gmail.com> wrote in message
news:1157615808.917104.320770[ at ]i3g2000cwc.googlegroups.com...
[Quoted Text]
> Hello,
> Thanks for your reply.
>
> Herb Tyson [MVP] wrote:
>> do EndNote
>> citations have something in common?
>
> yes, they are all fields starting with the code "ADDIN EN.CITE"
>
>> If so, you can possibly use Find/Replace
>
> Can I use Find / Replace to set a style?
> I have citations in several places, like the main text, but also figure
> legends. Does that mean I would have to set the style of the citation
> as a function of the style of the paragraph within which it is found?
> Is this possible with find/replace?
>
>> Or, if this is prospective (i.e., a solution for EndNote
>> citations you insert in the future as well), depending on how EndNote
>> citations are inserted, you might be able to intervene in the process
>> using
>> a macro to format the citation using a particular style.
>
> I guess I should look into the macros used by Endnote to insert/format
> the citations. Perhaps I could add a line or two to set the style...
> But, I'm not familiar with VBA at all... Oh the fun :)
>
>
> Thanks for your help & any further advice!
>


Re: ignoring fields?
flex99[ at ]gmail.com 08.09.2006 11:05:10
Hi,
Thanks for your reply. Getting there... But still a question or two.

Herb Tyson [MVP] wrote:

[Quoted Text]
> Click Find Next to see if if selects an EndNote field. If so, then try
> Replace, and verify that it works correctly. If not, then try inserting a
> space after ^d, and try again.
>
> It might take some futzing to get it to work, but I'm convinced that it will
> work.

This only works with a space between the ^d and the ADDIN EN.CITE, but
also, it only works if the field codes are toggled so that they are
shown.
I couldn't possibly toggle all field codes, because I have hundreds of
them spread over 200+ pages... Is there an automatic way to toggle all
these field codes?
Better still, is there a way to get FIND/REPLACE to look at the field
codes rather than the output from them?

EndNote fields are huge, so toggling all of them in my document may
take a long time (especially if in print preview) with all the
repagination... So ideally, I'd like find/replace to look in the field
codes by itself!

Thanks for your help

Re: ignoring fields?
flex99[ at ]gmail.com 08.09.2006 14:07:22
i mean "Print Layout", not preview.
[Quoted Text]
> take a long time (especially if in print preview) with all the

Re: ignoring fields?
"Herb Tyson [MVP]" <herb[ at ]1x2y3z.xnw> 08.09.2006 21:33:54
Alt+F9 toggles all field codes on/off. With field codes displayed, you
should find the document a bit more responsive. And, if you use Replace All,
then go out for a cup of tea, it should be done by the time you get back.

I don't know of a way to get Word to look inside fields without toggling
them on. But, toggling them all on should help.

If the method works, for future EndNote citations, you might devise a macro
that automatically formats the inserted citation with the appropriate style
as you insert a citation... to save having to do this again in one fell
swoop. Maybe submit a suggestion to the EndNote folks.

When/if you ever take a look at Word 2007, it will be interesting to hear
your thoughts on its new citatation/bibliography feature, and whether or not
it can replace EndNote.

--
Herb Tyson MS MVP
http://www.herbtyson.com
Please respond in the newsgroups so everyone can follow along.
<flex99[ at ]gmail.com> wrote in message
news:1157713510.137717.203350[ at ]i42g2000cwa.googlegroups.com...
[Quoted Text]
> Hi,
> Thanks for your reply. Getting there... But still a question or two.
>

> Is there an automatic way to toggle all these field codes?



> Better still, is there a way to get FIND/REPLACE to look at the field
> codes rather than the output from them?

Nope.

>
> EndNote fields are huge, so toggling all of them in my document may
> take a long time (especially if in print preview) with all the
> repagination... So ideally, I'd like find/replace to look in the field
> codes by itself!
>
> Thanks for your help
>

Home | Search | Terms | Imprint | Contact
Newsgroups Reader - provided by WiredBox.Net