Re: \parallelMusic w/ melody, chordmode, & tabs worked in 2.14.0 but not in 2.18.2

2014-10-24 Thread Keith OHara
Stuart A. Harvey gmail.com> writes: > The snippet of code below used to work in 2.14.0.  Now that I have installed 2.18.2 I get “Bars in parallel music don’t have the same length”.   Is there any way to accomplish this in 2.18.2 where the lead line, chords, and tabs are written in parallel? >

Re: Scheme function to affect a compound music expression?

2014-10-24 Thread Paul Morris
Robin Bannister wrote > A more workable approach is to modify similar snippets. Maybe this is a good example of music-map to add to the LSR? http://lsr.di.unimi.it/LSR/Search Cheers, -Paul -- View this message in context: http://lilypond.1069038.n5.nabble.com/Scheme-function-to-affect-a-comp

Re: scheme engraver and left-neighbor

2014-10-24 Thread David Nalesnik
Hi Sam, On Fri, Oct 24, 2014 at 5:39 PM, Samuel DA MOTA wrote: > Hi, > > I'm trying to write a scheme engraver and I'm blocked at some point. > I'm trying to determine if the left-neighbor of a grob is a (semi-)tie > or not. > > Can someone provide some help on how to achieve that, or point me a

scheme engraver and left-neighbor

2014-10-24 Thread Samuel DA MOTA
Hi, I'm trying to write a scheme engraver and I'm blocked at some point. I'm trying to determine if the left-neighbor of a grob is a (semi-)tie or not. Can someone provide some help on how to achieve that, or point me a link that explain it? Regards, -- Sam _

Re: Scheme function to affect a compound music expression?

2014-10-24 Thread Peter Crighton
2014-10-24 16:54 GMT+02:00 Robin Bannister : > So it looks like LilyPond wants to merge the rests, > but will do this only if they seem identical. > > > Having read through the regression snippet > and been inspired by the way it removes things, > we can modify bgr to make it remove rests: > > bgr

Re: Tags in Lyrics

2014-10-24 Thread Thomas Morley
2014-10-24 21:19 GMT+02:00 Simon Albrecht : [...] > I tried to, but somehow an > extender line inside a music function body gives a syntax error and I’ve got > no clue how to circumvent that. You’ll find the current function attached. > Can anyone help, please? No attachment ;) -Harm ___

Re: Point and click off by one after markup

2014-10-24 Thread Richard Shann
David has pointed out to me that what was tripping me up with this file was a CR character (0x0D) which is white space and is treated as such, but editors should not treat it as starting a line, which the GtkSourceView widget was doing. So looked at in (for example) gedit, the line count was wrong,

Re: Setting entire document fonts

2014-10-24 Thread Eyolf Østrem
On Fri, 24 Oct 2014 10:10:34 -0700 (PDT) tisimst wrote: > Internally, when you call set-global-staff-size, it resets the text fonts. > Thus, if you want to use a different staff size, that must go PRIOR to where > you define the fonts. Kinda weird, I know, but that's how it works. ... and one o

RE:text above

2014-10-24 Thread me here
\version "2.18.2" \language "deutsch" global = { \key c \major \time 2/2 } soprano = \relative c' { \global % Die Noten folgen hier. \dynamicUp e2.\< \mark "Langsam" e4\! f2 e2\once \override DynamicLineSpanner #'staff-padding = #1.35 d1\> e2\! h'2\rest h1\rest h1\rest h1\rest h1\rest

Re: Tags in Lyrics

2014-10-24 Thread Simon Albrecht
Hello Noeck, hello everybody, at least you can save a lot of typing from v2.18 on: Am 24.10.2014 um 09:25 schrieb Noeck: Hi, when I write choir pieces I like to have one song text for all voices and to use tags. Often, the differences are only whether there is an extender line or not \tag "A"

Re: Point and click off by one after markup

