summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile2
-rw-r--r--copyright.md2
-rw-r--r--template.tex6
3 files changed, 9 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 2ba38ae..6d23644 100644
--- a/Makefile
+++ b/Makefile
@@ -40,8 +40,10 @@ args_latex += -V frontmatter=yes -V classoption=titlepage -V classoption=$(if $(
#flavors = a4 book ebook
flavors = a4 ebook
args_a4 = -V papersize=a4paper -V fontsize=10pt -V classoption=oneside
+args_a4 = -M isbn="978-90-823692-1-2"
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"
all: $(flavors:%=$(stem)-%.pdf)
diff --git a/copyright.md b/copyright.md
index 4bac683..fee3aaf 100644
--- a/copyright.md
+++ b/copyright.md
@@ -29,7 +29,7 @@ the SIL Open Font License version 1.1,
<http://scripts.sil.org/OFL>.
Source available at <https://github.com/cyrealtype/Lora>.
-ISBN \mytodo{ISBN No.}{0-1234-FIXME-2}
+\isbn
First edition published \formatdate{11}{12}{2014}
Second edition published \formatdate{25}{3}{2015}
diff --git a/template.tex b/template.tex
index 0fc3878..a2ad852 100644
--- a/template.tex
+++ b/template.tex
@@ -157,6 +157,12 @@ $else$
$endif$
$endif$
+$if(isbn)$
+ \newcommand{\isbn}{ISBN $isbn$}
+$else$
+ \newcommand{\isbn}{}
+$endif$
+
$for(header-includes)$
$header-includes$
$endfor$