build: use landscape and generate previews
This commit is contained in:
parent
9d6c9f22b1
commit
b193d41c12
1 changed files with 5 additions and 2 deletions
7
build
7
build
|
@ -4,7 +4,9 @@
|
||||||
# It uses (standard) commandline options of lilypond
|
# It uses (standard) commandline options of lilypond
|
||||||
|
|
||||||
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
||||||
LIB=$DIR/../lib
|
LIB="$(realpath "${DIR}/../lib")"
|
||||||
|
|
||||||
|
# Change the Stylesheet variable if you want different 'settings'
|
||||||
STYLESHEET=$LIB/styles/tinwhistle.sly
|
STYLESHEET=$LIB/styles/tinwhistle.sly
|
||||||
|
|
||||||
# In case tinwhistle.ily is included in file
|
# In case tinwhistle.ily is included in file
|
||||||
|
@ -12,7 +14,8 @@ STYLESHEET=$LIB/styles/tinwhistle.sly
|
||||||
TINWHISTLE_DIR=$LIB/tinwhistle/
|
TINWHISTLE_DIR=$LIB/tinwhistle/
|
||||||
|
|
||||||
# Options by this script
|
# Options by this script
|
||||||
OPTIONS="-dno-strip-output-dir -dno-point-and-click"
|
# see http://lilypond.org/doc/v2.18/Documentation/usage/command_002dline-usage#advanced-command-line-options-for-lilypond
|
||||||
|
OPTIONS="-dno-strip-output-dir -dno-point-and-click -dpaper-size=\"a4landscape\" -dpreview"
|
||||||
|
|
||||||
# Execute
|
# Execute
|
||||||
lilypond -dinclude-settings=$STYLESHEET -I $TINWHISTLE_DIR $OPTIONS $@
|
lilypond -dinclude-settings=$STYLESHEET -I $TINWHISTLE_DIR $OPTIONS $@
|
||||||
|
|
Loading…
Reference in a new issue