From 9ede441dd7c2a681d1adeacf4e879972c86db310 Mon Sep 17 00:00:00 2001 From: mstsirkin Date: Sun, 1 Dec 2013 21:45:03 +0000 Subject: html: rename file htlatex doesn't seem to support -jobname for output file name, so simply rename file before processing. Signed-off-by: Michael S. Tsirkin git-svn-id: https://tools.oasis-open.org/version-control/svn/virtio@141 0c8fb4dd-22a2-4bb5-bc14-6c75a5f43652 --- makehtml.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'makehtml.sh') diff --git a/makehtml.sh b/makehtml.sh index 9dafdaf..f322780 100755 --- a/makehtml.sh +++ b/makehtml.sh @@ -1,10 +1,12 @@ #!/bin/sh -SPECDOC=virtio-v1.0-csd01-html +SPECDOC=virtio-v1.0-csd01 + +cp virtio-html.tex $SPECDOC.tex #uncomment if you have a broken t4ht #PATH=./t4ht-workaround:${PATH} htlatex $SPECDOC.tex "virtiohtml,info,charset=utf-8" " -cunihtf -utf8" -htlatex $SPECDOC.tex "virtiohtml,info,charset=utf-8" " -cunihtf -utf8" +htlatex $SPECDOC.tex "virtio-html,info,charset=utf-8" " -cunihtf -utf8" rm $SPECDOC.aux mv $SPECDOC.html $SPECDOC.tmp1 -- cgit v1.2.3