lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: lilypond-book or latex doesn't find the necessary files


From: Stefan Thomas
Subject: Re: lilypond-book or latex doesn't find the necessary files
Date: Sat, 8 Sep 2012 18:32:30 +0200

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


reply via email to

[Prev in Thread] Current Thread [Next in Thread]