Peter Chubb-6 wrote:
> 
>>>>>> "Peter" == Peter Chubb <lily-u...@chubb.wattle.id.au> writes:
> 
> Peter> I embed Lily in a shell script for that kind of thing (I'm
> Peter> running on Unix):
> 
> 
> 

Thanks Peter, but it seems I didn't explain myself:
what I need is sometihng like this (the syntax is invented: I don't know
scheme] directly IN lily files:

LilyVers = [Get lilypond version: "2.10" or "2.12"]
IF LilyVers = "2.10" THEN Notes = {c d e} ELSE Notes = {c^\newMarkupCommand
d\newCommand e\newStuff }
\score { \Notes }

It's very simple, I'm sure is much more simple than at first glance.

Thanks all
Piero



-----
Piero Faustini, PhD student
Dipartimento di Scienze Storiche
Sezione musicologia
Università di Ferrara 

Software used:
- LyX 1.6.1 on WinXP; EndNote & JabRef
- MikTex
- LaTeX class: Koma book
- Lilypond and MusixTeX for example excerpts
- BibLaTeX for bibliographies 


-- 
View this message in context: 
http://www.nabble.com/Command-switch-based-on-Lily-version--tp22646853p22652534.html
Sent from the Gnu - Lilypond - User mailing list archive at Nabble.com.



_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to