From 0fd030fde692f1d90eaef099dd3047a90eebb899 Mon Sep 17 00:00:00 2001 From: Jim Hague Date: Fri, 12 Apr 2024 17:35:05 +0100 Subject: [PATCH] Clear old LaTeX intermediate files before building a booke. Old ones can cause the build to error. --- makeBooke.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/makeBooke.sh b/makeBooke.sh index e0f0cd2..f4fbaa3 100755 --- a/makeBooke.sh +++ b/makeBooke.sh @@ -29,6 +29,10 @@ shift mkdir -p $builddir +# Clear any XeLaTeX intermediate/generated files in case old ones +# interfere with the build. This has been known to happen. +rm $builddir/dottes.* + if [ $# -eq 1 ]; then bookename=$1 for item in title subtitle instrument