From the WikiPublisher

Wikipublisher: Links

Wikipublisher reformats all links in a style appropriate for print.

1.  Intra-document links become page numbers

When publishing a page collection, references to other wiki pages in the document turn into links of the form “(p <n>)” where <n> is the number of the page on which the wiki page name appears. Wikipublisher automatically detects these — the author does not need to take any special action.

Links to anchors, either within the current page or to an anchor on another page in the published collection, also take the form “(p <n>)”. When composing a single page, a link of the form [[PageName#anchor]], where PageName is the current page, is treated as an internal reference and shows the page number.

The table of contents recipe uses intra-page links, so the PDF of a page with a (:toc:) directive will show page number references in the resulting table of contents.

When viewing the PDF file through a suitable reader, clicking the page number takes you to the page.

2.  Links to other wiki pages become superscripts

The default setting for wiki page links is the link text followed by a “w” superscript if the page exists or a “?” superscript if the page does not exist. When viewing the PDF file through a suitable reader, clicking the superscript opens a new browser window and takes you to the page, in View (w) or Edit (?) mode.

A self-referencing page (one that Links to itself) is displayed in small caps, with no clickable link.

3.  External URL links become footnotes

The default setting for links to external sites is that the link text displays inline, while the address is shown in a footnote. Wikipublisher automatically detects these — the author does not need to take any special action. Very long addresses are elided to fit on a single footnote line. Bare URL links (http://www.example.co.nz/) are displayed inline with no footnote. When viewing the PDF file through a suitable reader, clicking the footnote opens a new browser window and takes you to the page.

User Guide

Copyright © 2005–2017 the Wikipublisher wiki and its authors

Retrieved from http://www.wikipublisher.org/wiki/Wikipublisher/Links

Page last modified on 28 September 2006 at 09:17 PM