Re: How to stop Lily spreading systems over 2 pages?
Just to update you on the problem I'd reported earlier, regarding trying to get Lilypond to lay a song out on 3 pages, I found a workaround: In the Lilypond source where this song failed to lay out on 3 pages, that song's staff size (16) was smaller than that of the other songs in the cycle. Therefore I'd used #(layout-set-staff-size 16) in a \layout block of the \score block for that song, together with \override StaffSymbol #'staff-space = #0.8 for each stave in that song. This produced staves and symbols of the correct size (16), though the song failed to fit into 3 pages. I tried a second method: I separated that song and the title page into a separate document. I was therefore able to set the staff size globally, using #(set-global-staff-size 16) in a \paper block at top level. Lilypond then successfully laid the song out on 3 pages. It seems to me that the former method resizes the symbols and the stave line spacing, but not certain parameters that influence the spacing between symbols. _ With Windows Live, you can organise, edit, and share your photos. http://clk.atdmt.com/UKM/go/134665338/direct/01/___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Help needed in implementing patches
Reinhold Kainhofer wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Am Mittwoch, 29. Juli 2009 21:08:15 schrieb grisu_76: Dear Members, could someone give me a brief introduction (or where to look it up) how to implement patches such as: page-layout-problem.cc -- space systems nicely on a page. If systems can be stretched, do that too. That's a patch written by Joe Neeman, taken from his git-branch; Are you on windows or on Linux? I'm running Windows XP... Basically, you'll have to checkout the dev/jneeman branch from git, and then compile all of lilypond yourself. I don't know how long it will take until a version is released that containing Joe's development, but if it's not urgent, I would advise you to wait for such a version. If you are adventurous (and have enough time at your hands), you can follow the instructions: - -) Working with git (downloading the source code and checking out the dev/jneeman branch), described in our Contributor's guide (CG): http://kainhofer.com/~lilypond/Documentation/contributor/Starting-with-git.html - -) Compiling LilyPond, currently described in the Application Usage (AU): http://kainhofer.com/~lilypond/Documentation/application/Compiling-from-source.html Thanks for the hints, I'll try to get along; If you have any comments / suggestions / problems with these instructions, I'm sure Graham Percival (our grumpy build/release/documentation master) will be happy to get feedback on the lilypond-devel list. Just don't be frustrated if his response is not too sensitive... Cheers, Reinhold - -- - -- Reinhold Kainhofer, reinh...@kainhofer.com, http://reinhold.kainhofer.com/ * Financial Actuarial Math., Vienna Univ. of Technology, Austria * http://www.fam.tuwien.ac.at/, DVR: 0005886 * LilyPond, Music typesetting, http://www.lilypond.org -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.9 (GNU/Linux) iD8DBQFKcK2RTqjEwhXvPN0RAktAAKDCUqbqV9fLbqu68x06QNp0RhIBBwCgmBlE 3/NLW24ygpLsE3Fwv/pS7Ug= =N4pR -END PGP SIGNATURE- ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user -- View this message in context: http://www.nabble.com/Help-needed-in-implementing-patches-tp24725628p24734657.html Sent from the Gnu - Lilypond - User mailing list archive at Nabble.com. ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: How to stop Lily spreading systems over 2 pages?
2009/7/30 Richard Sabey richardsa...@hotmail.co.uk: I tried a second method: I separated that song and the title page into a separate document. I was therefore able to set the staff size globally, using #(set-global-staff-size 16) in a \paper block at top level. Lilypond then successfully laid the song out on 3 pages. Just to be precise, that command could be at top level itself, outside of the paper block. -- Francisco Vila. Badajoz (Spain) www.paconet.org www.csmbadajoz.com ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Best name for function to create cross-style noteheads
Carl Sorensen wrote Friday, July 24, 2009 2:07 PM On 7/24/09 6:16 AM, Trevor Daniels t.dani...@treda.co.uk wrote: The structure of the Notation Reference is designed to accommodate documenting this. The specialist sections in NR 2 would contain an indexed description of all the uses of crossed note heads. For example, under Common notation for wind instruments would appear key-slap and sub-tone, with a pointer to the description of crossed note heads, which is already described in NR 1.1.4 Note heads (#'style=#'cross). Other uses of crossed note heads should be documented similarly in the appropriate specialist sections. Recognizing that we may want to change noteheads to various styles, and that we may want to mix styles in a chord, it might be a good idea to define a function \changeNoteHead that accepts a style parameter, and then define \xHead as \changeNoteHead #'cross. I'm confused or missing something. What's wrong with xHeadOn = \override NoteHead #'style = #'cross xHeadOff = \override NoteHead #'style = #'() which works now? I haven't tried this, and there may be some problems in making it work in a chord, but I think it's worth a try. This works e \tweak #'style #'cross a c but I don't know a way to invoke it with a \xHead shortcut. Carl Trevor ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Best name for function to create cross-style noteheads
Carl Sorensen wrote Tuesday, July 21, 2009 10:13 PM On 7/21/09 3:00 PM, Trevor Daniels t.dani...@treda.co.uk wrote: Given the wide variation in the use of the x-shaped note head I think the only possible name to use is one that reflects the shape of the note head - crossNote, crossNoteHead or similar - rather than trying to find a suitable generic name which adequately covers all these disparate uses. So, if we follow this advice (which I think is good), I'd propose the following: \crossHeadsOn : turns on cross noteheads for all notes \crossHeadsOff : reverts cross noteheads for all notes \crossHead : makes the notes in the music expression following the occurrence have cross heads. If we define those functions, they'll be generic, and apply to music of whatever sort. If necessary, syntactic sugar could be used to define (for the convenience of tablature users) \deadNotesOn -- set equal to \crossHeadsOn \deadNotesOff -- set equal to \crossHeadsOff \deadNote -- set equal to \crossHead How does this seem? Seems fine. I have a slight preference for the later suggestion of \xHeadsOn etc, just because they are shorter. Carl Trevor ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Best name for function to create cross-style noteheads
On Thu, Jul 30, 2009 at 11:18:42AM +0100, Trevor Daniels wrote: Carl Sorensen wrote Tuesday, July 21, 2009 10:13 PM On 7/21/09 3:00 PM, Trevor Daniels t.dani...@treda.co.uk wrote: So, if we follow this advice (which I think is good), I'd propose the following: \crossHeadsOn : turns on cross noteheads for all notes \crossHeadsOff : reverts cross noteheads for all notes \crossHead : makes the notes in the music expression following the occurrence have cross heads. Seems fine. I have a slight preference for the later suggestion of \xHeadsOn etc, just because they are shorter. I'd rather go for \crossHeadsOn, since it's less ambiguous. I mean, yes, a cross is an X shape, but it still doesn't feel as clear as \cross. One caution I'll throw in: the name may well change during GLISS (Grand Lilypond Input Syntax Standardization). In particular, one discussion we'll have is whether we should standardize on \notationElementModificationOn or \modificationNotationElementOn That said, we're not going to have this discussion right now, so there's basically a 50% chance that whatever you pick, it'll be changed next year anyway. Hate to be so pessimistic, but I think it's better for people to be aware of upcoming potential problems. Cheers, - Graham ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
new website, draft 7
Hi all, http://lilypond.org/~graham/index.html We have a few experiments with the design, such as a condensed 2nd-layer TOC. This allows all the Manuals to fit onto my 800-pixel wide screen, but the text _is_ smaller. Let us know what you think. We've also moved to a gradient color scheme, sliding from algae green to decaying-leaves tan. (I say this because I have the greatest of respect for Patrick McCarty) These colors certainly match the lilypond name, but it is what you want on your website? If not, send us an alternate style sheet! It's very easy to add alternate sheets to the build process, so I'd love it if draft 8 had half a dozen different style sheets. Even if you just change the colors, it would still help foster discussion. RULE: you can't modify the html at all. You can ONLY send a new .css file. Current css file: http://lilypond.org/~graham/lilypond-general.css On the content side, Introduction seems to have stalled. I'd really like to get this going, since the translation infrastructure will be ready for people to work on translating the website soon. It would suck if the translators were left twiddling their thumbs because the English version of the web site was still in flux. Cheers, - Graham ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
last line does not break
I know many people have asked about the same issue (more or less), but I could not find any solution in the archive or doc. Before getting crazy, I ask for your help :-) I have six systems with two staves (normal staff and tab staff) and I want to place three systems in the first page and three in the last page. The 1st page is ok, but the second has just one system (so many bars are not visible). While processing, I get this error message: warning: cannot find line breaking that satisfies constraints I've tried many different combinations with ragged-... but it never works. It's the first time I really deal with \paper staff, so I'm missing something for sure.. I need a custom paper size, because the score will be included in a magazine which requires that space. Below there is my current \paper block. system-count = #3 worked fine to set the first page, but the second page is just on a single line yet. I think and hope it's enough for you to help me, but if you need the .ly file please let me know). Thanks! Federico \paper { paper-height = 218\mm paper-width = 164\mm line-width = 144\mm indent = 0 print-page-number = false system-count = #3 % annotate-spacing = ##t after-title-space = 7\cm between-system-padding = #0.1 between-system-space = #0.1 } ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: last line does not break
Have you tried adding barline checks | ? This really sounds like you have a messed up rhythm somewhere, which will throw the line breaking out the window. Cheers, - Graham On Thu, Jul 30, 2009 at 01:08:24PM +0200, Federico Bruni wrote: I know many people have asked about the same issue (more or less), but I could not find any solution in the archive or doc. Before getting crazy, I ask for your help :-) I have six systems with two staves (normal staff and tab staff) and I want to place three systems in the first page and three in the last page. The 1st page is ok, but the second has just one system (so many bars are not visible). While processing, I get this error message: warning: cannot find line breaking that satisfies constraints I've tried many different combinations with ragged-... but it never works. It's the first time I really deal with \paper staff, so I'm missing something for sure.. I need a custom paper size, because the score will be included in a magazine which requires that space. Below there is my current \paper block. system-count = #3 worked fine to set the first page, but the second page is just on a single line yet. I think and hope it's enough for you to help me, but if you need the .ly file please let me know). Thanks! Federico \paper { paper-height = 218\mm paper-width = 164\mm line-width = 144\mm indent = 0 print-page-number = false system-count = #3 % annotate-spacing = ##t after-title-space = 7\cm between-system-padding = #0.1 between-system-space = #0.1 } ___ 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: last line does not break
I get this error when there are problems with the bars accross different voices or staffs. There might be one bar where the total duration exceeds those in the other voices. Jan van Dijk. warning: cannot find line breaking that satisfies constraints ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: new website, draft 7
2009/7/30 Graham Percival gra...@percival-music.ca: RULE: you can't modify the html at all. You can ONLY send a new .css file. Current css file: http://lilypond.org/~graham/lilypond-general.css Well... Please :-) - background: url(background-image.png) no-repeat 0 0; + background: white url(background-image.png) no-repeat 0 0; Or shall i simply send a new css?-) ps. I wrote about this --- background-image.png supposes that the background colour is white; so why not to set it to white. Thank you. Cheers, - Graham -- Dmytro O. Redchuk ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
markup and bar number
Hello! If I use markup at the last note of a bar and the next bar has a bar number appearing, then the bar number appears above the text of markup. If I raise the text in markup, then the bar number is raised automatically too. How could I put the markup text above the bar number? Here is a minimal example: %% \version 2.13.1 \score{ \new Staff \relative c''{ \override Score.BarNumber #'break-visibility = #'#(#f #t #t) \set Score.currentBarNumber = #66 \bar \partial 8 f8^\markup{Text} | f f f f c c c c \bar || } } %% Using GNU LilyPond 2.13.1. Thanks for any help! Alexandros ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: markup and bar number
Alexandros Droseltis wrote: Hello! If I use markup at the last note of a bar and the next bar has a bar number appearing, then the bar number appears above the text of markup. If I raise the text in markup, then the bar number is raised automatically too. How could I put the markup text above the bar number? Hi, Alexandros. Bar numbers are created at score level, so usually everything's above all staff-level stuff. But you can remove the Bar_number_engraver from the score, add it to the topmost staff, and fiddle around with the 'outside-staff-priority of the markups: \new Score \with { \remove Bar_number_engraver }{ \new Staff \with { \consists Bar_number_engraver } \relative c''{ \override Score.BarNumber #'break-visibility = #'#(#f #t #t) \set Score.currentBarNumber = #66 \bar \partial 8 f8-\tweak #'outside-staff-priority #1000 ^\markup{Text} | f f f f c c c c \bar || } } HTH, Alexander ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: markup and bar number
Hi Alexandros, If I use markup at the last note of a bar and the next bar has a bar number appearing, then the bar number appears above the text of markup. If I raise the text in markup, then the bar number is raised automatically too. How could I put the markup text above the bar number? Read the docs regarding #'outside-staff-priority. Hope this helps! Kieren. ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: new website, draft 7
Graham Percival wrote: We've also moved to a gradient color scheme, sliding from algae green to decaying-leaves tan. (I say this because I have the greatest of respect for Patrick McCarty) When I'm on this page, http://lilypond.org/~graham/Text-input.html#Text-input It doesn't look like Text input is highlighted because the highlight-color fits right into the gradient effect. Also, why is it that Features Examples Freedom are in the same color, and Productions Testimonials are in the same color? Oh, I see. It's easier to understand when I look at the other pages; the coloring matches the associated box below. Interesting. It makes sense, but it looks like a mistake until you figure it out. - Mark ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: last line does not break
I've removed system-count and now it works. I don't know why I thought that system-count allowed to set the number of systems for each page.. Instead, it sets the number of systems for the entire score. Right? But I still have the error message: warning: cannot find line breaking that satisfies constraints Graham Percival wrote: Have you tried adding barline checks | ? This really sounds like you have a messed up rhythm somewhere, which will throw the line breaking out the window. yes, I have the bar line checks but... now I've checked with my eyes and I noticed an error in the low voice the time is 4/4 and I had: g2 a e1 | so why lilypond did not tell me about this error? also, is this line correct? (I'm not sure about the brackets) it is displayed correctly anyway.. g d'\2 g 2 \times 2/3 { \context TabVoice \once \override Slur #'control-points = #'((1 . 4.8) (2.6 . 5.8) (4.2 . 5.8) (5.8 . 4.8)) { fs'8( g fs) } e8 d \break | Anyway, I think the bars are correct. There's another possible reason for the error message above? -- Federico P.S. Does anybody know if Frescobaldi supports bar checking? (I guess not, but I ask) I used to use jEdit - which has bar checking for sure - but since some weeks I can't launch it anymore. When I see run local script on the splash icon, it keeps on loading forever. And I have to stop java in my system monitor. I use Ubuntu Jaunty.. ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: markup and bar number
Hello! Thank you both for the answer! The tip for outside-staff-priority and the very nice example was a rescue! HAND! Alexandros ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: last line does not break
Hi Federico: I've removed system-count and now it works. I don't know why I thought that system-count allowed to set the number of systems for each page.. Instead, it sets the number of systems for the entire score. Right? Correct. You're probably looking for systems-per-page — see http://lilypond.org/doc/v2.13/Documentation/user/lilypond/Page- formatting#Other-layout-variables Hope this helps! Kieren. ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: new website, draft 7
On Thu, 2009-07-30 at 03:42 -0700, Graham Percival wrote: Hi all, http://lilypond.org/~graham/index.html We have a few experiments with the design, such as a condensed 2nd-layer TOC. This allows all the Manuals to fit onto my 800-pixel wide screen, but the text _is_ smaller. Let us know what you think. Is it possible to use License instead of FDL on the documentation page? Or would that be too many pixels? Joe ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Best name for function to create cross-style noteheads
Graham Percival wrote Thursday, July 30, 2009 11:41 AM Subject: Re: Best name for function to create cross-style noteheads On Thu, Jul 30, 2009 at 11:18:42AM +0100, Trevor Daniels wrote: Carl Sorensen wrote Tuesday, July 21, 2009 10:13 PM \crossHeadsOn : turns on cross noteheads for all notes \crossHeadsOff : reverts cross noteheads for all notes \crossHead : makes the notes in the music expression following the occurrence have cross heads. Seems fine. I have a slight preference for the later suggestion of \xHeadsOn etc, just because they are shorter. I'd rather go for \crossHeadsOn, since it's less ambiguous. I mean, yes, a cross is an X shape, but it still doesn't feel as clear as \cross. I'm not so sure. Earlier Carl had to point out that cross meant an x, not +. Trevor ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: last line does not break
Kieren MacMillan wrote: Hi Federico: I've removed system-count and now it works. I don't know why I thought that system-count allowed to set the number of systems for each page.. Instead, it sets the number of systems for the entire score. Right? Correct. You're probably looking for systems-per-page � see http://lilypond.org/doc/v2.13/Documentation/user/lilypond/Page-formatting#Other-layout-variables Thanks Kieren, that variable works just on version 2.13 (in fact I was reading the 2.12 doc and it is not mentioned) But I'll upgrade to 2.13.x as soon as tablature patches are applied, so it will be useful in the future. Cheers, Federico ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Best name for function to create cross-style noteheads
Trevor Daniels schrieb: Carl Sorensen wrote Friday, July 24, 2009 2:07 PM On 7/24/09 6:16 AM, Trevor Daniels t.dani...@treda.co.uk wrote: The structure of the Notation Reference is designed to accommodate documenting this. The specialist sections in NR 2 would contain an indexed description of all the uses of crossed note heads. For example, under Common notation for wind instruments would appear key-slap and sub-tone, with a pointer to the description of crossed note heads, which is already described in NR 1.1.4 Note heads (#'style=#'cross). Other uses of crossed note heads should be documented similarly in the appropriate specialist sections. Recognizing that we may want to change noteheads to various styles, and that we may want to mix styles in a chord, it might be a good idea to define a function \changeNoteHead that accepts a style parameter, and then define \xHead as \changeNoteHead #'cross. I'm confused or missing something. What's wrong with xHeadOn = \override NoteHead #'style = #'cross xHeadOff = \override NoteHead #'style = #'() which works now? The discussion led aside from the initial idea for \deadNote. This is a command that works in every situation and is therefor more user-friendly *and* it works with tablature, and this was the starting point of it all. When tablature features will be part of lilypond, I can just say c4 \deadNote d e f | c \deadNote e g4 and the cross will be visible in normal and in tablature staves. Of course this can be done with tweaking and overriding, but as Graham pointed out in a message some months ago, it would be the best if no scheme hacks will be necessary for standard notation (and dead notes are kind of standard in pop and rock music on guitar and bass). It is not that long ago that \override and \tweak were the reason for me not to use lilypond for my projects (ok, now I'm a bit more scheme-savvy, but this is another story). Marc I haven't tried this, and there may be some problems in making it work in a chord, but I think it's worth a try. This works e \tweak #'style #'cross a c but I don't know a way to invoke it with a \xHead shortcut. e \xHead a c :-) Carl Trevor ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: new website, draft 7
On Thu, Jul 30, 2009 at 03:49:14PM +0300, Dmytro O. Redchuk wrote: 2009/7/30 Graham Percival gra...@percival-music.ca: RULE: you can't modify the html at all. You can ONLY send a new .css file. Current css file: http://lilypond.org/~graham/lilypond-general.css Well... Please :-) - background: url(background-image.png) no-repeat 0 0; + background: white url(background-image.png) no-repeat 0 0; Thanks for the reminder! I added #fff instead so that we'll save one byte. :-) -Patrick ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: new website, draft 7
On Thu, Jul 30, 2009 at 09:04:00AM -0700, Joe Neeman wrote: On Thu, 2009-07-30 at 03:42 -0700, Graham Percival wrote: We have a few experiments with the design, such as a condensed 2nd-layer TOC. This allows all the Manuals to fit onto my 800-pixel wide screen, but the text _is_ smaller. Let us know what you think. Is it possible to use License instead of FDL on the documentation page? Or would that be too many pixels? Too many pixels, as well as potentially being confusing with GPL. I mean, the url will be license.html; we don't want people to think that lilypond's license is the FDL. I wish there was some way we could eliminate the last three sections from the Manuals page, but it really doesn't make sense to put them anywhere else (Community? Download?) Cheers, - Graham ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: new website, draft 7
On Thu, Jul 30, 2009 at 07:52:46AM -0700, Mark Polesky wrote: When I'm on this page, http://lilypond.org/~graham/Text-input.html#Text-input It doesn't look like Text input is highlighted because the highlight-color fits right into the gradient effect. Hmm. Would you suggest a lighter/darker color for the highlight, or just a completely separate set of colors to gradify between? Cheers, - Graham ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user