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 <democtez...@gmail.com>

> Please let us know if the solution works for you.
>
> --
> Daniel E. Moctezuma
>
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to