From d9a174caf60557d91223707879d475b86a0cb8d6 Mon Sep 17 00:00:00 2001 From: mstsirkin Date: Thu, 5 Feb 2015 13:06:29 +0000 Subject: headerfile: fix link to header file in html output Using macros within \url doesn't work for html output. To fix, put \url within macro. Signed-off-by: Michael S. Tsirkin git-svn-id: https://tools.oasis-open.org/version-control/svn/virtio/branches/v1.0@473 0c8fb4dd-22a2-4bb5-bc14-6c75a5f43652 --- headerfile.tex | 2 +- specvars.tex | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/headerfile.tex b/headerfile.tex index 603467b..b1a92c2 100644 --- a/headerfile.tex +++ b/headerfile.tex @@ -1,7 +1,7 @@ \chapter{virtio_ring.h}\label{sec:virtio-ring.h} This file is also available at the link -\url{\virtiourlbase/listings/virtio_ring.h}. +\virtiourlh. All definitions in this section are for non-normative reference only. diff --git a/specvars.tex b/specvars.tex index b1f68d1..1f7cd9f 100644 --- a/specvars.tex +++ b/specvars.tex @@ -7,6 +7,7 @@ \urldef \virtiourltex\url{\virtiourlbase/tex/} \urldef \virtiourlpdf\url{\virtiourlbase/\virtiospecfile.pdf} \urldef \virtiourlhtml\url{\virtiourlbase/\virtiospecfile.html} +\urldef \virtiourlh\url{\virtiourlbase/listings/virtio_ring.h} \urldef \virtiourllatestpdf\url{http://docs.oasis-open.org/virtio/virtio/v\virtiorev/virtio-v\virtiorev.pdf} \urldef \virtiourllatesthtml\url{http://docs.oasis-open.org/virtio/virtio/v\virtiorev/virtio-v\virtiorev.html} \newcommand{\virtioworkproduct}{Standards Track Work Product} -- cgit v1.2.3