Explorar o código

PDF output should be A4 size

Swaroop C H %!s(int64=12) %!d(string=hai) anos
pai
achega
d93de8de7f
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  1. 2 0
      fabfile.py

+ 2 - 0
fabfile.py

@@ -367,6 +367,8 @@ def pdf():
             #'-t', 'pdf',
             '-o', '{}.pdf'.format(CONFIG['FULL_PROJECT_NAME']),
             '-N',
+            # https://github.com/jgm/pandoc/issues/600
+            '-V', 'papersize:"a4paper"',
             '--toc'] + [i['file'] for i in CONFIG['MARKDOWN_FILES']]
     local(' '.join(args))
     if AWS_ENABLED: