CTAN Comprehensive TeX Archive Network

Direc­tory macros/latex/contrib/aurl

README.md

aurl—Ab­bre­vi­ated URLs for

Ex­tends the hy­per­ref pack­age with a mech­a­nism for hy­per­linked URLs ab­bre­vi­ated with pre­fixes.

Pur­pose

The Se­man­tic Web com­mu­nity heav­ily uses pre­fixes to ab­bre­vi­ate URLs (AURLs), such as owl:class or rdf:type. The hyperref pack­age de­fines the url com­mand to print and hy­per­link a URL but if used for AURLs, the hy­per­link fails. But href from hyperref is te­dious to use. The aurl pack­age in­tro­duces \aurl{prefix}{suffix} and in­cludes the 100 most pop­u­lar pre­fixes from pre­fix.cc. If you want to in­clude the 1000 most pop­u­lar pre­fixes in­stead, use \usepackage[1000]{aurl}.

Usage

  1. copy aurl.sty to your work­ing di­rec­tory
  2. add \usepackage{aurl} to your pream­ble
  3. (op­tional) de­fine non-de­fault pre­fixes us­ing \daurl{prefix}{prefix expansion}
  4. add your AURLs with \aurl{prefix}{suffix}

Ex­am­ple

\documentclass{article}
\usepackage{aurl}
\begin{document}
 \aurl{rdfs}{label}
 \aurl{owl}{class}
 \daurl{bbc}{http://bbc.com/}
 \aurl{bbc}{news}
\end{document}

Li­cense

This is com­pletely free, do what­ever you want (CC0 li­cense).

Down­load the con­tents of this pack­age in one zip archive (15.3k).

aurl – Ex­tends the hy­per­ref pack­age with a mech­a­nism for hy­per­linked URLs ab­bre­vi­ated with pre­fixes

Se­man­tic Web re­source URLs are of­ten ab­bre­vi­ated with pre­fixes, like "owl:Class" or "rdf:type". The ab­bre­vi­ated URL (aurl) pack­age pro­vides the cor­rect hy­per­links for those URLs. The 1000 most com­mon pre­fixes are pre­de­fined and more can be added.

Pack­ageaurl
Ver­sion 2016-08-12
Li­censesPublic Do­main Soft­ware
Main­tainerKon­rad H√∂ffner
Con­tained inTeX Live as aurl
TopicsHyper
...
Guest Book Sitemap Contact Contact Author