Re: check undefined variable scheme

2018-05-24 Thread Gianmaria Lari
Thank you David, Urs and Andrew for the code, the link to the documentation and the study suggestion! On Thu, 24 May 2018 at 11:00, Andrew Bernard wrote: > Hi Gianmaria, > > The others have beat me to it, but I just wanted to say you should read up > on closures in Scheme. This will give you are

Re: check undefined variable scheme

2018-05-24 Thread Andrew Bernard
Hi Gianmaria, The others have beat me to it, but I just wanted to say you should read up on closures in Scheme. This will give you are really good grasp of what's going on. Andrew ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.o

Re: check undefined variable scheme

2018-05-24 Thread Urs Liska
eserved words for variable names, so I'd use 'counter' instead. Is it possible to define "count" inside the function just in case it is undefined? Yes, see: \version "2.19.80" #(define (nextcount)    (if (not (defined? 'counter)) (ly:parser-define! 

Re: check undefined variable scheme

2018-05-24 Thread David Kastrup
ion already behaves as such > - You shouldn't use reserved words for variable names, so I'd use > 'counter' instead. >> Is it possible to define "count" inside the function just in case it >> is undefined? > > Yes, see: > > \version "

Re: check undefined variable scheme

2018-05-24 Thread Urs Liska
; instead. Is it possible to define "count" inside the function just in case it is undefined? Yes, see: \version "2.19.80" #(define (nextcount)    (if (not (defined? 'counter)) (ly:parser-define! 'counter 0))    (set! counter (+ 1 counter))    (number->string co

check undefined variable scheme

2018-05-24 Thread Gianmaria Lari
Is it possible to define "count" inside the function just in case it is undefined? Thank you, g. ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user

Re: Automatically convert beams [ ] into slurs ( ) to indicate melisma (was undefined)

2015-04-28 Thread Simon Albrecht
Am 28.04.2015 um 03:44 schrieb Paul Morris: Calixte Faure wrote Traditionally, vocal scores are written without beams, except for melisma. But modern scores tend to keep beams everywhere and put slurs to indicate melisma. Is it possible to have both output with one source, without complicating

Re: Automatically convert beams [ ] into slurs ( ) to indicate melisma (was undefined)

2015-04-28 Thread Paul Morris
Hi Calixte, > On Apr 28, 2015, at 4:11 AM, Calixte Faure wrote: > > Hi Paul, > > Thanks a lot for snippet! > Here’s an example with words and autoBeamOff. The idea is to have both > traditional and modern vocal engraving with a unique source. > > music = { > \time 2/4 > | c'8[ d'] e' f' >

Re: Automatically convert beams [ ] into slurs ( ) to indicate melisma (was undefined)

2015-04-28 Thread Calixte Faure
use case as well as it > could. If anyone has a better example, reply with it here and I can > replace > the music in the snippet with it. > > -Paul > > > > > -- > View this message in context: > http://lilypond.1069038.n5.nabble.com/undefined-tp174666p175527.ht

Automatically convert beams [ ] into slurs ( ) to indicate melisma (was undefined)

2015-04-27 Thread Paul Morris
ample illustrates the use case as well as it could. If anyone has a better example, reply with it here and I can replace the music in the snippet with it. -Paul -- View this message in context: http://lilypond.1069038.n5.nabble.com/undefined-tp174666p175527.htm

Re: undefined

2015-04-17 Thread Paul Morris
> On Apr 17, 2015, at 12:57 PM, David Nalesnik wrote: > > Nice function! I think you also need to set types to reflect the change to a > slur. Good catch! Looks like there’s also a ‘spanner-id property on slurs, so I added that too for good measure. Also a little code simplification. Thank

Re: undefined

2015-04-17 Thread David Nalesnik
ery case we still have the problem of very long melisma where slurs > must be used with beams, for example when there is a bar line. > > Thanks again! and sorry for the « undefined » title… > > Regards, > Calixte. > > > > > 2015-04-17 16:38 GMT+02:00 Paul Morris : &

Re: undefined

2015-04-17 Thread Calixte Faure
re is a bar line. Thanks again! and sorry for the « undefined » title… Regards, Calixte. 2015-04-17 16:38 GMT+02:00 Paul Morris : > > On Apr 17, 2015, at 5:05 AM, Calixte Faure > wrote: > > > > and a magic command (say \beamToSlur) would switch [ ] to ( ). > > Hi Cal

Re: undefined

2015-04-17 Thread Paul Morris
> On Apr 17, 2015, at 5:05 AM, Calixte Faure wrote: > > and a magic command (say \beamToSlur) would switch [ ] to ( ). Hi Calixte, Here’s a music function for this. Seems to do the trick, but untested on actual music. HTH, -Paul % \version "2.18.2" beamsToSlurs = #(define-music-

Re: undefined

2015-04-17 Thread Klaus Blum
art from the \autoBeamOff this is the same score as above: \score { \relative { \autoBeamOff r8 c' a' g16[ f] g8 c, f16[ e f] d e4( d\prall) c\fermata \bar "|." } \addlyrics { This on -- ly serves as an ex -- am -- ple. } } % -

Re: undefined

2015-04-17 Thread Jan-Peter Voigt
Hi Calixte, it should be possible to create an engraver that solves this. The following things to keep in mind for that: You can set the properties, which trigger melismas \set melismaBusyProperties = #'(melismaBusy slurMelismaBusy tieMelismaBusy beamMelismaBusy) If slurMelismaBusy and beamMelis

Re: undefined

2015-04-17 Thread Urs Liska
Am 17.04.2015 um 11:15 schrieb Orm Finnendahl: Am Freitag, den 17. April 2015 um 11:05:00 Uhr (+0200) schrieb Calixte Faure: Hi everyone! Traditionally, vocal scores are written without beams, except for melisma. But modern scores tend to keep beams everywhere and put slurs to indicate melism

Re: undefined

2015-04-17 Thread Orm Finnendahl
Am Freitag, den 17. April 2015 um 11:05:00 Uhr (+0200) schrieb Calixte Faure: > Hi everyone! > > Traditionally, vocal scores are written without beams, except for melisma. > But modern scores tend to keep beams everywhere and put slurs to indicate > melisma. > > Is it possible to have both output

undefined

2015-04-17 Thread Calixte Faure
Hi everyone! Traditionally, vocal scores are written without beams, except for melisma. But modern scores tend to keep beams everywhere and put slurs to indicate melisma. Is it possible to have both output with one source, without complicating the typesetting? I have this in mind : vocal = \rela

Re: LaTex and LP (undefined environment)

2006-07-28 Thread Mats Bengtsson
J Millett <[EMAIL PROTECTED]>: I am attempting to write a file in TexShop 1.43 that includes Lilypond code. But I keep getting the error message: ! LaTeX Error: Environment LilyPond undefined. Here are some things I've tried: Cut and pasted directly from the LP manua

LaTex and LP (undefined environment)

2006-07-28 Thread Michael J Millett
I am attempting to write a file in TexShop 1.43 that includes Lilypond code. But I keep getting the error message: ! LaTeX Error: Environment LilyPond undefined. Here are some things I've tried: Cut and pasted directly from the LP manual. Have tried spelling LP as LilyPond, lil

Re: Undefined control sequence. \embeddedps

2005-11-17 Thread n0oct
On Thu, 17 Nov 2005 20:10:03 +0100 Mats Bengtsson <[EMAIL PROTECTED]> wrote: > Are you sure that configure was regenerated when you ran autogen? > Actually, it's not that hard to edit configure by hand. Just replace > all occurancies of "4.7" with "4.6" (3 places if I'm not mistaken). Quite sure-

