Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Word / Long Documents / December 2003

Tip: Looking for answers? Try searching our database.

How to know whether a word is indexed without turning on hidden text in the whole doc

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Thomas Payne - 30 Nov 2003 00:58 GMT
I am using Word 2002, and XP Professional.

I have a document that is over 400 pages long, 9 subdocs in a master doc. It
is heavily indexed and has many reference fields and bookmarks. Problem --
how can I quickly tell whether a particular word has already been indexed? I
do not want to turn on "view hidden text" every time I see a word that may
need to be indexed, because the whole document repaginates every time I do
this, and then has to repaginate again when I turn it off. I also do not
want to do my main editing with "view hidden text" turned on. What I want,
ideally, is to be able to select a portion of text, and view the hidden text
in the selection only (without triggering repagination of the whole doc). Is
this possible? It seems to me that earlier versions of Word could do this.
Thanks for any help.

Tom Payne
Cindy M  -WordMVP- - 01 Dec 2003 22:15 GMT
Hi Thomas,

> I am using Word 2002, and XP Professional.
>  
[quoted text clipped - 8 lines]
> in the selection only (without triggering repagination of the whole doc). Is
> this possible? It seems to me that earlier versions of Word could do this.

I don't think any version of Word has been able to do this, although there may
have been addins (VBA macros) that could. The "simple" solution would be to
print out just the index pages, then compare the page number you're editing to
the list of entries for a word.

Here's some sample code for that macro I mentioned. It should display all the
XE fields in a selection when you run it.

Sub GetAllIndexEntriesInSelection()
   Dim rng As Word.Range, fld As Word.Field
   
   Set rng = Selection.Range
   rng.TextRetrievalMode.IncludeFieldCodes = True
   For Each fld In rng.Fields
       If fld.Type = wdFieldIndexEntry Then _
           szEntries = szEntries & Replace(fld.Code, " XE ", "") & vbCr
   Next fld
   MsgBox szEntries
End Sub

Cindy Meister
INTER-Solutions, Switzerland
http://homepage.swissonline.ch/cindymeister (last update Sep 30 2003)
http://www.mvps.org/word

This reply is posted in the Newsgroup; please post any follow question or
reply in the newsgroup and not by e-mail :-)
Thomas Payne - 03 Dec 2003 05:13 GMT
Thank you for this. I think what I used to do in earlier versions of Word
was just select a PP, then <ctrl+space> to turn all formatting, including
hidden text, in the PP to the default. Then I could just "edit>undo" to put
the original formatting back. But <ctrl+space> in Word 2002 doesn't seem to
affect hidden text. Thanks for the tips and the macro. This is very helpful.

Tom

> Hi Thomas,
>
[quoted text clipped - 38 lines]
> This reply is posted in the Newsgroup; please post any follow question or
> reply in the newsgroup and not by e-mail :-)
Cindy M  -WordMVP- - 03 Dec 2003 14:06 GMT
Hi Thomas,

> I think what I used to do in earlier versions of Word
> was just select a PP, then <ctrl+space> to turn all formatting, including
> hidden text, in the PP to the default. Then I could just "edit>undo" to put
> the original formatting back. But <ctrl+space> in Word 2002 doesn't seem to
> affect hidden text.

Mmmm. XE fields stay formatted as "hidden", no matter what you do. So while
that might have worked for plain ol' hidden text, it shouldn't have worked
for turning index entries on/off.

Might you have been toggling the display of non-printing characters? Such as
using the backwards "P" button on the standard toolbar? There's also a
keyboard shortcut for this, but I can't remember right off-hand what it is.

Cindy Meister
INTER-Solutions, Switzerland
http://homepage.swissonline.ch/cindymeister (last update Sep 30 2003)
http://www.mvps.org/word

This reply is posted in the Newsgroup; please post any follow question or
reply in the newsgroup and not by e-mail :-)
Robert M. Franz (RMF) - 02 Dec 2003 11:53 GMT
Hi Thomas,

[..]
> Problem -- how can I quickly tell whether a particular word has
> already been indexed? I do not want to turn on "view hidden text"
> every time I see a word that may need to be indexed, because the
> whole document repaginates every time I do this, and then has to
> repaginate again when I turn it off.

another "workaround" would be to work in Normal view for this kind of
task. Use Page Layout view for your last pagination checks only (this
will speed up things anyway).

Plus, especially in a larger document like this, I strongly advice to do
one run through your document for each task, and not try to go
page-by-page and do all sorts of different things.

Greetinx
.bob
..Word-MVP
...and of course you have read all nightmare stories in here about
master documents, haven't you :-)
Signature

/"\  ASCII Ribbon Campaign
\ /
 X        Against HTML
/ \     in e-mail & news

Thomas Payne - 03 Dec 2003 05:13 GMT
Thanks. It didn't occur to me that working in normal view would eliminate
the repagination. That helps.

I have not read nightmare stories about master documents. I have had my
share of nightmares, but lately the master doc system has worked very well
for me. Do you recommend not using a master doc for such a large project as
this? (400 pages and growing).

Tom

> Hi Thomas,
>
[quoted text clipped - 18 lines]
> ...and of course you have read all nightmare stories in here about
> master documents, haven't you :-)
Robert M. Franz (RMF) - 03 Dec 2003 09:54 GMT
Hi Thomas,

