summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenjamin Franzke <benjaminfranzke@googlemail.com>2013-01-15 14:30:36 +0100
committerBenjamin Franzke <benjaminfranzke@googlemail.com>2013-01-15 14:30:36 +0100
commite89dd85f88fd562d1f78f464bb9c88e6740f60a7 (patch)
tree0fbf9541b0f8f2d04a37efac2a4723e6c22ee566
parentc67e43eae2b2bca84786da90c67dd9e58b0cdb27 (diff)
downloadmmswe-e89dd85f88fd562d1f78f464bb9c88e6740f60a7.tar.gz
mmswe-e89dd85f88fd562d1f78f464bb9c88e6740f60a7.tar.bz2
mmswe-e89dd85f88fd562d1f78f464bb9c88e6740f60a7.zip
Put dblatex options into a stylesheet
-rw-r--r--Makefile8
-rw-r--r--thesis.xsl10
2 files changed, 11 insertions, 7 deletions
diff --git a/Makefile b/Makefile
index 19ac1bd..697eca2 100644
--- a/Makefile
+++ b/Makefile
@@ -1,7 +1,5 @@
DEBUG:=yes
-DBLATEX_OPTS="-P latex.encoding=utf8 -P latex.output.revhistory=0 -P doc.publisher.show=0 -P latex.class.options=a4paper,12pt,abstraction,titlepage -b xetex"
-
.PHONY: all clean
all: projekt_doku.pdf
@@ -18,12 +16,8 @@ all: projekt_doku.pdf
#.asciidoc.tex:
# asciidoc --backend=latex $<
-.SUFFIXES: .asciidoc .pdf
projekt_doku.pdf: projekt_doku.asciidoc hsw.sty
- a2x.py -f pdf --dblatex-opts=$(DBLATEX_OPTS) --dblatex-opts="-s hsw.sty" $<
-
-.asciidoc.pdf:
- a2x.py -f pdf --dblatex-opts=$(DBLATEX_OPTS) $<
+ a2x.py -f pdf --dblatex-opts="-p thesis.xsl -s hsw.sty -b xetex" $<
.PHONY: pluggit
pluggit:
diff --git a/thesis.xsl b/thesis.xsl
new file mode 100644
index 0000000..b568e4e
--- /dev/null
+++ b/thesis.xsl
@@ -0,0 +1,10 @@
+<?xml version="1.0"?>
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+ version="1.0">
+
+<xsl:param name="latex.style">hsw</xsl:param>
+<xsl:param name="latex.class.options">a4paper,12pt,abstraction,titlepage</xsl:param>
+<xsl:param name="doc.publisher.show">0</xsl:param>
+<xsl:param name="latex.output.revhistory">0</xsl:param>
+<xsl:param name="latex.encoding">utf8</xsl:param>
+</xsl:stylesheet>