Passing a variable into a scheme function? (need syntax of)

2006-08-01 Thread Rick Hansen (aka RickH)
How can I pass a variable into the magstep function? The following fails on a parser error, the log ends with parsing I would like to be able to pass a scaling factor into my template along with all the notes variables. When I hard-code -3 into the template it works fine, but when I try

Re: Passing a variable into a scheme function? (need syntax of)

2006-08-01 Thread John Mandereau
Rick Hansen (aka RickH) wrote: How can I pass a variable into the magstep function? The following fails on a parser error, the log ends with parsing I would like to be able to pass a scaling factor into my template along with all the notes variables. When I hard-code -3

Re: Passing a variable into a scheme function? (need syntax of)

2006-08-01 Thread Rick Hansen (aka RickH)
Thank you very much sir! -- View this message in context: http://www.nabble.com/Passing-a-variable-into-a-scheme-function--%28need-syntax-of%29-tf2034704.html#a5602120 Sent from the Gnu - Lilypond - User forum at Nabble.com. ___ lilypond-user

Unbound variable pages with the TeX back-end on Mac OS X

2006-07-13 Thread Édouard Gilbert
... Layout output to `test.tex'...ERROR: Unbound variable: pages Same troubles with 2.9.11. What am I doing wrong ? I'm on Mac OS X 10.4.7 (Darwin 8.7.1) intel version. Any clue of what is going on ? Cheers, Edouard ___ lilypond-user mailing list

ERROR: Unbound variable: primitive-fork

2006-05-03 Thread Jahwe2000
Hi, I get this error from lilypond when trying to convert any file (even empty ones) with the tex backend: ERROR: Unbound variable: primitive-fork I have just installed lilypond for windows and have also tried version 2.8.1 and 2.9.3 with the same result. Creating PS, PDF etc works fine. Does

numbers in variable names

2006-04-19 Thread Kieren Richard MacMillan
Hello, all -- I use a lot of variables, especially when breaking larger works across multiple pieces (and thus .ly files). I'd like to name my variables numerically, e.g., file01.ly global01 = { ... } notes01 = { ... } file02.ly global02 = { ... }

Re: numbers in variable names

2006-04-19 Thread Daniel Johnson
Kieren Richard MacMillan wrote: Hello, all -- I use a lot of variables, especially when breaking larger works across multiple pieces (and thus .ly files). snip but Lilypond (more likely LaTeX) won't let me. Does anyone know a workaround? I always use Roman numerals. grin

Re: numbers in variable names

2006-04-19 Thread Geoff Horton
but Lilypond (more likely LaTeX) won't let me. Does anyone know a workaround? It's LilyPond. LaTeX isn't even used anymore. Roman numerals or spelling out the numbers ( \globalZeroOne ) are the only ways I know to work around it. Geoff ___

Re: numbers in variable names

2006-04-19 Thread andrea valle
variable names: voice152 = voicebec voice065 = voiceafe and so on... This contaminates also my conTeXt files. (sorry, I guess it won't help..) -a- grin ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo

dynamics: integrated or separate variable?

2006-04-10 Thread Kieren Richard MacMillan
Hey, all! Just wanted to take an informal survey... How many 'Ponders put their dynamics directly in the note code, e.g., notes = { a\pp b } and why? How many 'Ponders use a separate dynamics variable, e.g., notes = { a b } dynamics = { \pp } \notes \dynamics and why? How many

Re: dynamics: integrated or separate variable?

2006-04-10 Thread Geoff Horton
As a matter of practice, I put the dynamics directly in the note code, even though my philosophical preference is to separate notes from interpretation as much as possible. I'm not sure why--maybe to keep down the number of independent music parts, I guess. In any case, I'm happy to be shown

Re: dynamics: integrated or separate variable?

2006-04-10 Thread Rick Hansen (aka RickH)
requires one to come up with a coding philosophy/technique that works for them, more a matter of style than wrong or right. -- View this message in context: http://www.nabble.com/dynamics%3A-integrated-or-separate-variable--t1424969.html#a3844504 Sent from the Gnu - Lilypond - User forum

Re: dynamics: integrated or separate variable?

2006-04-10 Thread Kieren Richard MacMillan
Hello, Rick: I try to keep as much as possible OUT of the notes list Me, too! I've been thinking of using the new \parallelMusic feature as a replacement mechanism, e.g., %% CODE BEGINS \parallelMusic #'(notes dynamics) { g'4 g' g' g' | s1\f | g'4 g' g' g'

[Fwd: Re: dynamics: integrated or separate variable?]

2006-04-10 Thread Cameron Horsburgh
To: Kieren Richard MacMillan [EMAIL PROTECTED] Subject: Re: dynamics: integrated or separate variable? References: [EMAIL PROTECTED] In-Reply-To: [EMAIL PROTECTED] X-Enigmail-Version: 0.94.0.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Oops, must use 'Reply-All'! Kieren

Re: unnamed port: Unbound variable:

2005-11-15 Thread Mats Bengtsson
) wrote: Hi, What does this error mean? Parsing...unnamed port: In expression ?bar-size: unnamed port: Unbound variable: ?bar-size I get it when I try to compile the following \new ChordNames \with { \override BarLine #?bar-size = #4 voltaOnThisStaff = ##t \consists Bar_engraver \consists

unnamed port: Unbound variable:

2005-11-14 Thread joeyc (sent by Nabble.com)
Hi, What does this error mean? Parsing...unnamed port: In _expression_ ?bar-size: unnamed port: Unbound variable: ?bar-size I get it when I try to compile the following \new ChordNames \with { \override BarLine #?bar-size = #4 voltaOnThisStaff = ##t \consists Bar_engraver \consists

Re: unnamed port: Unbound variable:

2005-11-14 Thread joeyc (sent by Nabble.com)
I found it was a bad apostrophe ... fixed now Sent from the Gnu - Lilypond - User forum at Nabble.com. ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user

Using addlyrics with a variable

2005-10-10 Thread Neil Killeen
Hello I am exploring lilypond for the first time. In evaluating its suitability for my purposes, I am making a little test piece to explore layouts. I am having trouble with lyric setting. I would like to use a pre-defined variable with the \addlyrics command (I can't find the answer

Re: Using addlyrics with a variable

2005-10-10 Thread Mats Bengtsson
{ a b c } \addlyrics { \sopLyric } First of all, you have to tell the front end of LilyPond to handle the lyrics as lyrics, this is done with the \lyricmode (which is automatically done after \addlyrics and \lyricsto, but has to be done explicitly when you have your lyrics in a variable

Re: Using addlyrics with a variable

2005-10-10 Thread Han-Wen Nienhuys
Mats Bengtsson wrote: Secondly, you at least have to tell LilyPond that the score contains two things in parallel, namely the music and the lyrics. That's done with the Finally, for some silly reason, you need to have curly braces around the argument of \addlyrics. I'll send a bug report on

Re: Using addlyrics with a variable

2005-10-10 Thread Neil Killeen
a pre-defined variable with the more complex yric modes.So I tried this too. Below is the actual code (rather than some pseudo code like above) that I used. You can see I am trying to use lyricmode and lyricsto on the Soprano voice (the only one for now). The music is enclosed between

Re: Using addlyrics with a variable

2005-10-10 Thread Neil Killeen
the declared Voice ? thanks Neil Neil Killeen wrote: The manual does show how to use a pre-defined variable with the more complex yric modes.So I tried this too. Below is the actual code (rather than some pseudo code like above) that I used. You can see I am trying to use lyricmode

TEXMF variable needs to be set on Cygwin

2005-05-18 Thread Charles Cave
In my earlier post I descrived a problem running Lilypond. I have worked around that problem by setting the variable TEXMF, but now I get a new message! I now have a choice of files to donwload from the lilypond.org site. Which file do I download for Cygwin echo $TEXMF /usr/share/lilypond

Re: TEXMF variable needs to be set on Cygwin

2005-05-18 Thread Mats Bengtsson
For the record (it seems from private emails that Charles suffered from some temporary problems): This is never the correct solution! This variable will be set automatically in Cygwin (for those interested in the technical details, it's done in the file /etc/profile.d/lilypond-profile.sh, which

Re: TEXMF variable needs to be set on Cygwin

2005-05-18 Thread Bertalan Fodor
The fonts are part of the ec-fonts-mftraced package. They should be installed automatically along with lilypond. I must also note that your TEXMF variable is not correct. Please rerun setup.exe and reinstall lilypond. Make sure that tetex (bin and tiny) and ec-fonts-mftraced packages

Pitch variable

2004-12-25 Thread Gilles
Hello. Is it possible to have a variable for referring to a pitch? I.e to be able to write something like: - from = e to = g music = \notes { a4 b a c d } transposedmusic = \transpose \from \to \music - Best regards, Gilles ___ lilypond-user

Re: variable stave distances in piano-staves

2004-04-02 Thread Roland Goretzki
Hello list, hello Kili, You wrote: On Tue, Mar 30, 2004 at 10:55:37PM +0200, Matthias Kilian wrote: Can You tell me, wether it is possible or not to determine more than one line to change the distance? [ ... ] I'll work on this in a few days, so stay tuned. Here it is. Terrible,

Re: variable stave distances in piano-staves

2004-04-02 Thread Matthias Kilian
On Fri, Apr 02, 2004 at 08:27:28PM +0200, Roland Goretzki wrote: Since this is rather unstable (one changed linebreak after editing and you're in the wrong staff) I recommend to do that finetuning after everything else has been typed in. Unstable?: I think, only if I DID everything else,

Re: variable stave distances in piano-staves

2004-04-01 Thread Matthias Kilian
On Tue, Mar 30, 2004 at 10:55:37PM +0200, Matthias Kilian wrote: Under Piano music - BUGS I found it, and it is quite complicated, but it works. :) [...] Can You tell me, wether it is possible or not to determine more than one line to change the distance? With the hack mentioned in the

variable stave distances in piano-staves

2004-03-28 Thread Roland Goretzki
Hello, globaly I can set the distance between the two staves of piano-staves with: \context { \PianoStaffContext \override VerticalAlignment #'forced-distance = #number } My question: Is there a possibility to change the distances localy during a score? I couldn't find in

\mark {variable} ?

2003-10-05 Thread Jos Luis Cruz
Hi, how could i print the value of a variable? What is the sintaxis for having a \mark{value_of_key_signature}, for example? I pretend to print texts, who depends on the value of certain variables, but i have not been capable of find anything at respect on the documentation, nor in the email

Re: 1.5.73, Unbound variable: generic-staff-properties

2002-08-27 Thread Mats Bengtsson
Carlos [EMAIL PROTECTED] writes: What is CVS repository? How do you get there? via setup ? I'm not sure if you ever got a reasonable answer. The CVS repository is just a storage place for the source code that makes it possible for a group of programmers to work on the same program in a

1.5.73, Unbound variable: generic-staff-properties

2002-08-17 Thread Norbert Koch
: In expression generic-staff-properties: | ERROR: Unbound variable: generic-staff-properties | error: | | LilyPond failed on the input file. (exit status 2) | | Traceback (most recent call last): | File /usr/users/nk/local/bin/ly2dvi, line 984, in ? | run_lilypond (files, dep_prefix) | File /usr

Re: 1.5.73, Unbound variable: generic-staff-properties

2002-08-17 Thread Mats Bengtsson
message on every call to ly2dvi. An example: ,[ ly2dvi emacs-lily.ly ] | Running LilyPond... | GNU LilyPond 1.5.73 | Now processing: `emacs-lily.ly' | Parsing...Backtrace: | 0* generic-staff-properties | | ERROR: In expression generic-staff-properties: | ERROR: Unbound variable

Re: 1.5.73, Unbound variable: generic-staff-properties

2002-08-17 Thread Norbert Koch
Carlos [EMAIL PROTECTED] writes: What is CVS repository? How do you get there? via setup ? No, via client. Have a look at http://savannah.gnu.org/cvs/?group=lilypond norbert. ___ Lilypond-user mailing list [EMAIL PROTECTED]

<    4   5   6   7   8   9