summaryrefslogtreecommitdiff
path: root/template.tex
diff options
context:
space:
mode:
authorJonas Smedegaard <dr@jones.dk>2015-03-25 15:17:42 +0100
committerJonas Smedegaard <dr@jones.dk>2015-03-25 15:17:42 +0100
commitbff83d9b0b0215f21e37abcd50f63a31bcbbf25c (patch)
treee3787dca989bea48006bad5872e7b28a57cc0cca /template.tex
parent30e39dee7cf19ca92ad25e394783f4725ae1dd55 (diff)
Tweak margins and suppress barcode for ebook flavor.
Diffstat (limited to 'template.tex')
-rw-r--r--template.tex7
1 files changed, 6 insertions, 1 deletions
diff --git a/template.tex b/template.tex
index 8cc9e83..2a1641a 100644
--- a/template.tex
+++ b/template.tex
@@ -161,8 +161,13 @@ $endif$
\usepackage[usestackEOL]{stackengine}
$if(isbn)$
\usepackage[ISBN=$isbn$,SC0]{ean13isbn}
+$if(isbn-nobarcode)$
+ \newcommand{\myisbn}{\ISBN}
$else$
- \newcommand{\EANisbn}
+ \newcommand{\myisbn}{\EANisbn}
+$endif$
+$else$
+ \newcommand{\myisbn}
$endif$
$if(coverpage)$