Curly brackets in \markup
Hi all, Does anyone know if it is possible to put curly brackets {} in a \markup? Can they be escaped or something like that? thanks, Hans. ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Curly brackets in \markup
Thanks Nicolas, should have thought of this myself.. regards, Hans. Hans de Rijck [EMAIL PROTECTED] writes: Hi all, Does anyone know if it is possible to put curly brackets {} in a \markup? Can they be escaped or something like that? Use double-quotes: \markup { nicolas ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Cryptical errormessage
Han-Wen, I've found the culprit. The errormessage is caused by a fermata over a full measure rest: \new Voice \relative c { \clef treble \time 4/4 R1*4/4 \fermata } Removing the fermata clears the error, changing the rest to r1 too. regards, Hans. Lilypond version: 2.6.3 Message: programming error: not a markup: continuing, cross fingers Assertion failed: false, file text-interface.cc, line 61 - Original Message - From: Han-Wen Nienhuys [EMAIL PROTECTED] To: Hans de Rijck [EMAIL PROTECTED] Cc: lilypond-user@gnu.org Sent: Monday, September 05, 2005 12:20 AM Subject: Re: Cryptical errormessage Hans de Rijck wrote: The assertion message isn't very meaningful too, its logical the result is 'false', otherwise the assertion wouldn't have failed. It would be more helpful to print what the assertion was. Any ideas how to find the meaning of the above or how to debug this? Yes, run LilyPond inside GDB to see what is going wrong. Alternatively, you could post the problematic file here. -- Han-Wen Nienhuys - [EMAIL PROTECTED] - http://www.xs4all.nl/~hanwen ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Cryptical errormessage
Right, Thanks Daniel. I didn't need multi-measure rests in the first place, I needed full measure rests. I discovered that for a full measure rest a lowercase 'r' works equally well. \time 5/4 r1*5/4 gives a neat full measure rest in 5/4 time. Graham, could you please add this to the manual, so we don't need to fiddle with capital R rests when it is not necessary? Apart from this, the errormessage stays cryptical. It took me more than an hour to pinpoint the actual problem. regards, Hans. If you look here: http://lilypond.org/doc/v2.6/Documentation/user/out-www/lilypond/Multi-measu re-rests.html you'll see that adding a fermata to a multi-measure rest (R1 rather than r1) is done with \fermataMarkup instead of \fermata. --Daniel Hans de Rijck wrote: Han-Wen, I've found the culprit. The errormessage is caused by a fermata over a full measure rest: \new Voice \relative c { \clef treble \time 4/4 R1*4/4 \fermata } Removing the fermata clears the error, changing the rest to r1 too. regards, Hans. Lilypond version: 2.6.3 Message: programming error: not a markup: continuing, cross fingers Assertion failed: false, file text-interface.cc, line 61 ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
[OT] NoteWorthy Composer to LilyPond converter
Hi all, I've spent the greater part of my holiday completely rewriting the program that converts NoteWorthy Composer files to LilyPond. It's now completely written in C++ and adding a separate MusicXML frontend should be relatively easy. But that has to wait for a next holiday (if there is any interest for this). For those of you who are interested, more information can be found on: http://musiccvt.octet.nl Kind regards, Hans de Rijck. ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Cryptical errormessage
Hi, I get an errormessage that I don't understand, the last lines of lilypond --verbose are: 819][822][825][828][831][834][837][840][843][846][849][852][855][858][861][8 64][ 867][870][873][876][879][882][885][888][891][894][897][900][903][906][909][9 12][ 915][918][921][924][927][930][933][936][939][942][945][946] Optimal demerits: 3.725138 Element count 37348.[0][1][2][3][4][5][6][7][8][9][10][11][12][13][14][15][16][1 7][18][19][20][21][ programming error: not a markup: continuing, cross fingers ()Assertion failed: false, file text-interface.cc, line 61 abnormal program termination Are the numbers in square brackets after 'Element count' barnumbers? In the lines above they are. But measures 1 to 30 are only full measure rests with no markups. The assertion message isn't very meaningful too, its logical the result is 'false', otherwise the assertion wouldn't have failed. It would be more helpful to print what the assertion was. Any ideas how to find the meaning of the above or how to debug this? Apart from the message above there are no warnings or errors. regards, Hans. ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Cryptical errormessage
Done. h. - Original Message - From: Erik Sandberg [EMAIL PROTECTED] To: lilypond-user@gnu.org; Hans de Rijck [EMAIL PROTECTED] Sent: Sunday, September 04, 2005 7:35 PM Subject: Re: Cryptical errormessage On Sunday 04 September 2005 17.21, Hans de Rijck wrote: Hi, I get an errormessage that I don't understand, the last lines of lilypond --verbose are: 819][822][825][828][831][834][837][840][843][846][849][852][855][858][861][ 8 64][ 867][870][873][876][879][882][885][888][891][894][897][900][903][906][909][ 9 12][ 915][918][921][924][927][930][933][936][939][942][945][946] Optimal demerits: 3.725138 Element count 37348.[0][1][2][3][4][5][6][7][8][9][10][11][12][13][14][15][16][1 7][18][19][20][21][ programming error: not a markup: continuing, cross fingers ()Assertion failed: false, file text-interface.cc, line 61 abnormal program termination Are the numbers in square brackets after 'Element count' barnumbers? In the lines above they are. But measures 1 to 30 are only full measure rests with no markups. The assertion message isn't very meaningful too, its logical the result is 'false', otherwise the assertion wouldn't have failed. It would be more helpful to print what the assertion was. Any ideas how to find the meaning of the above or how to debug this? Apart from the message above there are no warnings or errors. This is a clear bug, please send a bugreport. The error message is only meant to be understood by developers, but we need to be able to reproduce it. -- Erik ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: How can I avoid unicode and use Latin1? (Was: Wrong characterswith jEdit)
Or, for someone with a C compiler, the poor-man's algorithm is: for ( unsigned int i = 0; i length; i++ ) { if ( (unsigned char)line1[i] 127 ) { *line2++ = (char)(192 + (((unsigned char)line1[ i ]) / 64)); *line2++ = (char)(128 + (((unsigned char)line1[ i ]) % 64)); } else { *line2++ = line[ i ]; } } But in general, the quickest solution is to load the file in Notepad, and save as UTF-8. regards, Hans. - Original Message - From: Daniel Johnson [EMAIL PROTECTED] To: lilypond-user@gnu.org Cc: [EMAIL PROTECTED]; Mats Bengtsson [EMAIL PROTECTED] Sent: Friday, September 02, 2005 7:42 PM Subject: Re: How can I avoid unicode and use Latin1? (Was: Wrong characterswith jEdit) Mats Bengtsson wrote: If you find this added flexibility in LilyPond 2.6 so annoying, then you could use some program that converts a Latin1 coded file into UTF-8 coding and even make a script file that first does the conversion and then calls LilyPond. Unfortunately, I don't know Windows well enough to provide any specific hints but there should be several possibilities available. /Mats This sounds like a job for a sed script, but... I offer the following with NO WARRANTY. I haven't used Windows in about a year so this is all from memory, but I am enclosing a VBScript file that should perform conversion from Latin-1 to UTF-8. I haven't tested this. Also, I never did figure out how to use command-line args with VBS, so you'll have to hardcode the input and output filenames each time (unless you have on-hand a guru who can improve this thing). Anyhow, here goes. You'll want to save this with a .vbs extension. ' begin VBScript code Option Explicit Dim sInFileName, sOutFileName sInFileName = ' Filename you wish to convert (with full path) sOutFileName = ' Filename you want for the output Dim oFSO Dim oInFile, sInString Dim oOutFile, sOutString Dim i, s Dim sTransArray(255) 'Populate the translation table For i = 128 To 191 sTransArray(i) = chr(HC2) chr(i) Next For i = 192 To 255 sTransArray(i) = chr(HC3) chr(i - 64) Next 'Read the input file as a single string Set oFSO = CreateObject(Scripting.FileSystemObject) Set oInFile = oFSO.OpenTextFile(sInFileName, 1, False, 0) sInString = oInFile.ReadAll oInFile.Close Set oInFile = Nothing 'Perform char-by-char translation sOutString = For i = 0 To Len(sInString) s = Mid(sInString, i, 1) If Asc(s) 128 Then sOutString = sOutString s Else sOutString = sOutString sTransArray(Asc(s)) End If Next 'Write the resulting file to the output file Set oOutFile = oFSO.OpenTextFile(sOutFileName, 2, True, 0) oOutFile.Write(sOutString) oOutFile.Close 'Perform final housekeeping Set oOutFile = Nothing Set oFSO = Nothing End ' end VBScript code ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Guile
Add LYEDITOR to your environment, something like: LYEDITOR=e:\progra~1\vslick\win\vs.exe -#%(line)s %(file)s regards, Hans. - Original Message - From: Mehmet Okonsar [EMAIL PROTECTED] To: lilypond-user@gnu.org Sent: Thursday, September 01, 2005 8:08 AM Subject: Guile how can I easily, and without having to learn Guile, set the point and click editor to C:\Program Files\Editors\Winedit\WinEdt.exe instead of Lilypad ? Thanks Best Regards, Mehmet Okonsar, pianist-composer www.okonsar.com ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: LilyPond resource usage
Yes, I suspect a bug in the way you measure the resource usage. Or do you have an extreme number of fonts installed? I don't think so. It's the windows taskmanager, AFAIK its above suspicion. I sent you an attached .png but it was bounced by the group. total number of fonts installed: 129 (no, that's not extreme). regards, Hans. ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: LilyPond resource usage
The suspicious number is actually 18,601,020 - it's doing a lot of small reads. Agreed, figures are consistent with blocked I/O and 512 bytes/block What happens if you run with --verbose? What does lily do when the increase happens. Here is the verbose output: First part: no spectacular increase** G:\MusicCvtE:\Program Files\LilyPond\usr\bin\lilypond --verbose kv299.ly GNU LilyPond 2.6.3 LILYPOND_DATADIR=/usr/share/lilypond/2.6.3 LOCALEDIR=/usr/share/locale Effective prefix: E:/Program Files/LilyPond/usr/share/lilypond/2.6.3 FONTCONFIG_FILE=E:/Program Files/LilyPond/usr/etc/fonts/fonts.conf GS_FONTPATH=E:/Program Files/LilyPond/usr/share/gs/fonts;E:\WINNT/fonts GS_LIB=E:/Program Files/LilyPond/usr/share/gs/lib GUILE_LOAD_PATH=E:/Program Files/LilyPond/usr/share/guile/1.7 PANGO_RC_FILE=E:/Program Files/LilyPond/usr/etc/pango/pangorc PATH=E:/Program Files/LilyPond/usr/bin;E:\Program Files\Borland\Delphi7\Bin;E:\ Program Files\Borland\Delphi7\Projects\Bpl\;E:\WINNT\system32;E:\WINNT;E:\WINNT\ System32\Wbem;E:\DLL;E:\tools;E:\Program Files\Common Files\Ulead Systems\MPEG;E :\Perl\bin\;D:\BITWARE\;C:\WINDOWS;C:\UTILITY\DOS;D:\LANTASTI;C:\;D:\;C:\UTI LITY \UTILS;C:\UTILITY\PCTOOLS;C:\UTILITY\SCS;;C:\TOEPAS\WP60;C:\IEXPLORE Initializing FontConfig... adding font directory: E:/Program Files/LilyPond/usr/share/lilypond/2.6.3/fonts/ otf/ adding font directory: E:/Program Files/LilyPond/usr/share/lilypond/2.6.3/fonts/ type1/ adding font directory: E:/Program Files/LilyPond/usr/share/lilypond/2.6.3/fonts/ svg/ Processing `kv299.ly' Parsing...[E:/Program Files/LilyPond/usr/share/lilypond/2.6.3/ly/init.ly[E:/Prog ram Files/LilyPond/usr/share/lilypond/2.6.3/ly/declarations-init.ly[E:/Program F iles/LilyPond/usr/share/lilypond/2.6.3/ly/music-functions-init.ly][E:/Progra m Fi les/LilyPond/usr/share/lilypond/2.6.3/ly/nederlands.ly][E:/Program Files/LilyPon d/usr/share/lilypond/2.6.3/ly/drumpitch-init.ly][E:/Program Files/LilyPond/usr/s hare/lilypond/2.6.3/ly/chord-modifiers-init.ly][E:/Program Files/LilyPond/usr/sh are/lilypond/2.6.3/ly/script-init.ly][E:/Program Files/LilyPond/usr/share/lilypo nd/2.6.3/ly/scale-definitions-init.ly][E:/Program Files/LilyPond/usr/share/lilyp ond/2.6.3/ly/grace-init.ly][E:/Program Files/LilyPond/usr/share/lilypond/2.6.3/l y/midi-init.ly[E:/Program Files/LilyPond/usr/share/lilypond/2.6.3/ly/performer-i nit.ly]][E:/Program Files/LilyPond/usr/share/lilypond/2.6.3/ly/paper-defaults.ly [E:/Program Files/LilyPond/usr/share/lilypond/2.6.3/ly/titling-init.ly]][E:/Prog ram Files/LilyPond/usr/share/lilypond/2.6.3/ly/engraver-init.ly][E:/Program File s/LilyPond/usr/share/lilypond/2.6.3/ly/dynamic-scripts-init.ly][E:/Program Files /LilyPond/usr/share/lilypond/2.6.3/ly/spanners-init.ly][E:/Program Files/LilyPon d/usr/share/lilypond/2.6.3/ly/property-init.ly]][kv299.ly] Interpreting music... [E:/Program Files/LilyPond/usr/share/lilypond/2.6.3/fonts/ otf/emmentaler-20.otf] E:/Program Files/LilyPond/usr/share/lilypond/2.6.3/ly/grace-init.ly:16:8: warnin g: can't end slur s1*0 ) kv299.ly:4129:39: warning: adding note head to incompatible stem (type = 32) \appoggiatura { c'32\f e g } c4. g8 e c e g | kv299.ly:4129:39: warning: maybe input should specify polyphonic voices \appoggiatura { c'32\f e g } [8][16][24][32][40][48][56][64][72][80][88][96][104][112][120] kv299.ly:426:26: warning: barcheck failed at: 1/2 g g' 1 e'2 | kv299.ly:1226:26: warning: barcheck failed at: 1/2 g g' 1 e'2 [128][136][144][152][160] | E:/Program Files/LilyPond/usr/share/lilypond/2.6.3/ly/grace-init.ly:16:8: warnin g: can't end slur s1*0 ) E:/Program Files/LilyPond/usr/share/lilypond/2.6.3/ly/grace-init.ly:16:8: warnin g: can't end slur s1*0 ) E:/Program Files/LilyPond/usr/share/lilypond/2.6.3/ly/grace-init.ly:16:8: warnin g: can't end slur s1*0 ) E:/Program Files/LilyPond/usr/share/lilypond/2.6.3/ly/grace-init.ly:16:8: warnin g: can't end slur s1*0 ) E:/Program Files/LilyPond/usr/share/lilypond/2.6.3/ly/grace-init.ly:16:8: warnin g: can't end slur s1*0 ) E:/Program Files/LilyPond/usr/share/lilypond/2.6.3/ly/grace-init.ly:16:8: warnin g: can't end slur s1*0 [168][176][184][192][200][208][216][224][232][240][248][256] elapsed time: 222.26 seconds Element count 92563 (spanners 6362) Preprocessing graphical objects... Here it starts doing lots of I/O** Grob count 116667[E:/Program Files/LilyPond/usr/share/lilypond/2.6.3/fonts/otf/e mmentaler-11.otf] Calculating line breaks... [century_schoolbook_l__1.6865234375][feta-alphabet11_ 3.865234375] Global shortest duration is 1/16 [century_schoolbook_l__2.125][3][6][9][12][15][18][21][24][27][30][33][36][3 9][4 2][45][48][51][54][57][60][63][66][69][72][75][78][81][84][87][90][93][96][9 9][1 02][105][108][111][114][117][120][123][126][129][132][135][138][141][144][14 7][1
LilyPond resource usage
Hi developers, Some information that may help when looking for LilyPond performance optimisation. When I converted a (rather large) score I noticed that Lily's resource usage is somewhat strange. Total conversion time: about 10 minutes. During first 8 minutes memory usage slowly increases to 190 Mb. This is not spectacular. During first 8 minutes, total bytes read (that is, read from disk) increases rapidly to 9.6 Gb. This is bizar! Last 2 minutes, reading from disk stops, memory usage increases to 413 Mb, a little high. end result: PDF of 24 pages, 560 kb. Especially the 9.6 Gbytes of disk-io is a major concern when it comes to performance. Luckily most of it is cached (no disk light activity) but nonetheless. If someone is looking for possible optimisations, I would look in this direction too. regards, Hans. ps. version 2.6.3 Native windows, running Win2k ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Preferred way for text
Hi gurus, What is the preferred way to add general texts? So far I've found two ways that are reasonably 'universal': \mark \markup { MyText } or s1*0 ^\markup { MyText } where the latter has the possibility to position the text above the staff. or is there another way that should be used for general purpose? regards, Hans. ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Preferred way for text
Hi Mats, or is there another way that should be used for general purpose? Too general question to answer! Well, in fact it's a clear answer. Apparently there is no general way. thanks, Hans. ps. I agree with Trevor that adding the different ways to the manual would help. h. ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: LilyPond dies on hairpin override
Tom, Thanks for the explanation, could you please check your list if: \override SpacingSpanner #'shortest-duration-space = #3.0 is on it? It doesn't seem to do anything. thanks, Hans - Original Message - From: [EMAIL PROTECTED] To: Hans de Rijck [EMAIL PROTECTED] Cc: lilypond-user@gnu.org Sent: Thursday, August 25, 2005 7:05 AM Subject: Re: LilyPond dies on hairpin override Trevor Baca wrote: Change ... \override Voice.Hairpin #'extra-offset = #( 0 . -1.8 ) to \override Voice.Hairpin #'extra-offset = #'(0 . -1.8) So you committed a Scheme error. Side remark: a Scheme error always seems to result in a log file ending in a wistful Parsing... with no further information, like a message scratched on a wall by the last human at the world's end. But at least you can be pretty sure that a Scheme error is the problem, so you can use a fine-tooth comb on your Scheme expressions looking for the error. I've taken to keeping a separate file with a handwritten list of all the Scheme expressions that *do* work, as a help in finding my coding faults. -- Tom ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
LilyPond dies on hairpin override
Hello. When I use a \override Voice.Hairpin #'extra-offset LilyPond dies in compilation. No errors or warnings. Log says: # -*-compilation-*- Changing working directory to `G:/MusicCvt' Processing `G:/MusicCvt/test.ly' Parsing... thats all. Using Win2k, version 2.6.3. Example file is attached. regards, Hans. #(set-global-staff-size 18) \paper { #(set-paper-size a4) } \version 2.6.3 \header { title = Test } \score { \new Staff { \new Voice \relative c { % Staff 1 (Flute) \clef treble \key c \major \time 4/4 % this causes LilyPond to die: \override Voice.Hairpin #'extra-offset = #( 0 . -1.8 ) c'\p\ d e \mf f \ | g a \p b c | } } } ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: LilyPond dies on hairpin override
Thanks Trevor, I just found it myself too. regards, Hans. - Original Message - From: Trevor Baca [EMAIL PROTECTED] To: Hans de Rijck [EMAIL PROTECTED] Cc: lilypond-user@gnu.org Sent: Wednesday, August 24, 2005 3:04 PM Subject: Re: LilyPond dies on hairpin override On 8/24/05, Hans de Rijck [EMAIL PROTECTED] wrote: Hello. When I use a \override Voice.Hairpin #'extra-offset LilyPond dies in compilation. No errors or warnings. Log says: # -*-compilation-*- Changing working directory to `G:/MusicCvt' Processing `G:/MusicCvt/test.ly' Parsing... Hi Hans, Change ... \override Voice.Hairpin #'extra-offset = #( 0 . -1.8 ) to \override Voice.Hairpin #'extra-offset = #'(0 . -1.8) ... making sure to insert the apostrophe between the octothorpe and (0 . -1.8) (just as you include the apostrophe between the octothorpe and extra-offset). Trevor Bača [EMAIL PROTECTED] ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: offset not working
Kris and Mats, thanks for your answers, I think I understand now. Mats, is there a list somewhere of objects that can be overridden? In the manual some (but I'm sure not all) are mentioned but only in examples. It certainly would be helpfull to have such a list (eg. Staff.TimeSignature, Score.skipBars, TextScript, Score.BarNumber). thanks, Hans. - Original Message - From: Mats Bengtsson [EMAIL PROTECTED] To: Kris Shaffer [EMAIL PROTECTED] Cc: lilypond-user@gnu.org Sent: Monday, August 22, 2005 9:32 AM Subject: Re: offset not working I don't think you understood Han-Wen's answer. Everything will work fine if you do \override MultiMeasureRestText #'extra-offset = #'(0 . 2.0) or (preferably) \override MultiMeasureRestText #'padding = #2.0 As you can read in section 8.2.1, texts attached to multi measure rests are handled by MultiMeasureRestText layout objects in contrast to texts attached to normal notes, which are handled by TextScript layout objects. The comment on using a skip note are only relevant if you want to place something at the beginning of the bar instead of in the middle (which is where the multimeasure rest is placed). /Mats Kris Shaffer wrote: Since the manual (section 8.2.1, page 173) mentions the need to use s1*0^\markup {whatever } R1*4 instead of R1*4^\markup to control markup alignment on a multirest, I figured it was not an unknown bug. But it sounds like something I should submit, though, so I'll send it. Sorry about any confusion. -- = Mats Bengtsson Signal Processing Signals, Sensors and Systems Royal Institute of Technology SE-100 44 STOCKHOLM Sweden Phone: (+46) 8 790 8463 Fax: (+46) 8 790 7260 Email: [EMAIL PROTECTED] WWW: http://www.s3.kth.se/~mabe = ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: offset not working
Mats, I've read that. It describes how it works, but not on what objects. From examples all over the manual one can extract some objects (Staff, Stem, Voice) and some properties (skipBars, MetronomeMark, Stem etc) but there is no list of all these. At least, I can't find one. It would be handy to have such a list, so its easier to see what can be overridden. thanks, Hans. - Original Message - From: Mats Bengtsson [EMAIL PROTECTED] To: Hans de Rijck [EMAIL PROTECTED] Cc: lilypond-user@gnu.org Sent: Monday, August 22, 2005 5:12 PM Subject: Re: offset not working Read 9.2 The \override command in the manual with all subsections to learn how to find the relevant information. /Mats Hans de Rijck wrote: Kris and Mats, thanks for your answers, I think I understand now. Mats, is there a list somewhere of objects that can be overridden? In the manual some (but I'm sure not all) are mentioned but only in examples. It certainly would be helpfull to have such a list (eg. Staff.TimeSignature, Score.skipBars, TextScript, Score.BarNumber). thanks, Hans. - Original Message - From: Mats Bengtsson [EMAIL PROTECTED] To: Kris Shaffer [EMAIL PROTECTED] Cc: lilypond-user@gnu.org Sent: Monday, August 22, 2005 9:32 AM Subject: Re: offset not working I don't think you understood Han-Wen's answer. Everything will work fine if you do \override MultiMeasureRestText #'extra-offset = #'(0 . 2.0) or (preferably) \override MultiMeasureRestText #'padding = #2.0 As you can read in section 8.2.1, texts attached to multi measure rests are handled by MultiMeasureRestText layout objects in contrast to texts attached to normal notes, which are handled by TextScript layout objects. The comment on using a skip note are only relevant if you want to place something at the beginning of the bar instead of in the middle (which is where the multimeasure rest is placed). /Mats Kris Shaffer wrote: Since the manual (section 8.2.1, page 173) mentions the need to use s1*0^\markup {whatever } R1*4 instead of R1*4^\markup to control markup alignment on a multirest, I figured it was not an unknown bug. But it sounds like something I should submit, though, so I'll send it. Sorry about any confusion. ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
offset not working
Hi group, I've tried all afternoon to get a text moved a little higher. I tried '\once \override' with extra-offset and padding in at least five different syntaxes but nothing works. I also tried a separate \mark \markup for the text but with no effect. I get no errors or warnings from LilyPond, the text just seems to be glued firmly to the staff. See bar 2, text 'No.1 Lent et douloureux'. If anyone could help, I'd be much obliged. kind regards, Hans de Rijck. %File generated by MusicCVT, a music converter by Hans de Rijck. %(original file: satiegy1_3.nwc, size: 24581 bytes. % produced by [NoteWorthy Composer], version 1.75) #(set-global-staff-size 18) \paper { #(set-paper-size a4) topmargin = 1.0\cm leftmargin = 1.0\cm rightmargin = 1.0\cm bottommargin = 1.0\cm raggedlastbottom = ##f } \version 2.6.3 \header { title = Trois Gymnopédies composer = Erik Satie copyright = \markup \teeny Made with NoteWorthy Composer ® tagline = \markup \teeny Typesetting by Hans de Rijck and LilyPond footer = %{ Tempo and expression inspired by Reinbert de Leeuw. The score is public domain. %} } \score { \new Staff { #(set-accidental-style 'default) \new Voice \relative c { % Staff 1 (Flute) \set Staff.instrument = #Flute \set Score.skipBars = ##t %MPC instruction ignored %\tempo 4=60 \clef treble \key d \major % or b \minor \time 3/4 R1*3/4 _\markup {\small \italic \bold {legato}} | % Bar 2 \once \override TextScript #'extra-offset = #'(0 . 2.0) R1*3/4 ^\markup {\override #'(padding . 2.0) No.1 Lent et douloureux}| % Bar 3 R1*3/4 | % Bar 4 R1*3/4 | % Bar 5 r4 fis''(\pp a\ | % Bar 6 g fis cis | % Bar 7 b cis\mp d\ | % Bar 8 a2. | % Bar 9 fis)~\pp | % Bar 10 fis~ | % Bar 11 fis~ | % Bar 12 fis | % Bar 13 r4 fis'( a\ | % Bar 14 g fis cis | % Bar 15 b cis d\mp | % Bar 16 a2. | % Bar 17 cis\ | % Bar 18 fis | % Bar 19 e,)~\pp | % Bar 20 e~ | % Bar 21 e | % Bar 22 a4( b\ c! | % Bar 23 e d b | % Bar 24 d\mp c! b | % Bar 25 d2.~ | % Bar 26 d2)\pp d4( | % Bar 27 e\ f! g | % Bar 28 a c,! d\mp | % Bar 29 e\ d b | % Bar 30 d2.~ | % Bar 31 d2)\pp d4 | % Bar 32 g2.( | % Bar 33 fis\ | % Bar 34 b,4 a b | % Bar 35 cis\mp d\ e | % Bar 36 cis d e | % Bar 37 fis,2. | % Bar 38 a c ) | % Bar 39 a d | % Bar 40 R1*3/4 | % Bar 41 R1*3/4 | % Bar 42 R1*3/4 | % Bar 43 R1*3/4 | % Bar 44 r4 \stemNeutral fis'(\pp a\ | % Bar 45 g fis cis | % Bar 46 b cis\mp d\ | % Bar 47 a2. | % Bar 48 fis)~\pp | % Bar 49 fis~ | % Bar 50 fis~ | % Bar 51 fis | % Bar 52 r4 fis'( a\ | % Bar 53 g fis cis | % Bar 54 b cis d\mp | % Bar 55 a2. | % Bar 56 cis\ | % Bar 57 fis | % Bar 58 e,)~\pp | % Bar 59 e~ | % Bar 60 e | % Bar 61 a4( b\ c! | % Bar 62 e d b | % Bar 63 d\mp c! b | % Bar 64 d2.~ | % Bar 65 d2)\pp d4( | % Bar 66 e\ f! g | % Bar 67 a c,! d\mp | % Bar 68 e\ d b | % Bar 69 d2.~ | % Bar 70 d2)\pp d4 | % Bar 71 g2.( | % Bar 72 f!\ | % Bar 73 b,4 c! f! | % Bar 74 e d c!\mp | % Bar 75 e\ d c! | % Bar 76 a!2. | % Bar 77 a c | % Bar 78 a d ) | % Bar 79 r\fermata \bar |. \break % Bar 80 \key c \major % or a \minor r4 r2 ^\markup {\override #'(padding . 3.0) No.2 Lent et triste}| % Bar 81 r4 r2 | % Bar 82 r4 r2 | % Bar 83 r4 r2 | % Bar 84 \stemNeutral g'2.(\p | % Bar 85 a4\ g f\mf | % Bar 86 e\ f g\p | % Bar 87 d2.) | % Bar 88 g( | % Bar 89 a4\ g f\mf | % Bar 90 e\ f g\p | % Bar 91 d c2) | % Bar 92 r4 r2 | % Bar 93 r4 r2 | % Bar 94 c'2.(\mf | % Bar 95 f,4\ g a | % Bar 96 g2. | % Bar 97 c,) | % Bar 98 f(~ | % Bar 99 f4\f e\ d | % Bar 100 f2.~ | % Bar 101 f4 g b | % Bar 102 a g f\mf | % Bar 103 g2. | % Bar 104 f) | % Bar 105 r4 r2 | % Bar 106 r4 r2 | % Bar 107 c'2. | % Bar 108 a4\ g f | % Bar 109 g2. | % Bar 110 f~ | % Bar 111 f4\f e\ d | % Bar 112 f2. | % Bar 113 d~ | % Bar 114 d4\mf e a | % Bar 115 b2. | % Bar 116 f | % Bar
Re: Full bar rest representation
Hello Paul, Thanks for your answer. This is what I was looking for. I understood from the manual that capitalization was only used for multi-measure rests, but apparently I was wrong. thanks, Hans de Rijck. - Original Message - From: Paul Scott [EMAIL PROTECTED] To: Hans de Rijck [EMAIL PROTECTED] Cc: lilypond-user@gnu.org Sent: Saturday, July 30, 2005 9:05 PM Subject: Re: Full bar rest representation Hans de Rijck wrote: Hi, Can anyone tell me how to represent a full bar rest when using 'odd' time signatures? e.g. in a 4/4 time a full rest is represented by r1 , in 2/4 time a full rest is r2 and in 3/4 it is r2. But, what is a full rest in times like 5/4 7/4 12/4 7/8 etc. Full bar rests should normally be capitalized - they are centered that way. There are many numerical possibilities but I do: R4*5 R4*7 R4*12 R8*7 and I do R4*3 instead of R2. Except for the reversal of the numbers these are closer to what they represent. Paul Scott ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Full bar rest representation
Hi, Can anyone tell me how to represent a full bar rest when using 'odd' time signatures? e.g. in a 4/4 time a full rest is represented by r1 , in 2/4 time a full rest is r2 and in 3/4 it is r2. But, what is a full rest in times like 5/4 7/4 12/4 7/8 etc. I'm trying some Carmina Burana parts and the 'barcheck fails' warnings are whizzing around my ears. Thanks, Hans de Rijck ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
[ANN] nwc2ly
Hello LilyPonders, For those of you who are using NoteWorthy composer and are interested in a conversion tool to LilyPond please see my website: http://hans.octet.nl/muziek/nwc2ly.html It's far from perfect, but can possibly save you a lot of time. Regards, Hans de Rijck. ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Beams, slurs and Chords
Hi Paul, Thanks for your answer. I see what you mean, and it certainly looks good, but it will be almost impossible to generate this from the input. I'll keep your solution in mind though, as it is probably the way it should have been notated in the first place. thanks, Hans de Rijck - Original Message - From: Paul Scott [EMAIL PROTECTED] To: Hans de Rijck [EMAIL PROTECTED] Cc: lilypond-user@gnu.org Sent: Friday, July 22, 2005 7:10 PM Subject: Re: Beams, slurs and Chords Hans de Rijck wrote: Dear Lilyponders. I want to enter the following piece (see .GIF) from Dvorak symphony nr. 9, bar 19, clarinetti B and I just can't get it right in Lilypond. The closest I get is: c''4.\p( \\ f8.[ { e16 ] f8[} f, c' 8] g e' 2) but that results in an unterminated beam and unterminated slur error. I read in the archives that all articulations should be outside I hadn't read that and I don't do it that way. The following gives me what I would want if I (I am a clarinetist) were playing it (actually I would prefer it on separate staves). I didn't put the last stems the way you did. That might require something trickier and would be less correct in my opinion - I'm not saying it isn't done your way in an actual part. { f''8.(\p e''16 f''8 c'' e''2) } \\ { c''4.( f'8 g'2) } (I might put the dynamic somewhere else in the code but I don't think that's what you were asking about. Paul Scott ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user