I'm almost certain you can include multiple include paths in the call to
lilypond-book. Simply use -I multiple times.
--
Phil Holmes
----- Original Message -----
From: Stefan Thomas
To: Daniel E. Moctezuma
Cc: lilypond-user
Sent: Saturday, September 08, 2012 5:32 PM
Subject: Re: lilypond-book or latex doesn't find the necessary files
Dear Daniel,
I've tried Your script and I've modified a bit (see below).
It works nice altough I have to run it 2 times, sometimes.
I would like to ask one more question, concernen lilypond-book.
Is is possible to include more than one directory in the search path? I have
some files in a special directory of my home directory and I would like to
include this directory to.
Here my modified script:
#!/bin/bash
TEMP_DIR=temp
CURRENT_DIR=$(pwd)
lilypond-book --pdf \
--include="$CURRENT_DIR" \
--output="$TEMP_DIR" \
"$1".tex && \
(cd "$TEMP_DIR" && \
pdflatex "$1".tex && \
mv "$1".pdf ..) && \
rm -rf "$TEMP_DIR"
2012/9/8 Daniel E. Moctezuma <[email protected]>
Please let us know if the solution works for you.
--
Daniel E. Moctezuma
------------------------------------------------------------------------------
_______________________________________________
lilypond-user mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/lilypond-user
_______________________________________________
lilypond-user mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/lilypond-user