summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorBenjamin Franzke <benjaminfranzke@googlemail.com>2013-02-04 16:06:11 +0100
committerBenjamin Franzke <benjaminfranzke@googlemail.com>2013-02-04 16:06:11 +0100
commitb7d675f9d89fb412a86d708a3e32cb8d8c2cc2d2 (patch)
tree06d216afabbf7b915cce3c49051a8df76977fb73 /doc
parentb0fe99f65889d6dd5c6e6d3f54e2ca6b907fa236 (diff)
downloadadvtime-b7d675f9d89fb412a86d708a3e32cb8d8c2cc2d2.tar.gz
advtime-b7d675f9d89fb412a86d708a3e32cb8d8c2cc2d2.tar.bz2
advtime-b7d675f9d89fb412a86d708a3e32cb8d8c2cc2d2.zip
Use asciidoc's shylesheet attribute instead of fixing css with sedHEADmaster
Diffstat (limited to 'doc')
-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;
+}