Re: Undefined control sequence. \embeddedps

2005-11-17 Thread Mats Bengtsson
[EMAIL PROTECTED] wrote: On Thu, 17 Nov 2005 14:54:42 +0100 Mats Bengtsson <[EMAIL PROTECTED]> wrote: That's only needed to process the documentation. You can safely change the line in configure.in that says STEPMAKE_PROGS(MAKEINFO, makeinfo, REQUIRED, 4.7) to read 4.6 instead and then run .

Re: Undefined control sequence. \embeddedps

2005-11-17 Thread n0oct
On Thu, 17 Nov 2005 14:54:42 +0100 Mats Bengtsson <[EMAIL PROTECTED]> wrote: > That's only needed to process the documentation. You can safely change > the line in configure.in that says > STEPMAKE_PROGS(MAKEINFO, makeinfo, REQUIRED, 4.7) > to read 4.6 instead and then run > ./autogen > to generat

Re: Undefined control sequence. \embeddedps

2005-11-17 Thread Mats Bengtsson
[EMAIL PROTECTED] wrote: On Wed, 16 Nov 2005 10:07:28 +0100 Mats Bengtsson <[EMAIL PROTECTED]> wrote: If you search the mailing lists, you will find emails from several people who have installed LilyPond of FreeBSD. Hopefully you can find some useful hints there. /Mats I did, an

