|
The default behaviour of URL links in Wikipublisher is to print the URL in a page or table footnote as a clickable link. Sometimes, this results in undesirable visual clutter. Instead of generating a footnote, we would like to insert a clickable superscript. Consider a link of the form [[link text -> http://www.wikipublisher.org/]]. We would like to typeset this as link text(u) where the “u” is a clickable link to http://www.wikipublisher.org/. To achieve this, add the following lines to local/config.php after loading the Wikipublisher extensions:
if ($format=='pdf') {
$UrlLinkTextFmt =
"<tbook:visual markup='sl'>\$LinkText</tbook:visual>".
"<tbook:visual markup='sup'>\$LinkUrl</tbook:visual>";
$UrlLinkFootnoteFmt =
" (<tbook:url name='\$PageUrl'>u</tbook:url>)";
}
This will suppress the normal URL footnotes and instead print a clickable link as a superscript u. Contributors: John Rankin, Jeffrey Levinger?, Tuesday, 17 August 2010. |