lilypond-user
[Top][All Lists]
Advanced

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

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


From: David Kastrup
Subject: Re: Is there an equivalent of #define ... #ifndef ... #endif in lilypond?
Date: Thu, 23 Feb 2012 19:54:42 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.92 (gnu/linux)

David Kastrup <address@hidden> writes:

> Michael Hendry <address@hidden> 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 (alto)-2.pdf
>> TestTag (alto)-3.pdf
>>
>> ...although the definition of GuitarBook includes '\bookOutputName "TestTag
>> (gtr)"', and so on for the other parts.
>
> \bookOutputName sets a global variable.  Do you think the variable
> should be part of the \layout or something like that?

I picked the \paper settings of the book.

Updates:
        Labels: Patch-new

Comment #5 on issue 2343 by address@hidden: Faulty file-naming when
outputting multiple \books
http://code.google.com/p/lilypond/issues/detail?id=2343#c5

Issue 2343: Faulty file-naming when outputting multiple \books

http://codereview.appspot.com/5698050


It is conceivable that you don't need the C++ part of the patch just to
try it out in case you don't have the means to recompile.

-- 
David Kastrup




reply via email to

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