[..]
> I have not read nightmare stories about master documents. I have had
> my share of nightmares, but lately the master doc system has worked
> very well for me. Do you recommend not using a master doc for such a
> large project as this? (400 pages and growing).

well, the "MVP-Disclaimer" concerning master documents is found here:

Why Master Documents corrupt (by John McGhie)
http://www.mvps.org/word/FAQs/General/WhyMasterDocsCorrupt.htm

It seems that over the years (since Word 97), Word has become somewhat
stabler and the work with MD isn't outright dangerous anymore (though
I'd say it's not "best practice", too).

FWIW, we are producing a book in two language versions, each document
1000 pages in length, one new issue every other year or so. Working with
such a document isn't really NICE, but you can live with it (and I
wouldn't touch MD with a legacy-burdened beast like these, beleive me!).

Greetinx
.bob
..Word-MVP
Signature

/"\  ASCII Ribbon Campaign
\ /
 X        Against HTML
/ \     in e-mail & news

Thomas Payne - 03 Dec 2003 17:27 GMT
Thank you again, and sorry for inadvertently sending an earlier reply by
e-mail. I'm still getting used to using forums.

So what do you do with your 1000 page document? Is it one big file? Do you
normally edit in "normal" view?

One reason I use "print layout" view is that I have a  lot of images in my
text that don't show up in normal view. I want to know where those are, and
if I insert new ones, I need to know where they are going to show up.

Tom

> Hi Thomas,
>
[quoted text clipped - 21 lines]
> .bob
> ..Word-MVP
Robert M. Franz (RMF) - 05 Dec 2003 18:24 GMT
Hi Thomas,

> Thank you again, and sorry for inadvertently sending an earlier
> reply by e-mail. I'm still getting used to using forums.

you are excused. ;-)

> So what do you do with your 1000 page document? Is it one big file?

Yes!

> Do you normally edit in "normal" view?

Yes. We use print layout view only for pagination work. This should be
in the last possible stage only (you do a lot of work twice or multiple
times else ...).


> One reason I use "print layout" view is that I have a  lot of images
> in my text that don't show up in normal view. I want to know where
> those are, and if I insert new ones, I need to know where they are
> going to show up.

There are two possible ways to arrange images in Word: "inline" or
"floating".

Inline means the image is within the text layer, Word treats it like a
possibly very large character, with all implications. This also means it
is visible in normal view.

Floating means the image "floats" above (or below) the text area, and
you are presented with a bunch of flowing options. Not visible in
normal-view.

Whenever you can, you really do want to use the former. It's rock solid
in terms of stable layout. You'll never get bugged with jumping anchors
of floating images. You cannot let the text flow around the image unless
you use invisible tables à la HTML (but if you do, you lose most
advantages of reflowing text anyway ). But it's worth the benefits IMHO
by far; of course, this makes perfectly sense for our work here as we
are dealing with images usually as large as the text area gets. Your
(and others') milage may and possibly will vary.

Greetinx
.bob
..Word-MVP
Signature

/"\  ASCII Ribbon Campaign
\ /
 X        Against HTML
/ \     in e-mail & news

Suzanne S. Barnhill - 06 Dec 2003 15:59 GMT
And if you must use floating images, you can still see them in Normal view
(though not the actual text wrapping) if you put them in frames. As Bob
says, though, inline graphics are *much* easier to deal with all 'round.

--
Suzanne S. Barnhill
Microsoft MVP (Word)
Signature

Words into Type
Fairhope, Alabama USA
Word MVP FAQ site: http://www.mvps.org/word
Email cannot be acknowledged; please post all follow-ups to the newsgroup so
all may benefit.


> Hi Thomas,
>
[quoted text clipped - 46 lines]
>   X        Against HTML
>  / \     in e-mail & news
Thomas Payne - 08 Dec 2003 01:09 GMT
Thanks to all of you for your replies. They are very helpful.

Tom

> And if you must use floating images, you can still see them in Normal view
> (though not the actual text wrapping) if you put them in frames. As Bob
[quoted text clipped - 59 lines]
> >   X        Against HTML
> >  / \     in e-mail & news
Cindy M  -WordMVP- - 03 Dec 2003 14:06 GMT
Hi Thomas,

> I have not read nightmare stories about master documents. I have had my
> share of nightmares, but lately the master doc system has worked very well
> for me. Do you recommend not using a master doc for such a large project as
> this? (400 pages and growing).

I think the general view is, use it at your own risk :-), and be sure to make
regular backups, especially of the sub-docs. NEVER edit the sub-docs while
they're open in the master (except necessary things like headers/footers,
X-refs) and NEVER try to change the order of the sub-docs by dragging them.

Consider the Master doc, itself, as a "throw away" file that's really only
used to pull the sub-docs together for TOCs, indexes, X-refs, page numbering
for PRINTING. (That's what is was designed for, originally, and does quite
well)

Cindy Meister
INTER-Solutions, Switzerland
http://homepage.swissonline.ch/cindymeister (last update Sep 30 2003)
http://www.mvps.org/word

This reply is posted in the Newsgroup; please post any follow question or
reply in the newsgroup and not by e-mail :-)
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.