summaryrefslogtreecommitdiff
path: root/virtio-html.tex
diff options
context:
space:
mode:
Diffstat (limited to 'virtio-html.tex')
-rw-r--r--virtio-html.tex6
1 files changed, 5 insertions, 1 deletions
diff --git a/virtio-html.tex b/virtio-html.tex
index 8775959..5adc518 100644
--- a/virtio-html.tex
+++ b/virtio-html.tex
@@ -55,7 +55,11 @@
\titleformat{\paragraph}[hang]{\normalfont\normalsize\bfseries}{\theparagraph}{1em}{}
\titleformat{\subparagraph}[hang]{\normalfont\normalsize\bfseries}{\thesubparagraph}{1em}{}
-
+%Using texlive on Fedora 21, \url for some reason replaces
+%hypen - with -_ in html output only.
+%This seems to go away if we override - within urls inserting an
+%mbox around it.
+\makeatletter \g@addto@macro\UrlSpecials{\do\-{\mbox{-}}}
% main document
\input{main.tex}