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.
15 lines
306 B
15 lines
306 B
#!/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}
|
|
|