number of systems on a3 page
Hi, it seems I can't fit more than 8 systems of piano music on an a3 page, although at the bottom there is plenty of space. You can see the result here: http://icemserv.folkwang-hochschule.de/~finnendahl/download/lilytest.jpg It seems the layout doesn't produce systems beyond a certain point (the break occurs at about 80% of the page size measured from top). I must be missing something, or does lilypond have problems with a3 format? I enclose the test file with all values for between-system-padding/space set to small values to show the effect. If ragged-bottem is set to ##f the systems are stretched out as expected, but I need to fit more than 8 systems on one page. Any ideas? -- Orm \version 2.12.2 #(set-global-staff-size 17) \paper { #(set-paper-size a3) first-page-number = 0 top-margin = 0.5 \cm bottom-margin = 0.5 \cm left-margin = 2.5 \cm right-margin =2.5 \cm line-width = 25.7\cm paper-height = 42\cm indent = 0 \cm ragged-bottom = ##t ragged-last-bottom = ##f between-system-padding = #5 between-system-space = #0.1 page-breaking-between-system-padding = 1\cm print-first-page-number = ##t annotate-spacing = ##t } KlavierEinsRH = \relative c' { \repeat unfold 800 {c16 a'' e f,}} KlavierEinsLH = \relative c' { \repeat unfold 800 {c16 e,, d' g}} \score { \new PianoStaff \set PianoStaff.instrumentName = \markup { Klavier 1 \hspace #2 } \new Staff = paup \with { \remove Time_signature_engraver } { \clef G \override Staff.VerticalAxisGroup #'minimum-Y-extent = #'(-4 . 4) \showStaffSwitch \KlavierEinsRH } \new Staff = padown \with { \remove Time_signature_engraver } { \clef bass \override Staff.VerticalAxisGroup #'minimum-Y-extent = #'(0 . 4) \showStaffSwitch \KlavierEinsLH } \layout {} } ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: number of systems on a3 page
ok, thanks I'll try that. Am Friday, den 27. November 2009 um 14:31:23 Uhr (+0100) schrieb Federico Bruni: David Kastrup wrote: With the current developer version (2.13.9 or so), there are 12 systems per page with your input file. also with the last development version (2.13.8) there are 12 systems per page. there's no need to compile it, you can find it here: http://lilypond.org/doc/v2.13/Documentation/web/development#development There is a warning about margins and line-width. You should set margins to 1.5 cm or reduce line-width. Federico -- http://gnurag.net/blog/ http://fsfe.org/ http://groups.fsf.org/wiki/LibrePlanetItalia ___ 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
page breaking issues
Hi, I'm arranging piano parts for optimal page turning and have a lot of trouble getting it right by tweaking system sizes, inserting \break and \nobreak, adjusting system-count, recompiling and hoping that this time the pages break at the right place (just to find out that the page break I'm working on is ok, but the previous one moved in the meantime... sigh). This is an extremely time consuming process, especially as it is clearly visible that e.g. there would be one more system fitting on one page and such but there seems no way of forcing lilypond to do so even if systems would run into each other. Does anybody know some tricks to persuade lily to be a little bit more accomodating to my needs? Maybe I'm not getting something. It might happen that I will end up doing it the old way with scissors and glue. My nerves sure would appreciate that ;-) BTW: That's not a flame: Lilypond is a very fine piece of software! -- Orm ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: page breaking issues
Dear Alexander, thanks so much! -- Orm Am Wednesday, den 09. December 2009 um 13:07:06 Uhr (+0100) schrieb Alexander Kobel: Orm Finnendahl wrote: Hi, I'm arranging piano parts for optimal page turning and have a lot of trouble getting it right by tweaking system sizes, inserting \break and \nobreak, adjusting system-count, recompiling and hoping that this time the pages break at the right place [...] Hi. Of course there's this optimal-page-turning break algorithm, but I never tried it myself. See Notation Reference, section 4.3.4. But if you have (or want) to manually adjust breaks all over the place anyway, it might be the easiest way to forbid automatic breaks at all. I'd try forbidding page breaks first; if that's not enough, you can also disallow line breaks. You can also define shortcuts for the overrides, and switch the automatics on and off during the piece. forcedBreaks = { % \override Score . NonMusicalPaperColumn #'line-break-permission = ##f \override Score . NonMusicalPaperColumn #'page-break-permission = ##f %% Work here ... s1*4 \break s1*4 \pageBreak %% Don't let the rest of the score collide where you didn't specify breaks yet % \override Score . NonMusicalPaperColumn #'line-break-permission = ##t \override Score . NonMusicalPaperColumn #'page-break-permission = ##t } \score { %% add \forcedBreaks somewhere here, either in some voice or, e.g., with \new Devnull \forcedBreaks \layout {} } I almost always use this during the writing of the score, before the final layout steps, so that I have the breaks at the same positions as in my template. Cheers, Alexander ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Math mode in lilypond?
Hi, I'm writing an introductory text to tuning systems and need to print mathematical expressions like roots, exponentials and such as markup. I would like to use TeX's capabilities for that but am not sure whether this can get integrated inline (without including the formulas as graphics or direct postscript). Is there a way to get this done? -- Orm ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
printing Staff Symbol before \stopStaff
Hi, stopping a Staff at the beginning of a piece results in the clef and time signature being printed without the staff symbol. Is there a way to make the staff symbol appear *without* having to enter music (or to skip musical time) before the \stopStaff? Below is an example: I would like to have the top system with an initial staff system or the bottom system without the wrong rest symbol (and without the staff symbol sticking 1/32th into the music). -- Orm \version 2.11.7 \paper { raggedright = ##t } \score { \new Staff \relative c' { \stopStaff r1 r1 \startStaff c4 d e f c d e f } \new Staff \relative c' { s32 \stopStaff r2 r1 \startStaff c4 d e f c d e f } } ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Three questions about good German usage?
Am 29. Februar 2008, 23:56 Uhr (-0600) schrieb Trevor Bača: Hi, I have three questions about good German usage: 1. Are natürlichen Flageolettönen and künstlichen Flageolettönen the correct terms for natural and artificial harmonics? It is probably not wrong to use the term Flageoletton, but we normally just say Flageolet, plural would be Falgeolets and it is neutrum case (Das Flageolet). In your case I would use natürliche Falgeolets or künstliche Falgeolets. Sometimes it is written with double t at the end, but I prefer the french spelling. Concerning your suggestion: The n at the end of your Flageolettönen would indicate Dativ case. As you probably don't want that, the grammatically correct terms of your expression would be: natürliche Flageolettöne or künstliche Flageolettöne. 2. Is there a German term to describe the stopped note in an artificial harmonic? (In Italian we would say capotasto ... but I'm not sure I know a single term for this in English?) What I'm looking for is the note that's written as an actual filled, round note head (rather than the open diamond representing the lightly touched harmonic). We normally say (die) gegriffene Note. 3. How does German translate the interval of a twelth? Say c' g'' ? Duodezime? Yes, that's what we use. Yours, Orm ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
multimeasure rest on single line DrumStaff
Hi, I'm trying to input multimeasure rests on a single line DrumStaff. Unfortunately these rests are drawn above the stave (as the single line represents the middle b). How can I make this rest appear hanging on the single line instead of above it? (sorry if I'm missing the obvious). -- Orm ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: multimeasure rest on single line DrumStaff
Hi Risto, thanks, but that doesn't seem to work here. The rest symbol still is above the staff. I use this: \version 2.11.7 \score { \new DrumStaff \with{ \override StaffSymbol #'line-count = #1 } { \override RhythmicStaff.MultiMeasureRest #'extra-offset = #'(0.0 . -1.0) { \time 9/8 R4.*3 } } } Does that have anything to do with the version I'm using,or am I doing it wrong? -- Orm Am 03. März 2008, 23:37 Uhr (+0200) schrieb Risto Vääräniemi: Hi Orm, On 03/03/2008, Orm Finnendahl wrote: I'm trying to input multimeasure rests on a single line DrumStaff. Unfortunately these rests are drawn above the stave (as the single line represents the middle b). How can I make this rest appear hanging on the single line instead of above it? (sorry if I'm missing the obvious). I was struggling with the same thing two months back and then I just lowered the rests by one space unit. \override RhythmicStaff.MultiMeasureRest #'extra-offset = #'(0.0 . -1.0) Have a look at: http://lists.gnu.org/archive/html/lilypond-user/2008-01/msg00160.html -Risto ___ 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
coloring dots (and ledger lines)
Hi, I'd like to color some notes in a piece but the dots aren't colored as well (see example below). I found an option called dot-color but can't get it to work. In addition I think it might be better to color the ledger lines as well, but don't know how to accomplish that either.. Can somebody give a short example or point me to the docs? -- Orm \version 2.11.7 \paper { ragged-right = ##t } \relative c' { \time 3/1 \override NoteHead #'color = #(x11-color 'red) \override Stem #'color = #(x11-color 'red) c2. d4 e f g1 \override NoteHead #'color = #(x11-color 'black) \override Stem #'color = #(x11-color 'black) f2 g1 } ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
cross staff beams in choir staff
Hi, I'm trying to typeset cross staff notes on a 12-staff percussion system. Defining the staff systems as Staff and the StaffGroup as PianoStaff works well. Trying the same with ChoirStaff and the individual Staff systems as DrumStaff results in lots of errors and the beams and staff lines not drawn at all. As the brace of the PianoStaff gets really big and bold for 12 staff systems I'd much prefer using the ChoirStaff for grouping. Is there a way to achieve that or, as a workaround, can the brace be removed and the barlines get split between systems using a PianoStaff group? -- Orm ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: cross staff beams in choir staff
Hi Neil, Am 14 Mär schrieb Neil Puttock: Hi Orm, Would you mind posting a minimal example which demonstrates the problems you're having? Sure. The first attached file works, the second doesn't (and neither works with DrumStaff instead of Staff). Please try it out. Maybe my lilypond version is too dated (2.11.7) Here's a quick snippet I've knocked up using ChoirStaff and DrumStaff which seems to be working fine: This seems to be working here too, but it doesn't contain beams. Yours, Orm\version 2.11.7 \paper { raggedright = ##t raggedbottom = ##t } \score { \new PianoStaff { \new Staff =one \with{ \override StaffSymbol #'line-count = #1 \override BarLine #'bar-size = #4 } { \relative c'' { b16 \change Staff = two b16 \change Staff = one b8 } } \new Staff =two \with{ \override StaffSymbol #'line-count = #1 \override BarLine #'bar-size = #4 } { { s8. } } } \layout{} }\version 2.11.7 \paper { raggedright = ##t raggedbottom = ##t } \score { \new ChoirStaff { \new Staff =one \with{ \override StaffSymbol #'line-count = #1 \override BarLine #'bar-size = #4 } { \relative c'' { b16 \change Staff = two b16 \change Staff = one b8 } } \new Staff =two \with{ \override StaffSymbol #'line-count = #1 \override BarLine #'bar-size = #4 } { { s8. } } } \layout{} }___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
double fermata
Hi, on DrumStaffs I get two fermatas on multimeasure rests, normal Staffs work as expected (see below and attached pdf). Am I doing something wrong? \version 2.11.42 \score { \new DrumStaff { R1^\fermataMarkup} \new Staff { R1^\fermataMarkup} } -- Orm test.pdf Description: Adobe PDF document ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: double fermata
Hi Mats, thanks a lot, that worked! Yours, Orm Am Tuesday, den 01. April 2008 um 18:19:03 Uhr (+0200) schrieb Mats Bengtsson: That's a bug! I have already commited a fix in GIT. Waiting for the next release, you can add the following lines to your file: \layout{ \context{ \DrumVoice \remove Multi_measure_rest_engraver \consists Multi_measure_rest_engraver } } (If you think it looks strange, the problem was that the engraver was added twice and when you do \remove it removes both copies so you have to add one back afterwards.) /Mats Orm Finnendahl wrote: Hi, on DrumStaffs I get two fermatas on multimeasure rests, normal Staffs work as expected (see below and attached pdf). Am I doing something wrong? \version 2.11.42 \score { \new DrumStaff { R1^\fermataMarkup} \new Staff { R1^\fermataMarkup} } -- Orm ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user -- = Mats Bengtsson Signal Processing School of Electrical Engineering Royal Institute of Technology (KTH) 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: Adding an extra staff
Hi Alistair, Am Dienstag, den 26. August 2008 um 11:47:07 Uhr (+0200) schrieb alistair zaldua: and that didn't work. Where should I type the notes for the middle bar ? what you're trying to do seems to be creating a staff system on the fly, but the code shows a staff system which is contained in a staff system which doesn't make too much sense and will probably cause problems all over. One solution could be to serialize the situation in the Staffgroups and use explicit \contexts which relate the music material to the different staves. This should work for your example: \version 2.11.56 \score { \new PianoStaff \relative c'' \new Staff { \time 4/4 g8 a b c d c b a %scale 1 gis ais c des es des c bes %scale 2 a b cis d e d cis b %scale 3 c d e f g f e d %scale 4 es f g aes bes aes g f %scale 5 } \new StaffGroup \relative c'' { % first part: \new Staff =middle { r1 gis4 gis gis gis } % second part (two staff systems): \context Staff = middle { aes8 ges aes ges aes ges aes ges} \new Staff =lower { \once \override Staff.TimeSignature #'stencil = ##f a8 g a g a g a g } % third part (again just one staff system): \context Staff=middle { c4 c c c } } } If you want the bars without music to be blanked you could even use \stopStaff and \startStaff explicitely. -- Orm ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
change temporarily to custom clef
Hi, in contemporary music sometimes unusual Clefs are temporarily used within a piece (for example for string instruments clefs where notes indicate the contact point of the bow between fingerboard and bridge). I guess for designing custom clefs one has to define a custom font but I wonder whther there is another less complicated way by making a clef temporarily transparent and putting some Postscript Markup in its place. Can someone point me to relevant information in the docs or give a short example (I can handle the Postscript, but don't exactly know how to make the Clef temporarily transparent)? -- Orm ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
contemporary accidental style
Hi, for years I'm sorely missing an accidental style for contemporary music, which I always use and which is quite common among contemporary composers in my experience. At the moment it requires quite some extra work in every score implementing the accidentals explicitely although its behaviour can be defined precisely. The style I'm looking for always prints accidentals on every note except for naturals which are only written in cancellation cases at the first occurence (also across octaves and across one barline). I'm not sure how to go about it. Reading the source it seems feasible to do although I don't understand all of the code (yet). If it's easy for any of the developers to accompish I'd be very grateful for that. Otherwise I'd be interested whether there is a way to do it within a score file using some function or whether I should go ahead and try to submit a patch for the sources (and whether you think it's worthwile to integrate into lilypond). My suggestion for the name of this style would be contemporary and I'd be glad to submit the information for the docs. Yours, Orm ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: contemporary accidental style
Am Montag, den 21. Mai 2012 um 15:37:33 Uhr (+0200) schrieb David Kastrup: \accidentalStyle neo-modern does not match your requirements? its close, but the immediate repetition is the problem. I encounter calls by musicians quite often if I don't explicitely restate the accidental (even if it's stated in the foreword). -- Orm ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: contemporary accidental style
Am Montag, den 21. Mai 2012 um 15:58:14 Uhr (+0200) schrieb Jan Nieuwenhuizen: Question is: is neo-modern used and appreciated as it works right now and do we indeed need a contemporary style, or should neo-modern behave like Orm describes? I would opt for that. The only situation, I know of, where accidentals aren't repeated on direct repetition, are in situations with lots of fast repetitions, like in saltando actions for strings, but in those situations often the noteheads except for the first one are omitted as well to save space. And I've also seen the repetition of accidentals in those cases just to make it perfectly clear. The example for neo-modern in the documentation actually is an excellent example for a situation where the musician has to ask about the second fis because it's not obvious if the accidental has been accidentally forgotten and whether it's an f or a fis. -- Orm ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: contemporary accidental style
Am Montag, den 21. Mai 2012 um 16:18:16 Uhr (+0200) schrieb Orm Finnendahl: The example for neo-modern in the documentation actually is an excellent example for a situation where the musician has to ask about the second fis because it's not obvious if the accidental has been accidentally forgotten and whether it's an f or a fis. sorry, I meant the second cis' in the first bar of the upper staff, which seems to contrast the repeated accidental of the fis on the same beat in the lower staff. ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: vibrato squiggle
Am Mittwoch, den 20. Juni 2012 um 08:46:33 Uhr (+0200) schrieb m...@apollinemike.com: If you google vibster lilypond, there used to be a snippet for 2.12 that did something like this. I'm not sure if it works in 2.14. doesn't seem to work here: GNU LilyPond 2.14.2 Processing `/tmp/contemporary-vibrato.ly' Parsing... Interpreting music... [8][16][24][32] Preprocessing graphical objects... Finding the ideal number of pages... Fitting music on 1 page... Drawing systems...ERROR: Wrong type (expecting pair): () Compilation exited abnormally with code 1 at Wed Jun 20 09:12:31 -- Orm ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
arrow notehead and articulation
Hi, I'm trying to replace a notehead above the staff by an arrow indicating a very high pitch. Here is my code, resulting in the attached example png: pfeileins = { \once \override NoteHead #'stencil = #ly:text-interface::print \once \override NoteHead #'stem-attachment = #'( 0.1 . 1 ) \once \override NoteHead #'text = \markup { \fontsize #5 { \arrow-head #Y #UP ##f }}} pfeilzwei = { \once \override NoteHead #'stencil = #ly:text-interface::print \once \override NoteHead #'stem-attachment = #'( 0.1 . -1 ) \once \override NoteHead #'extra-offset = #'( 0 . 2 ) \once \override NoteHead #'text = \markup { \fontsize #5 { \arrow-head #Y #UP ##f }}} \relative c''' { \pfeileins f-. \pfeilzwei f-. } Unfortunately in pfeileins the ledger lines are intersecting the arrow. Moving the notehead up with the extra-offset property as in pfeilzwei doesn't seem to be the right way as the staccato dot isn't shifted up as well. What's the right way to get this done? -- Orm attachment: example.png___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: arrow notehead and articulation
Hi Jeffrey, thanks, that kind of works, but the position of the articulation is wrong for other pitches and doesn't seem to be relative to the notehead's Y-position. Does anybody know how to fix that? -- Orm Am Dienstag, den 20. November 2012 um 16:13:39 Uhr (+0100) schrieb Jeffrey Trevino: Hi Orm, It might not be the best way to go, but one solution is to override the Y-offset of the Script object. I added this override into pfeilzwei in the code below, and it works just fine on my machine: pfeileins = { \once \override NoteHead #'stencil = #ly:text-interface::print \once \override NoteHead #'stem-attachment = #'( 0.1 . 1 ) \once \override NoteHead #'text = \markup { \fontsize #5 { \arrow-head #Y #UP ##f }}} pfeilzwei = { \once \override NoteHead #'stencil = #ly:text-interface::print \once \override NoteHead #'stem-attachment = #'( 0.1 . -1 ) \once \override NoteHead #'extra-offset = #'( 0 . 2 ) \once \override Script #'Y-offset = #'8 \once \override NoteHead #'text = \markup { \fontsize #5 { \arrow-head #Y #UP ##f }}} \relative c''' { \pfeileins f-. \pfeilzwei f-. } grüße aus Berlin, Jeff Treviño On Tue, Nov 20, 2012 at 3:06 PM, Orm Finnendahl [1]o.finnend...@inm.mh-freiburg.de wrote: Hi, I'm trying to replace a notehead above the staff by an arrow indicating a very high pitch. Here is my code, resulting in the attached example png: pfeileins = { \once \override NoteHead #'stencil = #ly:text-interface::print \once \override NoteHead #'stem-attachment = #'( 0.1 . 1 ) \once \override NoteHead #'text = \markup { \fontsize #5 { \arrow-head #Y #UP ##f }}} pfeilzwei = { \once \override NoteHead #'stencil = #ly:text-interface::print \once \override NoteHead #'stem-attachment = #'( 0.1 . -1 ) \once \override NoteHead #'extra-offset = #'( 0 . 2 ) \once \override NoteHead #'text = \markup { \fontsize #5 { \arrow-head #Y #UP ##f }}} \relative c''' { \pfeileins f-. \pfeilzwei f-. } Unfortunately in pfeileins the ledger lines are intersecting the arrow. Moving the notehead up with the extra-offset property as in pfeilzwei doesn't seem to be the right way as the staccato dot isn't shifted up as well. What's the right way to get this done? -- Orm ___ lilypond-user mailing list [2]lilypond-user@gnu.org [3]https://lists.gnu.org/mailman/listinfo/lilypond-user -- 《〠》】〶【〖〠〗〶〛〷〚 Jeff Treviño PhD Candidate in Music Composition @ the University of California, San Diego 〖〠〗〶〛〷〚《〠》】〶 Skype: jeffreytrevino E-mail: [4]jeffrey.trev...@gmail.com 〚《〠》】〶【〖〠〗〶〛〷 9310H Redwood Dr. La Jolla, CA 92037 USA 〖〠〗〶〛〷〚《〠》】〶【 References Visible links 1. mailto:o.finnend...@inm.mh-freiburg.de 2. mailto:lilypond-user@gnu.org 3. https://lists.gnu.org/mailman/listinfo/lilypond-user 4. mailto:jeffrey.trev...@gmail.com ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: arrow notehead and articulation
Hi Nathan, great, thanks a lot! -- Orm Am Dienstag, den 20. November 2012 um 08:40:03 Uhr (-0800) schrieb Nathan: On Tue, Nov 20, 2012 at 6:06 AM, Orm Finnendahl [1]o.finnend...@inm.mh-freiburg.de wrote: Hi, I'm trying to replace a notehead above the staff by an arrow indicating a very high pitch. Here is my code, resulting in the attached example png: [...] Here are two solutions. The first one kills the ledger lines entirely (which, imo, looks the nicest). The second one aligns the notehead inside the \markup. pfeileins = { \once \override NoteHead #'no-ledgers = ##t \once \override NoteHead #'stencil = #ly:text-interface::print \once \override NoteHead #'stem-attachment = #'( 0.1 . 1 ) \once \override NoteHead #'text = \markup { \fontsize #5 { \arrow-head #Y #UP ##f }}} pfeilzwei = { \once \override NoteHead #'stencil = #ly:text-interface::print \once \override NoteHead #'stem-attachment = #'( 0.1 . -2 ) \once \override NoteHead #'text = \markup { \raise #1.5 \fontsize #5 { \arrow-head #Y #UP ##f }}} \relative c''' { \pfeileins f-. \pfeilzwei f-. } Regards, Nathan References Visible links 1. mailto:o.finnend...@inm.mh-freiburg.de ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
cvs-compile fails
Trying to compile lilypond from todays cvs gives the following error: make PACKAGE=LILYPOND package=lilypond -C user all make PACKAGE=LILYPOND package=lilypond -C bibliography all make PACKAGE=LILYPOND package=lilypond -C pictures all make PACKAGE=LILYPOND package=lilypond -C topdocs all make PACKAGE=LILYPOND package=lilypond -C misc all true make[2]: Entering directory `/root/install/lilypond/Documentation/user' LANG= makeinfo --enable-encoding -I ./out --output=./out/lilypond.info out/lilypond.nexi out/lilypond.nexi:177: warning: unrecognized encoding name `utf-8'. /root/install/lilypond/Documentation/user/out//programming-interface.texi:2: Prev reference to nonexistent node `Output formats' (perhaps incorrect sectioning?). /root/install/lilypond/Documentation/user/out//global.texi:8: `Global issues' has no Up field (perhaps incorrect sectioning?). /root/install/lilypond/Documentation/user/out//changing-defaults.texi:2: Next reference to nonexistent node `Output formats' (perhaps incorrect sectioning?). /root/install/lilypond/Documentation/user/out//introduction.texi:868: Cross reference to nonexistent node `Output formats' (perhaps incorrect sectioning?). ./out/lilypond.nexi:275: Menu reference to nonexistent node `Output formats' (perhaps incorrect sectioning?). makeinfo: Removing output file `./out/lilypond.info' due to errors; use --force to preserve. make[2]: *** [out/lilypond.info] Error 1 make[2]: Leaving directory `/root/install/lilypond/Documentation/user' make[1]: *** [all] Error 2 make[1]: Leaving directory `/root/install/lilypond/Documentation' make: *** [all] Fehler 2 attached is the complete make log. Can anybody help? -- Orm make --no-builtin-rules PACKAGE=LILYPOND package=lilypond -C buildscripts all make --no-builtin-rules PACKAGE=LILYPOND package=lilypond -C python all make --no-builtin-rules PACKAGE=LILYPOND package=lilypond -C scripts all make --no-builtin-rules PACKAGE=LILYPOND package=lilypond -C flower all make --no-builtin-rules PACKAGE=LILYPOND package=lilypond -C lily all make --no-builtin-rules PACKAGE=LILYPOND package=lilypond -C mf all make --no-builtin-rules PACKAGE=LILYPOND package=lilypond -C ly all make --no-builtin-rules PACKAGE=LILYPOND package=lilypond -C tex all make --no-builtin-rules PACKAGE=LILYPOND package=lilypond -C ps all make --no-builtin-rules PACKAGE=LILYPOND package=lilypond -C scm all make --no-builtin-rules PACKAGE=LILYPOND package=lilypond -C po all make --no-builtin-rules PACKAGE=LILYPOND package=lilypond -C make all make --no-builtin-rules PACKAGE=LILYPOND package=lilypond -C elisp all make --no-builtin-rules PACKAGE=LILYPOND package=lilypond -C vim all make --no-builtin-rules PACKAGE=LILYPOND package=lilypond -C input all make --no-builtin-rules PACKAGE=LILYPOND package=lilypond -C cygwin all make --no-builtin-rules PACKAGE=LILYPOND package=lilypond -C stepmake all make --no-builtin-rules PACKAGE=LILYPOND package=lilypond -C Documentation all true make[1]: Entering directory `/root/install/lilypond/buildscripts' true make[1]: Leaving directory `/root/install/lilypond/buildscripts' make[1]: Entering directory `/root/install/lilypond/python' true make[1]: Leaving directory `/root/install/lilypond/python' make[1]: Entering directory `/root/install/lilypond/scripts' true true make[1]: Leaving directory `/root/install/lilypond/scripts' make[1]: Entering directory `/root/install/lilypond/flower' make PACKAGE=LILYPOND package=lilypond -C include all true make[2]: Entering directory `/root/install/lilypond/flower/include' true make[2]: Leaving directory `/root/install/lilypond/flower/include' make[1]: Leaving directory `/root/install/lilypond/flower' make[1]: Entering directory `/root/install/lilypond/lily' make PACKAGE=LILYPOND package=lilypond -C include man true make[2]: Entering directory `/root/install/lilypond/lily/include' true make[2]: Leaving directory `/root/install/lilypond/lily/include' make PACKAGE=LILYPOND package=lilypond -C include all true make[2]: Entering directory `/root/install/lilypond/lily/include' true make[2]: Leaving directory `/root/install/lilypond/lily/include' make[1]: Leaving directory `/root/install/lilypond/lily' make[1]: Entering directory `/root/install/lilypond/mf' make -C /root/install/lilypond link-mf-tree make[2]: Entering directory `/root/install/lilypond' rm -f ./out/share/lilypond/current/fonts/{otf,svg,tfm,type1}/* \ cd ./out/share/lilypond/current/fonts/otf \ ln -s ../../../../../../mf/out/*.{otf,ttf} . cd ./out/share/lilypond/current/fonts/svg \ ln -s ../../../../../../mf/out/*.svg . cd ./out/share/lilypond/current/fonts/tfm \ ln -s ../../../../../../mf/out/*.tfm . cd ./out/share/lilypond/current/fonts/type1 \ ln -s ../../../../../../mf/out/*.pfa . make[2]: Leaving directory `/root/install/lilypond' true make[1]: Leaving directory `/root/install/lilypond/mf' make[1]: Entering directory
point and click
Hi, point and click doesn't seem to work as expected. After setting up xpdfrc, EDITOR (and, to be sure LYEDITOR), and clicking into the score, I get the following error in emacs: ERROR: In procedure primitive-load-path: ERROR: Unable to find file ice-9/boot-9.scm in load path boot-9.scm is on my machine at the following locations: /usr/share/guile/1.6/ice-9/boot-9.scm /usr/share/guile/1.4/ice-9/boot-9.scm /usr/local/lilypond/usr/share/guile/1.8/ice-9/boot-9.scm How and where can I set up the load-path properly? -- Orm ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
kick xpdf in lilypond-mod.el
Hi, I'm trying to get a tighter integration between emacs-snapshot and xpdf by starting up xpdf in server mode (with the -remote switch, one for each *.ly buffer) and kicking the current document rather than restarting a new xpdf process. Can someone give an advice how to integrate that gracefully into the command-call and customization scheme of lilypond-mode.el? I wrote a function (LilyPond-kick-pdf), which starts a server process for the current buffer if necessary and sends the pdf file to that process, but as far as I can see, the mechanism in the current mode binds customizable strings to the menu which are shell commands rather than binding to elisp functions. Attached is the elisp code for those interested. -- Orm --- Begin lilypond-mode.el snippet - (defun LilyPond-kick-pdf () (interactive) (let ((buffname (LilyPond-get-master-file)) (pl (process-list))) (unless ; check whether a process named buffname exists (catch 'result (while (setq pname (pop pl)) (if (eq pname buffname) (throw 'result t ; start a new xpdf server if process doesn't exist (start-process buffname nil xpdf -remote buffname)) ; kick pdf (call-process xpdf nil nil nil -remote buffname (concat (substring (LilyPond-get-master-file) 0 -3) .pdf) ) )) --- End lilypond-mode.el snippet - ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: point and click
Am 02. März 2006, 23:40 Uhr (+0100) schrieb Han-Wen Nienhuys: which version ? 2.7.36., which comes with guile 1.8.0 (in /usr/local/lilypond/usr/bin) The problem was solved in the meantime by setting GUILE_LOAD_PATH. I made a wrapper script for lilypond to keep my guile 1.6 usable. -- Orm P.S.: the mail delay is 2 days right now. This makes communicating to the list quite tedious. ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
lilypond-mode.el
Hi, it seems an old bug concerning lilypond-mode in emacs-snapshot is still lurking in lilypond-mode.el: Wrong type argument: arrayp, nil I found a report on the net dating from last July that it has been fixed in lilypond-cvs, but the lilypond-install.sh of 2.7.32 still got it and using the cvs-version of lilypond-mode.el gives the same error. emacs-snapshot version is 22.0.50.0 from Feb,16,2006 -- Orm ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
moving rest vertically
Hi, trying to input my first complete piece with lilypond (Bach's Prelude #20 from the WTC I), I stumbled across a rather trivial problem: A 32nd rest in a polyphonic 2nd voice collides with a note in the first voice. Can someone give me a hint how to move that rest down by 1 or 2 staff lines? I couldn't find it in the documentation. It is sufficient to tell me the \once \override ... expression for the vertical displacement of a rest. Maybe it would be a good idea to include it in the documetation (if not already present). -- Orm ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
mail delay
Hi, can anybody confirm that mail takes about 2 days to get to the list? Is there a way to accelerate this somehow? -- Orm ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: line breaks
Am 15. M�rz 2006, 10:53 Uhr (-0700) schrieb Paul Scott: Are there musical cases where you can have more beats in a bar than the time signature indicates? In Renaissance Polphonic Music, syncopations in individual voices are often written without ties, even across barlines for legibility. One of the major advantages of lilypond (opposed to the commercial programs, I know) is the ability to transcribe that in a very natural way. See the first dotted half notes of the alto or tenor voices (bar 1/2 and bar 4/5) in the ancient notation example (3.5.1) of the documentation for an example (BTW: The spacing of the second half of bar 1 is very bad: The g appears to be on the same beat as the d in the Soprano although it actually is one beat ahead.) -- Orm ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Guitar notation
So you say that it is impollible to have 2 diagrams in one line, with only one cm space between And in the next line have four diagrams with also one cm space between? Thats what I am looking for... Very sad, if it is not possible... Try putting this somewhere into your layout definition: \layout { ragged-right = ##t \context { ... -- Orm ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Guitar notation
Am 15. März 2006, 23:15 Uhr (+0100) schrieb Jannik Jeppesen: Hi... I added the code, and it helped. But can I somehow change the space between the diagrams by using the code ragged-right = ##t? No, you can't use ragged-right for that purpose. You have to insert some padding between the diagrams to prevent the ragged-right directive from pushing them too close together. I don't know off hand how to do that in your case, but someone else on the list should be able to help. -- Orm ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
uninstalling 2.7.36
Hi, Before upgrading to 2.8 I'd like to uninstall the current 2.7.36 Is there any clean way to do this? It was installed using 'sh lilypond-2.7.36-1.linux.sh' Another related issue: I suspect the installscript to miss the proper setup of font installations for tex: When using lilypond-book, the noteheads aren't displayed. The transformation to ps seems to indicate a missing fontmap in tetex: [EMAIL PROTECTED]:~/lilypond-beispiele/lilypond-book/out$ dvips lilypond-book01.dvi This is dvips(k) 5.92b Copyright 2002 Radical Eye Software (www.radicaleye.com) ' TeX output 2006.03.29:0946' - lilypond-book01.ps dvips: Font CenturySchL-Ital used in file lily-2049170757-1.eps is not in the mapping file. dvips: Font PFAEmmentaler-20 used in file lily-2049170757-1.eps is not in the mapping file. dvips: Font PFAEmmentaler-26 used in file lily-45428427-1.eps is not in the mapping file. texc.prof7b6d320.enc09fbbfac.enctexps.prospecial.pro. cmtt10.pfb cmr10.pfb[1lily-2049170757-1.epslily-45428427-1.eps] [EMAIL PROTECTED]:~/lilypond-beispiele/lilypond-book/out$ -- Orm ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: uninstalling 2.7.36
Thanks a lot Mats! With your explanations un- and reinstall was no problem, but lilypond-book still seems to be broken on my machine. I followed the explanation in the doc (2.8.0) using the example there. I had to uncomment the line referring to screech-boink.ly and the lilypond-book command finished without errors. Still no noteheads (and the @command{lilypond-book} is printed verbatim (without the curly braces) in cmr instead of changing the font). Any ideas? -- Orm P.S.: Maybe it would be a good idea to add the uninstall procedure as an option to the install script and list it in the --help flag of it (even if this doen't help anybody not familiar with commandline scripts)? In addition a hint on uninstalling on the download page might be helpful. Am 29. März 2006, 12:45 Uhr (+0200) schrieb Mats Bengtsson: Please read in the manual for lilypond-book on what flags to use for lilypond-book and dvips, respectively, to get the correct fonts. For the uninstallation, the information is printed when you run install, which of course is the wrong information at the wrong time. It says something like: To uninstall lilypond, do rm -r /usr/local/bin/lilypond /usr/local/bin/lilypond.python /usr/local/bin/lilypond.guile /usr/local/lilypond/ assuming that you installed the files in /usr/local/ /Mats Quoting Orm Finnendahl [EMAIL PROTECTED]: Hi, Before upgrading to 2.8 I'd like to uninstall the current 2.7.36 Is there any clean way to do this? It was installed using 'sh lilypond-2.7.36-1.linux.sh' Another related issue: I suspect the installscript to miss the proper setup of font installations for tex: When using lilypond-book, the noteheads aren't displayed. The transformation to ps seems to indicate a missing fontmap in tetex: [EMAIL PROTECTED]:~/lilypond-beispiele/lilypond-book/out$ dvips lilypond-book01.dvi This is dvips(k) 5.92b Copyright 2002 Radical Eye Software (www.radicaleye.com) ' TeX output 2006.03.29:0946' - lilypond-book01.ps dvips: Font CenturySchL-Ital used in file lily-2049170757-1.eps is not in the mapping file. dvips: Font PFAEmmentaler-20 used in file lily-2049170757-1.eps is not in the mapping file. dvips: Font PFAEmmentaler-26 used in file lily-45428427-1.eps is not in the mapping file. texc.prof7b6d320.enc09fbbfac.enctexps.prospecial.pro. cmtt10.pfb cmr10.pfb[1lily-2049170757-1.epslily-45428427-1.eps] [EMAIL PROTECTED]:~/lilypond-beispiele/lilypond-book/out$ -- Orm ___ 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: uninstalling 2.7.36
Regarding lilybook, I found the culprit: ps2pdf seems to get rid of the noteheads. The Postscript file is fine. I guess this is related to the ghostscript version on my machine (7.07). Unfortunately updating ghostscript is a non-trivial task and there is no newer version for my distro (Ubuntu) yet. -- Orm ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
satb and pianoreduction
Hi, following the example given in the docs I typeset a 4 voice piece with automatic transcription of the 4 voices in a piano staff. Unfortunately the piece starts in the soprano with a stem-down note (the other voices resting). In the piano reduction, this voice retains the stem direction although it would be preferable if the soprano *always* has a stem up in the piano staff. In addition the rest in the alto voice is missing in the reduction. In Bar 3 of the piano reduction there is a similar problem in the alto voice, where the stem direction is up instead of down, Is there any way to define a fixed direction in the stem for the individual voices of the piano reduction without having to duplicate the source material? The source is attached. -- Orm \version 2.8.0 % Titel und Fußzeile: \header { % title = \markup { \column {Choral } } % composer = J. S. Bach tagline = gesetzt mit LilyPond } % Einstellungen für alle Stimmen: global = { \key f \minor % Tonart \time 4/4 % Metrum % \partial 4 % Auftakt 1 Viertelnote } %Musik: SopranNoten = \relative c'' { c2 des | c2. f4~ | f4 bes, es2 } AltNoten = \relative c' { r4 f2 bes4~ | bes4 as8 g as4 g8 f | g2. as8 g f4 } TenorNoten = \relative c' { r1 r r r } BassNoten = \relative c { r1 r r r } \score { % Die oberen vier Einzelsysteme: \context ChoirStaff \new Staff { \clef soprano % \clef G \set Staff.instrument = \markup { Sopran \hspace #2 } \context Voice = sopranos { \global \SopranNoten } } \new Staff { \set Staff.instrument = \markup { Alt \hspace #2 } \clef alto % \clef G \context Voice = altos { \global \AltNoten } } \new Staff { \set Staff.instrument = \markup { Tenor \hspace #2 } \clef tenor % \clef G_8 \context Voice = tenors { \global \TenorNoten } } \new Staff { \set Staff.instrument = \markup { Bass \hspace #2 } \clef bass \context Voice = basses { \global \BassNoten } } %% Das Klaviersystem mit den zusammengefassten Stimmen: \new PianoStaff \new Staff \set PianoStaff.instrument = \markup { Klavier \hspace #2 } \set Staff.printPartCombineTexts = ##f \partcombine \global \SopranNoten \global \AltNoten \new Staff \clef bass \set Staff.printPartCombineTexts = ##f \partcombine \global \TenorNoten \global \BassNoten % Definition des Layouts \layout { raggedright = ##t \context { % a little smaller so lyrics % can be closer to the staff \Staff minimumVerticalExtent = #'(-3 . 3) } } \midi { \tempo 4 = 94 } }___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
lilypond-mode.el
Hi, before delving into the depths of it: Has anybody got the lilypond-mode.el working in terms of autocompletion and cursor movement under gnu emacs? I tried with emacs21 and emacs-gtk (Version 22) without success. Syntax highlighting seems to work, but pressing M-C-p or M-C-n gets me to the beginning or end of the buffer instead of the matching parenthesis. The syntax table seems to be defined in lilypond-fontlock.el and that file gets loaded. Even re-evaluation of the relevant code doesn't seem to help. In addition Tab doesn't auto-complete but rather indents the current line... -- Orm ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: lilypond-mode.el
Am 30. März 2006, 05:57 Uhr (-0500) schrieb Geoff Horton: In addition Tab doesn't auto-complete but rather indents the current line... I'm pretty sure this is the intended behavior. snippet from lilypond-mode.el (if (string-match XEmacs\\|Lucid emacs-version) (define-key LilyPond-mode-map [iso-left-tab] 'LilyPond-autocompletion) (define-key LilyPond-mode-map [iso-lefttab] 'LilyPond-autocompletion)) /snippet from lilypond-fontlock.el Is there *anybody* who got the cursor movements or autocompletion working with gnu emacs? I can't imagine nobody is using it. -- Orm ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: satb and pianoreduction
Thanks Martial! Am 31. M�rz 2006, 19:19 Uhr (+0200) schrieb Martial: well Is it really not possible to force a rest there? The way the pianostaff is rendered is misleading and orthographically plain wrong. try this : % \partcombine \global \SopranNoten \\ \global \AltNoten -- Martial http://cathemline.org ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Change pdf viewer on mac
A couple of days ago I posted a modified lilypond-mode.el which takes advantage of xpdf's -remote option which does what you're asking for. It only works if you use emacs, though... -- Orm Am 02. April 2006, 02:02 Uhr (+) schrieb Mark A: Is there any way to customize the pdf viewer that is called by the Lilypond.app package for the Mac? I would prefer to use a viewer that automatically refreshes when the pdf file changes, which is not easily done with Preview.app. I prefer not to change the system default pdf viewer away from Preview, though. Thanks, Mark ___ 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
spanners not showing up
Hi, sorry, if that has been discussed before. In the following example, there are two glissandos with an end arrow between each f and g, but only the second one is showing up. This is obviously due to lilypond's spacing decisions, not leaving enough space for the first gliss sign (see attached png): \version 2.14.2 \relative c' { \time 6/4 f'4 \glissando g4 f2 \glissando g2 } \layout { \context { \Voice \override Glissando #'(bound-details right arrow) = ##t \override Glissando #'arrow-length = #0.5 \override Glissando #'arrow-width = #0.25 } } My questions: 1.: Is there a direct way to enforce lilypond to always print those signs and adjust its spacing accordingly (I'm aware that I could use a hidden second voice with eigth notes to enforce more horizontal space, but to me this seems more like a rather inelegant workaround than a solution)? 2.: Would it be possible to at least inform the user about the suppressed grob by printing a warning in the compilation buffer? -- Orm attachment: example-gliss.png___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: spanners not showing up
Am Freitag, den 01. März 2013 um 19:20:25 Uhr (-) schrieb Phil Holmes: Checkout glissando on: http://lilypond.org/doc/v2.15/Documentation/notation/spanners Thanks and sorry for the noise. I should have found that myself... ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Multi column page setup
Hi Hanns Holger, below is a minimal example (with a layout block for each column for illustration how to specify different layout settings for each column). You can extend it to as many columns you want. There is a major drawback though: You can't have lilypond figure out page breaking as the music in any column can't be broken into many pages. Working this way is more like explicitely stating which music goes on which page by using one \book block per page. -- Orm \version 2.16.2 \book { \markup { \null \score { \new Staff { c1 d e f\break a1 b c d\break } \layout { indent = #0 line-width = #50 \context { \Score \override NonMusicalPaperColumn #'page-break-permission = ##f } } } \null \score { \new Staff { f1 e d c\break b a b c\break } \layout { indent = #0 line-width = #50 } } \null } } Am Donnerstag, den 04. April 2013 um 16:15:46 Uhr (+0200) schrieb Hanns Holger Rutz: ok, great! (I think that's what grid_of_mini_scores.ly is actually doing) On 4 Apr 2013, at 16:12, Marek Klein wrote: Hello 2013/4/4 Hanns Holger Rutz cont...@sciss.de how can I set up lilypond to use a multiple column page layout. I have very short independent scores, and I would like to arrange them in four example four columns next to each other. It doesn't matter whether the grid goes left-to-right then top-to-bottom or the other way round. You can place \score in \markup, so you can have columns too. See also: http://lsr.dsi.unimi.it/LSR/Item?id=464 HTH Marek Klein 0918 610 720 http://gregoriana.sk Gregoriana on youtube ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
xpdf broken on ubuntu
Hi, are there any recommendations for a stand-alone lilypond point-and-click capable pdf viewer for current ubuntu distros? xdf seems to be deprecated (see discussion: https://bugs.launchpad.net/ubuntu/+source/xpdf/+bug/943195). Are there any emacs-cooperative alternatives (without having to install older versions or recompile patched sources)? -- Orm ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: xpdf broken on ubuntu
Am Sonntag, den 07. April 2013 um 09:43:30 Uhr (+0200) schrieb David Kastrup: I think I also saw some recipe for getting evince to work with pointclick when doing a web search, but it involved meddling with the gconf configuration of either evince or GNOME's URI handlers. That could be a way to go. My mail primarily intended to discuss alternatives before the xpdf route is completely dead. Can you send those links? Maybe I can help getting that to work and provide some documentation. -- Orm ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: xpdf broken on ubuntu
Hi Mark, Am Sonntag, den 07. April 2013 um 16:48:14 Uhr (+0100) schrieb Mark Knoop: https://github.com/markk/textedit-ly Thanks that was really helpful (especially the apparmor part! Ubuntu seems to gradually digress into some bugridden version of Windows...). I adapted everything to work with emacs. As a note for emacs users: In order to mimic the server-mode of xpdf with evince, I wrote a small script which starts evince in the background and referred to this script in the LilyPond Pdf Command setting of the LilyPond group. Re-evaluation of a source file now doesn't kill evince and will automatically update the pdf display after rendering. It's even better than xpdf as it stays on the part of the score upon redisplay. Let me know if someone needs advice. -- Orm ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: xpdf broken on ubuntu
Am Montag, den 08. April 2013 um 08:47:45 Uhr (+0100) schrieb Mark Knoop: If you can send me that script and documentation I'll include it in the git repo. ok, here you go: Configuring evince as the default pdf viewer in emacs with lilypond-mode: 1. Put mimeapps.list and textedit.dektop into $HOME/.local/share/applications as described above. 2. Open textedit.desktop. Change the line Exec=textedit.py %u into Exec=lilypond-invoke-editor %u 3. Copy the file lilypond-view-pdf somewhere in your Path and make it executable. Example: $ cd /PATH/OF/YOUR/DOWNLOAD/DIRECTORY/ $ sudo mv lilypond-view-pdf /usr/local/bin/ $ sudo chmod a+x /usr/local/bin/lilypond-view-pdf 4. Open emacs. - Open a lilypond source file to automatically load lilypond-mode. - Issue the command M-x customize-group - On the prompt enter LilyPond and press return. - On the LilyPond customization group page scroll down to the entry Lilypond Pdf Command. - Enter lilypond-view-pdf in the edit field, click on the State button below Lilypond Pdf Command and select Set for Current Session and Save for Future Sessions. #!/bin/sh evince $1 ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
voice context on the fly and lyrics
Hi, in the example below, I'm trying to create a Voice context on the fly and add lyrics to it. It doesn't seem to do what I would expect. The attached png shows my output (lilypond 2.13.43 on Linux). My questions: 1. Why are the b and a eigth notes rendered simultaneously with the c on the downbeat of bar 2 and not succesively on the last beat of bar 1? 2. Why are the lyrics printed below the PianoStaff despite the \accepts lyrics? I suspect the latter has to do with the nested brackets, as lyrics get printed between the staff lines if I do it without the nested brackets. In the piece I'm writing it would make things much clearer and easier, if I could create new contexts at different parts of the piece on the fly and attach individual lyrics to each of them. -- Orm \version 2.13.43 \score { \new PianoStaff \with { \accepts Lyrics } \new Staff = upper { \clef G \relative c' { c8 d \new Voice = one { e8 [ f g a ] } \addlyrics { ba da di do } b8 a g f e d c } } \new Staff = lower { \clef bass \relative c { c4 d e f g f e d } } \layout{} } attachment: lyricstest.jpg___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: How to generate small example PNGs
Hi Ralf, did you try the -dclipsystems option? Its explained in 3.4.1 of the notation reference (Extracting fragments of music). -- Orm Am Thursday, den 23. June 2011 um 10:06:47 Uhr (+) schrieb Ralf Mattes: Hello list, for a webproject with music examples I need to create PNG files with small mucic examples. I'm shure I once had some examples but I can't find them any more. I'm currently invoking lilypond like this: lilypond --png --output=cadence_3 94244234-tmp.ly The file looks something like this: \version 2.11.49 \header { tagline = ##f } \paper { raggedright = ##t raggedbottom = ##t } \score { { \new Staff \relative c' {\clef violin e g c a c d, f a c f g b e g c } \new Staff {\clef bass e f d g c } } } \layout { indent = 0\mm } But the png still displays a whole (almost empty) page. What am I missing? TIA Ralf Mattes ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Instrument Names for Staff Groups?
Hello, I'm trying to typeset a piece for 4 Percussionists. Each of them will use 4 \Staffs combined into a \StaffGroup: 2 percussion staffs and a combined bass/treble \PianoStaff for Mallets. I would like to have the name Percussion 1 printed in front of the whole group, vertically centered and always printed throughout the score, even if some staffs are removed with the \RemoveEmptyStaffContext if they don't contain anything for some systems. Does somebody know about a way to accomplish that? I couldn't find anything in the docs or LSR (I also checked orchestrallily to no avail). I tried \set StaffGroup.instrumentName = \markup \left-column { Perkussion 1 } but that doesn't print anything (although it doesn't complain either). Below is the code for one of the four percussion players with the name assigned to the top staff. Thanks in advance for any help. -- Orm \version 2.13.23 poneone = { { f4 a c' e' g' } } ponetwo = { { f4 a c' e' g' } } ponethreeup = { \relative c' { c4 e g b d } } ponethreedown = { \relative c { g b d f a } } \score { \new StaffGroup { \new Staff = poneone { \set Staff.instrumentName = \markup \left-column { Perkussion 1 } \set Staff.shortInstrumentName = \markup \left-column { Perk. 1 } \clef percussion \poneone } \new Staff = ponetwo { \clef percussion \ponetwo } \new PianoStaff { \new Staff = ponethreeup { \ponethreeup } \new Staff = ponethreedown { \clef bass \ponethreedown } } } \layout { indent = 4\cm \context { \RemoveEmptyStaffContext } } } ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Instrument Names for Staff Groups?
Hi Trevor, thanks a lot, worked right away! -- Orm Am Tuesday, den 21. September 2010 um 23:02:02 Uhr (+0100) schrieb Trevor Daniels: You need to add the Instrument_name_engraver to StaffGroup, and also set shortInstrumentName. See http://lilypond.org/doc/v2.13/Documentation/notation/writing-parts#instrument-names Trevor ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Instrument Names for Staff Groups?
Hello, I'm trying to typeset a piece for 4 Percussionists. Each of them will use 4 \Staffs combined into a \StaffGroup: 2 percussion staffs and a combined bass/treble \PianoStaff for Mallets. I would like to have the name Percussion 1 printed in front of the whole group, vertically centered and always printed throughout the score, even if some staffs are removed with the \RemoveEmptyStaffContext if they don't contain anything for some systems. Does somebody know about a way to accomplish that? I couldn't find anything in the docs or LSR (I also checked orchestrallily to no avail). I tried \set StaffGroup.instrumentName = \markup \left-column { Perkussion 1 } but that doesn't print anything (although it doesn't complain either). Below is the code for one of the four percussion players with the name assigned to the top staff. Thanks in advance for any help. -- Orm \version 2.13.23 poneone = { { f4 a c' e' g' } } ponetwo = { { f4 a c' e' g' } } ponethreeup = { \relative c' { c4 e g b d } } ponethreedown = { \relative c { g b d f a } } \score { \new StaffGroup { \new Staff = poneone { \set Staff.instrumentName = \markup \left-column { Perkussion 1 } \set Staff.shortInstrumentName = \markup \left-column { Perk. 1 } \clef percussion \poneone } \new Staff = ponetwo { \clef percussion \ponetwo } \new PianoStaff { \new Staff = ponethreeup { \ponethreeup } \new Staff = ponethreedown { \clef bass \ponethreedown } } } \layout { indent = 4\cm \context { \RemoveEmptyStaffContext } } } ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
starting music with an acciaccatura
Hi all, starting a score with an \acciaccatura gives unintended results in the following example on my machine: \version 2.13.23 \score { \new PianoStaff { \new Staff { \clef G \acciaccatura { c'16[ c'16] } c'16- r8. } \new Staff { \clef bass c4 } } \layout {} } As the acciaccatura seems to be before the first beat, the \clef command for the bottom staff is processed *after* the acciaccatura, resulting in the bottom system being initialized with a G clef. The following workaround works here, but that I find that rather awkward: \version 2.13.23 \score { \new PianoStaff { \new Staff { \clef G \acciaccatura { c'16[ c'16] } c'16- r8. } \new Staff { \clef bass \grace { s16 s16 } c4 } } \layout {} } Are there any better (cleaner) ways to do it? Yours, Orm ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
empty Staff context and vertical spacing
Hi, when using \RemoveEmptyStaffContext, between-system-padding and between-system-space seem to have no effect, the staff systems are squeezed together with seemingly no vertical space between them. Sorry if I'm missing the obvious. I tried to find information in the doca about that but didn't see anything concerning this issue. Here are the infos: lilypond version: 2.13.23 the layout block on the top level: \layout { indent = 4\cm \context { \RemoveEmptyStaffContext \override VerticalAxisGroup #'remove-first = ##t } between-system-padding = 2\cm between-system-space = 2\cm } I also tried to set between-system-padding and -space in a \paper block but that didn't change anything. Thanks for any advice, Orm ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: empty Staff context and vertical spacing
Hi Xavier, Thanks a lot, I wasn't aware of the change and will look into it. -- Orm Am Tuesday, den 12. October 2010 um 10:52:06 Uhr (+0200) schrieb Xavier Scheuer: The vertical spacing system has changed from 2.12 to 2.13. You have to use a syntax like between-system-spacing = #'((space . 12) (minimum-distance . 8) (padding . 1)) ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
ps to pdf conversion fails
Hi, a file I could typeset yesterday now fails on the conversion to pdf with the following error: `gs -q -dSAFER -dDEVICEWIDTHPOINTS=841.89 -dDEVICEHEIGHTPOINTS=1190.55 -dCompatibilityLevel=1.4 -dNOPAUSE -dBATCH -r1200 -sDEVICE=pdfwrite -sOutputFile=./schnell-pno01.pdf -c .setpdfwrite -f schnell-pno01.ps' failed (256) error: failed files: /home/orm/work/kompositionen/2kl/lilypond/schnell-pno01.ly The postscript file looks fine and I can't even remember having changed anything in the source (I even did a couple of undos until I was sure it had worked before). Is there any way to detect the problem? Maybe there is a strange mistyped control character somewhere, but I have no clue how to track down the problem. -- Orm ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
ottava bracket and fingering
Hi, the fingering of columns is placed outside the ottava bracket in the following example: \version 2.13.43 \new Staff { \relative c''' { \override OttavaBracket #'outside-staff-priority = #20 \override OttavaBracket #'staff-padding = #60 \override OttavaBracket #'y-offset = #60 \override OttavaBracket #'padding = #60 \ottava #1 a16-5 ees!16-2 g,16-1 aes'!16-4 r16 e16-2 c g' 16^\markup{\override #'(baseline-skip . 1.7) \column {\finger 4 \finger 1}} f16-3}} Attached is the png to illustrate the problem. As you can see, I tried to change different settings of the properties of ottava bracket (quite drastically to provoke an effect) which don't seem to work. What am I doing wrong? -- Orm attachment: sample.png___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: ps to pdf conversion fails
Am Saturday, den 18. December 2010 um 11:23:17 Uhr (-) schrieb Phil Holmes: This normally occurs when it's not possible to delete the previous version of the PDF - often because it's open in a PDF viewer. Try deleting the old version and see if that fixes it. Thanks !!! -- Orm ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
including eps file
Hi, In lilypond 2.8.4 I'm trying to attach an eps file above a staff with the \epsfile markup command. the eps file gets included, but seems to be anchored to the bottom of the page instead of being related to the staff no matter how I change the parameters of the markup. I attach the lilypond file with a normal text markup to indicate, where the eps graphic should appear and the eps file itself. Replacing line 14 by line 15 in the lilypond source includes the eps file anchored to the bottom of the page. gv displays the graphic correctly (rotated by 90 degrees). Another related question: How can I find documentation on the possible values for the axis parameter of \epsfile? I guess it is something like horizontal or vertical coded into an integer, but which one is coded how? I often stumble across such definitions desperately trying to find some description of the possible values of parameters and always hope there is some place in the documentation which I'm not aware of (and haven't encountered yet). -- Orm \version 2.8.0 \header { tagline = Musik gesetzt mit LilyPond (http://www.lilypond.org) } \paper { #(set-paper-size a3) } solovioline = \relative c' { \clef treble \key c \major \time 4/4 s32^\markup { \hspace#-9.5 \raise#5 Bottom left corner of eps-file } % s32^\markup { \hspace#-9.5 \raise#5 \epsfile #1 #300 #part_01.eps } c8[ d e f] g4 g4 a2 r2 } \score { \set Score.proportionalNotationDuration = #(ly:make-moment 1 13) \new Staff { \solovioline } \layout { ragged-right = ##t } \midi { \tempo 4=60 } } part_01.eps Description: PostScript document ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: including eps file
Am 30. Mai 2006, 02:45 Uhr (+0200) schrieb Han-Wen Nienhuys: Strange, I can't really get anything to appear. Did you scroll down all the way to the bottom of the page? In the code example only the eps gets displayed without the staff system (which probably is shifted off the page). Are you sure that this is a bonafide EPS file? I'm not sure as the file got generated by a selfmade lisp program, but it gets opened and displayed by ghostview, Illustrator, Finale and gimp without errors or warnings and convert doesn't complain either. The postscript code is fairly straightforward, but I'm by no means a postscript expert. If in doubt, try with a normal EPS (eg. a PNG converted to EPS with convert or similar.) I did that just to be sure. Now lilypond gives the following error: Compilation started at Tue May 30 10:01:58 lilypond -f pdf /home/orm/work/kompositionen/violine/lilypond/k_g01.ly GNU LilyPond 2.8.0 Processing `/home/orm/work/kompositionen/violine/lilypond/k_g01.ly' Parsing... Interpreting music... [1] Preprocessing graphical objects... Calculating line breaks... [2] Interpreting music... MIDI output to `k_g01.midi'... Track... Calculating page breaks... Layout output to `k_g01.ps'... Converting to `k_g01.pdf'... `gs -q -dSAFER -dCompatibilityLevel=1.4 -sPAPERSIZE=a3 -dNOPAUSE -dBATCH -r1200 -sDEVICE=pdfwrite -sOutputFile=k_g01.pdf -c .setpdfwrite -f k_g01.ps' failed (256) error: failed files: /home/orm/work/kompositionen/violine/lilypond/k_g01.ly Compilation exited abnormally with code 1 at Tue May 30 10:02:01 --- X = 0 , Y = 1 Thanks. That means, if aligned along the horizontal axis (parallel to the staff system), the syntax should be: \epsfile #0 #5 #part01.eps right? -- Orm ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: including eps file
Am 30. Mai 2006, 11:52 Uhr (+0200) schrieb Mats Bengtsson: One thing I noticed is that you set the bounding box to include lots of whitespace, which probably explains why it fills the whole page and shifts the music off the page. I don't think so. The bounding box is a4 landscape wide (842) and 190 eps units high. That encloses the picture without any white space (at least in my gv, gimp and convert renderings). -- Orm ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: including eps file
Hi, I still couldn't get anywhere concerning the eps issue. I tried to post the eps file which caused the error to the list, but since it is a bitmap, it's too huge for the list. I also don't think it helps trying to solve the lilypond error using a bitmap eps which will not get used anyway. Can anybody send an example of a markup using an eps file with postscript drawing routines (e.g. a horizontal line running parallel to the staff) and attach the eps file as well? I'm sure I could get my files adapted once a working example is found. -- Orm ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: including eps file
Hi Han-Wen, Am 31. Mai 2006, 13:38 Uhr (+0200) schrieb Han-Wen Nienhuys: see http://lilypond.org/~hanwen/eps-demo.zip I can't get the barlow.ly example to compile. the log file is attached. gs version is 8.15.2 on my machine. -- Orm ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: including eps file
Hi Han-Wen, sorry, forgot the attachment... Am 31. Mai 2006, 13:38 Uhr (+0200) schrieb Han-Wen Nienhuys: see http://lilypond.org/~hanwen/eps-demo.zip I can't get the barlow.ly example to compile. the log file is attached. gs version is 8.15.2 on my machine. -- Orm ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user GPL Ghostscript 8.50 (2005-12-31) Copyright (C) 2005 artofcode LLC, Benicia, CA. All rights reserved. This software comes with NO WARRANTY: see the file PUBLIC for details. WARNING: /Unicode /Decoding resource is not accessible but it is useful for generating ToUnicode CMap. Can't find (or can't open) font file n021003l.pfb. Can't find (or can't open) font file /usr/local/lilypond/usr/share/ghostscript/8.50/Resource/Font/NimbusRomNo9L-Regu. Can't find (or can't open) font file NimbusRomNo9L-Regu. Can't find (or can't open) font file /usr/local/lilypond/usr/share/ghostscript/8.50/Resource/Font/NimbusRomNo9L-Regu. Can't find (or can't open) font file NimbusRomNo9L-Regu. Querying operating system for font files... Didn't find this font on the system! Substituting font Courier for NimbusRomNo9L-Regu. Can't find (or can't open) font file n022003l.pfb. Can't find (or can't open) font file /usr/local/lilypond/usr/share/ghostscript/8.50/Resource/Font/NimbusMonL-Regu. Can't find (or can't open) font file NimbusMonL-Regu. Can't find (or can't open) font file /usr/local/lilypond/usr/share/ghostscript/8.50/Resource/Font/NimbusMonL-Regu. Can't find (or can't open) font file NimbusMonL-Regu. Didn't find this font on the system! Unable to substitute for font. Error: /invalidfont in findfont Operand stack: Times-Roman Font Times-Roman 739153 Times-Roman --nostringval-- Times-Roman NimbusRomNo9L-Regu Courier NimbusMonL-Regu Execution stack: %interp_exit .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push --nostringval-- --nostringval-- --nostringval-- false 1 %stopped_push 1 3 %oparray_pop 1 3 %oparray_pop 1 3 %oparray_pop 1 3 %oparray_pop .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push --nostringval-- --nostringval-- 1 5 %oparray_pop 2 5 %oparray_pop --nostringval-- --nostringval-- --nostringval-- --nostringval-- --nostringval-- false 1 %stopped_push 5 6 %oparray_pop --nostringval-- --nostringval-- --nostringval-- 1 -1 1 --nostringval-- %for_neg_int_continue Dictionary stack: --dict:1124/1686(ro)(G)-- --dict:0/20(G)-- --dict:133/200(L)-- --dict:133/200(L)-- --dict:133/200(L)-- --dict:17/17(ro)(G)-- --dict:1124/1686(ro)(G)-- Current allocation mode is local Last OS error: 2 Current file position is 373825 ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
neo-mensural time signatures
Hi, I'm trying to typeset a piece of renaissance music in neomensural style and would like to use the neo-mensural time signature glyphs. Unfortunately they are preset to decode 3/2 or 2/2 bars although the tempus imperfectum or perfectum should get translated into 2 or 3 semibrevis which means in lilypond into 2/1 or 3/1 (for a thorough explanation in german see section Weisse Mensuralnotation (ca. 1430-1600) at http://de.wikipedia.org/wiki/Mensuralnotation ) The result: If I set the timesignature to 3/2 I get double as many bars as wanted. Is there any workaround? Yours, Orm BTW: Is there any good reason for lilypond's translation of the tempus perfectum into 3/2? Maybe it'd be a good idea to change it altogether and for good in future versions? ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: neo-mensural time signatures
Am 27. Juli 2006, 16:57 Uhr (+0200) schrieb Mats Bengtsson: See the first example in the section on Polymetric notation for information on how to modify the time signature with whatever text markup. Thanks a lot. Do you know, what the Text markup would be to get the neomensural signs printed centered on the staves? I couldn't find that in the docs. I'm not an expert in neomensural notation, but as far as I can understand, the time signature concepts used in that music are so different from modern time signatures, so it's a bit arbitrary how to do the translation. As far as I recall, the translation from the semibrevis sign in old scores to our modern note values is more or less arbitrary (being a factor of 1, 2 or 4). But the meaning of the neomensural prolatione perfecta time signature glyph invariantly means (by definition) to contain 3 semibrevis. As the lilypond developers decided to identify the semibrevis sign with a whole note (which is the way most modern scientific editions do it as the visual appearance has a closer resemblance to the original score), the prolatione perfecta invariantly means 3/1. Yours, Orm ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
neomensural time signature
Hi, I'm still trying to get the neomensural timesignatures into my score. does anybody have a clue on ow to get the glyphs into a text markup so I can use it for 3/1 and 2/1 measures? -- Orm PS: I use lilypond 2.8.0 ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: neomensural time signature
Hi Martin, Daniel, both ideas work well, thanks very much! I prefer Daniel's method as it counteracts lilyponds (mis)conception of relating the tempus perfectum to 3 minima instead of 3 semibrevis. I'd like to suggest changing the relation in lilypond for good as I can't possibly think of any usage of the timesignatures the way they are now in practice. Yours, Orm Am 28. Juli 2006, 10:02 Uhr (-0700) schrieb Daniel Johnson: Orm Finnendahl wrote: Hi, I'm still trying to get the neomensural timesignatures into my score. does anybody have a clue on ow to get the glyphs into a text markup so I can use it for 3/1 and 2/1 measures? -- Orm PS: I use lilypond 2.8.0 Have you looked into \compressMusic? That way you wouldn't have to hack around with the Time_signature_engraver. ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
changing proportional notation duration in mid-line
Hi, I would like to change the amount of horizontal space for a specified duration in the middle of a line (reflecting a tempo change) globally (without having to deal with compress music for each staff). Is there a way to override the setting of Score.proportionalNotationDuration on the fly, or can someone think of another way? -- Orm ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
parametrized macros
Hi, can someone point me to the documentation of parametrized definitions? Here's what I want to do: I need to set time signatures above the score without using horizontal space. Therefore I removed the time signature engraver and added a markup at each bar with a changed time signature like this: s1*0^\markup { \hspace #-2 \column { \line {\hspace#-0.5 \override #'(font-name . Helvetica Bold) \raise #-0.8 3 } \line {\hspace#-0.5 \override #'(font-name . Helvetica Bold) 4}}} Since there are many time signature changes in the piece (nearly every measure), I'd like to define the above expression as a macro with the nominator and denominator as parameters. I looked for quite a while but couldn't find the right place in the documentation. Thanks for any help, Orm ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: changing proportional notation duration in mid-line
Am 06. November 2006, 13:09 Uhr (+0100) schrieb Mats Bengtsson: Just as any other context property, you can set it with \set. Example: \relative c'{ c d e f g f e d \set Score.proportionalNotationDuration = #(ly:make-moment 1 64 ) c d e f g f e d \unset Score.proportionalNotationDuration c d e f g f e d } Thanks a lot, Mats. Both suggestions worked. You made my day! :-) -- Orm ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
placing of artificial harmonic
Hi, I'm trying to write a doublestop in a violin piece, where on note is played as an artificail harmonic. In the sequence 'eih d g \harmonic4' The harmonic is placed above the 'eih' but should be placed above the 'd'. Is there any way to either flip the noteheads of the eih and d or move the harmonic diamond horizontally? I tried to trick lilypond by adding a fourth notehead in order to flip the harmonic sign and then making the added notehead invisible: 'eih d g \harmonic \hideNotes a \unHideNotes4' This doesn't seem to work inside a chord. Also overriding #'notehead to be transparent doesn't work in this context. Putting the d with its harmonic in another voice context results in awkward spacings of the two voices (Stem up and down) and makes the whole thing quite difficult to read. Using text markup for the diamond sign is awkward as the notes are placed above the space with some ledger lines. Any ideas? -- Orm ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: placing of artificial harmonic
Am 16. November 2006, 09:40 Uhr (+0100) schrieb Mats Bengtsson: To make a single note in a chord invisible, you have to use the \tweak feature: eih d g \harmonic \tweak #'transparent ##t f 4 thanks, that worked. Unfortunately that creates a new problem: Tieing two such chords together creates ties between the invisible 'f . I tried to change the 'f' into 'fis' in one of the two chords, but that creates an unwanted accidental... Is there any way around that (making accidentals transparent or sth of the like)? -- Orm ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
pitchedTrill
Hi, I need to do a pitchedTrill, where the bracketed pitch has to be played as a harmonic. Using \pitchedTrill f aih2~\startTrillSpan gis \harmonic f aih4~ \stopTrillSpan results in an error. In addition another pitched Trill with an es above the staff (third ledger line) doesn't display the accidental (using 'es!' doesn't seem to work either). There is no e-flat before in the measure, so I'm at loss here. Is it somehow possible to get that working without having to do it with Text markup? The pitches are with lots of ledger lines and it is quite tedious to write a text markup for the ledger lines, accidentals and notes. -- Orm ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: changing proportional notation duration in mid-line
Am 20. November 2006, 11:50 Uhr (-0600) schrieb Trevor Bača: Additionally, as of the 2.9 series there's a \newSpacingSection command available that might be useful if the spacing characteristics of the piece change for a define period of time. The 2.10 NEWS file gives an example. Thanks for the notice, I'll look into it. Proportional Notation in lilypond is far from what the name suggests: The output often is a mess (measures, which are too short (like 1/8) resulting in the previous measure to stretch out all the way to the right margin and such things...) I'm constantly changing the spacing values (nearly for every measure) to ridiculous numbers just in order to stretch out or shrink measures so that they line up with the timing of the graphics above. Empty measures are always too short and I keep inserting invisible notes in order to make the bar stretch. Whenever an additional note or something else shows up in a measure, the whole spacing gets screwed and I can start all over again, deleting invisible notes etc. (I think I've spent more than 2 complete days redoing things which already had been done). I'm not complaining, this is just a warning to anybody, who is interested in proportional notation. At this point it is not working very well. I'm trying to collect a list of things which make it somewhat reproducable and will send that to the developers when I'm done. Maybe it is easier to fix than I think... -- Orm ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: colliding accidentals
Hi, I finally found a way to avoid the collision of the accidentals by moving the notes in different voices, shifting the notehead and making the stem invisible in one of the voices and moving the accidental with tweaking the extra-offset property of the accidental. Now the moved accidental collides with the previous barline. Therefore I tried the following directly before the note where I want to shift the accidental: \once\override AccidentalPlacement #'right-padding = #1 This doesn't seem to change anything at all. What am I doing wrong? -- Orm ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: broken crescendo
Am 23. November 2006, 10:26 Uhr (-0800) schrieb Graham Percival: Sure! http://lsr.dsi.unimi.it/ o.k. I put it up there. It's called Broken Crescendo Hairpin and should be accessible by tomorrow (if I understood the system correctly). If you find the title misleading, just go ahead and change it. -- Orm ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: which language for programming
Am 28. November 2006, 08:56 Uhr (+0100) schrieb Jean-marc LEGRAND: So Santa Claus will have to find a good book on that ! Regarding scheme I would recommend the following two books. You can actually get them electronically in full text (no need to wait for Santa Claus ;-): http://www.scheme.com/tspl3/ http://www.mitpress.mit.edu/sicp/ The latter one is for the inclined who really want to come to terms with the concept of computer science in general. The content of that book's first edition is also online available as an excellent video course (made by HP-Television in the 80s; Great haircuts!): http://swiss.csail.mit.edu/classes/6.001/abelson-sussman-lectures/ All instructors and authors above have been either related to or members of the core scheme development team and I think it is a must for anyone sincerely interested in programming. -- Orm ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
brackets around noteheads
Hi, I would like to write noteheads with brackets around them (preferably square brackets) without using Markup commands, as most of them have to be on ledger lines and it is very awkward to get those drawn. It would be very nice to enter the notes in question using a new voice context in order to be able to get them at defined rhythmic positions. Is there an easy way to get that done? Yours, Orm ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: brackets around noteheads
sorry, I forgot to mention: The following construct *doesn't* provide a solution as the parnethesis is far too small and only parenthesizes the notehead. \set fontSize = #-4 \once \override Stem #'transparent = ##t \parenthesize fih4 \set fontSize = #1 The parenthesis should go around the accidental as well and should (preferably) be square bracketed and should be larger. I would like to define a macro to get that done so that I only have to write something like \bracket #'fih #4 in order to get the bracket drawn around the notehead and accidental without having to deal with any extra-offsets or such. -- Orm Am 02. Dezember 2006, 15:16 Uhr (+0100) schrieb Orm Finnendahl: Hi, I would like to write noteheads with brackets around them (preferably square brackets) without using Markup commands, as most of them have to be on ledger lines and it is very awkward to get those drawn. It would be very nice to enter the notes in question using a new voice context in order to be able to get them at defined rhythmic positions. Is there an easy way to get that done? Yours, Orm ___ 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
DynamicLineSpanner padding
Hi, I observed a nasty behaviour trying to set the #'padding property of the DynamicLineSpanner: The \p and \pp are not baseline-aligned with the \ff or \mf. Has this been reported before? To me this looks like something which should rather get corrected in lilypond itself than cluttering the script with different padding values before and after each \pp. -- Orm ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: DynamicLineSpanner padding
Hi, as a follow-up: The same seems to apply for TextSpanners in general. In the following example, the baselines of the s.t. and s.p. aren't aligned either: \override TextSpanner #'edge-text = #'(s.t. . s.p.) f2~ \startTextSpan f2 \stopTextSpan | It looks pretty bad and the only fix in this case is to use empty spaces for the edge textes and then do simple text markup, shifting the text around with padding, which is unlikely to be the purpose of the edge-text property. Should I file that as a bug report somewhere? -- Orm Am 02. Dezember 2006, 17:02 Uhr (+0100) schrieb Orm Finnendahl: Hi, I observed a nasty behaviour trying to set the #'padding property of the DynamicLineSpanner: The \p and \pp are not baseline-aligned with the \ff or \mf. Has this been reported before? To me this looks like something which should rather get corrected in lilypond itself than cluttering the script with different padding values before and after each \pp. -- Orm ___ 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
a2 paper
Hi, it seems, lilypond can't deal with a paper size of a2. It reports an error if trying teh following: #(set-default-paper-size a2) \paper { #(set-paper-size a2) left-margin = 2 \cm right-margin = 1 \cm indent = 0 \cm } If the paper size is set to a3 lilypond outputs the pdf as an a4 document (the .ps is a3). Is this intended? -- Orm P.S.: It's not a real problem as I can scale the .ps to a3 and then generate the pdf via the commandline. I just thought I'd report the issue. ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
passing music symbols to define-music-function
Hi, how is it possible to write music functions which use symbols as parameters which get interpreted as pitch entities by the function? I made three examples below to illustrate the problem. The third works but is less than ideal in the lilypond source as the main purpose of the definition is to get rid of the \parenthesize and the enclosing chord brackets. -- Orm P.S.: Can anybody point me to reference on how to enlarge the parenthesis or how to turn them into square brackets? I'm quite comfortable writing scheme code and don't mind to delve into the depths of lilypond as long as I get a hint on where to start and what to change where. -- The following two code segments *don't* work: bracket = #(define-music-function (parser location note ) (symbol? ) #{ \set fontSize = #-4 \once \override Stem #'transparent = ##t \parenthesize $note4 \set fontSize = #1 #}) \relative c' { \bracket #'f } bracket = #(define-music-function (parser location note ) (ly:music? ) #{ \set fontSize = #-4 \once \override Stem #'transparent = ##t \parenthesize $note4 \set fontSize = #1 #}) \relative c' { \bracket f } -- This works: bracket = #(define-music-function (parser location note ) (ly:music? ) #{ \set fontSize = #-4 \once \override Stem #'transparent = ##t $note \set fontSize = #1 #}) \relative c' { \bracket \parenthesize f4 } ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
proportional notation
Hi, trying to convince lilypond to keep the proportional notation correct is very time-consuming (ca. 1/2 hour for one line; sigh!). It is especially hard to figure out, why the second value of the ly:make-moment form sometimes has to get doubled in order to make a bar stretch out 10% more than with half the value. Can someone shed a light on how the algorithm works, so that I can get better estimates and don't have to recompile that often? -- Orm ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
proportional notation screws up score
Hi, it seems proportional notation and the spacing is more broken than I ever expected. I'm extremely frustrated (especially after I put so much hope into lilypond) having spent 5 days to enter 12 lines of music and now having lost 4 hours of work trying to space 4 lines of music correctly (with the musicians waiting...). I urge the maintainers of the documentation to put a warning in big bold letters to the section of proportional notation (8.4.3) that users encountered severe bugs in the spacing algorithm or maybe skipping the section stating that lilypond is capable of proportional notation altogether. For anybody able to help I uploaded the score in question here: icem-www.folkwang-hochschule.de/~finnendahl/download/violine-test.tgz To generate the score, gesamt.ly has to be evaluated by lilypond. To see what is wrong, you can simply change the expression #(ly:make-moment 8 99) at the end of line 10 into #(ly:make-moment 8 100) and reevaluate. In my version (2.11.0-1) the first staff system stretches out all the way to the right paper edge while being far too short with the 99 setting. To get a feeling why this is so strange, compare the output of a 98 to the output of a 99). But you can also leave that line alone and change the next ly:make-moment into different values to observe completely unpredictable results (it would even be funny if I hadn't run into a severe time problem). I'm completely at loss here and will probably have to resort to non-proportional notation (which is less than suboptimal in the special case of that piece) or go back to handwriting (after throwing my computer out of the window). -- Orm ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: passing music symbols to define-music-function
Thanks for the help! I'll look into it. For those interested: I found a workaround for now in the following way: bracket = #(define-music-function (parser location note ) (ly:music? ) #{ \once\override TrillSpanner #'transparent = ##t \pitchedTrill s32 \startTrillSpan $note s32 \stopTrillSpan #}) and then in the score: \bracket f It's not beautiful, but it works. -- Orm Am 03. Dezember 2006, 16:15 Uhr (+0100) schrieb Han-Wen Nienhuys: The parenthesis code is in output-lib.scm ; Check define-grobs.scm (ParenthesesItem) to see how it is wired into LilyPond ; I would expect that setting font-size on that grob will change the size. -- Han-Wen Nienhuys - [EMAIL PROTECTED] - http://www.xs4all.nl/~hanwen LilyPond Software Design -- Code for Music Notation http://www.lilypond-design.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: proportional notation screws up score
Hi Trevor, Han-Wen, thanks a lot for your efforts to help me out and thanks a lot for your ideas and thoughts! Sorry if I sounded desperate. Trevor's post seems to indicate that it might not work out to get everything perfectly aligned (although I was very close for the first three lines before the spacing engine freaked out). I can live with that at the moment if I can get it roughly correct by aligning the barlines of the graph and the music at every tempo change for example. The musicians will have a rehearsal CD anyway to relate their playing to the tape. If I got it right, I should skip the whole idea of changing the value of the proportionalNoteDuration during the piece. My questions: 1. How do I change the spacing-increment in mid-music? I tried \override Score.SpacingSpanner #'space-increment = #2.8 but this seems to set the spacing increment once and for all. Changing Staff.SpacingSpanner didn't seem to change anything. If that is impossible the minimum I could get away with would be to set ragged-right to ##f and set the width of each staff system to align with the graph. But as far as I understood, the page-width can only get globally set in the \page layout block. Is there a way? Am 03. Dezember 2006, 10:29 Uhr (-0600) schrieb Trevor Bača: So if you have time after you finish the violin piece, perhaps wecould together contact Han-Wen and ask first for advice on what suchan enhancement might look like (like how would a graph paper spacingpackage get turned on and off, and how could it be reset in mid-inputto accommodate tempo changes as occur here in the violin piece?) andsecond on whether we could sponsor such work sometime in the 2.11series of releases. If you're interested, please let me know and I'll be happy to sponsor. Great idea! I'm in of course, thanks for the offer! -- Orm ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: DynamicLineSpanner padding
Hi Mats, thanks for the reply. Am 03. Dezember 2006, 20:33 Uhr (+0100) schrieb Mats Bengtsson: This problem has been discussed before and in the mailing list archives do you have any idea how the thread was called? I presume, the workaround is similar to using a \strut box in TeX? -- Orm ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: proportional notation screws up score
Hi Trevor, thanks for the reply. When the piece is done it can be used for documentation. True proportional notation isn't exactly what I need and is far from desirable as the accidentals would always collide with barlines etc. I made much better experiences with shifting or removing extra spaces at the right spots to make it look as if it is spaced proportionally. Maybe there is a way to describe to Han-Wen what is needed, once I found out, how to achieve the right results using lilypond. Right now it is a very tedious and time-consuming task to redefine the spacing for nearly every measure and then waiting for the engine to render it and optimize the result. There should be some notion of a global timing which can be related to lilyponds typesetting engine meaning that if some note constructs take up extra space, the next or previous notes should be adjusted to compensate for the loss, ideally the error should get stretched out over a couple of notes to make it look nicer. -- Orm Am 03. Dezember 2006, 15:26 Uhr (-0600) schrieb Trevor Bača: On 12/3/06, Orm Finnendahl [EMAIL PROTECTED] wrote: Hi Trevor, Han-Wen, thanks a lot for your efforts to help me out and thanks a lot for your ideas and thoughts! Sorry if I sounded desperate. Trevor's post seems to indicate that it might not work out to get everything perfectly aligned (although I was very close for the first three lines before the spacing engine freaked out). I can live with that at the moment if I can get it roughly correct by aligning the barlines of the graph and the music at every tempo change for example. The musicians will have a rehearsal CD anyway to relate their playing to the tape. If I got it right, I should skip the whole idea of changing the value of the proportionalNoteDuration during the piece. My questions: 1. How do I change the spacing-increment in mid-music? I tried \override Score.SpacingSpanner #'space-increment = #2.8 but this seems to set the spacing increment once and for all. Changing Staff.SpacingSpanner didn't seem to change anything. See mail from just a second ago, but short answer: \newSpacingSection\override Score.SpacingSpanner #'space-increment = #2.8 If that is impossible the minimum I could get away with would be to set ragged-right to ##f and set the width of each staff system to align with the graph. But as far as I understood, the page-width can only get globally set in the \page layout block. Is there a way? I wouldn't do this; real proportional scores should be ragged right onnearly every line (depending on the rhythmic duration of the line, ofcourse) and ragged-right = ##t is the semantically correct way to dothis in Lily. Am 03. Dezember 2006, 10:29 Uhr (-0600) schrieb Trevor Bača: So if you have time after you finish the violin piece, perhaps wecould together contact Han-Wen and ask first for advice on what suchan enhancement might look like (like how would a graph paper spacingpackage get turned on and off, and how could it be reset in mid-inputto accommodate tempo changes as occur here in the violin piece?) andsecond on whether we could sponsor such work sometime in the 2.11series of releases. If you're interested, please let me know and I'll be happy to sponsor. Great idea! I'm in of course, thanks for the offer! Yes, of course; however, it sounds like Han-Wen's suggestions fromearlier today probably *can* get really true proportional spacing, ifall settings are used correctly in concert with each other. Try stripping out all spacing settings *except immediately following a\newSpacingSection command* and see if that gets it. And make sure toset uniform-stretching = ##t to that you measure-long skips get spacedcorrectly, too. And if you can get it, then it sure would be nice to prepare a page ofyour score as a HOW-TO for inclusion in the manual (which I'd be happyto coauthor with you). OTOH, if we definitely can not produce trueproportional spacing from the existing package, then my offer forsponsorship is of course still open (I just don't want to ask Han-Wenfor work that we don't actually need!). Good luck! -- Trevor [EMAIL PROTECTED] ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
uniform-stretching
Hi, I tried the uniform-stretching property but couldn't get it to work as expected. If I understand this property correctly, it should stretch out bars according to their time-signature regardless of skips or rests within. This fails (e.g. the first measure should be much wider than the second, the last and the one before the last measure should have the same width ...): \version 2.11.0 \score { \new Staff { \relative { \override Score.SpacingSpanner #'uniform-stretching = ##t \set Score.proportionalNotationDuration = #(ly:make-moment 8 50) \time 4/4 r1 \time 3/8 r4. \time 5/4 r1 r4 \time 5/16 r4 r16 \time 5/8 s2 s8 \time 5/8 r2 r8 } } \layout { ragged-right = ##t } } Can someone help? Trevor? -- Orm ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: uniform-stretching
Hi Trevor, The mailserver of my ISP was down for 14 hours, sorry for the late response. Thanks a lot for all your time and effort! The last example you sent works pretty well here now except for the first measure (4/4). It takes about the same amount of space as the following 3/8 measure. Replacing that line with \time 4/4 r4 r4 r4 r4 instead of the r1 will stretch out the measure but that shouldn't be necessary, right? Does that have something to do with it being the initial measure? -- Orm Am 04. Dezember 2006, 19:13 Uhr (-0600) schrieb Trevor Bača: Hi Orm, OK, and overriding PaperColumn used to ##t (together with uniform stretching) evens out the last two measures in 5/8 perfectly (with no need to resort to the transparent Rest workaround). %%% BEGIN %%% \version 2.11.0 \layout { ragged-right = ##t } \score { \new Staff \with { \remove Separating_line_group_engraver } { \relative { \override Score.SpacingSpanner #'uniform-stretching = ##t \set Score.proportionalNotationDuration = #(ly:make-moment 8 50) \override Score.PaperColumn #'used = ##t \time 4/4 r1 \time 3/8 r4. \time 5/4 r1 r4 \time 5/16 r4 r16 \time 5/8 s2 s8 \time 5/8 r2 r8 } } } \score { \new Staff \with { \remove Separating_line_group_engraver } { \relative c' { \override Score.SpacingSpanner #'uniform-stretching = ##t \set Score.proportionalNotationDuration = #(ly:make-moment 8 50) \override Score.PaperColumn #'used = ##t \time 4/4 r1 \time 3/8 r4. \time 5/4 r1 r4 \time 5/16 r4 r16 \time 5/8 s2 s8 \time 5/8 r2 r8 } } } %%% END %%% I still don't understand why that initial measure in 4/4 is so short, though ... So the list of settings to use so far is: 1. \set proportionalNotationDuration = #(ly:make-moment n d) (in the Score) 2. \override SpacingSpanner #'uniform-stretching = ##t (in the Score) 3. \override PaperColumn #'used = ##t (in the Score) 4. \remove Separating_line_group_engraver (in the Staff) In addition, if you want true proportional notation (where time signatures and clefs and accidentals consume no space), then set 5. \override SpacingSpanner #'strict-note-spacing = ##t (in the Score) This should now be much closer. Also, some other contemporary best practices I use almost all the time are: Score: 6. allowBeamBreak = ##t 7. autoBeaming = ##f 8. tupletFullLength = ##t 9. \override Beam #'break-overshoot = #'(-0.5 . 1.0) 10. \override SpacingSpanner #'strict-grace-spacing = ##t 11. \override TupletBracket #'bracket-visibility = ##t Voice: 12. \remove Forbid_line_break_engraver Most of these additional settings aid in letting tuplet brackets and beams break across two or even three lines, and so may not be as useful in your current score. But if you do have sections with many measured spanners, consider the settings above for a starting point. -- Trevor Bača [EMAIL PROTECTED] ___ 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: uniform-stretching
Hi Trevor, Han-Wen, Note to Orm then that we should remember to try the sample score example on 2.11.2 when it releases. Thanks a lot for the fix Han-Wen! When will be the release of 2.11.2? I'm a little reluctant to compile myself and would rather do the spacing part of the work with the fixed engine. If I get to understand the details of the engine better, I'll definitely volunteer to help with the howto! -- Orm ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
text markup above eps-graphic
Hi, below is an example to show my problem with 2.11.2. In order to make it work you will have to put the attached eps-file in the same folder as the example. The second time signature was below the graph in 2.11.0 All time signatures should be horizontally aligned. Maybe I'm doing it wrong altogether. I would like to get it working in a way that I dont have to do it all over again in future versions of lilypond. Right now I'm using a voice called timeline which contains all time signature information and the necessary markup including the eps files and tempo markings but no actual notes (it only uses skips). This timeline is combined with the notes of the first violin in the staff context. I would like to avoid more than one empty voice for the time signature, tempo and graphics markup. -- Orm \version 2.11.2 #(set-global-staff-size \paper { #(set-paper-size a3) left-margin = 2 \cm line-width = 29.7\cm indent = 0 \cm } tsu = #(define-music-function (parser location nom den up ) (string? string? number?) #{ s8*0^\markup { \hspace #-2 \raise #$up \column { \line {\hspace#-0.5 \override #'(font-name . Helvetica Bold) \fontsize #-2 \raise #-1 $nom } \line {\hspace#-0.5 \override #'(font-name . Helvetica Bold) \fontsize #-2 $den }}} #}) grph = #(define-music-function (parser location hskip filename ) (number? string?) #{ \once\override TextScript #'extra-offset = #'( 0 . -15) s32*0^\markup { \hspace#$hskip \raise#4 \epsfile #X #192 #$filename } #}) \score { \new Staff { \relative { \override Score.SpacingSpanner #'uniform-stretching = ##t \override SpacingSpanner #'strict-note-spacing = ##t \set Score.proportionalNotationDuration = #(ly:make-moment 8 50) \override Score.PaperColumn #'used = ##t \time 3/4 \grph #-3.5 #part_03.eps \tsu #3 #4 #1 r2. \time 4/4 \tsu #4 #4 #0 r1 } } \layout { ragged-right = ##t } } part_03.eps Description: PostScript document ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: uniform-stretching
Hi Han-Wen, Am 16. Dezember 2006, 16:48 Uhr (+0100) schrieb Han-Wen Nienhuys: segfaults are always serious errors. Please send the offending input. This caused the segfault: \acciacatura s32 It worked in 2.11.0 but for this score I found a way around it. Do you know why the markup is rendered differently between 2.11.0 and 2.11.2? I'm quite reluctant to start restructuring the score all over again (for the 4th time) as I might to have to do it again if I encouter other problems. How is it possible to define something on my part in a way that it doesn't break between versions? In the long run I fear that I have to keep old hardware available in order to be able to run certain lilypond/guile/gs... versions to correct older scores (I had to do that with my Finale scores as well and it's a real pain). -- Orm ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: uniform-stretching
Hi Graham, thanks for the notes. Am 24. Dezember 2006, 05:48 Uhr (-0800) schrieb Graham Percival: \acciacatura s32 Do you mean \acciaccatura ? When complaining about a bug, please include a complete example that we can compile (or in this case, not compile). I can't reproduce the error with a short code snippet. Han-Wen wrote that he can't deal with larger files so I guess we have to leave that unresolved until I found a way to reduce the problem adequately. How is it possible to define something on my part in a way that it doesn't break between versions? In the long run I fear that I have to keep old hardware available in order to be able to run certain lilypond/guile/gs... versions to correct older scores (I had to do that with my Finale scores as well and it's a real pain). Read 4.1 Suggestions for writing LilyPond files I did read that and incorporated those ideas into the source where they applied AFAICT. In the special case I was mentioning the layout order of Text markup did change for some reason between versions which screwed up my score layout considerably. I redid the organisation of the score by introducing new staff contexts (with invisible staffsymbols,clefs and timesignatures) for printing graphics and off-staff time signatures (which are declared as Text Markup) above the actual music in a defined order. This seems to be a more lilypond way to do things. I'm planning to do some tutorial on how to get these things done after finishing the score as I think it is a non trivial matter to typeset a score with proportional notation, graphics for the electronic part and such and it might save some time for someone else trying to do it with lilypond. -- Orm ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
thoughts
Hi, I just wanted to add to my recent comments. It might seem that my posts are unadequately critical. Although they are fueled by my frustration using the program I want to make clear that I really appreciate the tremendous and excellent work which has been done so far by the developers! Part of the frustration is due to my incomplete knowledge of the program and another part is due to the fact that music engraving is such an incredibly complex thing. I still haven't come to terms with suggestions how to improve the situation. Lilypond's baroque syntax seems to indicate to me the still unresolved issue of the proper mix of generalization and individual requirements and the definition of semantic and syntactic markup when it comes to notation (all other notation programs have the same problems -wrapped up in some sort of gui to make it less obvious- which shows that it is a non-trivial issue). As it is somewhat crucial for my own work to be able to have some definition of the music which survives the next few generations of hard- and software development (and don't break like many of the scores at mutopia) I will for sure keep thinking about it. Especially as I tend to think that lilyponds syntax could get more consistent which eventually would result in the dilemma of a redefinition breaking even more old sources. Anyway: Apolgies for unfair criticism and hopefully I will be able to be more constructive in the future. The more I learn about the inner workings of lilypond, the clearer I might get. Until then keep up the good work and don't get mad at me when I get mad at the program ;-) -- Orm P.S.: Maybe one thing: Apart from suggesting to rewrite lilyponds parser from scratch it would be a tremendous thing if lilypond could get rid of some TeX related restrictions, especially the limitation to alphabetic characters in definitions. It would make things so much easier being able to use underscores and numbers in definitions! Is it really that hard to do (is lilypond really still using the TeX parser and does that actually mean you have to write the parser from scratch)? ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: thoughts
Am 28. Dezember 2006, 17:59 Uhr (+0100) schrieb Han-Wen Nienhuys: numbers and underscores do make things easier to read, but it makes things hard to parse. Consider: c4_\staccato_\markup { bla } does this reference \staccato or \staccato_ ? Underscores make most sense in the middle of symbols to improve readability (in the same way as lilypond uses it in the names of engravers). If the use of underscores in symbols gets restricted that way (meaning: symbols (for definitions) can contain underscores (and maybe some other special characters) but may not end with an underscore (or other special character)) I can't think of any ambiguous situation. Don't know how difficult implementation is, though. It might be possible to enable numbers, though. I would welcome an analysis. That alone would be of great help. And no, lilypond is not in any way related to TeX wasn't it in the past? I'm glad to hear that as this probably makes things much less complicated! ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user