2014-10-24 Thread Simon Albrecht
Am 24.10.2014 um 13:59 schrieb Richard Shann: On Fri, 2014-10-24 at 11:15 +0200, Helge Kruse wrote: Thank you for your response. I think you should not added control characters like newline to the markup text. yes, perhaps that is the case - I assumed any white space was acceptable, but it seem

Re: text above

2014-10-24 Thread Simon Albrecht
Hello Bernhard, Am 24.10.2014 um 13:36 schrieb Dr. Bernhard Kleine: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 The following code has some errors: The tenor lyrics should above the system. See comments below. The \mf should be moved here a little to the left to have more space for the

Re: Setting entire document fonts

2014-10-24 Thread Richard Shann
On Fri, 2014-10-24 at 10:10 -0700, tisimst wrote: > Richard, > > > Internally, when you call set-global-staff-size, it resets the text > fonts. Thus, if you want to use a different staff size, that must go > PRIOR to where you define the fonts. Thank you! that works fine. Richard > Kinda weir

Re: Setting entire document fonts

2014-10-24 Thread tisimst
Richard, Internally, when you call set-global-staff-size, it resets the text fonts. Thus, if you want to use a different staff size, that must go PRIOR to where you define the fonts. Kinda weird, I know, but that's how it works. HTH, Abraham Sent from my iPhone > On Oct 24, 2014, at 10:29 AM

Setting entire document fonts

2014-10-24 Thread Richard Shann
Following the example for setting the entire document fonts at http://www.lilypond.org/doc/v2.18/Documentation/notation/fonts#entire-document-fonts I constructed this code: 8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8>< \version "2.18.0" \paper { #(define fonts (make-pango-fo

Re: Tempo mark of eighth note = eighth note

2014-10-24 Thread Knute Snortum
Thanks to both of you. Knute Snortum (via Gmail) On Fri, Oct 24, 2014 at 8:32 AM, Brian Barker wrote: > At 08:19 24/10/2014 -0700, Knute Snortum wrote: > >> I need a tempo marking of "eighth note = eighth note". I know I've seen >> how to do it but it's escaping me now. >> > > See: > http://ww

Re: Tempo mark of eighth note = eighth note

2014-10-24 Thread Brian Barker
At 08:19 24/10/2014 -0700, Knute Snortum wrote: I need a tempo marking of "eighth note = eighth note". I know I've seen how to do it but it's escaping me now. See: http://www.lilypond.org/doc/v2.18/Documentation/snippets/rhythms#rhythms-creating-metronome-marks-in-markup-mode . I trust this

Re: Tempo mark of eighth note = eighth note

