From e89dd85f88fd562d1f78f464bb9c88e6740f60a7 Mon Sep 17 00:00:00 2001 From: Benjamin Franzke Date: Tue, 15 Jan 2013 14:30:36 +0100 Subject: Put dblatex options into a stylesheet --- Makefile | 8 +------- thesis.xsl | 10 ++++++++++ 2 files changed, 11 insertions(+), 7 deletions(-) create mode 100644 thesis.xsl 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 @@ + + + +hsw +a4paper,12pt,abstraction,titlepage +0 +0 +utf8 + -- cgit