Creation of bookmarks
The use of links is very convenient for the author, but to make sure that links remain valid even with changes in documents that they refer to, some rules need to be followed:
- Only links within the same Word document can be guaranteed to exist! And even then, it is possible that the author deletes a part of the document that is referred to by another part, so let’s be extra cautious when using links !
- To be able to point to a link, the linking place must be given a name. Of course, this name must be unique within the document, and, if possible, unique for a series of documents, such as those contained in a lesson theme. Also, to facilitate their use, these names must be as descriptive as possible. For instance, use “polygon_of_forces” instead of “link-1” (especially because nobody really knows how many links there will be in a given document.
- Unused links do not cost anything. This means that the creation of links for sections (Title 1, Title 2) and important places of the document should become automatic, easing future references.
- Links can be created in two ways. The simplest consists in the creation of a Microsoft Word Bookmark :
1) select the area to be linked
2) use the [Insert] [Bookmark] menu option
3) give the bookmark a descriptive name
ATTENTION ! in order to work with the macro, bookmarks may not extend over several paragraphs or even include a paragraph mark! Be careful when creating links!
Also, bookmarks should not overlap.
|
|
- Bookmarks thus created can be referred to both from within the Word document and from without.
- Bookmarks can also be created to extend over a series of pages. Instead of using the standard Word bookmarks, the area in question is delimited using the specially defined Style “Renvoi” with the following syntax :
1) the start of a new extended bookmark is indicated by a “Renvoi”-formatted paragraph containing in brackets the name of the bookmark : [Explanation_of_in-plane_equilibrium]
2) the end of that bookmark is signaled with a similarly formatted paragraph containing [Explanation_of_in-plane_equilibrium End].
Bookmarks thus created can extend over several pages and can also overlap.