Re: How do I define an Lilypond/Scheme alist as cons of two a lists?

2014-09-15 Thread David Nalesnik
Jay, On Mon, Sep 15, 2014 at 8:41 AM, Jay Vara wrote: > David, > > Sorry, I did not know that I was using the regression code. No problem! You will find some interesting stuff in the regression tests, though the focus is not on providing helpful code for users. There are some bizarre example

Re: How do I define an Lilypond/Scheme alist as cons of two a lists?

2014-09-15 Thread David Nalesnik
Hi Jay, On Mon, Sep 15, 2014 at 1:18 AM, Jay Vara wrote: > David, > > Thank you. I will try posting with the line you suggested. > > As for the link to the not-working example, it is found here: > http://goo.gl/n54RZB -- the snippet is called bar-lines-lyric-only >

Re: How do I define an Lilypond/Scheme alist as cons of two a lists?

2014-09-14 Thread David Nalesnik
Hi Jay, On Sun, Sep 14, 2014 at 4:48 PM, Jay Vara wrote: > David, > > For some reason I am no longer able to post to gmane. It keeps complaining > that I am top_posting. All I was trying to do was to post a new query. > Try adding this line at the top of your post: > I'm not top posting. (Hop

Re: How do I define an Lilypond/Scheme alist as cons of two a lists?

2014-09-13 Thread David Nalesnik
Hi Jay, On Sat, Sep 13, 2014 at 4:53 PM, Jay Vara wrote: > I have pitch names defined as a alist in Lilypond as below and it works > fine. \version "2.18.2" > > > pitchname = #`( > (saa . , (ly:make-pitch -1 0 NATURAL)) > (raa . , (ly:make-pitch -1 1 FLAT)) > > >

Re: show glissando between finger

2014-09-11 Thread David Nalesnik
Hi, On Wed, Sep 10, 2014 at 7:41 PM, MarcM wrote: > thanks a lot Thomas and David. > > That's what i was able to achieve. > < > http://lilypond.1069038.n5.nabble.com/file/n166322/lilypond_%28top%29_-_sibelius_%28bottom%29.png > > > > Glad you found a use for this! This solution is not ideal bec

Re: Moving clef changes into the bar they affect

2014-09-10 Thread David Nalesnik
On Wed, Sep 10, 2014 at 1:40 AM, Noeck wrote: > > > Am 09.09.2014 um 04:45 schrieb James Worlton: > > > > Another thing that might be interesting for you (but you probably know): >\override Staff.Clef #'full-size-change = ##t > prints the clef in full size even for a change. I use this for th

Re: Moving clef changes into the bar they affect

2014-09-08 Thread David Nalesnik
Hi James, On Mon, Sep 8, 2014 at 8:36 PM, James Worlton wrote: > Hello, > > I'm trying to create a quiz for a Theory class, and I'm having difficulty > with clef changes. Normally, new clefs appear before the barline of the bar > where they take effect. I'm trying to move the clef changes into t

Re: problem with moving notes

2014-09-08 Thread David Nalesnik
Simon, On Mon, Sep 8, 2014 at 6:10 AM, Simon Albrecht wrote: > > > > >

Re: problem with moving notes

2014-09-07 Thread David Nalesnik
Rus, On Sun, Sep 7, 2014 at 3:54 PM, Rus wrote: > I imagine you could use \newSpacingSection. > > Please post the code that created the PDFs you attach, and I'm sure you'll > get a solution to your liking. > > --David > > > I attached the code which you have requested > Thanks. That makes it e

Re: problem with moving notes

2014-09-07 Thread David Nalesnik
On Sun, Sep 7, 2014 at 3:15 PM, Rus wrote: > If you want to have looser horizontal spacing in general > > > I don't want to have looser horizontal spacing in general. I want to have > looser horisontal spacing in this case I described above. > > 07.09.2014, 23:26, "Simon Albrecht" : > > I don’t t

Re: define-vstrut-markup ?

2014-09-07 Thread David Nalesnik
Hi Karol, On Sun, Sep 7, 2014 at 1:26 PM, Karol Majewski wrote: > Hi > > So far I have this: > > > #(define-markup-command > (vstrut layout props) > () > (let > ((ref-mrkp > (interpret-markup layout props "█"))) > (ly:make-stencil > (ly:stencil-expr empty-stencil) emp

Re: Lyric word engraver bug

2014-09-07 Thread David Nalesnik
On Sun, Sep 7, 2014 at 5:28 AM, Simon Albrecht wrote: > And thanks also for these coding suggestions, they’re very good and I’ve > incorporated them. > > Am 07.09.2014 um 00:37 schrieb David Nalesnik: > Glad I could help! ___ lilypo

Re: Lyric word engraver bug

