Re: Is there an equivalent of #define ... #ifndef ... #endif in lilypond?

2012-02-26 Thread Michael Hendry
the faulty filenames by hand until it's released. -- View this message in context: http://old.nabble.com/Is-there-an-equivalent-of--define-...--ifndef-...--endif-in-lilypond--tp33346188p33393754.html Sent from the Gnu - Lilypond - User mailing list archive at Nabble.com

Re: Is there an equivalent of #define ... #ifndef ... #endif in lilypond?

2012-02-26 Thread David Kastrup
Michael Hendry hendry.mich...@gmail.com writes: I find it hard when groping in the dark with two unfamiliar languages to pin down which of them is not doing what I want it to do, and to distinguish what might be a fault in the implementation of the languages from a (much more likely) fault in

Re: Is there an equivalent of #define ... #ifndef ... #endif in lilypond?

2012-02-25 Thread Michael Hendry
$(if includeGuitar GuitarBook ) fatal error: failed files: score.ly -- View this message in context: http://old.nabble.com/Is-there-an-equivalent-of--define-...--ifndef-...--endif-in-lilypond--tp33346188p33389772.html Sent from the Gnu - Lilypond - User mailing list archive at Nabble.com

Re: Is there an equivalent of #define ... #ifndef ... #endif in lilypond?

2012-02-25 Thread David Kastrup
Francisco Vila paconet@gmail.com writes: 2012/2/24 Michael Hendry hendry.mich...@gmail.com: David Kastrup wrote: You can use includeGuitar = ##t includeConcert = ##f includeTrumpet = ##t includeAlto = ##f at the top and then do $(if includeGuitar GuitarBook) $(if includeConcert

Re: Is there an equivalent of #define ... #ifndef ... #endif in lilypond?

2012-02-25 Thread David Kastrup
Michael Hendry hendry.mich...@gmail.com writes: Francisco Vila wrote: 2012/2/25 Michael Hendry hendry.mich...@gmail.com: I've compiled compiled? and installed lilypond-2.15.9 (the latest version I could find) 2.15.30 is in http://lilypond.org/development , where did you search for

Re: Is there an equivalent of #define ... #ifndef ... #endif in lilypond?

2012-02-25 Thread David Kastrup
Michael Hendry hendry.mich...@gmail.com writes: I've compiled and installed lilypond-2.15.9 (the latest version I could find) Too old. Where did you look? -- David Kastrup ___ lilypond-user mailing list lilypond-user@gnu.org

Re: Is there an equivalent of #define ... #ifndef ... #endif in lilypond?

2012-02-24 Thread Michael Hendry
: http://old.nabble.com/Is-there-an-equivalent-of--define-...--ifndef-...--endif-in-lilypond--tp33346188p33384194.html Sent from the Gnu - Lilypond - User mailing list archive at Nabble.com. ___ lilypond-user mailing list lilypond-user@gnu.org https

Re: Is there an equivalent of #define ... #ifndef ... #endif in lilypond?

2012-02-24 Thread Graham Percival
On Fri, Feb 24, 2012 at 02:45:43AM -0800, Michael Hendry wrote: Is there a simple guide to the application of patches? - I'm looking for a step-by-step Delia Smith-style recipe as opposed to a more relaxed Jamie Oliver one, which might not be correct in every detail! There is no simple

Re: Is there an equivalent of #define ... #ifndef ... #endif in lilypond?

2012-02-24 Thread David Kastrup
Michael Hendry hendry.mich...@gmail.com writes: David Kastrup wrote: David Kastrup d...@gnu.org writes: I picked the \paper settings of the book. Updates: Labels: Patch-new Comment #5 on issue 2343 by d...@gnu.org: Faulty file-naming when outputting multiple \books

Re: Is there an equivalent of #define ... #ifndef ... #endif in lilypond?

2012-02-24 Thread David Kastrup
Michael Hendry hendry.mich...@gmail.com writes: David Kastrup wrote: You can use includeGuitar = ##t includeConcert = ##f includeTrumpet = ##t includeAlto = ##f at the top and then do $(if includeGuitar GuitarBook) $(if includeConcert ConcertBook) $(if includeTrumpet

Re: Is there an equivalent of #define ... #ifndef ... #endif in lilypond?

