diff options
-rw-r--r-- | Makefile | 5 | ||||
-rw-r--r-- | fix-css.sed | 3 |
2 files changed, 5 insertions, 3 deletions
@@ -7,8 +7,9 @@ all: ${GenSVG} document.html presentation.html .SUFFIXES: .asciidoc .html presentation.html: presentation.asciidoc - asciidoc --out-file=$@ --backend=slidy $< - sed -i -f fix-css.sed $@ + asciidoc --out-file=$@.tmp --backend=slidy $< + sed -f fix-css.sed $@.tmp > $@ + rm $@.tmp .asciidoc.html: asciidoc --out-file=$@ --backend=html $< diff --git a/fix-css.sed b/fix-css.sed index 62eecec..02b562b 100644 --- a/fix-css.sed +++ b/fix-css.sed @@ -1,4 +1,5 @@ -/<style type="text\/css">/s/$/p.help,div.toolbar {\ +/<style type="text\/css">/s/$/\ +p.help,div.toolbar {\ display:none !important;\ }\ html {\ |