summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile3
-rw-r--r--header-ebook.tex2
2 files changed, 4 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index f2329f4..64160c0 100644
--- a/Makefile
+++ b/Makefile
@@ -39,11 +39,12 @@ args_latex += -V documentclass=memoir -V pagestyle=plain -V headstyles=komalike
args_latex += -V frontmatter=yes -V classoption=titlepage -V classoption=$(if $(final),final,draft)
#flavors = a4 book ebook
flavors = a4 ebook
-args_a4 = -V papersize=a4paper -V fontsize=10pt -V classoption=oneside
+args_a4 = -V papersize=a4paper -V fontsize=10pt -V classoption=twoside
args_a4 += -M isbn="978-90-823692-1-2" -V coverpage="$(stem)-a4-front.pdf"
args_book = -V papersize=b5paper -V fontsize=10pt -V classoption=twoside
args_ebook = -V papersize=ebook -V fontsize=12pt -V classoption=oneside -V classoption=openany
args_ebook += -M isbn="978-90-823692-0-5"
+args_ebook += -H header-ebook.tex
all: $(flavors:%=$(stem)-%.pdf)
diff --git a/header-ebook.tex b/header-ebook.tex
new file mode 100644
index 0000000..7038bed
--- /dev/null
+++ b/header-ebook.tex
@@ -0,0 +1,2 @@
+\setlrmarginsandblock{1cm}{*}{*}
+\checkandfixthelayout