Re: Undefined control sequence. \embeddedps

2005-11-17 Thread n0oct
On Wed, 16 Nov 2005 10:07:28 +0100 Mats Bengtsson <[EMAIL PROTECTED]> wrote: > If you search the mailing lists, you will find emails from several people > who have installed LilyPond of FreeBSD. Hopefully you can find some > useful hints there. > >/Mats I did, and none of the suggestions get

Re: Undefined control sequence. \embeddedps

2005-11-16 Thread Mats Bengtsson
If you search the mailing lists, you will find emails from several people who have installed LilyPond of FreeBSD. Hopefully you can find some useful hints there. /Mats [EMAIL PROTECTED] wrote: On Tue, 15 Nov 2005 17:22:00 +0100 Mats Bengtsson <[EMAIL PROTECTED]> wrote: Please always kee

Re: Undefined control sequence. \embeddedps

2005-11-15 Thread n0oct
On Tue, 15 Nov 2005 17:22:00 +0100 Mats Bengtsson <[EMAIL PROTECTED]> wrote: > Please always keep the discussion on the mailing list, for the > benefit of yourself since you get access to the collected > expertise on the list and for the benefit of others who experience > similar problems. Feel fr

Re: Undefined control sequence. \embeddedps

2005-11-15 Thread Mats Bengtsson
I really recommend to upgrade to the latest stable version, 2.6 or at least to avoid development versions like 2.3 (odd sub-version is development, even is "stable"). I guess the real problem is that you use teTeX version 3.0, which by default uses pdflatex run in latex mode for the 'latex' comman

Re: Undefined control sequence. \embeddedps

2005-11-15 Thread Jim Smith
Mats Bengtsson s3.kth.se> writes: > > As you can see from the error message, latex finds some files > from an installation of lilypond 2.3.4, so if you really run the > lilypond command from version 2.2.2 then the problem is that > you have two versions of the program installed but not set up >

Re: Undefined control sequence. \embeddedps

2005-11-15 Thread Mats Bengtsson
n.aux. (./latin.tex (/usr/local/share/lilypond/2.3.4/tex/lilyponddefs.tex (/usr/local/share/lilypond/2.3.4/tex/feta20.tex) (/usr/local/share/lilypond/2.3.4/tex/lily-pdf-defs.tex)) ! Undefined control sequence. \kern 005.6906\outputscale \embeddedps {-00

Undefined control sequence. \embeddedps

2005-11-14 Thread jim smith
4/tex/feta20.tex) (/usr/local/share/lilypond/2.3.4/tex/lily-pdf-defs.tex)) ! Undefined control sequence. \kern 005.6906\outputscale \embeddedps {-00. 000.1600 008.050... l.437 } -- The beginning part of the .tex file looks like this: -- % Gene