Adding figures to build

This commit is contained in:
2021-01-04 14:31:32 -06:00
parent c5550e8bb9
commit 311b82deac

14
do.sh
View File

@@ -6,9 +6,19 @@ set -Eeuo pipefail # -e "Automatic exit from bash shell script on error" -u "Tr
build() {
echo "I am ${FUNCNAME[0]}ing"
_makefigures
latexmk -pdflatex="luahblatex %O %S" -pdf -dvi- -ps- -quiet -logfilewarninglist
}
_makefigdir() {
mkdir -p figures
}
_makefigures() {
_makefigdir
wolframscript -f scripts/fig1.wls
}
all() {
build
}
@@ -17,6 +27,7 @@ clean() {
echo "I am ${FUNCNAME[0]}ing"
latexmk -C
rm -f *.bbl *.run.xml
rm -f figures
}
tidy() {
@@ -24,9 +35,6 @@ tidy() {
latexmk -c
}
_hidden() {
echo "I am a hidden task and won't appear in the usage desciption because I start with an _ (underscore). If you know me you can still call me directly"
}
"$@" # <- execute the task