From 6c27c890461a8184b9684649158793cb669f655b Mon Sep 17 00:00:00 2001 From: mstsirkin Date: Sun, 1 Dec 2013 21:45:57 +0000 Subject: tex: fix links in generated html Use \urldef to make them expand macros. Signed-off-by: Michael S. Tsirkin git-svn-id: https://tools.oasis-open.org/version-control/svn/virtio@144 0c8fb4dd-22a2-4bb5-bc14-6c75a5f43652 --- specvars.tex | 3 +++ title.tex | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/specvars.tex b/specvars.tex index accfc66..03b6b41 100644 --- a/specvars.tex +++ b/specvars.tex @@ -31,6 +31,9 @@ \newcommand{\virtioversion}{Virtual I/O Device (VIRTIO) Version \virtiorev} \newcommand{\virtiospecfile}{virtio-v\virtiorev-\virtiodraftstage\virtioworkingdraft} \newcommand{\virtiourlbase}{http://docs.oasis-open.org/virtio/virtio/\virtiorev/\virtiodraftstage\virtioworkingdraft} +%Below must be used to make links work correctly in HTML +\urldef \virtiourllistings\url{\virtiourlbase/listings/} +\urldef \virtiourltex\url{\virtiourlbase/tex/} \newcommand{\virtioworkproduct}{Standards Track Work Product} \newcommand{\virtiooasiscopyright}{Copyright © OASIS Open 2013. All Rights Reserved.} diff --git a/title.tex b/title.tex index d9c40a9..fc67350 100644 --- a/title.tex +++ b/title.tex @@ -46,9 +46,9 @@ Pawel Moll (\href{mailto:pawel.moll@arm.com}{pawel.moll@arm.com}), \href{https:/ This prose specification is one component of a Work Product which also includes: \begin{itemize*} \item Example Driver Listing: \newline - \url{\virtiourlbase/listings/} + \virtiourllistings \item TeX source files for this prose document:\newline - \url{\virtiourlbase/tex/} + \virtiourltex \end{itemize*} \end{oasistitlesection} \vspace{-0.2in} -- cgit v1.2.3