View Single Post
  #2   Report Post  
Posted to microsoft.public.word.docmanagement
Jay Freedman Jay Freedman is offline
external usenet poster
 
Posts: 9,854
Default Wikipedia-like text

On Sun, 16 May 2010 03:51:00 -0700, Beatrix
wrote:

Hi,
I am creating a school-knowledge document, and I would prefer a document
which contains all similar words linked.

To be more precised, I have the Word: Identity. I have a definition at the
beginning of the document for Identity, and I want all text I type in the
document to find and create reference for this "vocabulary" as wikipedia
does.
Can it be done automatically, or has this to be done by creating a bookmark,
and creating links to that bookmark each time?

Thanks,


Word doesn't have that capability built in -- it was never intended to
be like Wikipedia -- but there are a couple of ways that you might
"roll your own".

The least automatic way is the one you suggested, creating each
hyperlink to the bookmarked definition as you type the word.

As an improvement on that, create the hyperlink to the bookmark the
first time; then select that hyperlink and create an AutoCorrect entry
whose name is the word being defined. Each time you type that word
again, the AutoCorrect entry will replace the word with the hyperlink.
Of course, you'll need a separate AutoCorrect entry for each word
you're defining. A drawback is that as long as the entries exist,
those words will be replaced by useless hyperlinks in *every* document
you type -- there is no way to restrict AutoCorrect entries to a
specific document.

Another scheme involves writing a macro that makes a list of all the
bookmarks in the definitions section (you would need a section break
at the end of the definitions to make this work), and then runs a
Find/Replace on the rest of the document to replace the defined words
with hyperlinks. This would probably be a fairly complex macro, not
something you could record or write with little to no experience,
because it needs to be aware of a number of possible errors.

--
Regards,
Jay Freedman
Microsoft Word MVP FAQ: http://word.mvps.org
Email cannot be acknowledged; please post all follow-ups to the newsgroup so all may benefit.