2014-09-06 Thread David Nalesnik
On Sat, Sep 6, 2014 at 5:20 PM, David Nalesnik wrote: > > Here's an unrelated suggestion. > > When you use \wordcompress with a value which triggers the warning, the > music function doesn't return music, so you end up with a fatal error > (rather defeating the gentle

Re: Lyric word engraver bug

2014-09-06 Thread David Nalesnik
Here's an unrelated suggestion. When you use \wordcompress with a value which triggers the warning, the music function doesn't return music, so you end up with a fatal error (rather defeating the gentle purpose of a simple warning!) Why not something like: wordcompress = #(define-music-function

Re: Lyric word engraver bug

2014-09-06 Thread David Nalesnik
Hi, On Sat, Sep 6, 2014 at 4:04 PM, David Nalesnik wrote: > > I don't yet know what is causing the problem... > OK, I think I may have solved it. Fingers crossed. The problem occurs when the callback which creates a stencil for the hyphen creates nothing. Now why that would

Re: Lyric word engraver bug

2014-09-06 Thread David Nalesnik
Simon, On Thu, Sep 4, 2014 at 7:28 AM, Simon Albrecht wrote: It proved difficult to provide a minimal example worth the name, so you get > the one attached, which has a full page of music and two include files. > Sorry for that. The instances of the bug mentioned are at the beginning of > the th

Re: How to color a text spanner

2014-09-06 Thread David Nalesnik
On Sat, Sep 6, 2014 at 1:52 PM, Joram wrote: > > > And I can add a question: What is the difference between > DynamicLineSpanner and Hairpin? > > See http://lilypond.org/doc/v2.18/Documentation/internals/dynamic_005falign_005fengraver A DynamicLineSpanner is a grob which groups hairpins and dynam

Re: How to color a text spanner

2014-09-06 Thread David Nalesnik
Urs, On Sat, Sep 6, 2014 at 8:38 AM, Urs Liska wrote: > \override TextSpanner.color > won't color the TextSpanner. > > What would I have to do to achieve that? > > This works fine for me: \version "2.19.10" { \override TextSpanner.bound-details.left.text = #"foo" \override TextSpanner.

Re: Lyric word engraver bug

2014-09-04 Thread David Nalesnik
thanks a lot for providing the code in the first place! > > > > Yours, Simon > > > > P.S. In case anyone be interested: it is the Bass II part of the Gloria > from > > Gabriel Rheinberger’s Mass in E flat major, op. 109. > > Hi Simon, > > it was Davi

Re: Fixed measure width for chord charts.

2014-08-29 Thread David Nalesnik
Richard, On Fri, Aug 29, 2014 at 9:36 AM, Richard Shann wrote: > On Fri, 2014-08-29 at 16:00 +0200, Jacques Menu wrote: > > Hello Richard, > > > > \set Score.bars-per-line-engraver '(4)) > Thanks - > I can't get that to compile, and indeed I can't track down > bars-per-line-engraver

Re: Measure Repeat Counter

2014-08-27 Thread David Nalesnik
On Wed, Aug 27, 2014 at 1:02 PM, Janek Warchoł wrote: > > You don't need to "abuse" PercentRepeats - there's a dedicated > functionality: > > { c'1~ | \startMeasureCount c'~ | c'~ | c'~ | c'~ \stopMeasureCount | c'~ > | c' } > > \layout { > \context { > \Staff > \consists #Measure_counte

Re: Measure Repeat Counter

2014-08-27 Thread David Nalesnik
On Wed, Aug 27, 2014 at 12:50 PM, Richard Shann wrote: > > > Something like > > { \startMeasureCounter c'1~ | c'~ | c'~ | c'~ | c'~ | c'~ | c' > \endMeasureCounter } > > would result in numbers 1, 2, 3 being placed centered above each > measure. > > Richard > Yes, close. See: http://lilypond.o

Re: Same font size for lyrics and markup

2014-08-17 Thread David Nalesnik
Hi, On Sun, Aug 17, 2014 at 11:31 AM, Nora Widdecke wrote: > Hi Kieren, > > unfortunately, it doesn't work for me. I tried both in 2.18.2 and 2.19.11. > > This is what I did (with the function definitions above, of course): > > \score { > > << > > \new Voice = "Melody" \relative c'{ > > c4 d

Re: Meter change in one vocal line of an SATB score

2014-08-02 Thread David Nalesnik
On Sat, Aug 2, 2014 at 1:32 PM, Do something Artistic < vegasart...@hotmail.com> wrote: > > Trying to change meters in one line of an SATB score without changing all > of the lines. > > Tried to just go unmetered but that didn't seem to work. > > Thank you, > > Spencer > > Hopefully, this is what

Re: lilypond-user Digest, Vol 139, Issue 68

2014-08-02 Thread David Nalesnik
On Sat, Aug 2, 2014 at 10:17 AM, David Kastrup wrote: > > Can you please use more descriptive subject lines? You don't even refer > to a previous posting. > > Patrick or Cynthia Karl writes: > > > I frequently need do something like: in > > order to show that one of the two notes is preferred,

Re: self-alignment-X has negligible effects on dynamics

2014-07-28 Thread David Nalesnik
Hi Janek, On Mon, Jul 28, 2014 at 4:12 PM, Janek Warchoł wrote: > Hi, > > 2014-07-28 22:51 GMT+02:00 David Nalesnik : > > What is potentially confusing (and you see how badly I've been confused) > is > > that the default setting of X-offset has changed. > >

Re: self-alignment-X has negligible effects on dynamics

2014-07-28 Thread David Nalesnik
On Mon, Jul 28, 2014 at 3:17 PM, Janek Warchoł wrote: > Hi, > > 2014-07-28 16:13 GMT+02:00 David Nalesnik : > > In the following example, the ordinary overrides of self-alignment-X > appear > > to have no effect on the position pf the dynamics (or an effect I can't

self-alignment-X has negligible effects on dynamics

2014-07-28 Thread David Nalesnik
In the following example, the ordinary overrides of self-alignment-X appear to have no effect on the position pf the dynamics (or an effect I can't see). Large numbers are needed for an obvious shift. Is this a bug, or something I'm doing wrong? \version "2.19.10" { \override DynamicText.self

Re: cross-staff bug?

2014-07-26 Thread David Nalesnik
On Sat, Jul 26, 2014 at 12:40 AM, Keith OHara wrote: [...] > %% Just as an experiment, this is my best attempt > %% to help LilyPond make the placement decisions on her own > > \new PianoStaff << > \new Staff = "up" { > s8*7^\p^\< s8^\f } > \new Staff = "down" { > e'8[ > ( \up b

Re: \relative versus \absolute (was "Re: Macro/multiply notes")

2014-07-25 Thread David Nalesnik
On Sat, Jun 14, 2014 at 1:43 PM, Knute Snortum wrote: > I am still a novice at using LilyPond (maybe a sophomore) but I'd like to > make one case for relative notes. I'm typesetting a piece where there are > a lot of octave scale runs between both hands. It's very nice to be able > to copy seve

cross-staff bug?

2014-07-25 Thread David Nalesnik
Hi, Attempting to put dynamics above cross-staff notes using the code below leads to some awful collisions. I've recast my example in three ways, to no avail. In the first example, besides the collisions, the final stem is reversed and I get a number of programming errors: "Grob direction reque

Re: Mystery quirk in lyrics - only in the bass part

2014-07-23 Thread David Nalesnik
Hi Larry, On Wed, Jul 23, 2014 at 1:05 PM, Larry Kent wrote: > > Any thoughts on this, anyone? > > I think that this will be impossible to address without a minimal compiling example showing your problem. See http://lilypond.org/tiny-examples.html --David

Re: Harmony Symbols Under the Bass part

2014-07-19 Thread David Nalesnik
Hi, On Sat, Jul 19, 2014 at 11:53 AM, Server Acim wrote: > Hello, > I got an screenshot from Margarethe Maierhofer-Lischka & Florian > Hollerweger's Presentation that is titled as "LilyPond ... music notation > for everyone!. > > I want to figure out how to write for example French Augmented Si

Re: Accidentals on repeated notes separated by rests in certain styles

2014-07-15 Thread David Nalesnik
Hi Gilberto, On Tue, Jul 15, 2014 at 7:25 AM, Gilberto Agostinho < gilbertohasn...@gmail.com> wrote: > Hi David, > > Concerning the style dodecaphonic-no-repeat, I think that the current > behaviour is exactly how it should be! Sure, in your simple example above > the accidental looks superfluou

Re: Accidentals on repeated notes separated by rests in certain styles

2014-07-15 Thread David Nalesnik
On Tue, Jul 15, 2014 at 7:04 AM, David Nalesnik wrote: > >> Take neo-modern and neo-modern-cautionary out of the mix. My observation > holds for neo-modern and dodecaphonic-no-repeat, which both operate at a > staff level. > *Arghh* I meant neo-moder

Re: Accidentals on repeated notes separated by rests in certain styles

2014-07-15 Thread David Nalesnik
On Tue, Jul 15, 2014 at 7:04 AM, David Nalesnik wrote: > > > > On Tue, Jul 15, 2014 at 6:52 AM, David Kastrup wrote: > >> >> >> So what about >> >> { { fis'8 r8 r4 r4 r8 fis'8 } \\ { r8 cis'8 f' r2 } } ? >> >

Re: Accidentals on repeated notes separated by rests in certain styles

2014-07-15 Thread David Nalesnik
On Tue, Jul 15, 2014 at 6:52 AM, David Kastrup wrote: > > > So what about > > { { fis'8 r8 r4 r4 r8 fis'8 } \\ { r8 cis'8 f' r2 } } ? > I think you mean << { fis'8 r8 r4 r4 r8 fis'8 } \\ { r8 cis'8 f' r2 } >> > Should neo-modern-voice really consider the second fis'8 a repetition of > the fi

Re: Accidentals on repeated notes separated by rests in certain styles

2014-07-15 Thread David Nalesnik
-- Forwarded message -- From: guoguocuozuoduo Date: Tue, Jul 15, 2014 at 12:13 AM Subject: RE: Accidentals on repeated notes separated by rests in certain styles To: David Nalesnik >There should be for neo-modern, neo-modern-cautionary, neo-modern-voice, neo-modern-vo

Re: accidentals on note overlaps

2014-07-14 Thread David Nalesnik
On Mon, Jul 14, 2014 at 7:39 PM, David Nalesnik wrote: > Hi, > > In the following example, the half-note F# counts as an immediate > repetition and should not get an accidental in neo-modern and > neo-modern-cautionary styles, This issue is seen in the documentation at > http:

accidentals on note overlaps

2014-07-14 Thread David Nalesnik
Hi, In the following example, the half-note F# counts as an immediate repetition and should not get an accidental in neo-modern and neo-modern-cautionary styles, This issue is seen in the documentation at http://lilypond.org/doc/v2.19/Documentation/notation/displaying-pitches#automatic-accidental

Accidentals on repeated notes separated by rests in certain styles

2014-07-14 Thread David Nalesnik
Certain accidental styles suppress accidentals on immediately repeated notes. (These styles are neo-modern, neo-modern-cautionary, neo-modern-voice, neo-modern-voice-cautionary, and dodecaphonic-no-repeat.) When a pitch repetition occurs across a rest, however, the accidental is repeated: as an o

Re: Optical spacing -- no more?

2014-07-11 Thread David Nalesnik
On Fri, Jul 11, 2014 at 5:18 PM, David Nalesnik wrote: > > > > On Fri, Jul 11, 2014 at 12:50 PM, Brian Barker > wrote: > >> At 16:07 11/07/2014 +0006, Abraham Lee wrote: >> >>> Maybe just me, but I don't really like the look of that. I see the stems

Re: Optical spacing -- no more?

2014-07-11 Thread David Nalesnik
On Fri, Jul 11, 2014 at 12:50 PM, Brian Barker wrote: > At 16:07 11/07/2014 +0006, Abraham Lee wrote: > >> Maybe just me, but I don't really like the look of that. I see the stems >> are equidistant, but, at least to me, I feel like it's not balanced and it >> makes the notehead spacing a little

Re: Optical spacing -- no more?

2014-07-11 Thread David Nalesnik
On Thu, Jul 10, 2014 at 5:09 AM, Abraham Lee wrote: > On Thu, Jul 10, 2014 at 3:39 AM, James Harkins > wrote: > > Something I've been wondering about for awhile... lilypond.org boasts of > "optical spacing" for notes with alternating up and down stems, but it > seems this feature has been lost s

Re: FretBoards aligned to bar lines

2014-07-04 Thread David Nalesnik
On Fri, Jul 4, 2014 at 8:54 AM, David Nalesnik wrote: > > > (See attached.) > In case of line breaks, add \override FretBoard.break-visibility = #end-of-line-invisible --David ___ lilypond-user mailing list lilypond-user@g

Re: FretBoards aligned to bar lines

2014-07-04 Thread David Nalesnik
Hi Marc, On Fri, Jul 4, 2014 at 2:46 AM, Marc Hohl wrote: > Hi list, > > in the following example, I want to align the FretBoards to the > bar lines. Now they are centered over the first beat in each measure. > > You can use a simple Scheme engraver to reset the X-parents of the FretBoard grobs

Re: Broken Hairpin height not affected by \alterBroken

2014-07-02 Thread David Nalesnik
Hi, On Wed, Jul 2, 2014 at 3:37 AM, Thomas Morley wrote: > > > Overriding the 'after-line-breaking property will work, though. > (Too lazy to turn it into a music-function) > > Yes, it does. This is an unfortunate limitation of \alterBroken--the spanner may not be broken at the time the proper

Re: string numbers (fingering instructions) as roman numerals?

2014-07-01 Thread David Nalesnik
Hi Philip, On Mon, Jun 30, 2014 at 6:03 PM, Philip Eliot wrote: > I would agree, hence the question. I thought there might be a built in > option to do that. Having searched through the documentation, I'm fairly > certain there is no built in way to do it. At one point in the > documentation, i

Re: string numbers (fingering instructions) as roman numerals?

2014-06-30 Thread David Nalesnik
On Mon, Jun 30, 2014 at 4:55 PM, Pierre Perol-Schneider < pierre.schneider.pa...@gmail.com> wrote: > > > If you don't need any circle you can write (including David's code) : > > { > \override StringNumber.text = #string-number::calc-roman-text > \override StringNumber.stencil = #ly:text-inter

Re: string numbers (fingering instructions) as roman numerals?

2014-06-30 Thread David Nalesnik
Hi, On Mon, Jun 30, 2014 at 4:15 PM, David Raleigh Arnold wrote: > > > How do I indicate strings by letter-pitch instead of > numbers, the way Villa Lobos did? Regards, Rale > > You could do something like the following: \version "2.19.8" #(define strings "EBGDAE") #(define (string-numbe

Re: string numbers (fingering instructions) as roman numerals?

2014-06-30 Thread David Nalesnik
Hello, On Mon, Jun 30, 2014 at 2:32 PM, philip wrote: > Hi, > I was wondering if anyone knows how to override the > default numbering format for string numbers > (default is circled arabic numbers) and use roman > numerals instead. > > Try this: \version "2.19.8" #(define (string-number::ca

Re: With \markup { \score { can I separately control the score size?

2014-06-29 Thread David Nalesnik
Hi, On Sun, Jun 29, 2014 at 8:35 AM, David Kastrup wrote: > Pierre Perol-Schneider writes: > > > 2014-06-29 13:42 GMT+02:00 Richard Shann : > > > > That works great, thank you. The only further tweak I needed was to put > >> \large before the text so that text comes out at a normal size with th

Re: Positioning spanner at different height after line break

2014-06-25 Thread David Nalesnik
Javier, On Wed, Jun 25, 2014 at 1:12 AM, Javier Ruiz-Alma wrote: > I have a TextSpanner going from one system to the next one below. > > The segment in the top-system needs to go under a slur, so I applied: > > \override TextSpanner.avoid-slur = #'inside > > \override TextSpanner.outside-st

Re: Determine event at the same time in other voice

2014-06-20 Thread David Nalesnik
On Fri, Jun 20, 2014 at 6:12 AM, David Kastrup wrote: > Urs Liska writes: > > > how could I determine if at any given point in time there is another > > event in another voice or not. Concretely: If I have a certain rest, > > can I know if another rest of the same length is in another voice? > >

Re: Custom accidental style (for cadenza)?

2014-06-17 Thread David Nalesnik
Hi, On Mon, Jun 16, 2014 at 8:33 PM, James Harkins wrote: > On Tuesday, June 17, 2014 8:21:10 AM HKT, David Nalesnik wrote: > >> Here's a variation which incorporates my little discovery :) > > Oops--there's an error. In the function "unnecessary-acc

Re: Custom accidental style (for cadenza)?

2014-06-16 Thread David Nalesnik
On Mon, Jun 16, 2014 at 7:09 PM, David Nalesnik wrote: > Hi, > > > On Mon, Jun 16, 2014 at 6:00 PM, David Nalesnik > wrote: > > Issues: >> --You can't force an accidental with "!". Perhaps a property >> 'force-accidental might be creat

Re: Custom accidental style (for cadenza)?

2014-06-16 Thread David Nalesnik
Hi, On Mon, Jun 16, 2014 at 6:00 PM, David Nalesnik wrote: Issues: > --You can't force an accidental with "!". Perhaps a property > 'force-accidental might be created? > Of course, there's 'forced... ___ l

Re: Custom accidental style (for cadenza)?

2014-06-16 Thread David Nalesnik
Hi James, On Mon, Jun 16, 2014 at 2:06 AM, James Harkins wrote: > TL;DR version of the question: How could I define an accidental style that > behaves mostly like neo-modern, but also avoids repeating accidentals > within a beamed group? > > [...] > > A nice middle ground between "remember acc

Re: Adjusting the upper tie of an octave

2014-06-13 Thread David Nalesnik
Hi Knute, On Fri, Jun 13, 2014 at 12:43 PM, Knute Snortum wrote: > I'm having trouble getting shapeTieColumn to apply to ties that are not > after breaks. Is this function only for broken ties? If so, I don't have > a solution to my problem. If not, what am I doing wrong? > > \version "2.18.

Re: Adjusting the upper tie of an octave

2014-06-13 Thread David Nalesnik
On Fri, Jun 13, 2014 at 8:41 AM, Knute Snortum wrote: > I was going to put it in openlilylib, if that's okay. > > Sure, I'd appreciate that. --David ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-us

Re: Adjusting the upper tie of an octave

2014-06-12 Thread David Nalesnik
Hi, On Thu, Jun 12, 2014 at 3:44 PM, Janek Warchoł wrote: > try changing the order of the notes (and ties) in the input. Or use > TieColumn.tie-configuration. Or typeset stuff as separate voices > (this is very ugly, but will give you fullest control). > Yeah, i know - ugh... > > It actually

Re: Whiteout box function by Thomas Morley / need help

2014-06-12 Thread David Nalesnik
Hi Karol, On Thu, Jun 12, 2014 at 12:48 PM, Karol Majewski wrote: > I'm trying to make this function work via \tweak. Grob-name string is no > longer needed. The following code doesn't work. Perhaps I missed something > that is obvious to schemers. Any ideas are welcome. > > moreWhiteout = > #(

Re: More questions about using Lilypond for guitar music

2014-06-11 Thread David Nalesnik
Hi Martyn, On Wed, Jun 11, 2014 at 8:36 AM, Martyn Quick wrote: > > > ... and that has vibrato as the last thing example of notation listed. > > A simple way to get the line for vibrato would be to adapt a TextSpanner object: \version "2.19.5" { \override TextSpanner.style = #'trill c'

Re: One of these things just isn't the same

2014-06-10 Thread David Nalesnik
On Tue, Jun 10, 2014 at 10:18 AM, David Nalesnik wrote: > Hi Daniel, > > > On Tue, Jun 10, 2014 at 7:35 AM, Daniel Rosen wrote: > >> >> >> Well, I suppose that makes sense, but it still looks Extremely Ugly to >> me. Does anyone else agree? >> >&

Re: One of these things just isn't the same

2014-06-10 Thread David Nalesnik
Hi Daniel, On Tue, Jun 10, 2014 at 7:35 AM, Daniel Rosen wrote: > > > Well, I suppose that makes sense, but it still looks Extremely Ugly to me. > Does anyone else agree? > > I don't know about "extremely ugly"... In any case, you can get the accent to move up. Here are two ways: { f4-> f

Re: [WAS: Re: handbells] Tabulating notes used in a score

2014-05-26 Thread David Nalesnik
On Mon, May 26, 2014 at 8:33 AM, David Nalesnik wrote: > countOccurrences = > > #(define-scheme-function > > (parser location lst) > > (list?) > > (let* ((pitch-list (sort (delete-duplicates lst) ly:pitch > (tabulation (make-list (length p

Re: [WAS: Re: handbells] Tabulating notes used in a score

2014-05-26 Thread David Nalesnik
Simon, On Mon, May 26, 2014 at 7:54 AM, Simon Albrecht wrote: > > The version statement should be \version "2.19", since the music contains > standalone durations like @code{ ees4~ 16 }, which can’t be handled by 2.18. > > True, didn't notice that. Also interesting is that omitting the pitchname

[WAS: Re: handbells] Tabulating notes used in a score

2014-05-25 Thread David Nalesnik
Hi all, FWIW, here's something which tabulates the notes used in an excerpt and presents them in ascending order. I think this might be useful in handbell music (which the example assuredly is not). Any suggestions for improving this are welcome. --David \version "2.18" #(define (get-pitch elt

Re: handbells

2014-05-25 Thread David Nalesnik
tches used in a music expression. This might be useful for other purposes. [BTW, there's a correction in extract-pitches.] HTH, David On Sun, May 25, 2014 at 10:47 AM, David Nalesnik wrote: > > On Sun, May 25, 2014 at 10:06 AM, David Nalesnik > wrote: > > >> (Somethi

Re: handbells

2014-05-25 Thread David Nalesnik
On Sun, May 25, 2014 at 10:06 AM, David Nalesnik wrote: > (Something could be worked out for enharmonics, I suppose.) > OK, this handles enharmonics: \version "2.18.2" #(define (get-pitch elt) (ly:music-property elt 'pitch)) #(define (extract-pitches lst result)

Fwd: handbells

2014-05-25 Thread David Nalesnik
Oops, Forgot to reply all... (Messages to the list are now slightly out of sequence.) -- Forwarded message -- From: David Nalesnik Date: Sun, May 25, 2014 at 9:52 AM Subject: Re: handbells To: mark damerell Hi again, On Sun, May 25, 2014 at 5:43 AM, mark damerell wrote

Fwd: handbells

2014-05-25 Thread David Nalesnik
On Sun, May 25, 2014 at 9:52 AM, David Nalesnik wrote: > To make a part for an individual player, you call \colorPitch, > That would be \colorPitches... ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/li

Re: handbells

2014-05-24 Thread David Nalesnik
Hi Mark, On Sat, May 24, 2014 at 1:18 PM, mark damerell wrote: > The file I posted is only intended as a tiny file to show my current > problem. > I could post something longer but I dont think this would give the experts > any better idea of my problem. > > > In outline, I wanted to > > print o

Re: #(ly:expect-warning "")

2014-05-18 Thread David Nalesnik
Hi Simon, On Sun, May 18, 2014 at 5:57 AM, Simon Albrecht wrote: > Hello, > > I just tried to suppress a series of expected warnings, but the scheme > function seems to suppress only the first of a kind. See attached file. Why > is this? > > Each call suppresses a single instance, so you need to

Re: decimal numerator in time signature

2014-05-07 Thread David Nalesnik
Hi, On Wed, May 7, 2014 at 3:13 AM, Pierre Perol-Schneider < pierre.schneider.pa...@gmail.com> wrote: > 2014-05-07 0:01 GMT+02:00 Kate Sekula : > > Is there a way to have a decimal, such as 3.5, as the numerator in a time >> signature? >> > > Try : > > %%% > \version "2.18.2" > >

Re: Fermatas on last bar, snippet emits warnings

2014-05-03 Thread David Nalesnik
Hi Knute, On Sat, May 3, 2014 at 3:03 PM, Knute Snortum wrote: > (LilyPond version 2.18.2) > > This snippet: > > http://lsr.di.unimi.it/LSR/Item?id=10 > > ...work as advertized and produces two fermatas over the last bar line. > The only problem is what it emits these warnings: > > document.ly

Re: Ties, Slurs, and Voices Again!

2014-04-25 Thread David Nalesnik
Hi, On Thu, Apr 24, 2014 at 2:41 PM, tisimst wrote: > Knute, > > I tried some of the more simple tweaks, but they didn't seem to give me > what > you wanted. However, here's a *slightly* more advanced tweak that I got to > work: > > \version "2.18.2" > \language "english" > > { > \time 5/4 >

Re: Newbie problem in my first or second score

2014-04-21 Thread David Nalesnik
Hi Steve, On Mon, Apr 21, 2014 at 7:02 AM, Steve Lane wrote: > Hello all: > > So I am trying to lay out the first bars of Mozart's Sonata K 333. The > first measure is a partial measure. No matter what I try so far, I'm > getting an extra time and key signature in the bass clef, in addition to

Re: How to catch extent of AccidentalPlacement?

2014-04-18 Thread David Nalesnik
Hi Harm, On Fri, Apr 18, 2014 at 8:49 AM, Thomas Morley wrote: > thanks for all your work you've put on this. > I'm ashamed I didn't try it out so far. > I hope I can find the time to do it the next days. > No problem. If you don't get a chance to look at it, no worries! Best, David

Re: Certain accidentals

2014-04-18 Thread David Nalesnik
Hi Brian, On Fri, Apr 18, 2014 at 8:43 AM, Brian Barker wrote: > At 07:57 18/04/2014 -0500, David Nalesnik wrote: > >> In my experience, speaking that sort of thing--calling F-sharp "F" ... >> > > Sorry, but who made that suggestion, please? This was about n

Re: Certain accidentals

2014-04-18 Thread David Nalesnik
Hi, On Fri, Apr 18, 2014 at 7:41 AM, Thomas Morley wrote: > Hi Brian, > > 2014-04-18 8:26 GMT+02:00 Brian Barker : > > > But perhaps you are referring to the method of textual input in Lilypond, > > where notes that are named "sharp" or "flat" need to be qualified as > such, > > notwithstanding w

Re: How to catch extent of AccidentalPlacement?

2014-04-14 Thread David Nalesnik
Harm, On Mon, Apr 14, 2014 at 12:07 PM, David Nalesnik wrote: > > > On Mon, Apr 14, 2014 at 8:53 AM, David Nalesnik > wrote: >> >> >> I can't figure out where that 1.1 comes from, though. >> >> > This happens in accidental-placement.cc. It&

Re: How to catch extent of AccidentalPlacement?

2014-04-14 Thread David Nalesnik
On Mon, Apr 14, 2014 at 8:53 AM, David Nalesnik wrote: > > > I can't figure out where that 1.1 comes from, though. > > This happens in accidental-placement.cc. It's the value of width calculated in position_apes. Looks like it doesn't factor in the offset

Re: How to catch extent of AccidentalPlacement?

2014-04-14 Thread David Nalesnik
Hi Harm, On Sat, Apr 12, 2014 at 4:53 PM, Thomas Morley wrote: > > One question remains: why was it changed? > Instead of more or less simply calling the vallue via ly:grob-extent > we now have to calculate it, looking at each Accidental separately. > (via map and reduce) > > Just curious. > I m

Re: How to catch extent of AccidentalPlacement?

2014-04-12 Thread David Nalesnik
Hi Harm, On Sun, Mar 16, 2014 at 7:06 AM, Thomas Morley wrote: > 2014-03-12 1:27 GMT+01:00 Thomas Morley : > > Hi, > > > > for some function I need to know the extent/length of the > AccidentalPlacement. > > > > With 2.16.2 I used to do something like: > > > > info = > > \override Staff.Accident

Re: center align dynamics issue

2014-04-08 Thread David Nalesnik
Hi Karol, On Tue, Apr 8, 2014 at 12:24 PM, Karol Majewski wrote: > Seems that solution given by David Nalesnik: > > > http://code.google.com/p/lilypond/issues/attachmentText?id=2245&aid=22450001000&name=atest-09.ly&token=vtUjpiq5vmGAgIRRqIpMxfhpYmg%3A1396976425593 &g

Re: MetronomeMark aligned to accidentals

2014-04-06 Thread David Nalesnik
Hi all, On Sun, Apr 6, 2014 at 11:10 AM, Trevor Daniels wrote: > Maybe someone else will have a better solution. > Well, here's something rough which appears to do the trick. The basic idea is that the function locates a PaperColumn that is related to both our MetronomeMark grob and an Acciden

Re: Getting rid of initial brace on piano score

2014-04-03 Thread David Nalesnik
On Thu, Apr 3, 2014 at 6:20 PM, Pierre Perol-Schneider < pierre.schneider.pa...@gmail.com> wrote: > Oups, sorry, you're right of course. > Too tired > Should go to bed. > Thanks > Pierre > No problem! --David ___ lilypond-user mailing list lilypond-us

Re: Getting rid of initial brace on piano score

2014-04-03 Thread David Nalesnik
Hi Pierre, On Thu, Apr 3, 2014 at 2:26 PM, Pierre Perol-Schneider < pierre.schneider.pa...@gmail.com> wrote: > 2014-04-03 19:27 GMT+02:00 David Nalesnik > >> Here's another way: >> >> \score { >> >>\new PianoStaff >&g

Re: Getting rid of initial brace on piano score

2014-04-03 Thread David Nalesnik
Hi Peter, On Thu, Apr 3, 2014 at 3:35 PM, Peter Toye wrote: > David, > > Thanks again. Comments below. > > You're very welcome! > > That didn't work - LP complains about an unwanted comma. Replacing by a > space or adding spaces don't work either. I'm still trying to work my head > around t

Re: Getting rid of initial brace on piano score

2014-04-03 Thread David Nalesnik
Hi Peter, On Thu, Apr 3, 2014 at 1:10 PM, Peter Toye wrote: > David, > > Thanks very much for this very fast answer. > > But two things: > > 1) I get a syntax error > > > D:/Peter/Music/Lilypond/Mendelssohn/March2.ly:61:16: error: wrong > > type for argument 1. Expecting string, found transpa

Re: Getting rid of initial brace on piano score

2014-04-03 Thread David Nalesnik
Hi again, On Thu, Apr 3, 2014 at 12:11 PM, David Nalesnik wrote: > > > (P.S. This should be a case where \alterBroken would work, though not > without some ugliness. The following expression removes the stencil on the > second line as expected, though the stencil is positioned f

Re: Getting rid of initial brace on piano score

2014-04-03 Thread David Nalesnik
Hi Peter, On Thu, Apr 3, 2014 at 11:26 AM, Peter Toye wrote: > I want to get rid of the brace on the first line of a piano score, but > keep it for the rest of the score. > > I tried the snippet below, but this gets rid of it for all the lines, in > spite of the \once command. If I uncomment t

Re: Fixed number of Systems on page

2014-04-03 Thread David Nalesnik
Hi, On Thu, Apr 3, 2014 at 6:08 AM, Simon Bailey wrote: > Hi Urs, > > > On Thu, Apr 3, 2014 at 11:54 AM, Urs Liska wrote: > >> is it possible to enforce a specific number of systems on a specific page? >> For example to say: "I want a given music (e.g. between two manual page >> breaks) on tha

Re: specify number of measures per line in score

2014-03-31 Thread David Nalesnik
On Mon, Mar 31, 2014 at 7:50 PM, David Nalesnik wrote: > > > > On Mon, Mar 31, 2014 at 7:46 PM, Branko wrote: > >> ..so if I had 16 measures, and I wanted to have four lines each spanning >> four measures (short exercise for my little students) what would be the &g

Re: specify number of measures per line in score

2014-03-31 Thread David Nalesnik
On Mon, Mar 31, 2014 at 7:46 PM, Branko wrote: > ..so if I had 16 measures, and I wanted to have four lines each spanning > four measures (short exercise for my little students) what would be the > best approach? > > Put \break where you want the line breaks, and include ragged-right = ##t to get

Re: specify number of measures per line in score

2014-03-31 Thread David Nalesnik
On Mon, Mar 31, 2014 at 7:42 PM, David Nalesnik wrote: > > If your score is just 4 bars, all you need is the line in the layout block. > (Sorry, I should be clearer: I meant the ragged-right line.) ___ lilypond-user mailing list lilypond-use

Re: specify number of measures per line in score

2014-03-31 Thread David Nalesnik
On Mon, Mar 31, 2014 at 7:40 PM, Branko wrote: > ok.. that did the trick, so I have to have both, function declared and > ragged-right to do the job? is that right? thanks again for helping. > >> >> No :) If your score is just 4 bars, all you need is the line in the layout block. This function

Re: specify number of measures per line in score

2014-03-31 Thread David Nalesnik
On Mon, Mar 31, 2014 at 7:27 PM, Branko wrote: > > > actually it does not work ;), it compiled but no changes in rendered pdf, > still my fourth bar ends on half width the page.. > > That's a separate issue--not a problem with the function at all. Your score only has 4 bars, and LilyPond chooses

Re: specify number of measures per line in score

2014-03-31 Thread David Nalesnik
Hi Branko, On Mon, Mar 31, 2014 at 7:06 PM, Branko wrote: > I have this as a sample notation example. How would I specify to have > exactly 4 measures per line, throughout the whole piece. I searched the > whole documentation and did not find such a simple feature. Am I missing > something? > T

<    6   7   8   9   10   11   12   13   14   15   >