[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: [PATCH] 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 <mst@redhat.com> --- 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} -- MST
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]