From bff83d9b0b0215f21e37abcd50f63a31bcbbf25c Mon Sep 17 00:00:00 2001
From: Jonas Smedegaard <dr@jones.dk>
Date: Wed, 25 Mar 2015 15:17:42 +0100
Subject: Tweak margins and suppress barcode for ebook flavor.

---
 template.tex | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

(limited to 'template.tex')

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)$
-- 
cgit v1.2.3

