Thursday, July 14, 2011

INCLUDETEXT in Word 2011 for Mac OS

*This is totally unrelated to anything school or engineering*
I just discovered something great for single-sourcing snippets that are repeated in a larger document. It uses Bookmarks and Fields.
To insert a document or part of a document (a.docx) into the main document (M.docx):
  1. In document (a), highlight the part of the text that you want to bookmark.
  2. Click Insert > Bookmark, give it a name (let's say "Zoo"), and click Add.
  3. In the main document (M), place the cursor where you want the bookmark text inserted.
  4. Click Insert > File, and browse to the file.
  5. Select the Link to File check box and type in the name of the bookmark in the Range/Bookmark field.
  6. Click Insert.
If you right click on the text and select "Toggle Field Codes", you'll see that the field looks something like this: { INCLUDETEXT "Macintosh HD:Users:myhome:Blah:a.docx." Zoo }
This looks quite different from the Windows version which includes double backslashes: 
{ INCLUDETEXT "C:\\My Documents\\a.doc" Zoo }.
There are probably other nifty optional tags in the field that I don't know about.
Yay.

No comments:

Post a Comment