----- Original Message -----
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
<address@hidden>
Please let us know if the solution works for you.
--
Daniel E.
Moctezuma