summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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>