Skip to content

Commit

Permalink
05-making_useful_figures.md: use wget
Browse files Browse the repository at this point in the history
  • Loading branch information
veprbl authored Oct 17, 2024
1 parent 7acf66e commit c5a7a76
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions _episodes/05-making_useful_figures.md
Original file line number Diff line number Diff line change
Expand Up @@ -102,15 +102,15 @@ Finally, add a rule to the `Snakefile` to compile the tex file, and create outpu
```snakemake
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}
wget https://github.com/tectonic-typesetting/tectonic/releases/download/tectonic%400.15.0/tectonic-0.15.0-x86_64-unknown-linux-musl.tar.gz
tar zxf tectonic-0.15.0-x86_64-unknown-linux-musl.tar.gz
cp {input.cls} {output.cls_tmp} # copy to local directory
./tectonic {input.tex} --outdir="$(dirname {output.pdf})"
"""
Expand Down

0 comments on commit c5a7a76

Please sign in to comment.