|
The 'Technical Side' to Glossaries |
|
|
While it is not necessary to understand the 'technical' side to glossary documents in order to use them, a bit of a discussion on the care and feeding of glossaries may nevertheless be in order. This section is intended for those who regularly use glossaries, or who are just curious as to how we got all of this stuff to work. Glossaries are standard Word documents. That is an important concept to remember. Treat them as such (which means that they really are not something special, just a little different.) Because glossaries are intended to mimic the 'other' book (a folder of clauses) by housing multiple document assembly terms, there needs to be a way to separate one term from the other, and to define the scope of each term. This is done using a standard Word 'bookmark.' A bookmark is simply a named reference to a specific location or to a selection of text within a document. A bookmark can be a single 'spot' in the document or a sizeable block of text ( a word, a paragraph or many pages -- size doesn't matter). Instead of scrolling through the document to locate the text, the text can be quickly accessed by reference to the bookmark. It is easy to add bookmarks to any Word document manually. You do not need Pathagoras to do it. Here are the steps:
When Pathagoras adds a new bookmark to a glossary, it performs the same steps that are listed above. To enhance the document assembly aspects of the system, however, Pathagoras pre-pends two 'identifiers' above each bookmarked term. This is so you can readily discern the name and subject of the term.
Bookmark Naming Rules: If you directly add terms to a glossary, or change the name of any existing glossary term, there are two bookmark naming rules that must be observed:
Changing a glossary term name: As noted above, you cannot change the name of a glossary term simply by changing the red line. But you can successfully change the glossary name by following these steps:
Changing the scope of a glossary term: If you found a bit of text 'outside' the closing bookmark, don't worry. It is easy to get it inside the closing bookmark. Here are two ways. (1) Cut/copy the 'outside text' (to put it into the clipboard), move the cursor to inside the closing bookmark and paste it in. (2) The second method is to highlight the entire block of text that you want the bookmark to encompass, and click Insert|Bookmark. The name of the first bookmark that the block you highlighted surrounds will appear at the top of the screen. Most likely this is the name you want. Click <Add> and the bookmark will be expanded to include the entire block of text Adding or deleting new text in a glossary term: Editing text within a bookmark should not worry you at all. A bookmarked section of a document is still just standard text within a standard Word document. Delete, add, copy, cut, paste, text, pictures, tables, number fields. Whatever you want is fully possible. The bookmark ends adjust to your new text without you having to do anything. Just make sure, if you are adding text to the beginning or the end of the term that you are actually within the opening and closing bookends. See section below on "Showing the 'bookends' of a bookmarked term.: Showing the 'book-ends' of a bookmarked term: The range of a particular bookmarked term is noted by two light-grey-in-color brackets at the beginning and end of the term. More often than not, they will not be visible without take a few more steps because Word does not display bookmarks by default. Even when 'exposed' the light grey color can be hard to see, so look carefully. Word provides you one method, and Pathagoras has 2, for you to 'show' the bookends:
How glossaries work: Even with all of the above in mind, it is not necessarily clear how text gets moved from a glossary to a new document. Nor is it obvious as to how the names of the glossary terms get displayed into the Clause Selection Screen or DropDown Lists. This section discusses what is happening behind the scenes: Each time you call on a glossary, Pathagoras opens that glossary to gather information from it. Taking advantage of the "bookmarks" table that Word automatically creates when a document is saved with bookmarks inside, Pathagoras jumps in a very rapid fashion to each bookmark in the glossary. It captures the name (but not content) of the bookmark and then, for each, jumps back one line to capture the subject line (the blue line). Pathagoras then closes the glossary and, with the information in memory, creates the Clause Selection Screen or DropDown List. When you call for a term in the glossary, Pathagoras quickly opens the document, goes to and copies the text of the specific bookmark, pastes it into the document under assembly. That search, copy, paste process is repeated until all requested terms are inserted. That is all there is to it! |