OASIS Open Mailing List Archives  ·  All Lists  ·  virtio  ·  2015-01

virtio — archive

[Date Prev]  |  [Thread Prev]  |  [Thread Next]  |  [Date Next]   —  [Date Index]  |  [Thread Index]  |  [Month Index]  |  [List Home]

[PATCH] html: work around bug in html generation


Using texlive on Fedora 21, url for some reason replaces hypen - with -_ in html output only. This is only a formatting issue: the link itself is correct. For example: <A HREF=" http://docs.oasis-open.org" ;> http://docs.oasis-_open.org </A> I don't know why this happens, but it seems to go away if we override - within urls inserting an mbox around it. makeatletter g@addto@macroUrlSpecials{do-{mbox{-}}} Signed-off-by: Michael S. Tsirkin <[email protected]> --- virtio-html.tex 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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 @@ itleformat{paragraph}[hang]{ ormalfont ormalsizefseries}{ heparagraph}{1em}{} itleformat{subparagraph}[hang]{ ormalfont ormalsizefseries}{ hesubparagraph}{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@macroUrlSpecials{do-{mbox{-}}} % main document input{main.tex} -- MST

[Date Prev]  |  [Thread Prev]  |  [Thread Next]  |  [Date Next]   —  [Date Index]  |  [Thread Index]  |  [Month Index]  |  [List Home]