2012-02-24 Thread Francisco Vila
2012/2/24 Francisco Vila paconet@gmail.com: The (if ... part is Scheme. It works in latest development version. Sorry, this is not clearly told. The $( ... way of calling embedded Scheme did not work in 2.14 but it does in recently _released_ development versions. -- Francisco Vila.

Re: Is there an equivalent of #define ... #ifndef ... #endif in lilypond?

2012-02-24 Thread Francisco Vila
2012/2/24 Michael Hendry hendry.mich...@gmail.com: David Kastrup wrote: You can use includeGuitar = ##t includeConcert = ##f includeTrumpet = ##t includeAlto = ##f at the top and then do $(if includeGuitar GuitarBook) $(if includeConcert ConcertBook) $(if includeTrumpet TrumpetBook)

Re: Is there an equivalent of #define ... #ifndef ... #endif in lilypond?

2012-02-24 Thread Michael Hendry
that I read further I see that a dollar-sign is also used to inform Lilypond that a Scheme statement is coming. -- View this message in context: http://old.nabble.com/Is-there-an-equivalent-of--define-...--ifndef-...--endif-in-lilypond--tp33346188p33388543.html Sent from the Gnu - Lilypond - User

Re: Is there an equivalent of #define ... #ifndef ... #endif in lilypond?

2012-02-24 Thread Francisco Vila
2012/2/25 Michael Hendry hendry.mich...@gmail.com: I've compiled compiled? and installed lilypond-2.15.9 (the latest version I could find) 2.15.30 is in http://lilypond.org/development , where did you search for it? Forget google for a moment and go to the official home page of the project.

Re: Is there an equivalent of #define ... #ifndef ... #endif in lilypond?

2012-02-24 Thread Thomas Morley
Hi Michael, I've compiled and installed lilypond-2.15.9 (the latest version I could find) but still get the same error message with my file, IIRC it was implemented later than 2.15.9 The latest devel-version: http://lilypond.org/website/development.html Cheers, Harm

Re: Is there an equivalent of #define ... #ifndef ... #endif in lilypond?

2012-02-23 Thread David Kastrup
David Kastrup d...@gnu.org writes: Michael Hendry hendry.mich...@gmail.com writes: If I compile: \book { \GuitarBook } \book { \ConcertBook } \book { \TrumpetBook } \book { \AltoBook } I get the correct information in the output files, but the filenames are... TestTag (alto).pdf

Re: Is there an equivalent of #define ... #ifndef ... #endif in lilypond?

2012-02-22 Thread David Kastrup
Michael Hendry hendry.mich...@gmail.com writes: If I compile: \book { \GuitarBook } \book { \ConcertBook } \book { \TrumpetBook } \book { \AltoBook } I get the correct information in the output files, but the filenames are... TestTag (alto).pdf TestTag (alto)-1.pdf TestTag

Re: Is there an equivalent of #define ... #ifndef ... #endif in lilypond?

2012-02-20 Thread Urs Liska
in lilypond? http://old.nabble.com/Is-there-an-equivalent-of--define-...--ifndef-...--endif-in-lilypond--tp33346188p33346188.html Sent from the Gnu - Lilypond - User mailing list archive http://old.nabble.com/Gnu---Lilypond---User-f1722.html at Nabble.com

Re: Is there an equivalent of #define ... #ifndef ... #endif in lilypond?

2012-02-20 Thread Michael Hendry
Lilypond mainly with jazz charts, which have a predictable format and lend themselves to modular construction - I'll keep at it! -- View this message in context: http://old.nabble.com/Is-there-an-equivalent-of--define-...--ifndef-...--endif-in-lilypond--tp33346188p33355609.html Sent from the Gnu

Re: Is there an equivalent of #define ... #ifndef ... #endif in lilypond?

2012-02-20 Thread Christ van Willegen
Hi, On Sat, Feb 18, 2012 at 00:30, Michael Hendry hendry.mich...@gmail.com wrote: When I've finished a jazz chart, I'll want to produce separate parts for several transposing instruments, but while I'm working on the entry of the melody and chords in concert pitch I only need to produce one

Re: Is there an equivalent of #define ... #ifndef ... #endif in lilypond?

2012-02-20 Thread David Kastrup
Michael Hendry hendry.mich...@gmail.com writes: I've been experimenting with \tag, but it doesn't seem to be possible to use it in the \book {} context. Care to show your experiments? -- David Kastrup ___ lilypond-user mailing list

Re: Is there an equivalent of #define ... #ifndef ... #endif in lilypond?

2012-02-20 Thread Michael Hendry
#'ConcertBook { Interpreting music... [8] ... -- View this message in context: http://old.nabble.com/Is-there-an-equivalent-of--define-...--ifndef-...--endif-in-lilypond--tp33346188p33356488.html Sent from the Gnu - Lilypond - User mailing list archive at Nabble.com

Re: Is there an equivalent of #define ... #ifndef ... #endif in lilypond?

2012-02-20 Thread David Kastrup
Michael Hendry hendry.mich...@gmail.com writes: David Kastrup wrote: Michael Hendry hendry.mich...@gmail.com writes: I've been experimenting with \tag, but it doesn't seem to be possible to use it in the \book {} context. Care to show your experiments? -- David Kastrup OK -

Re: Is there an equivalent of #define ... #ifndef ... #endif in lilypond?

2012-02-20 Thread Michael Hendry
\ConcertBook error: failed files: score.ly michael@Linley6:~/indigo/workspace/TestTag$ -- View this message in context: http://old.nabble.com/Is-there-an-equivalent-of--define-...--ifndef-...--endif-in-lilypond--tp33346188p33357093.html Sent from the Gnu - Lilypond - User mailing list archive

Re: Is there an equivalent of #define ... #ifndef ... #endif in lilypond?

2012-02-20 Thread David Kastrup
Michael Hendry hendry.mich...@gmail.com writes: Ok, tags work with music, not with books. Here is what I would suggest: ConcertBook = \book { ... } and then you can at a later point of time say \ConcertBook and can comment that line out or not. Assigning #f to ConcertBook when

Re: Is there an equivalent of #define ... #ifndef ... #endif in lilypond?

2012-02-20 Thread David Kastrup
David Kastrup d...@gnu.org writes: Pffft. Taking a look at the LilyPond grammar (it is also in an appendix in the notation manual), it turns out that you have to write \book { \ConcertBook } here. Turns out that a book identifier can be used in both \bookpart and \book. That's a bit

Re: Is there an equivalent of #define ... #ifndef ... #endif in lilypond?

2012-02-20 Thread Michael Hendry
this message in context: http://old.nabble.com/Is-there-an-equivalent-of--define-...--ifndef-...--endif-in-lilypond--tp33346188p33357401.html Sent from the Gnu - Lilypond - User mailing list archive at Nabble.com. ___ lilypond-user mailing list lilypond-user

Is there an equivalent of #define ... #ifndef ... #endif in lilypond?

2012-02-19 Thread Michael Hendry
happy with the data entry. -- View this message in context: http://old.nabble.com/Is-there-an-equivalent-of--define-...--ifndef-...--endif-in-lilypond--tp33346188p33346188.html Sent from the Gnu - Lilypond - User mailing list archive at Nabble.com

Re: Is there an equivalent of #define ... #ifndef ... #endif in lilypond?

2012-02-19 Thread Helge Kruse
Am 18.02.2012 00:30, schrieb Michael Hendry: Obviously, I can comment out the sections I don't want during data entry work, and remove the comments once the work is complete, but it would be handy to be able to use a C-like construct like this: #DEFINE NotYet ... #IFNDEF NotYet \book {

Re: Is there an equivalent of #define ... #ifndef ... #endif in lilypond?

2012-02-19 Thread David Kastrup
Michael Hendry hendry.mich...@gmail.com writes: When I've finished a jazz chart, I'll want to produce separate parts for several transposing instruments, but while I'm working on the entry of the melody and chords in concert pitch I only need to produce one .pdf file. Obviously, I can comment

Re: Is there an equivalent of #define ... #ifndef ... #endif in lilypond?

2012-02-19 Thread Michael Hendry
in this context. -- View this message in context: http://old.nabble.com/Is-there-an-equivalent-of--define-...--ifndef-...--endif-in-lilypond--tp33346188p33351266.html Sent from the Gnu - Lilypond - User mailing list archive at Nabble.com. ___ lilypond

Re: Is there an equivalent of #define ... #ifndef ... #endif in lilypond?

2012-02-19 Thread Patrick Karl
Message: 1 Date: Sun, 19 Feb 2012 09:58:23 +0100 From: Helge Kruse helge.kruse-nos...@gmx.net To: lilypond-user@gnu.org Subject: Re: Is there an equivalent of #define ... #ifndef ... #endif in lilypond? Message-ID: 4f40b9af.5040...@gmx.net Content-Type: text/plain; charset

Re: Is there an equivalent of #define ... #ifndef ... #endif in lilypond?

2012-02-19 Thread Saul Tobin
Have you thought about how to use tags for this? Saul On Friday, February 17, 2012 03:30:51 PM Michael Hendry wrote: Obviously, I can comment out the sections I don't want during data entry work, and remove the comments once the work is complete, but it would be handy to be able to use a

Re: Is there an equivalent of #define ... #ifndef ... #endif in lilypond?

2012-02-19 Thread Michael Hendry
://old.nabble.com/Is-there-an-equivalent-of--define-...--ifndef-...--endif-in-lilypond--tp33346188p33354054.html Sent from the Gnu - Lilypond - User mailing list archive at Nabble.com. ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org

Re: Is there an equivalent of #define ... #ifndef ... #endif in lilypond?

2012-02-19 Thread lilypond
On Sun, Feb 19, 2012 at 02:48:05AM -0800, Michael Hendry wrote: #DEFINE NotYet ... #IFNDEF NotYet \book { \bookOutputName Chez Fernand (alto) \new Score \transpose f' d {\TheChords} \new Staff \repeat unfold 13 { s1 \noBreak s1 \noBreak s1

Re: Is there an equivalent of #define ... #ifndef ... #endif in lilypond?

2012-02-19 Thread Helge Kruse
Am 19.02.2012 11:48, schrieb Michael Hendry: So it would be: #define debugging ... several pages of code ... #ifdef debugging ... print something on the screen, and await a user response ... #endif ... several more pages of code ... #ifdef debugging ... do something else that's