Skip to content
Snippets Groups Projects
Unverified Commit b62c59be authored by Zachary Sweger's avatar Zachary Sweger Committed by GitHub
Browse files

Update Snakefile with latex compilation

parent 5a7d90ce
No related branches found
No related tags found
No related merge requests found
Pipeline #103953 canceled
......@@ -69,3 +69,18 @@ else
fi
root -l -b -q '{input.script}("{input.plots}")'
"""
rule yourbench_compile_manual:
input:
tar=HTTPRemoteProvider().remote("https://github.com/tectonic-typesetting/tectonic/releases/download/tectonic%400.15.0/tectonic-0.15.0-x86_64-unknown-linux-musl.tar.gz"),
cls=workflow.source_path("bench.cls"),
tex=workflow.source_path("bench.tex"),
output:
temp("tectonic"),
cls_tmp=temp("bench.cls"),
pdf="results/bench.pdf",
shell: """
tar zxf {input.tar}
cp {input.cls} {output.cls_tmp} # copy to local directory
./tectonic {input.tex} --outdir="$(dirname {output.pdf})"
"""
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment