Recent Changes · Search:

Support the Project



edit SideBar


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 ->]]. We would like to typeset this as link text(u) where the “u” is a clickable link to

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.

« Checkbox Lists | Cookbook | Consolidated Bibliographies »

Creative Commons License
Edit · History · Print · Recent Changes · Search · Links
Page last modified on 18 August 2010 at 11:39 AM