You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
306 B
16 lines
306 B
2 years ago
|
#!/usr/bin/env bash
|
||
|
|
||
|
DOCNAME=${1:-'main.tex'}
|
||
|
BUILDDIR=${2:-'build'}
|
||
|
|
||
|
set -e
|
||
|
|
||
|
if [[ ! -d "${BUILDDIR}/${BUILDDIR}" ]]; then
|
||
|
mkdir -p ${BUILDDIR}/${BUILDDIR}
|
||
|
mkdir -p ${BUILDDIR}/${BUILDDIR}/tikz
|
||
|
mkdir -p ${BUILDDIR}/tikz
|
||
|
mkdir -p tikz
|
||
|
fi
|
||
|
|
||
|
xelatex -shell-escape -output-directory ${BUILDDIR} ${DOCNAME}
|