From 4cc9fd05ac78184552896453ac72d4860672ac24 Mon Sep 17 00:00:00 2001 From: "D. Joe" Date: Tue, 14 Apr 2020 12:57:04 -0400 Subject: [PATCH] Add documentclass and fontsize to PDF build script --- build-pdf.sh | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/build-pdf.sh b/build-pdf.sh index ab60860..36d899f 100644 --- a/build-pdf.sh +++ b/build-pdf.sh @@ -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 +