You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

11 lines
610 B

#script using pandoc and pandoc-citeproc to transform a markdown file into a latex "paper"
#Taken from
from subprocess import call
call(["pandoc", "--filter", "pandoc-citeproc", "--bibliography=paper.bib", "--variable", "classoption=twocolumn", "--variable", "papersize=a4paper", "-s", "", "-t", "latex", "-o", "paper.tex"])
call(["pandoc", "--filter", "pandoc-citeproc", "--bibliography=paper.bib", "--variable", "classoption=twocolumn", "--variable", "papersize=a4paper", "-s", "", "-o", "paper.pdf"])