[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: optional transposition triggered by an external file?
From: |
David Kastrup |
Subject: |
Re: optional transposition triggered by an external file? |
Date: |
Tue, 30 Jul 2013 09:56:44 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) |
Marc Hohl <address@hidden> writes:
>>> \begin{appendix}
>>> \chapter{For Bb instruments}
>>> \begin{lilypond}
>>> #(define transposeTo d)
>>> \include{A.ly}
>>> \end{lilypond}
Rather \include "A.ly"
> That's exactly what I want to avoid. My idea boils down to allow for
> something like
>
> transposeTo = transposeTo OR c
>
> which is Lua-like. Is something similar possible in scheme?
Well, Scheme does not autodeclare variables, so it's more complex:
#(define transposeTo (if (defined? 'transposeTo) transposeTo #{ c #}))
--
David Kastrup