Re: Bug concerning acciaccatura and \time?
Am 26.04.2012 00:26, schrieb Thomas Ruedas: On 25/4/12 9:39 PM, Urs Liska wrote: This is a known issue and explained in the Notation Reference (see Known issues and warnings under grace notes on http://www.lilypond.org/doc/v2.15/Documentation/notation/special-rhythmic-concerns.html) Basically you have to add invisible acciaccaturas of the same length in all staves (and also in possible Dynamics contexts). Yes, that solved it. Thanks a lot! Thomas No problem, I ran into this more than once ;-) In one instance it took me quite some time to notice that there was a Dynamics context running in the background that I only used for displaying performance indications every now and then ... Best Urs ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: quotation marks in lyricmode
On Thu, Apr 26, 2012 at 12:59 PM, Urs Liska li...@ursliska.de wrote: Any hints possible on how to achieve quotation marks in lyrics? Preferrably the language specific (German) versions. ordinary quotation marks should be preceded with backslashes and included inside external quotation marks: { b } \addlyrics { \quote\ } to have other quotation marks, simply take advantage of Unicode encoding - unicode recognizes several different types of quotation marks and treats them as different characters. The only problem is to get them, since pressing key on the keyboard gives the character, not one of the other quotations. I usually work around this by pasting from a word processor or, for example, wikipedia (http://de.wikipedia.org/wiki/Anf%C3%BChrungszeichen): { b } \addlyrics { „modal“ } (i don't know if the e-mail won't distort the encoding, but when i use the code which i pasted above i get german quotation marks in Lily output) cheers, Janek ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: quotation marks in lyricmode
Janek Warchoł janek.lilyp...@gmail.com writes: On Thu, Apr 26, 2012 at 12:59 PM, Urs Liska li...@ursliska.de wrote: Any hints possible on how to achieve quotation marks in lyrics? Preferrably the language specific (German) versions. ordinary quotation marks should be preceded with backslashes and included inside external quotation marks: { b } \addlyrics { \quote\ } to have other quotation marks, simply take advantage of Unicode encoding - unicode recognizes several different types of quotation marks and treats them as different characters. The only problem is to get them, since pressing key on the keyboard gives the character, not one of the other quotations. I usually work around this by pasting from a word processor or, for example, wikipedia (http://de.wikipedia.org/wiki/Anf%C3%BChrungszeichen): { b } \addlyrics { „modal“ } (i don't know if the e-mail won't distort the encoding, but when i use the code which i pasted above i get german quotation marks in Lily output) If you are working on a typical X terminal, you might use Multi-key (I configured it to be Shift-AltGr) followed by , to get „ and by to get ” and by to get “. In the same vein, you can use ', for ‚ and ' for ‘ and ' for ’. And, of course for » and for «. -- David Kastrup ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: quotation marks in lyricmode
This is almost, what I just was about to write ... just another hint: you can also enter any character in a markup with the \char command. The codes are 8222 and 8220. If you want to circumvent \markup \concat { \char #8222 Ich }, you might use a music-function, to wrap syllables in quotes. I have done things like that, if you're interested, I can search for them. Cheers, Jan-Peter On 26.04.2012 13:12, Janek Warchoł wrote: On Thu, Apr 26, 2012 at 12:59 PM, Urs Liskali...@ursliska.de wrote: Any hints possible on how to achieve quotation marks in lyrics? Preferrably the language specific (German) versions. ordinary quotation marks should be preceded with backslashes and included inside external quotation marks: { b } \addlyrics { \quote\ } to have other quotation marks, simply take advantage of Unicode encoding - unicode recognizes several different types of quotation marks and treats them as different characters. The only problem is to get them, since pressing key on the keyboard gives the character, not one of the other quotations. I usually work around this by pasting from a word processor or, for example, wikipedia (http://de.wikipedia.org/wiki/Anf%C3%BChrungszeichen): { b } \addlyrics { „modal“ } (i don't know if the e-mail won't distort the encoding, but when i use the code which i pasted above i get german quotation marks in Lily output) cheers, Janek ___ 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
switch in/out of mensurstriche layout?
Hello, I am trying to achieve a solid bar line across all the staves at the end of the first system, to resemble the final bar line at the end of the second system, which the \global setting provided in the Mensurstriche Layout snippet takes care of with the \revert command. In my code (attached), I thought that simply leaving the music for that measure out of the \global environment would cause Lilypond to draw normal bar lines, but this has only worked for the final bar line at the end of the second system. Any thoughts? Please help! Thanks! http://old.nabble.com/file/p33754031/example1_kyrie.png http://old.nabble.com/file/p33754031/example1_kyrie%25282%2529.ly example1_kyrie%282%29.ly -- View this message in context: http://old.nabble.com/switch-in-out-of-mensurstriche-layout--tp33754031p33754031.html Sent from the Gnu - Lilypond - User mailing list archive at Nabble.com. ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Questions about mailing list and message format
Hi, this morning, I tried to send a message from my mail client (Mail on Mac OS X), but it didn't work. Then I tried to post it by the gmane interface (copy-paste of the text), but I get an error The following errors were found. Fix them, and submit again: You have lines longer than 80 characters. Fix that. Now I keep formatting my message but it does not work. My e-mail looks pretty normal but something seems to bug this mailing list. Any help is appreciated so that I might actually post my real question. Thanks, Dona ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Troubles posting to lilypond-users list
Hi, I'm subscribed to this list for years, as I'm an occasional user of lilypond. I'm trying to post to this list, but so far, my messages didn't get through. I've tried sending e-mails directly and I tried the web-interface. From the gmane list, I got through the confirmation process. The e-mail I received mentioned that my message should show up in a few minutes. That was hours ago. What am I missing? Cheers, Dona ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Lilypond-book and TeXshop on Mac: Newbie questions
Hi, I'm an occasional user of Lilypond and so far, I've created only smaller examples. I'm neither an experienced user with Latex, so bare with me. I'm trying to use Lilypond-book (v.2.14.2) with TeXShop (v2.43) on Mac OS X (v10.7.3). The installation worked and I can run a small test-file: 1. I create a myfile.lytex in TexShop 2. I can run lilypond-book from the command line 3. I open the ./out/myfile.tex in TexShop and do the typesetting as I usually would for a Latex file. Sofar, myfile.lytex only calls lilypond-files with snippets. Here are my first questions (sure more to follow…): A. – I'm trying to simplify the usage. Ideally, I'd like to do the three steps mentioned above in one call to the typeset-command in TeXShop. Is there a way to do this? – One reason I'd like to do this: When I change only some text in .lytex and run lilypond-book, the file ./out/myfile.tex does not get updated because all the lilypond-snippets are up to date. Any remedy to that in the command-line usage of lilypond-book? B. Layout question: One of the files that I include has no page-size indications. It's basically a big StaffGroup and the width fits on a A4 page with no problem. When I include the same file within a .lytex file, it does not fit anymore; the StaffGroup gets cut in the middle and is spread on 2 pages width. Thanks in advance for any help, Dona ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Fwd: Lilypond-book and TeXshop on Mac: Newbie questions
Hi, it seems that my message didn't make it to the list. Cheers, Dona Begin forwarded message: From: Dona Mommsen dona.momm...@gmx.net Subject: Lilypond-book and TeXshop on Mac: Newbie questions Date: April 26, 2012 10:13:17 AM GMT+02:00 To: lilypond-user@gnu.org Hi, I'm an occasional user of Lilypond and so far, I've created only smaller examples. I'm neither an experienced user with Latex, so bare with me. I'm trying to use Lilypond-book (v.2.14.2) with TeXShop (v2.43) on Mac OS X (v10.7.3). The installation worked and I can run a small test-file: 1. I create a myfile.lytex in TexShop 2. I can run lilypond-book from the command line 3. I open the ./out/myfile.tex in TexShop and do the typesetting as I usually would for a Latex file. Sofar, myfile.lytex only calls lilypond-files with snippets. Here are my first questions (sure more to follow…): A. – I'm trying to simplify the usage. Ideally, I'd like to do the three steps mentioned above in one call to the typeset-command in TeXShop. Is there a way to do this? – One reason I'd like to do this: When I change only some text in .lytex and run lilypond-book, the file ./out/myfile.tex does not get updated because all the lilypond-snippets are up to date. Any remedy to that in the command-line usage of lilypond-book? B. Layout question: One of the files that I include has no page-size indications. It's basically a big StaffGroup and the width fits on a A4 page with no problem. When I include the same file within a .lytex file, it does not fit anymore; the StaffGroup gets cut in the middle and is spread on 2 pages width. Thanks in advance for any help, Dona ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
non standard key signature question
I am working through a guitar book based on middle eastern forms the author uses a key signature for the example modes which is a combination of two flats (key b flat) and one sharp (key g) Is it possible to set up a key signature as above? I do realize that I could simply set up a key signature of either b flat or g and then just add sharps or flats as necessary but thought to ask this question as a cursory search come up with nothing. patrick In case anyone is curious the book is the alfred guitar atlas series on the middle east and the author is jeff peretz ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Lilypond-book and TeXshop on Mac: Newbie questions
Hi, I'm an occasional user of Lilypond and so far, I've created only smaller examples. I'm neither an experienced user with Latex, so bare with me. I'm trying to use Lilypond-book (v.2.14.2) with TeXShop (v2.43) on Mac OS X (v10.7.3). The installation worked and I can run a small test-file: 1. I create a myfile.lytex in TexShop 2. I can run lilypond-book from the command line 3. I open the ./out/myfile.tex in TexShop and do the typesetting as I usually would for a Latex file. Sofar, myfile.lytex only calls lilypond-files with snippets. Here are my first questions (sure more to follow…): A. – I'm trying to simplify the usage. Ideally, I'd like to do the three steps mentioned above in one call to the typeset-command in TeXShop. Is there a way to do this? – One reason I'd like to do this: When I change only some text in .lytex and run lilypond-book, the file ./out/myfile.tex does not get updated because all the lilypond-snippets are up to date. Any remedy to that in the command-line usage of lilypond-book? B. Layout question: One of the files that I include has no page-size indications. It's basically a big StaffGroup and the width fits on a A4 page with no problem. When I include the same file within a .lytex file, it does not fit anymore; the StaffGroup gets cut in the middle and is spread on 2 pages width. Thanks in advance for any help, Dona P.S: I tried to send this message directly to the list, but it didn't work although I'm subscribed. Is there anything that I missed? ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: non standard key signature question
corallina corall...@gmail.com writes: I am working through a guitar book based on middle eastern forms the author uses a key signature for the example modes which is a combination of two flats (key b flat) and one sharp (key g) Is it possible to set up a key signature as above? I do realize that I could simply set up a key signature of either b flat or g and then just add sharps or flats as necessary but thought to ask this question as a cursory search come up with nothing. Where did you search? Did your cursory search include the Key signature node in the notation manual? URL:http://lilypond.org/doc/v2.14/Documentation/notation/displaying-pitches#key-signature See close to the bottom for an example of a non-standard key signature. -- David Kastrup ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Troubles posting to lilypond-users list
I can see 5 messages from you :-). Maybe you don't see your own messages? To your question -- also on a Mac 10.7.3 -- I am using a different approach, so won't be able to help you. (I use a makefile, which automatically executs only those commands that are needed because of some changes, but my setup is probably too involved and specialized to be easily transportable. I can let you know howto if you want to try your hand on using make and Makefile.) Rembrandt On 4/26/12 8:49 AM, Dona Mommsen wrote: Hi, I'm subscribed to this list for years, as I'm an occasional user of lilypond. I'm trying to post to this list, but so far, my messages didn't get through. I've tried sending e-mails directly and I tried the web-interface. From the gmane list, I got through the confirmation process. The e-mail I received mentioned that my message should show up in a few minutes. That was hours ago. What am I missing? Cheers, Dona ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user -- 人生䘮亂世 無君欲誰仕 - 劉因 (1249-1293) ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Troubles posting to lilypond-users list
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 04/26/2012 02:29 PM, Rembrandt Wolpert wrote: I can see 5 messages from you :-). Maybe you don't see your own messages? It seems to be a common phenomenon on this list: Someone posts complaining that their posts don’t come through, immediately followed by all the posts that didn’t come through. I don’t know if the complaint attracts some moderator’s attention or if some critical mass convinces the list software that a poster is an actual human and not a bot... But the frequency of the problem, and the order in which Dona’s posts came through strongly suggest that this is a real thing. ~Chris - -- Chris Maden, text nerd URL: http://crism.maden.org/ “Be wary of great leaders. Hope that there are many, many small leaders.” — Pete Seeger GnuPG fingerprint: DB08 CF6C 2583 7F55 3BE9 A210 4A51 DBAC 5C5C 3D5E -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.10 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iQEcBAEBAgAGBQJPmZiXAAoJEEpR26xcXD1eG0EIAJFXmKADMIa+Tgh5EH6yX4n4 PykYS/UQer85D7QJ3uH6dU2yv2c1HkdxY36syRdzh3BoNiyIejkPQQdh7wOgMpDP zfLHvPKSZFV+Gq/yaVEpBj6JghwGj9TFDiDKbRI/iykaNktpyjC0ARt2XUV+3m5c s7DzPWQXuaJOyEaVUSq86y9PQ2CjAlXkaKxepvFxpgJxHetykK6JwJvwzOGeUHgt /gd/zS+QqB9XV+y17ZQswk6UXKqBRDIApz94ykFEJ1hRMWm6Q7kPrJxRC4L/7Gd/ f/mwupe6CxZTkMr66Jzy0kUNdf2xwA/bK36jOCOqlVEdDK/Sb+1MenKbewUztQk= =ZiNN -END PGP SIGNATURE- ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Lilypond-book and TeXshop on Mac: Newbie questions
Hello, One of the best way to use lilypond-book with TeXShop is to use a dedicated engine. Nicola Vitacolonna, a lilypond and LaTeX user, made a very interesting one. You can find it here : http://users.dimi.uniud.it/~nicola.vitacolonna/home/content/lilypond-engines-texshop http://users.dimi.uniud.it/~nicola.vitacolonna/home/content/lilypond-engines-texshop Unfortunately, layout in snippets created by lilypond-book is not the best part of lilypond-book. Usually, I use lilypond-book snippets for 1 or 2 lines scores. For more important scores, I include the pdf created by lilypond. For long scores, pdfpages is usefull Philippe -- View this message in context: http://old.nabble.com/Lilypond-book-and-TeXshop-on-Mac%3A-Newbie-questions-tp33754335p33754938.html Sent from the Gnu - Lilypond - User mailing list archive at Nabble.com. ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: quotation marks in lyricmode
Thanks to all. Janek's (simplest) solution just did it. When I noticed that hitting doesn't work because it's a special char, I didn't think of the (obvious) fact that the other quotation marks aren't special but ordinary Unicode characters ... So copy and paste worked smoothly :-[ Best Urs Am 26.04.2012 13:25, schrieb Jan-Peter Voigt: This is almost, what I just was about to write ... just another hint: you can also enter any character in a markup with the \char command. The codes are 8222 and 8220. If you want to circumvent \markup \concat { \char #8222 Ich }, you might use a music-function, to wrap syllables in quotes. I have done things like that, if you're interested, I can search for them. Cheers, Jan-Peter On 26.04.2012 13:12, Janek Warchoł wrote: On Thu, Apr 26, 2012 at 12:59 PM, Urs Liskali...@ursliska.de wrote: Any hints possible on how to achieve quotation marks in lyrics? Preferrably the language specific (German) versions. ordinary quotation marks should be preceded with backslashes and included inside external quotation marks: { b } \addlyrics { \quote\ } to have other quotation marks, simply take advantage of Unicode encoding - unicode recognizes several different types of quotation marks and treats them as different characters. The only problem is to get them, since pressing key on the keyboard gives the character, not one of the other quotations. I usually work around this by pasting from a word processor or, for example, wikipedia (http://de.wikipedia.org/wiki/Anf%C3%BChrungszeichen): { b } \addlyrics { „modal“ } (i don't know if the e-mail won't distort the encoding, but when i use the code which i pasted above i get german quotation marks in Lily output) cheers, Janek ___ 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 ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Access font-name in markup functions
Hello Jan-Peter, thank you for this information. This is exactly what I needed! Can I find this in the docs? To get a better understanding ... Best Urs Am 25.04.2012 10:37, schrieb Jan-Peter Voigt: Hello Urs, if you are using the current devel version, you can wrap any markup with #{ #} --snip-- \version 2.15.37 #(define-markup-command (nfont layout props arg)(markup?) (interpret-markup layout props #{ \markup { \override #'(font-name . DejaVu Sans) $arg } #})) \markup { \nfont Hallo } --snip-- If you are using pre-2.15 or want to do more fancy things with properties/overrides, you might try this: An override in a markup, modifies the properties for the markup to interpret. So a (cons alist props) can do the same: --snip-- #(define-markup-command (xfont layout props arg)(markup?) (interpret-markup layout (cons '((font-name . DejaVu Sans)) props) arg) ) \markup { \xfont Hallo } --snip-- HTH Cheers, Jan-Peter On 25.04.2012 10:15, Urs Liska wrote: Hello community, I didn't find this in the manual: How can I translate \markup { \override #'(font-name . XY) Test } in a markup function? I only found how to translate e.g. \markup \italic Test etc. to #:italic. Best Urs ___ 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 ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Access font-name in markup functions
Hello, On 26 April 2012 21:11, Urs Liska li...@ursliska.de wrote: Hello Jan-Peter, thank you for this information. This is exactly what I needed! Can I find this in the docs? To get a better understanding ... It's mentioned here at least http://lilypond.org/doc/v2.15/Documentation/changes/index.html James ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Lilypond-book and TeXshop on Mac: Newbie questions
On Apr 26, 2012, at 1:49 PM, flup2 wrote: One of the best way to use lilypond-book with TeXShop is to use a dedicated engine. Nicola Vitacolonna, a lilypond and LaTeX user, made a very interesting one. You can find it here : http://users.dimi.uniud.it/~nicola.vitacolonna/home/content/lilypond-engines-texshop http://users.dimi.uniud.it/~nicola.vitacolonna/home/content/lilypond-engines-texshop Nicola also has great stuff for using TextWrangler with Lilypond. ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Troubles posting to lilypond-users list
On 27/04/12 04:48, Christopher R. Maden wrote: On 04/26/2012 02:29 PM, Rembrandt Wolpert wrote: I can see 5 messages from you :-). Maybe you don't see your own messages? It seems to be a common phenomenon on this list: Someone posts complaining that their posts don’t come through, immediately followed by all the posts that didn’t come through. I don’t know if the complaint attracts some moderator’s attention or if some critical mass convinces the list software that a poster is an actual human and not a bot... But the frequency of the problem, and the order in which Dona’s posts came through strongly suggest that this is a real thing. I sometimes find that messages I send to the mailing list don't get to my inbox for several hours. Other times they're there in a couple of minutes. But they always seem to eventually arrive... ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: non standard key signature question
corallina corallina at gmail.com writes: I am working through a guitar book based on middle eastern forms the author uses a key signature for the example modes which is a combination of two flats (key b flat) and one sharp (key g) You can build key signatures by hand as David suggested, but it might be more clear if you define the modes, analogous to \major and \minor, commonly used in the book. harmonicMinor = #`( (0 . ,NATURAL) (1 . ,NATURAL) (2 . ,FLAT) (3 . ,NATURAL) (4 . ,NATURAL) (5 . ,FLAT) (6 . ,NATURAL) ; 7th is *not* lowered in c\harmonicMinor ) \relative c' {\key g\harmonicMinor g a bes c d es fis g} ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
\RemoveEmptyStaffContext doesn't remove empty staff
Hi again, I have a piano score in which there are sometimes two, sometimes three staves, and I want the empty third staff to disappear during long stretches in which it is empty. This used to work in an earlier version (2.10) but after having converted to 2.14.2, it doesn't anymore. Below follows a short example that reproduces the problem; it follows the approach given in the example snippet from http://lilypond.org/doc/v2.15/input/regression/collated-files.html, which is similar to my original. Any ideas, anybody? Thanks, Thomas \version 2.14.2 \paper { #(set-paper-size a4) } scoreAGlobal = { \key bes \major \numericTimeSignature \time 6/8 \partial 8 } scoreARight = { \scoreAGlobal \relative { \partial 16*2 g'16\p a \repeat unfold 24 { bes4 f'8 } } } scoreAMiddle = { \scoreAGlobal \relative { \partial 16*2 g,16 a \repeat unfold 24 { bes4 f'8 } } } scoreALeft = { \scoreAGlobal s8 s2.*10 % --- doesn't work with r8 r8.*10 either % r4. r4 \relative { a, a,8~ % a a,4 a a,8~ a a,4 r8 } } \score { \new PianoStaff \with { instrumentName = Klavier } \new Staff = right \with { midiInstrument = acoustic grand } \scoreARight \new Staff = middle \with { midiInstrument = acoustic grand } { \clef bass \scoreAMiddle } \new Staff = left \with { midiInstrument = acoustic grand } { \clef bass \scoreALeft } \layout { \context { \RemoveEmptyStaffContext } \context { \Score \override VerticalAxisGroup #'remove-first = ##t } } } -- ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: switch in/out of mensurstriche layout?
diekunstderfuge wrote: this has only worked for the final bar line at the end of the second system. You have modifed the mensurstrich global to do dashed, and it has done its final barline at the end of bar 3 and bar7. Is this something you want? The spacers in the mensurstrich global should be set up to last until the final barline. Do you realise that by concatenating your short 'global's the \revert and the \override are at the same music moment? You are probably using a recent 2.15 but your code says 2.12.3. Have a look at barlines.ly. Cheers, Robin\version 2.12.3 \paper { tagline = } \markup { \column { \line { I, II, III: nur 2' (Flöte, sanfte Register) } \line { Ped: nur Flöte 4' } } } I = \markup { \small I } II = \markup { \small II } III = \markup { \small III } xLV = #(define-music-function (parser location further) (number?) #{ \once \override LaissezVibrerTie #'X-extent = #'(0 . 0) \once \override LaissezVibrerTie #'details #'note-head-gap = #(/ $further -2) \once \override LaissezVibrerTie #'extra-offset = #(cons (/ $further 2) 0) #}) breakBarline = { \once \override Staff.BarLine #'transparent = ##f \bar | \break } barlines = { \set Score.defaultBarType = dashed \override Staff.BarLine #'transparent = ##t s8*9 s8*9 s8*9 s8*9 \breakBarline s8*9 s8*9 s8*9 s8*9 \breakBarline % \revert Staff.BarLine #'transparent % \bar |. } rhMusic = \relative d' { r4 \times 2/3 { d16^\II e16 d16 } e4 a8 f4 d8 r4 d'8 e,4 d8 f4 r4 e16[ c16] d4 d8 e4. r4 g'8\pp^\III a,4 a8 bes4*1/2 e8 a,4.*1/3~ a8 r8 d,8^\II e4 a8 f4 d8 r4 bes'8 c,4 a8 d4. r4 bes16[ g16] a4 a8 bes4. r4*1/2 bes'8^\III c,4*1/2 a8 d4*1/2 e8 \xLV #3 a,4.\laissezVibrer } lhMusic = \relative d { d a'2.*3/2^\I a'2*3/2 \scaleDurations #'(3 . 2) { \times 2/3 { a8 a4 } } g2.*3/2~ g4 r2*3/2 \scaleDurations #'(1 . 2) { \times 2/3 { r4 d8~ } } d a'2.*3/2 f2*3/2 \scaleDurations #'(3 . 2) { \times 2/3 { f8 f4 } } d2.*3/2~ d4*1/2 r2*5/4 \scaleDurations #'(3 . 2) { \times 2/3 { r4 \xLV #3 d8\laissezVibrer } } } pedalMusic = \relative d { r2.*3/2 r2.*3/2 r2*3/2 \scaleDurations #'(3 . 2) { \times 2/3 { r4 g8\p } } d1*9/8 r2.*3/2 r2.*3/2 r2*3/2 \scaleDurations #'(3 . 2) { \times 2/3 { r4 d8 } } f,1*9/8 } \score { \new PianoStaff \new Staff = rh { %{ \override Staff.TimeSignature #'stencil = #(lambda (grob) (parenthesize-stencil (ly:time-signature::print grob) 0.1 0.4 0.4 0.1 )) %} \set PianoStaff.instrumentName = #Manual \time 9/8 \set Staff.timeSignatureFraction = #'( 39 . 8 ) \clef treble \key d \minor \barlines \rhMusic } \new Staff = lh { %{ \override Staff.TimeSignature #'stencil = #(lambda (grob) (parenthesize-stencil (ly:time-signature::print grob) 0.1 0.4 0.4 0.1 )) %} \time 9/8 \set Staff.timeSignatureFraction = #'( 13 . 4 ) \clef bass \key d \minor \barlines \lhMusic } \new Staff = pedal { %{ \override Staff.TimeSignature #'stencil = #(lambda (grob) (parenthesize-stencil (ly:time-signature::print grob) 0.1 0.4 0.4 0.1 )) %} \set Staff.instrumentName = #Pedal \time 9/8 \set Staff.timeSignatureFraction = #'( 13 . 4 ) \clef bass \key d \minor \barlines \pedalMusic } } \layout { \context { \Score \remove Bar_number_engraver } }___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: \RemoveEmptyStaffContext doesn't remove empty staff
On 4/27/12 01:51 , Thomas Ruedas wrote: Hi again, I have a piano score in which there are sometimes two, sometimes three staves, and I want the empty third staff to disappear during long stretches in which it is empty. This used to work in an earlier version (2.10) but after having converted to 2.14.2, it doesn't anymore. Below follows a short example that reproduces the problem; it follows the approach given in the example snippet from http://lilypond.org/doc/v2.15/input/regression/collated-files.html, which is similar to my original. Any ideas, anybody? Thanks, Thomas \version 2.14.2 \paper { #(set-paper-size a4) } scoreAGlobal = { \key bes \major \numericTimeSignature \time 6/8 \partial 8 } scoreARight = { \scoreAGlobal \relative { \partial 16*2 g'16\p a \repeat unfold 24 { bes4 f'8 } } } scoreAMiddle = { \scoreAGlobal \relative { \partial 16*2 g,16 a \repeat unfold 24 { bes4 f'8 } } } scoreALeft = { \scoreAGlobal s8 s2.*10 % --- doesn't work with r8 r8.*10 either % r4. r4 \relative { a, a,8~ % a a,4 a a,8~ a a,4 r8 } } \score { \new PianoStaff \with { instrumentName = Klavier } \new Staff = right \with { midiInstrument = acoustic grand } \scoreARight \new Staff = middle \with { midiInstrument = acoustic grand } { \clef bass \scoreAMiddle } \new Staff = left \with { midiInstrument = acoustic grand } { \clef bass \scoreALeft } \layout { \context { \RemoveEmptyStaffContext } \context { \Score \override VerticalAxisGroup #'remove-first = ##t } } } Hi Thomas. Check this thread: http://lists.gnu.org/archive/html/lilypond-user/2010-11/msg00427.html. According to http://lists.gnu.org/archive/html/lilypond-user/2010-11/msg00429.html, there was a new engraver added to keep alive every staff from a PianoStaff while there's one of them alive. You can remove that engraver by adding \context { \PianoStaff \remove Keep_alive_together_engraver } to your \layout definitions. Best. -- Choan Gálvez Ukecosas. Los ukeleles que nos gustan, también para ti Visítanos: http://ukecosas.es/ ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: \RemoveEmptyStaffContext doesn't remove empty staff
Am 27. April 2012 01:51 schrieb Thomas Ruedas rue...@dtm.ciw.edu: Hi again, I have a piano score in which there are sometimes two, sometimes three staves, and I want the empty third staff to disappear during long stretches in which it is empty. This used to work in an earlier version (2.10) but after having converted to 2.14.2, it doesn't anymore. Hi Thomas, this is a new feature with 2.14. The Keep_alive_together_engraver: Per default a PianoStaff is removed only when all staves are empty. A single staff isn't deleted any more. If you want this behaviour, remove the Keep_alive_together_engraver. Your layout should look: \layout { \context { \RemoveEmptyStaffContext } \context { \PianoStaff \remove Keep_alive_together_engraver } \context { \Score \override VerticalAxisGroup #'remove-first = ##t } } Below follows a short example that reproduces the problem; it follows the approach given in the example snippet from http://lilypond.org/doc/v2.15/input/regression/collated-files.html, which is similar to my original. Would be nice If you name the sippet, the regression-test is very large. Cheers, Harm ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: \RemoveEmptyStaffContext doesn't remove empty staff
Hi Choan and Harm, thanks for the prompt reply. On 27/4/12 2:28 AM, Thomas Morley wrote: this is a new feature with 2.14. The Keep_alive_together_engraver: Per default a PianoStaff is removed only when all staves are empty. A single staff isn't deleted any more. If you want this behaviour, remove the Keep_alive_together_engraver. Ah, that explains everything! Yes, now it works as it should. I doubt that this new default behavior reflects common practice, though; to me, it doesn't make much sense, and I'd like to suggest to the developers (in case they read this) to reconsider this and keep empty staves only if the total number of staffs would otherwise be one (or maybe not even then). Below follows a short example that reproduces the problem; it follows the approach given in the example snippet from http://lilypond.org/doc/v2.15/input/regression/collated-files.html, which is similar to my original. Would be nice If you name the sippet, the regression-test is very large. For the record, the snippet is in http://lilypond.org/doc/v2.15/input/regression/b5/lily-f6f979e0.ly the link to which can be found by searching for \RemoveEmptyStaffContext on that webpage. The example in it is not a PianoStaff, however, but some general sort of staff; I hadn't expected this to be the crucial difference. Best, Thomas -- ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: \RemoveEmptyStaffContext doesn't remove empty staff
Hi Thomas, I doubt that this new default behavior reflects common practice, though As a pianist, I can tell you it absolutely does reflect common engraving practice for piano staves: It is a very rare piano score (perhaps 1/10 of 1%) that contains only a single staff. That is precisely the reason Keep_alive_together_engraver was [fairly recently] added to Lilypond. Of course, engraving practice is different for other multi-staff instruments (e.g., harp often uses a single staff) — but in that case, you can simply define a custom context (e.g., HarpStaff) in which the Keep_alive_together_engraver is removed by default. Hope this helps! Kieren. ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: \RemoveEmptyStaffContext doesn't remove empty staff
Hi Kieren, On 27/4/12 3:00 AM, Kieren MacMillan wrote: I doubt that this new default behavior reflects common practice, though As a pianist, I can tell you it absolutely does reflect common engraving practice for piano staves: It is a very rare piano score (perhaps 1/10 of 1%) that contains only a single staff. That is precisely the reason Keep_alive_together_engraver was [fairly recently] added to Lilypond. to avoid misunderstandings, my full statement was this: I doubt that this new default behavior reflects common practice, though; to me, it doesn't make much sense, and I'd like to suggest to the developers (in case they read this) to reconsider this and keep empty staves only if the total number of staffs would otherwise be one (or maybe not even then). i.e., my main concern here is the situation where you may have more than two staves, which is a much more common situation. The case I wanted to make in the first place is to drop empty staves beyond the second staff, and in the piano scores I have (e.g. Debussy or Messiaen), it is done that way. As for the case of a single piano staff, you are right that it is very rare; I can only recall one instance in one of Messiaen's Vingt Regards sur l'Enfant Jésus (where it was actually printed as a single staff score for several lines). Cheers, Thomas -- ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: \RemoveEmptyStaffContext doesn't remove empty staff
Hi Thomas, i.e., my main concern here is the situation where you may have more than two staves, which is a much more common situation. The case I wanted to make in the first place is to drop empty staves beyond the second staff, and in the piano scores I have (e.g. Debussy or Messiaen), it is done that way. It should be easy to define a custom context (e.g. MultiStaffPiano) to behave this way — perhaps when you've got it worked out as you think it should behave, you can add it to the codebase? Cheers, Kieren. ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Problem with articulate.ly
The example below builds without error and gives the output I want. However, if I include articulate.ly, then the output is garbaged even though I haven't used \unfoldRepeats \articulate, and I get the following warnings in the log: /home/nick/lilypond/examples/test.ly:8:59: warning: already have a beam \times 4/6 { a32[( g) fis( g) \appoggiatura { fis16 [ g] } a32 g] } warning: cannot end slur warning: unterminated slur %= \version 2.15.37 %\include articulate.ly \relative c'' { \times 4/6 { a32[( g) fis( g) \appoggiatura { fis16[ g] } a32 g] } } %= Nick ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user