fix includes
This commit is contained in:
parent
bd262d59a7
commit
40a3dafdbb
17
bin/build.sh
17
bin/build.sh
@ -9,7 +9,7 @@ function setup_pdflatex {
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
if [ ! -d $TEXML_HOME/tex ]; then
|
if [ ! -d $TEXML_HOME/tex ]; then
|
||||||
ln -s "`realpath tex`" $TEXML_HOME
|
ln -s "`realpath .`" $TEXML_HOME
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -32,19 +32,16 @@ function make_packet {
|
|||||||
pdfs=""
|
pdfs=""
|
||||||
while read p; do
|
while read p; do
|
||||||
make_pdf "songs/$p.tex"
|
make_pdf "songs/$p.tex"
|
||||||
pdfs="$pdfs \"build/pdf/$p.pdf\""
|
done < <(grep includepdf $1 | sed -E 's/.*{build\/pdf\/([^}]*)\.pdf}.*/\1/')
|
||||||
done < $1
|
|
||||||
|
|
||||||
mkdir -p "build/packets"
|
mkdir -p "build/packets"
|
||||||
#echo "$PDF_JOINER" --output "build/$1.pdf" $pdfs
|
|
||||||
|
|
||||||
pdflatex \
|
pdflatex \
|
||||||
-interaction=nonstopmode \
|
-interaction=nonstopmode \
|
||||||
-output-directory="build/packets" \
|
-output-directory="build/packets" \
|
||||||
"$1"
|
"$1"
|
||||||
}
|
}
|
||||||
|
|
||||||
setup_pdflatex
|
setup_pdflatex
|
||||||
make_pdf "$1"
|
#make_pdf "$1"
|
||||||
|
|
||||||
#make_packet "packets/aircoustic201910.tex"
|
make_packet "packets/aircoustic201910.tex"
|
||||||
|
@ -3,6 +3,7 @@
|
|||||||
\usepackage{pdfpages}
|
\usepackage{pdfpages}
|
||||||
\begin{document}
|
\begin{document}
|
||||||
\includepdf[pages=-]{build/pdf/Pat Benatar/We Belong.pdf}
|
\includepdf[pages=-]{build/pdf/Pat Benatar/We Belong.pdf}
|
||||||
|
\includepdf[pages=-]{build/pdf/Pat Benatar/We Belong Capo I.pdf}
|
||||||
\includepdf[pages=-]{build/pdf/Daniel Johnston/Life In Vain.pdf}
|
\includepdf[pages=-]{build/pdf/Daniel Johnston/Life In Vain.pdf}
|
||||||
\includepdf[pages=-]{build/pdf/R.E.M./Fall on Me.pdf}
|
\includepdf[pages=-]{build/pdf/R.E.M./Fall on Me.pdf}
|
||||||
\includepdf[pages=-]{build/pdf/Guns 'N Roses/Patience.pdf}
|
\includepdf[pages=-]{build/pdf/Guns 'N Roses/Patience.pdf}
|
||||||
|
Loading…
Reference in New Issue
Block a user