summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--doc/Makefile4
-rw-r--r--doc/fix-css.sed17
-rw-r--r--doc/hs-wismar.css16
3 files changed, 18 insertions, 19 deletions
diff --git a/doc/Makefile b/doc/Makefile
index 20977dc..56b50cc 100644
--- a/doc/Makefile
+++ b/doc/Makefile
@@ -17,8 +17,8 @@ IMAGES_SVG=$(IMAGES_DIA:.dia=.svg)
# inkscape --without-gui --export-png=$@.png -h 1024 $@
.SUFFIXES: .txt .html
-presentation.html: presentation.txt
- asciidoc --backend slidy -o - presentation.txt | sed -f fix-css.sed > $@
+presentation.html: presentation.txt hs-wismar.css
+ asciidoc --backend slidy --attribute stylesheet=$(PWD)/hs-wismar.css $<
.txt.html:
asciidoc --backend html $<
diff --git a/doc/fix-css.sed b/doc/fix-css.sed
deleted file mode 100644
index 780fd9c..0000000
--- a/doc/fix-css.sed
+++ /dev/null
@@ -1,17 +0,0 @@
-/<style type="text\/css">/a\
-p.help,div.toolbar {\
- display: none !important;\
-}\
-html {\
- overflow-y: hidden !important\
-}\
-div.first-slide {\
- background-image: url(image/hs-wismar.png);\
- background-repeat:no-repeat;\
- background-position: 90% 80%;\
- /*-o-background-size: 100% 100%;\
- -webkit-background-size: 100% 100%;*/\
-}\
-h1,h2,h3,h4,h5,#author {\
- color:#0099CC !important;\
-}
diff --git a/doc/hs-wismar.css b/doc/hs-wismar.css
new file mode 100644
index 0000000..98757a2
--- /dev/null
+++ b/doc/hs-wismar.css
@@ -0,0 +1,16 @@
+p.help,div.toolbar {
+ display: none !important;
+}
+html {
+ overflow-y: hidden;
+}
+div.first-slide {
+ background-image: url(image/hs-wismar.png);
+ background-repeat:no-repeat;
+ background-position: 90% 80%;
+ /*-o-background-size: 100% 100%;
+ -webkit-background-size: 100% 100%;*/
+}
+h1,h2,h3,h4,h5,#author {
+ color:#0099CC !important;
+}