[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: init.ly, what does it do?
From: |
Simon Albrecht |
Subject: |
Re: init.ly, what does it do? |
Date: |
Sun, 8 Jan 2017 21:06:06 +0100 |
On 08.01.2017 20:33, Br. Samuel Springuel wrote:
use the same ly source for two different projects and yet produce
different output versions by simply invoking lilypond with the
appropriate --init option on the source.
I think often all you need is a clever \include structure and invoking
different .ly files, which apply different settings and both include the
same content, like
% print-large.ly
\version "2.19.53"
#(set-global-staff-size 20)
\include "score.ily"
% print-small.ly
\version "2.19.53"
#(set-global-staff-size 11)
\include "score.ily"
% score.ily
\include "music.ily"
\score {
\music
}
%%%%%%%%%%%%%%%%
Another option might be using the -e option to initialise a Scheme
variable, which then triggers a switch inside your .ly file.
HTH, Simon
- init.ly, what does it do?, Br. Samuel Springuel, 2017/01/08
- Re: init.ly, what does it do?,
Simon Albrecht <=
- Re: init.ly, what does it do?, Br. Samuel Springuel, 2017/01/08
- Re: init.ly, what does it do?, Br. Samuel Springuel, 2017/01/08
- Re: init.ly, what does it do?, Thomas Morley, 2017/01/08
- Re: init.ly, what does it do?, Br. Samuel Springuel, 2017/01/08
- Re: init.ly, what does it do?, David Wright, 2017/01/08
- Re: init.ly, what does it do?, Thomas Morley, 2017/01/09
- Re: init.ly, what does it do?, Simon Albrecht, 2017/01/08