summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormstsirkin <mstsirkin@0c8fb4dd-22a2-4bb5-bc14-6c75a5f43652>2013-12-01 21:45:57 +0000
committermstsirkin <mstsirkin@0c8fb4dd-22a2-4bb5-bc14-6c75a5f43652>2013-12-01 21:45:57 +0000
commit6c27c890461a8184b9684649158793cb669f655b (patch)
tree5c1822ad8448958c8539df4bfca5d27ad9ba8d28
parent7956aca8cc117cf0b84249c723a1bbead93fb6cf (diff)
tex: fix links in generated html
Use \urldef to make them expand macros. Signed-off-by: Michael S. Tsirkin <mst@redhat.com> git-svn-id: https://tools.oasis-open.org/version-control/svn/virtio@144 0c8fb4dd-22a2-4bb5-bc14-6c75a5f43652
-rw-r--r--specvars.tex3
-rw-r--r--title.tex4
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}