Removed hard coded font size for PDF

pull/465/head
Xing Shi Cai 2022-10-14 00:20:15 +08:00
parent b7941c2811
commit 7e0f5641c2
1 changed files with 1 additions and 1 deletions

View File

@ -61,7 +61,7 @@ function write_doc(docformat::Pandoc2PDF, doc, rendered, out_path)
cmd = `pandoc -f markdown+raw_tex -s --pdf-engine=xelatex --highlight-style=tango cmd = `pandoc -f markdown+raw_tex -s --pdf-engine=xelatex --highlight-style=tango
$filt $citeproc $(docformat.pandoc_options) $filt $citeproc $(docformat.pandoc_options)
--include-in-header=$(docformat.header_template) --include-in-header=$(docformat.header_template)
-V fontsize=12pt -o $(out)` -o $(out)`
proc = open(cmd, "r+") proc = open(cmd, "r+")
println(proc.in, rendered) println(proc.in, rendered)
close(proc.in) close(proc.in)