aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2012-09-08 11:42:05 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2012-09-08 11:42:05 -0700
commit48ae9dae8d509541c63ce73eb7b98fe5384c1bb1 (patch)
tree3bb2012ee34700066ec7f4d2b3c5e321abd3c14f
parentb672f66eb2796ffe427b72752efbd150ca4de57b (diff)
parentb0e32b5db64f0049300c9e30803db871f1dbc66f (diff)
downloadpandoc-48ae9dae8d509541c63ce73eb7b98fe5384c1bb1.tar.gz
Merge pull request #16 from adityam/master
papersize variable for ConTeXt template
-rw-r--r--default.context2
1 files changed, 1 insertions, 1 deletions
diff --git a/default.context b/default.context
index 54cc8ea09..6c77f75a4 100644
--- a/default.context
+++ b/default.context
@@ -9,7 +9,7 @@ $endif$
% Enable hyperlinks
\setupinteraction[state=start, color=middleblue]
-\setuppapersize [letter][letter]
+\setuppapersize [$if(papersize)$$papersize$$else$letter$endif$][$if(papersize)$$papersize$$else$letter$endif$]
\setuplayout [width=middle, backspace=1.5in, cutspace=1.5in,
height=middle, topspace=0.75in, bottomspace=0.75in]