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