CTAN Comprehensive TeX Archive Network

Directory macros/latex/contrib/aurl

README.md

aurl—Abbreviated URLs for

Extends the hyperref package with a mechanism for hyperlinked URLs abbreviated with prefixes.

Purpose

The Semantic Web community heavily uses prefixes to abbreviate URLs (AURLs), such as owl:class or rdf:type. The hyperref package defines the url command to print and hyperlink a URL but if used for AURLs, the hyperlink fails. But href from hyperref is tedious to use. The aurl package introduces \aurl{prefix}{suffix} and includes the 100 most popular prefixes from prefix.cc. If you want to include the 1000 most popular prefixes instead, use \usepackage[1000]{aurl}.

Usage

  1. copy aurl.sty to your working directory
  2. add \usepackage{aurl} to your preamble
  3. (optional) define non-default prefixes using \daurl{prefix}{prefix expansion}
  4. add your AURLs with \aurl{prefix}{suffix}

Example

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

License

This is completely free, do whatever you want (CC0 license).

Download the contents of this package in one zip archive (15.3k).

aurl – Extends the hyperref package with a mechanism for hyperlinked URLs abbreviated with prefixes

Semantic Web resource URLs are often abbreviated with prefixes, like "owl:Class" or "rdf:type". The abbreviated URL (aurl) package provides the correct hyperlinks for those URLs. The 1000 most common prefixes are predefined and more can be added.

Packageaurl
Version 2016-08-12
LicensesPublic Domain Software
Copyright2016 Konrad Höffner
MaintainerKonrad Höffner
Contained inTeX Live as aurl
TopicsHyper
...
Guest Book Sitemap Contact Contact Author