Hyperlink hints and tips
Double-click or single-click to follow an underlined hyperlink?
Double-clicking can be tiring so you should try out the single-click option (see Activating hyperlinks) even though it may feel a bit strange at first. If you choose single-click, you have to be a little more careful when editing around the link as you may set it off! There is no risk of this happening (and editing can be more precise) if you use the cursor keys to edit when near hyperlinks.
Being able to both edit text and activate hyperlinks in the same window is a powerful feature of TreePad.
Add emphasis to hyperlinks
You can't change the blue underlined appearance of hyperlink text, but you can make it stand out by:
- Adding boldfacing, e.g. Hyperlinks
- Adding italics, e.g. Hyperlinks
- Changing the blue underline from continuous to broken by highlighting the link and clicking the Underline toolbutton or pressing Ctrl+U, e.g. Hyperlinks
- Changing the font face, e.g., Hyperlinks
- Changing the font size, e.g., Hyperlinks
- Modifying the background color, e.g.,Hyperlinks .
You can also add special emphasis within a hyperlink by accenting only part of it.
This can look attractive in places like tables of contents, where each heading is a hyperlink leading to the main article. But be consistent. Don't mix hyperlink and non-hyperlink headings in the same article. See Indenting lines and paragraphs for an example of this.
Converting text to an embedded hyperlink (contextual hyperlinks)
Text containing a hyperlink will often read more smoothly if you modify the link text to embed the link neatly into the rest of the text. E.g.
"There are many tricks you can use with hyperlinks."
Here is a quick way to do this:
- Highlight the word "tricks".
- Press Ctrl+C to copy this text.
- Click the Insert⁄edit hyperlink icon while "tricks" is still highlighted.
- Backspace in the Link text field to delete the existing title.
- Press Ctrl+V to paste in "tricks".
- Click OK to close the window and the original word will be replaced with a hyperlink of the same name.
Note: Since the link text of contextual hyperlinks is likely to differ from the name of the target node, such links will be harder to locate when you wish to re-link them since the exact name of the target node cannot be used as a search string. For ease of use it may be better to accept the node name as the link name in most cases.
Move link target nodes closer to the link creation node
If you plan to create a number of hyperlinks to nodes in a subtree buried several levels down, temporarily move the whole subtree to the top level, create your links, then restore its original position. By doing this, you avoid having to "drill down" several levels each time you open the Insert Hyperlink window, which shows only the topmost tree level.
Don't overdo hyperlinks
Each hyperlink you add to an article adds one more link to be maintained. Try to confine hyperlinks to one area of the article, say at the top or bottom, and insert only essential contextual hyperlinks (see above). Always try to imagine yourself as another user navigating your file. Too many disorganized hyperlinks may result in the user becoming lost in the file! And, in six months time, that lost user could be you. Try navigating using hyperlinks alone by hiding the Tree pane (press F12) and see how easy it is to become confused!
Don't waste time backspacing over underlined hyperlinks to delete them
If you try backspacing over an underlined hyperlink to delete it and wonder why nothing seems to happen, this is because it will take you about 10 keypresses before the link starts to disappear, since you must first delete the hidden node ID characters. A quicker method is to highlight the visible link in one sweep, then press the Delete key.
Clicking on the ends of underlined hyperlinks
If you click on the left-hand edge of an underlined hyperlink (just to the left of the first letter visible), it will still be activated. Avoid clicking on the right hand edge; either nothing will happen, or TreePad will try to open a non-existent Web page. You may find this advice useful if you are navigating using just the cursor keys, particularly if you are using the Ctrl key in conjunction with them to skip from word to word.
Inserting plain text above hyperlinks
If you need to insert a line of text above a line commencing with a hyperlink, position your cursor at the end of the line above, not at the beginning of the line containing the hyperlink, before pressing Enter to create the new line.
E.g., we wish to insert the line "Line 2" between "Line 1" and Hyperlinks:
If we position the cursor to the left of the H in Hyperlinks, then press Enter and type "Line 2", this is what will happen:
Line 2 appears blue and underlined, wrongly because it is not meant to be a hyperlink. However, it even behaves as a hyperlink to the same target as Hyperlinks, since it is actually part of the same hyperlink. This is a known issue which will be addressed as soon as possible. (Note: this has been faked in the demonstration above to avoid creating an invalid hyperlink, but you should verify this using a test file.)
To prevent this from happening, position the cursor to the right of the 1 in "Line 1", then press Enter and type:
This is now correct.
You've downloaded a number of web pages into one folder and want to display them quickly in turn. Click in the article where you would like your list of .html pages to be displayed and press Shift+Ctrl+Alt+H. Highlight the block of .html files by holding down Shift+[cursor key] (Up or Down, according to which way you want the highlight to progress), then click the Open button in the Windows dialog box to finish. You should end up with a list as in this example:
If you have set Main menu ⁄ View ⁄ Options ⁄ Article ⁄ Hyperlinks to "Activate hyperlinks and bookmarks by double-click" (the default), double-clicking a link will move the article cursor to the link where you clicked it (the "|" below), which also serves as a useful bookmark as you work your way down the list. If you changed the option to "Activate hyperlinks and bookmarks by single click", you should click to the right side of the link (see below) to re-position the article cursor before clicking the link, if you wish to use the cursor as a bookmark. Clicking to the left side of the link will activate the hyperlink.
Use hyperlinks as superscripts and subscripts
Finding all articles containing hyperlinks to a particular node
Brighten up your index hyperlinks
Index hyperlinks don't have to be plain vanilla! See here for examples.
Reduce link maintenance by creating reverse hyperlinks
If you have created cross-references to a main topic using hyperlinks, it facilitates updating and maintenance of cross-references if you also create hyperlinks from the main topic to the cross-references.
Assume you are at Node A and wish to create a hyperlink to Node B, and then a hyperlink from Node B back to node A. Here is what to do. In addition to creating the hyperlink from A to B, select Copy ⁄ Node hyperlink address while in node A to save a copy of Node A's ID and node caption. (This does not require the Windows Clipboard). Having done this, follow the newly created hyperlink to node B. Then, selecting Paste special ⁄ Paste node hyperlink, paste the hyperlink to A in node B's article, then follow this link to return to node A.
Alternatively, one can click Main menu ⁄ Insert ⁄ Link(s) to ⁄ Selected node in accessory pane, or press Shift+Ctrl+N, to insert a hyperlink into the article to a selected node in the Bookmarks, History or Search Results panes to create the reverse hyperlink required. This is very convenient. See Using the Insert menu for further details.