aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarsten Gips <carsten.gips@fh-bielefeld.de>2016-08-04 16:10:02 +0200
committerCarsten Gips <carsten.gips@fh-bielefeld.de>2016-08-04 16:10:02 +0200
commit84335edbad88dbc316bb7b5d00e717537fc21f80 (patch)
tree24c36b0cd8aeb94bc8f52f45d930147e5f80be19
parent6b2a1db0b9a8d5d7daca2c4542ad1a011b64d56b (diff)
downloadpandoc-84335edbad88dbc316bb7b5d00e717537fc21f80.tar.gz
Load "beamerarticle" first (if needed)
The beamerarticle package needs to be loaded directly after the documentclass declaration. Loading it later (e.g. using the -H option) leads to several errors due to package dependencies. This patch also introduces a new variable "beamerarticle" to activate the beamerarticle package.
-rw-r--r--default.latex3
1 files changed, 3 insertions, 0 deletions
diff --git a/default.latex b/default.latex
index 67faf0330..15fecad55 100644
--- a/default.latex
+++ b/default.latex
@@ -1,4 +1,7 @@
\documentclass[$if(fontsize)$$fontsize$,$endif$$if(lang)$$babel-lang$,$endif$$if(papersize)$$papersize$paper,$endif$$for(classoption)$$classoption$$sep$,$endfor$]{$documentclass$}
+$if(beamerarticle)$
+\usepackage{beamerarticle} % needs to be loaded first
+$endif$
$if(fontfamily)$
\usepackage[$for(fontfamilyoptions)$$fontfamilyoptions$$sep$,$endfor$]{$fontfamily$}
$else$