Created
January 13, 2019 14:09
-
-
Save cleverca22/8d4bc3598fba54606609338cce9788f4 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
latex2pdf = name: input: runCommand name { buildInputs = [ (texlive.combine { inherit (pkgs.texlive) scheme-full lm tipa; }) pandoc ]; } '' | |
mkdir $out | |
echo ${input} | |
pandoc +RTS -M15G -K2G -RTS --template=${./template.tex} -t latex -o $out/${name}.pdf < ${input} | |
''; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment