mirror of
https://github.com/hendricius/the-sourdough-framework
synced 2025-11-13 22:51:12 -06:00
Fix standalone flowchart png generation in makefile
This commit is contained in:
@@ -1,5 +1,6 @@
|
|||||||
\documentclass[tikz]{standalone}
|
\documentclass[tikz]{standalone}
|
||||||
\usepackage{tikz}
|
\usepackage{tikz}
|
||||||
|
\usepackage{pgfplots}
|
||||||
\usepackage[mode=match, reset-text-family=false]{siunitx}
|
\usepackage[mode=match, reset-text-family=false]{siunitx}
|
||||||
\DeclareSIUnit\degF{\text{°}F}
|
\DeclareSIUnit\degF{\text{°}F}
|
||||||
\input{flowcharts_tikz.tex}
|
\input{flowcharts_tikz.tex}
|
||||||
|
|||||||
@@ -91,10 +91,9 @@ tgt_figures := $(patsubst %.tex, %.png,$(src_figures))
|
|||||||
# TODO: check if it works on github CI
|
# TODO: check if it works on github CI
|
||||||
%.png: %.tex
|
%.png: %.tex
|
||||||
@echo "\input{./vars.tex}" > $@.in
|
@echo "\input{./vars.tex}" > $@.in
|
||||||
# \b is backspace..
|
@echo "\begin{document}" >> $@.in
|
||||||
@echo "\\\begin{document}" >> $@.in
|
|
||||||
@cat $< >> $@.in
|
@cat $< >> $@.in
|
||||||
@echo "\\\end{document}" >> $@.in
|
@echo "\end{document}" >> $@.in
|
||||||
$(LATEX) $@.in
|
$(LATEX) $@.in
|
||||||
figures/export_figures.sh $@.pdf
|
figures/export_figures.sh $@.pdf
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user