summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenjamin Franzke <benjaminfranzke@googlemail.com>2013-01-16 04:04:37 +0100
committerBenjamin Franzke <benjaminfranzke@googlemail.com>2013-01-16 04:04:37 +0100
commite0130bd339ec841abe84aa50ed1ff62992d26f4e (patch)
treea835270f01399a318bb7b2e999f733080daa7539
parentf823e11ec9822ba873143b2c2f6ece82b32d6b12 (diff)
downloadmmswe-e0130bd339ec841abe84aa50ed1ff62992d26f4e.tar.gz
mmswe-e0130bd339ec841abe84aa50ed1ff62992d26f4e.tar.bz2
mmswe-e0130bd339ec841abe84aa50ed1ff62992d26f4e.zip
Start presentation
-rw-r--r--.gitignore2
-rw-r--r--Makefile17
-rw-r--r--fix-css.sed17
-rw-r--r--image/hs-wismar.pngbin0 -> 54771 bytes
-rw-r--r--presentation.txt17
5 files changed, 50 insertions, 3 deletions
diff --git a/.gitignore b/.gitignore
index f298dc7..fa91c98 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,4 +1,6 @@
projekt_doku.pdf
+presentation.html
*.dia~
*.svg
*.eps
+*.png
diff --git a/Makefile b/Makefile
index 2b6c87c..800f6c2 100644
--- a/Makefile
+++ b/Makefile
@@ -2,10 +2,11 @@ DEBUG:=yes
DIAs=$(wildcard image/*.dia)
SVGs=$(DIAs:.dia=.svg)
+PNGs=$(SVGs:.svg=.png)
EPSs=$(DIAs:.dia=.eps)
.PHONY: all clean
-all: projekt_doku.pdf
+all: projekt_doku.pdf presentation.html
#.SUFFIXES: .asciidoc .html
#presentation.html: presentation.asciidoc
@@ -20,6 +21,10 @@ all: projekt_doku.pdf
#.asciidoc.tex:
# asciidoc --backend=latex $<
+presentation.html: presentation.txt $(SVGs) $(PNGs)
+ asciidoc --out-file=$@ --backend=slidy $<
+ sed -i -f fix-css.sed $@
+
projekt_doku.pdf: projekt_doku.asciidoc thesis.xsl thesis.sty $(SVGs) $(EPSs)
a2x -f pdf $<
@@ -32,13 +37,19 @@ pluggit:
.SUFFIXES: .dia .svg
.dia.svg:
@dia --export=$@ --filter=svg $<
+ sed -i 's~xlink:href="[^"]*/image/\([^"/]*\)"~xlink:href="\1"~' $@
-.SUFFIXES: .eps .svg
+.SUFFIXES: .dia .eps
.dia.eps:
@dia --export=$@ --filter=eps $<
+.SUFFIXES: .svg .png
+.svg.png:
+ rsvg-convert -f png $< > $@
+
clean:
- rm -f document.html presentation.html document.pdf ${GenSVG}
+ rm -f projekt_doku.pdf presentation.html document.pdf
+ rm -f $(SVGs) $(PNGs) $(EPSs)
$(MAKE) -C pluggit/ -f makefile.voodoo clean
rm -f pluggit/src/classes.cpp
$(MAKE) -C directfb-voodoo/ -f makefile.voodoo clean
diff --git a/fix-css.sed b/fix-css.sed
new file mode 100644
index 0000000..780fd9c
--- /dev/null
+++ b/fix-css.sed
@@ -0,0 +1,17 @@
+/<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/image/hs-wismar.png b/image/hs-wismar.png
new file mode 100644
index 0000000..f63c72b
--- /dev/null
+++ b/image/hs-wismar.png
Binary files differ
diff --git a/presentation.txt b/presentation.txt
new file mode 100644
index 0000000..0b42257
--- /dev/null
+++ b/presentation.txt
@@ -0,0 +1,17 @@
+Philips TV-Remote unter Linux
+=============================
+:author: Benjamin Franzke
+:lang: de
+:imagesdir: image
+
+== DirectFB Voodoo
+
+.Client-Server Interaktion
+image::directfb-voodoo-js.svg[width="100%"]
+
+== Readback
+
+image::framebuffer.png[width="100%"]
+
+// vim: set syntax=asciidoc tw=78 filetype=asciidoc:
+// spell spelllang=de,en: