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

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

Re: check undefined variable scheme

2018-05-24 Thread Urs Liska
uch - 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 "2.19.80" #(define (nextcount)    (if (not (defined? 'counter)) (ly:parser-define! 'count

Re: check undefined variable scheme

2018-05-24 Thread David Kastrup
the procedure > definition 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
ble 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 counter)    ) #(ly:message &quo

check undefined variable scheme

2018-05-24 Thread Gianmaria Lari
way? 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 Paul Morris
Hi Calixte, On Apr 28, 2015, at 4:11 AM, Calixte Faure calixte.fa...@gmail.com 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 |

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

2015-04-28 Thread Calixte Faure
://lilypond.1069038.n5.nabble.com/undefined-tp174666p175527.html Sent from the User mailing list archive at Nabble.com. ___ 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

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

2015-04-27 Thread Paul Morris
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.html Sent from the User mailing list archive at Nabble.com

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 =

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 with

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

Re: undefined

2015-04-17 Thread Paul Morris
On Apr 17, 2015, at 5:05 AM, Calixte Faure calixte.fa...@gmail.com 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

Re: undefined

2015-04-17 Thread Klaus Blum
) c\fermata \bar |. } \addlyrics { This on -- ly serves as an ex -- am -- ple. } } % - Cheers, Klaus -- View this message in context: http://lilypond.1069038.n5.nabble.com/undefined-tp174666p174677.html Sent from the User mailing list

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

Re: undefined

2015-04-17 Thread Calixte Faure
! and sorry for the « undefined » title… Regards, Calixte. 2015-04-17 16:38 GMT+02:00 Paul Morris p...@paulwmorris.com: On Apr 17, 2015, at 5:05 AM, Calixte Faure calixte.fa...@gmail.com wrote: and a magic command (say \beamToSlur) would switch [ ] to ( ). Hi Calixte, Here’s a music

Re: undefined

2015-04-17 Thread Paul Morris
On Apr 17, 2015, at 12:57 PM, David Nalesnik david.nales...@gmail.com 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

Re: undefined

2015-04-17 Thread David Nalesnik
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 p...@paulwmorris.com: On Apr 17, 2015, at 5:05 AM, Calixte Faure calixte.fa...@gmail.com wrote

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, lilypond

Re: LaTex and LP (undefined environment)

2006-07-28 Thread Mats Bengtsson
[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 manual. Have tried spelling

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 past

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, and

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 generate and

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 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--that a

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 keep

Re: Undefined control sequence. \embeddedps

2005-11-15 Thread Mats Bengtsson
. (./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. argument \kern 005.6906\outputscale \embeddedps

Re: Undefined control sequence. \embeddedps

2005-11-15 Thread Jim Smith
Mats Bengtsson mats.bengtsson at 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

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' command

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 free to

Undefined control sequence. \embeddedps

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