2014-10-24 Thread tisimst
Knute, \markup { \general-align #Y #DOWN \note #"8" #1 = \general-align #Y #DOWN \note #"8" #1 } Regards, Abraham P.S. I don't fully understand the syntax, but that does what you asked for. On Fri, Oct 24, 2014 at 9:19 AM, Knute Snortum [via Lilypond] wrote: > I need a tempo markin

Re: OS independent forward slashes in LilyPond-Scheme?

2014-10-24 Thread Richard Shann
On Fri, 2014-10-24 at 16:30 +0200, Urs Liska wrote: > Does LilyPond always use forward slashed as path separators when > outputting a path as string (such as in > ly:input-file-line-char-column? yes > > I assume so, since it's running under cywin on Windows (???) no, cygwin is not needed. I th

Tempo mark of eighth note = eighth note

2014-10-24 Thread Knute Snortum
I need a tempo marking of "eighth note = eighth note". I know I've seen how to do it but it's escaping me now. Please have mercy on me. Knute Snortum (via Gmail) ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinf

Re: Scheme function to affect a compound music expression?

2014-10-24 Thread Robin Bannister
Peter Crighton wrote: > I don’t know why the \bgr function causes it. > Any ideas? > ... > Are there other places to learn about Scheme in LilyPond > than the Scheme tutorial? Welcome to Scheme in LilyPond. This example shows that knowing Scheme isn't enough. You have to cooperate with Lilypond

OS independent forward slashes in LilyPond-Scheme?

2014-10-24 Thread Urs Liska
Does LilyPond always use forward slashed as path separators when outputting a path as string (such as in ly:input-file-line-char-column? I assume so, since it's running under cywin on Windows (???), but I can't test and I'd like to be sure. Best Urs __

Re: How to parse "location"

2014-10-24 Thread Urs Liska
Am 24.10.2014 15:29, schrieb Jan-Peter Voigt: Hi Urs, you can use ly:input-file-line-char-column to get a list containing the file-path and line- and column-number. In openlilylib I placed a function inside /scheme-lib/lalily/parser-location.scm - location-extract-path - which returns the ab

Re: How to parse "location"

2014-10-24 Thread Jan-Peter Voigt
Hi Urs, you can use ly:input-file-line-char-column to get a list containing the file-path and line- and column-number. In openlilylib I placed a function inside /scheme-lib/lalily/parser-location.scm - location-extract-path - which returns the absolute path of the location. With lalily I sometime

Re: Scheme function to affect a compound music expression?

2014-10-24 Thread Peter Crighton
2014-10-24 13:57 GMT+02:00 Peter Crighton : > 2014-10-24 11:05 GMT+02:00 Robin Bannister : > >> >> The source file music-functions.scm defines >> music-map >> which you can use for this: >> >> >> bgr = #(define-music-function (parser location music) (ly:music?) >>(music-map (lambda (note) >>

Frescobaldi custom script

2014-10-24 Thread Noeck
Hi, I have a question concerning Frescobaldi: Is it possible to run a custom script (bash/python) from Frescobaldi. This would be my use case: I have a script that runs lilypond and then timidity and other tools to get ogg rehearsal files which are then packed in zip files. If I could run it from

Re: Scheme function to affect a compound music expression?

2014-10-24 Thread Peter Crighton
2014-10-24 11:05 GMT+02:00 Robin Bannister : > Peter Crighton wrote: > > But I would like to be able to use the function [...] >> > > so it doesn’t only affect the next note, > > but a sequence of notes enclosed in { … }: > > > The source file music-functions.scm defines > music-map > which you

Re: Point and click off by one after markup

2014-10-24 Thread Richard Shann
On Fri, 2014-10-24 at 11:15 +0200, Helge Kruse wrote: Thank you for your response. > I think you should not added control characters like newline to the > markup text. yes, perhaps that is the case - I assumed any white space was acceptable, but it seems in some circumstances to trigger this undesi

text above

2014-10-24 Thread Dr. Bernhard Kleine
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 The following code has some errors: The tenor lyrics should above the system. The \mf should be moved here a little to the left to have more space for the crescendo. The crescendo in bar 5 and the decrescendo in bar 7 are on different vertical leve

Re: Suppress certain warnings?

2014-10-24 Thread Thomas Morley
2014-10-24 10:55 GMT+02:00 Urs Liska : > Hi all, > > is it possible to suppress specific compiler warnings, for example because > they're expected? I know about the option for ignoring clashing note > columns, but is there a generic way to filter out messages? > > Concretely I'm interested in > > w

How to parse "location"

2014-10-24 Thread Urs Liska
If I use (display location) in a Scheme function I get an output like: #/home/uliska/git/bfsc/fried/das-trunkne-lied/parts/bassclarinet/02.ily:40:3> How can I access the content of the location (or better: it's constituents), for example to extract the file name and a part of the path (conc

Re: Crescendo Hairpin above the staff

2014-10-24 Thread Urs Liska
Am 24.10.2014 11:26, schrieb Helge Kruse: You can use this: { c^\< d f\! } Or, if you prefer something more explicit, you can use \dynamicUp HTH Urs Regards Helge ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mai

Re: Crescendo Hairpin above the staff

2014-10-24 Thread Helge Kruse
You can use this: { c^\< d f\! } Regards Helge ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user

Crescendo Hairpin above the staff

2014-10-24 Thread Dr. Bernhard Kleine
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hallo, I have checked the benutzerhandbuch for help but could not find it. Will someone please point to me how to have hairpins above and not under the staff? Thank you very much! Bernhard -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.22 (MingW3

Re: Point and click off by one after markup

2014-10-24 Thread Helge Kruse
I think you should not added control characters like newline to the markup text.When you want to have more than one line, please use the \column markup. http://lilypond.org/doc/v2.18/Documentation/notation/formatting-text#index-font-families \markup{ \column { \bold{hi} "" } } Regar

Re: Scheme function to affect a compound music expression?

2014-10-24 Thread Robin Bannister
Peter Crighton wrote: But I would like to be able to use the function [...] > so it doesn’t only affect the next note, > but a sequence of notes enclosed in { … }: The source file music-functions.scm defines music-map which you can use for this: bgr = #(define-music-function (parser locat

Suppress certain warnings?

2014-10-24 Thread Urs Liska
Hi all, is it possible to suppress specific compiler warnings, for example because they're expected? I know about the option for ignoring clashing note columns, but is there a generic way to filter out messages? Concretely I'm interested in warning: (De)crescendo with unspecified starting vo

Re: Cadence font and lilypond-book

2014-10-24 Thread Urs Liska
Am 24.10.2014 10:44, schrieb Marc Hohl: Am 24.10.2014 um 09:59 schrieb Urs Liska: Am 24.10.2014 08:35, schrieb Marc Hohl: Am 23.10.2014 um 20:55 schrieb Abraham Lee: Try putting them in "/home/marc/.local/share/fonts" instead. I've noticed that things seem to work a little better in there.

Re: Cadence font and lilypond-book

2014-10-24 Thread Urs Liska
Am 24.10.2014 10:35, schrieb Marc Hohl: Am 24.10.2014 um 09:59 schrieb Urs Liska: Am 24.10.2014 08:35, schrieb Marc Hohl: Am 23.10.2014 um 20:55 schrieb Abraham Lee: Try putting them in "/home/marc/.local/share/fonts" instead. I've noticed that things seem to work a little better in there.

Re: Cadence font and lilypond-book

2014-10-24 Thread Marc Hohl
Am 24.10.2014 um 09:59 schrieb Urs Liska: Am 24.10.2014 08:35, schrieb Marc Hohl: Am 23.10.2014 um 20:55 schrieb Abraham Lee: Try putting them in "/home/marc/.local/share/fonts" instead. I've noticed that things seem to work a little better in there. No, doesn't work either ... :-( What I

Re: Cadence font and lilypond-book

2014-10-24 Thread Marc Hohl
Am 24.10.2014 um 09:59 schrieb Urs Liska: Am 24.10.2014 08:35, schrieb Marc Hohl: Am 23.10.2014 um 20:55 schrieb Abraham Lee: Try putting them in "/home/marc/.local/share/fonts" instead. I've noticed that things seem to work a little better in there. No, doesn't work either ... :-( What I

Point and click off by one after markup

2014-10-24 Thread Richard Shann
In the following lilypond the location reported for the line of notes after the markup is off by one. The d's are reported at line 5 when they are on 6 etc. The first c'4 is correctly reported as being on line 3. 8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8>< \version "2.18.

Re: Cadence font and lilypond-book

2014-10-24 Thread Urs Liska
Am 24.10.2014 08:35, schrieb Marc Hohl: Am 23.10.2014 um 20:55 schrieb Abraham Lee: Try putting them in "/home/marc/.local/share/fonts" instead. I've noticed that things seem to work a little better in there. No, doesn't work either ... :-( What I'm asking myself is *which* part is actuall

Tags in Lyrics

2014-10-24 Thread Noeck
Hi, when I write choir pieces I like to have one song text for all voices and to use tags. Often, the differences are only whether there is an extender line or not \tag "A" Where __ \tag "S" \tag "T" \tag "B" Where bla bla ... (S, A, T, B stand for the voices.) Is there a more concise way of wri