Add documentclass and fontsize to PDF build script

This commit is contained in:
D. Joe 2020-04-14 12:57:04 -04:00
parent babee40914
commit 4cc9fd05ac
1 changed files with 14 additions and 1 deletions

View File

@ -1 +1,14 @@
pandoc -V margin-left=0.75in -V margin-right=0.75in -V margin-top=1in -V margin-bottom=1.5in -i foss-primer.md -o foss-primer.pdf ; evince foss-primer.pdf
# This works for me in bash on an Ubuntu 18.04 system with the pandoc package and its dependencies installed.
# I suspect it also makes use of the big pile of texlive packages I have installed and to which reference is made in the
# Suggests: line of the pandoc package, cf `apt-cache show pandoc`
pandoc \
-V documentclass=extarticle \
-V fontsize=14pt \
-V margin-left=0.75in \
-V margin-right=0.75in \
-V margin-top=1in \
-V margin-bottom=1.5in \
-i foss-primer.md -o foss-primer.pdf ; evince foss-primer.pdf