RE: Future of openLilyLib

2020-09-22 Thread Daniel Rosen
> -Original Message-
> From: David Kastrup  
> Sent: Tuesday, September 22, 2020 8:12 AM
> To: Karsten Reincke 
> Cc: lilypond-user@gnu.org; Carl Sorensen 
> Subject: Re: Future of openLilyLib
>
> Karsten Reincke  writes:
>
> > Summary:
> >
> > If I wrote a piece of music using LilyPond Code (for being interpreted 
> > by the Lilypond interpreter) and if I included OpenLilyLib into my 
> > code,
>
> If you include OLL code by copy into your source code.  If you use its 
> advertised interfaces, however, that does not make it part of your code.

I'm not saying I disagree with your interpretation, I'm just curious: are you 
aware of any legal precedent (in the common-law sense) or law code supporting 
it?

DR



RE: [Off-topic] A question about opera scores

2020-04-02 Thread Daniel Rosen
> -Original Message-
> From: Lukas-Fabian Moser [mailto:lukasfabianmo...@googlemail.com] On
> Behalf Of Lukas-Fabian Moser
> Sent: Thursday, April 02, 2020 1:15 PM
> To: Daniel Rosen ; lilypond-user Mailing List (lilypond-
> u...@gnu.org) 
> Subject: Re: [Off-topic] A question about opera scores
> 
> Hi Daniel,
> 
> The opera conductors I asked agree that they prefer the vocal parts above
> the strings.
> 
> Best
> Lukas

Thanks so much for asking them on my behalf!

DR


[Off-topic] A question about opera scores

2020-03-30 Thread Daniel Rosen
I just sent the following question in an email to my local orchestra's[1] music 
director[2]-he has a side gig with a small opera company a few towns over[3], 
and I wanted an opera conductor's opinion. Reposting here to see if there are 
any opera conductors on this list, just in case he's unable to get back to me 
for some reason. :-)

> I am in the midst of engraving a full opera score, and my question is this: 
> do you as a conductor
> prefer to see the vocal parts above the strings, or within the strings 
> (between the violas and
> cellos)? Elaine Gould's Behind Bars (generally accepted as the definitive 
> reference work on music
> notation) prescribes the former for mixed-forces works in general, but is 
> silent about opera
> scores specifically; and most of the random sampling of scores that I've 
> looked at on IMSLP have
> the latter.
 
DR

[1] https://philorch.org
[2] https://yannicknezetseguin.com
[3] https://metopera.org



RE: StaffSymbol stops short of end-of-\score TimeSignature or KeySignature

2020-03-22 Thread Daniel Rosen
> -Original Message-
> From: Noeck [mailto:noeck.marb...@gmx.de]
> Sent: Friday, March 20, 2020 6:33 PM
> To: lilypond-user@gnu.org
> Subject: Re: StaffSymbol stops short of end-of-\score TimeSignature or
> KeySignature
> 
> You could add an invisible spacer rest in both cases:
>   \time 4/4 s
> and
>   \key b \major s }
> 
> Would that be a solution for you or just in the example?

That does fix the issue with the StaffSymbol ending too far left. I've also 
been able to adjust the \tweak X-extent value manually to imitate the default 
spacing, so my issue is solved for now. However, for this solution to work 
X-extent value has to change depending on the width of the grob—so \tweak 
X-extent #'(0 . 2.1) works for 4/4, but not for 12/8, and certainly not for a 
five-sharp KeySignature. It'd be great if there were another way to do it that 
wasn't so kludgy.


StaffSymbol stops short of end-of-\score TimeSignature or KeySignature

2020-03-20 Thread Daniel Rosen
The following example shows two movements of a work which are to be performed 
without pause (imagine an "attacca" instruction at the end of the first \score 
block). My question: how can I get the StaffSymbol to continue through the 4/4 
marking at the end of the first \score (and through the key change at the end 
of the second), as it does through the 2/4 at the end of the line above?

This question is very similar to the one Harm responding to in this post from a 
couple of months ago: 
https://lists.gnu.org/archive/html/lilypond-user/2020-01/msg00541.html However, 
when his solution is applied here the results are still not quite right: when 
everything in my example is uncommented, the cautionary TimeSignatures are no 
longer vertically aligned because the 4/4 is pushed slightly to the left, 
there's a little too much space between the right edge of the TimeSignature and 
the end of the StaffSymbol, and the StaffSymbol itself stops just short of the 
right margin (I can't figure out a way to draw a vertical line that will show 
this latter point more clearly, but if you print it out and use a straight edge 
it'll be very apparent). 

%% Example begins
\version "2.20.0"

music = \repeat unfold 36 b'4

\book {
  \paper { print-all-headers = ##t }

  \score {
\header { title = "I" }
{
  %\override Staff.StaffSymbol.break-align-symbols =
  %#'(time-signature key-cancellation key-signature staff-bar 
break-alignment)
  \numericTimeSignature \time 3/4
  \music \time 2/4 \break
  \music \bar "||"
  %\tweak X-extent #'(0.25 . 2.4)
  \time 4/4
}
  }

  \score {
\header { title = "II" }
{ \numericTimeSignature \music \key b \major }
  }

}
%% Example ends

DR





RE: Convert-ly adds line breaks

2020-03-15 Thread Daniel Rosen
> -Original Message-
> From: Martin Neubauer [mailto:mrtn...@gmail.com]
> Sent: Sunday, March 15, 2020 2:11 PM
> To: lilypond-user@gnu.org
> Subject: Re: Convert-ly adds line breaks
> 
> Hi,
> 
> I suspect this is a Unix vs. Windows line ending issue.

That's exactly what it is. The Frescobaldi project has an open issue for this 
that I just commented on earlier today (before I saw that this thread existed): 
https://github.com/frescobaldi/frescobaldi/issues/880#issuecomment-599236580

DR



RE: Grace notes in the first measure mess up the layout

2020-02-03 Thread Daniel Rosen
> From: Arle Lommel [mailto:fene...@gmail.com] 
> Sent: Monday, February 03, 2020 10:04 PM
> To: Lilypond-User Mailing List 
> Subject: Grace notes in the first measure mess up the layout
> 
> How can I get this to display as expected?

Just add an equivalent grace note spacer in the other voices, as shown in the 
NR 
(http://lilypond.org/doc/v2.19/Documentation/notation/special-rhythmic-concerns#grace-notes,
 under "Known Issues and Warnings"):

\version "2.19.83"

vocal = \relative c'' {
\clef treble
\key aes \major
\grace s16  % <-- Here
R2.
}

upper = \relative c'' {
\clef treble
\key aes \major
\grace s16  % <-- and here
c4 ees4 g4
}

lower = \relative c' {
\clef bass
\key aes \major
\time 3/4
\grace b,16( 2.) |
}

\score {
  <<
\new Voice = "mel" { \vocal }
\new PianoStaff <<
  \new Staff = "upper" \upper
  \new Staff = "lower" \lower
>>
  >>
  \layout {}
}

DR


Space after barline for DynamicText in Dynamics context

2020-02-03 Thread Daniel Rosen
In the example below, modifying DynamicText.X-offset in the Voice context 
forces extra space to appear after the barline so that there's no collision, 
but doing the same thing in a Dynamics context does not. Is there a way to have 
the Dynamics context behave the way the Voice context does in this regard?

\version "2.19.83"

\new PianoStaff <<
   \new Staff { s1
\override DynamicText.X-offset = -4.25
f1\mf
f1 }
   \new Dynamics { s1*2
   \override DynamicText.X-offset = -4.25
   s\mf }
   \new Staff { s1*3 }
>>

DR





Default values for grob properties not listed on IR page

2020-02-03 Thread Daniel Rosen
How do I find the default value for a grob property if that property isn't 
listed on the grob's IR page-for instance, the default value for 
Glissando.thickness?

DR





RE: Clef change placement

2020-02-02 Thread Daniel Rosen
> -Original Message-
> From: Kieren MacMillan [mailto:kieren_macmil...@sympatico.ca]
> Sent: Saturday, February 01, 2020 11:15 AM
> To: Daniel Rosen 
> Cc: Lilypond-User Mailing List 
> Subject: Re: Clef change placement
> 
> > Is there a way to achieve this placement automatically, other than by
> > specifying explicit system breaks?
> 
> Did you ever get an answer to this?
> Seems like a perfect job for a [Scheme] engraver…

Nope. Yours is the first response I've gotten.

DR



Re: Workarounds for issue #5538

2020-01-24 Thread Daniel Rosen
On Jan 24, 2020, at 5:22 AM, Mark Knoop  wrote:
> At 20:27 on 23 Jan 2020, Daniel Rosen wrote:
>> Does anyone have any ideas for a workaround for Issue #5538 “bendAfter
>> broken by chords”?
>> (https://sourceforge.net/p/testlilyissues/issues/5538/)
> 
> No, sorry. After reporting this bug I ended up using a TextSpanner instead.

How? Can you provide an example? I’ve just been adding a TextScript saying 
“fall” or “doit” as a placeholder, so anything better would be welcome.

Clef change placement

2020-01-23 Thread Daniel Rosen
>From Elaine Gould's "Behind Bars" (p. 9):

> Where an instrument rests for more than a system, it is usual to return it to 
> its commonest clef... Place
> the clef change at the end of the system after the player has finished: this 
> is the least disruptive position
> as regards spacing. It is better than an immediate clef change before rests, 
> which draws unwanted
> attention to the new clef at an arbitrary point.

Is there a way to achieve this placement automatically, other than by 
specifying explicit system breaks?

DR



Workarounds for issue #5538

2020-01-23 Thread Daniel Rosen
Does anyone have any ideas for a workaround for Issue #5538 "bendAfter broken 
by chords"? (https://sourceforge.net/p/testlilyissues/issues/5538/)

DR



RE: metronome-mark-alignment

2020-01-21 Thread Daniel Rosen
Now that the Salzburg conference is over, I'm reiterating this question in 
hopes that someone may be able to help me with it now. :-)

> -Original Message-
> From: Daniel Rosen
> Sent: Sunday, January 12, 2020 4:20 PM
> To: 'Thomas Morley' ; David Nalesnik
> 
> Cc: lilypond-user Mailing List (lilypond-user@gnu.org)  u...@gnu.org>
> Subject: RE: metronome-mark-alignment
> 
> When Metronome_mark_engraver is part of a Score or Staff context,
> MetronomeMarks that coincide with TimeSignatures align by default to the
> TimeSignature. However, I have a couple of Dynamics contexts in my score
> so that I can have MetronomeMarks centered between staves; in those
> contexts, with David/Harm's function applied, MetronomeMarks that
> coincide with TimeSignatures align to the accidental. How can I have it
> behave the same way as in a Staff context?
> 
> Tiny example attached.

I also just made a discovery that I suspect is worth noting: this inconsistency 
exists even when David and Harm's function is taken away, as one can see by 
commenting out the two \overrides in the MWE.

DR


mwe.ly
Description: mwe.ly


Extending manual (was Re: metronome-mark-alignment)

2020-01-14 Thread Daniel Rosen
> -Original Message-
> From: David Kastrup [mailto:d...@gnu.org]
> Sent: Tuesday, January 14, 2020 5:39 PM
> To: Thomas Morley 
> Cc: Daniel Rosen ; lilypond-user Mailing List (lilypond-
> u...@gnu.org) ; David Nalesnik
> 
> Subject: Re: metronome-mark-alignment
> 
> 
> Ok, let me try again.
> 
> # and $ differ in several respects.  # inserts Scheme constructs in places
> where LilyPond can decide how they fit into its syntax without looking at
> their value first.  In that case, evaluation of those Scheme expressions is
> done at the time the expression is being actually used which tends to be
> what one expects.  In contrast, $ can be used in places where the value of
> the expression will have an impact on just how LilyPond will put them into
> context.  For example, a $ expression evaluating to a duration may be
> combined with a preceding pitch to form a note, while having it evaluate to
> another pitch in the same place will form a separate note.
> 
> This syntactic flexibility may lead to the expression getting evaluated at an
> unexpectedly early point of time, namely when LilyPond needs to know its
> type in order to decide that it does not actually combine with the preceding
> expression.
> 
> --
> 
> So no talk about lexer and parser and lookahead and tokens.

This is better, but I still have trouble grasping precisely what it means, and 
I think that has to do with my lack of knowledge about how the program actually 
works. I've been using LilyPond for a long time so I have a pretty good grasp 
of the syntax for creating a score, and I know how to find the stuff I don't 
know off the top of my head; but my understanding of what happens once I've 
finished the text file(s) runs more or less like this:

1. Click "Compile" button in Frescobaldi (or run program from command line)
2. *magic*
3. PDF exists

So it occurs to me that an overview "for Dummies(r)" of what really happens 
during "step 2," on a conceptual level, might be helpful for someone like me. I 
don't know if such an overview exists, or whether anyone has the time and 
ability to write one; and, moreover, depending on how much basic computer 
science it would need to cover, it might be outside the scope of this 
community---I have no idea, I'm just spitballing. But if it is doable, I 
suspect it would go a long way towards making the manual more readable for 
non-programmers. (Obviously if it does exist, someone please point me to it.)

DR



RE: metronome-mark-alignment

2020-01-13 Thread Daniel Rosen
> -Original Message-
> From: David Kastrup [mailto:d...@gnu.org]
> Sent: Monday, January 13, 2020 7:35 AM
> To: Daniel Rosen 
> Cc: Thomas Morley ; lilypond-user Mailing List
> (lilypond-user@gnu.org) ; David Nalesnik
> 
> Subject: Re: metronome-mark-alignment
> 
> That is entirely my fault.  The problem was that there was no
> satisfactory/exhaustive explanation of the technicalities surrounding use of #
> vs $ that are caused by making LilyPond more powerful than its underlying
> implementation and tools strictly allow for.  That has side effects, and being
> able to think about such side effects requires knowing what one is dealing
> with.
> 
> Many manual passages that I wrote up have been significantly rewritten by
> people who tend to have human communication at least on par with their
> ability of conversing with computers.  This one hasn't.  I'll readily admit 
> that it
> is bad.  It not being there, however, will likely be worse at least for some
> readers.

Definitely. And I never meant to imply that it shouldn't be there. 
 
> > Of course, it may be that the manual isn't meant to be aimed at a
> > complete novice like myself; but if it is, then it definitely needs an
> > overhaul.
> 
> Sure, like most of what I write.  But there are not many people around for
> overhauling.

Makes sense. I was just trying to answer Harm's question as honestly as I 
could. :-)



RE: metronome-mark-alignment

2020-01-12 Thread Daniel Rosen
> -Original Message-
> From: Thomas Morley [mailto:thomasmorle...@gmail.com]
> Sent: Sunday, January 12, 2020 6:04 PM
> To: Daniel Rosen 
> Cc: David Nalesnik ; lilypond-user Mailing List
> (lilypond-user@gnu.org) 
> Subject: Re: metronome-mark-alignment
> 
> Though, I've already heard about difficulties about using scheme to write
> own extension pretty often.
> Just like you say:
> 
> Am So., 12. Jan. 2020 um 22:19 Uhr schrieb Daniel Rosen
> :
> > I want to express how grateful I am to this list for being so helpful
> > with this issue, since I have zero knowledge about how to use Scheme.
> > (I've tried to tackle the Extending manual on multiple occasions, but
> > I find it extremely difficult to understand, probably because I have
> > no programming experience.)
> 
> I have the suspicion it's not, because guile is difficult, at least so far as 
> the
> scheme-tutorial reaches out, but because it's difficult to find a way to 
> modify
> LilyPond's default with scheme. In the sense of:
> What am I supposed to do with my new basic guile-knowledge?
> Note that most used tools in David's and my coding are _not_ native guile-
> procedures, but are defined in the LilyPond-source.
> Therefore I think the problem is more poor documentation of those lily-
> defined tools and/or the lack of commented code-examples using them.
> 
> Could you confirm or is it something else preventing you from starting to
> code on your own?

The most important thing preventing me from starting to code on my own is 
simple: I don't have to. LilyPond natively supports so many different 
notational constructs that I run into problems relatively infrequently. And in 
the cases when I do, between the manuals, the LSR, and this list (primarily the 
archives, and occasionally responses to my own submissions), I've been able to 
simply copy-paste my way out of practically any jam I've found myself in for as 
long as I've used LilyPond (which must be almost ten years).

As far as the Extending manual goes, though... I could be wrong, but it seems 
to assume a basic working knowledge of how computer programs and programming 
languages work that I simply don't have. Going through it, I think to myself 
that I would need to have one-on-one tutoring sessions with someone in order to 
really understand it. Take 1.2.1 
(http://lilypond.org/doc/v2.19/Documentation/extending/lilypond-scheme-syntax) 
as an example. This paragraph

> The hash mark # method of embedding Scheme is a natural fit for this system.
> Once the lexer sees a hash mark, it calls the Scheme reader to read one full 
> Scheme
> expression (this can be an identifier, an expression enclosed in parentheses, 
> or several
> other things). After the Scheme expression is read, it is stored away as the 
> value for an
> SCM_TOKEN in the grammar. Once the parser knows how to make use of this 
> token, it
> calls Guile for evaluating the Scheme expression. Since the parser usually 
> requires a bit
> of lookahead from the lexer to make its parsing decisions, this separation of 
> reading
> and evaluation between lexer and parser is exactly what is needed to keep the
> execution of LilyPond and Scheme expressions in sync. For this reason, you 
> should use
> the hash mark # for calling Scheme whenever this is feasible.

mostly goes over my head. I like to think I understand the basic idea, but I 
can never be sure because I'm unfamiliar with so much of the language: "lexer," 
"Scheme reader," "SCM_TOKEN," "parser." And the rest of the page is no better. 
So while I'm sure that you're right about the manual's ineffectiveness in 
helping readers transfer their knowledge of Guile into practice within 
LilyPond, in my case the issue lies even deeper than that---I'm never sure 
whether I'm really understanding what the manual is trying to tell me.

Of course, it may be that the manual isn't meant to be aimed at a complete 
novice like myself; but if it is, then it definitely needs an overhaul.

DR


RE: metronome-mark-alignment

2020-01-12 Thread Daniel Rosen
> -Original Message-
> From: Thomas Morley [mailto:thomasmorle...@gmail.com]
> Sent: Saturday, January 11, 2020 5:37 PM
> To: David Nalesnik 
> Cc: Daniel Rosen ; lilypond-user Mailing List (lilypond-
> u...@gnu.org) 
> Subject: Re: metronome-mark-alignment
> 
> Am Sa., 11. Jan. 2020 um 18:04 Uhr schrieb David Nalesnik
> :
> >
> > Sorry, no time at the moment.  Perhaps someone else can help...
> 
> Probably:

This works great. I want to express how grateful I am to this list for being so 
helpful with this issue, since I have zero knowledge about how to use Scheme. 
(I've tried to tackle the Extending manual on multiple occasions, but I find it 
extremely difficult to understand, probably because I have no programming 
experience.)

That said... there's still one more problem. When Metronome_mark_engraver is 
part of a Score or Staff context, MetronomeMarks that coincide with 
TimeSignatures align by default to the TimeSignature. However, I have a couple 
of Dynamics contexts in my score so that I can have MetronomeMarks centered 
between staves; in those contexts, with David/Harm's function applied, 
MetronomeMarks that coincide with TimeSignatures align to the accidental. How 
can I have it behave the same way as in a Staff context?

Tiny example attached.

Thanks,

DR


mwe.ly
Description: mwe.ly


Re: metronome-mark-alignment

2020-01-11 Thread Daniel Rosen
On Jan 9, 2020, at 4:21 PM, Daniel Rosen  wrote:

>> I have a new problem. If I take away the first instance of \music in each 
>> staff of my original example,


> Whoops, meant to say *your* example with the revised function.

>> the file fails to compile, and I get this error message:
>> 
>>> ~/example-updated.ly:13:18: Wrong type argument in position 1 (expecting 
>>> Grob_array): ()
>> 
>> Can you help me with this one?

Seems like this might have fallen through the cracks, so... bump.

DR


RE: metronome-mark-alignment

2020-01-09 Thread Daniel Rosen
> my original example 

Whoops, meant to say *your* example with the revised function.

DR


RE: metronome-mark-alignment

2020-01-09 Thread Daniel Rosen
> Fantastic. A minor point though: while the example does compile as it should,
> I also get the following text in the log during the preprocessing stage:
> 
> > Fontconfig warning: ignoring 1033: not a valid language tag
> 
> It doesn't say it's an error or even a warning, but I've never seen it 
> before---
> and, moreover, a search of the Nabble list archive for the string "language
> tag" yields zero results. Any idea what this is?

I have a new problem. If I take away the first instance of \music in each staff 
of my original example, the file fails to compile, and I get this error message:

> ~/example-updated.ly:13:18: Wrong type argument in position 1 (expecting 
> Grob_array): ()

Can you help me with this one?

DR


RE: metronome-mark-alignment

2020-01-09 Thread Daniel Rosen
> The problem is that ly:make-simple-closure has been removed.  I replaced
> the old default with the new definition (found in the Internals Reference),
> and the function works again.

Fantastic. A minor point though: while the example does compile as it should, I 
also get the following text in the log during the preprocessing stage:

> Fontconfig warning: ignoring 1033: not a valid language tag

It doesn't say it's an error or even a warning, but I've never seen it 
before---and, moreover, a search of the Nabble list archive for the string 
"language tag" yields zero results. Any idea what this is?

DR


metronome-mark-alignment

2020-01-07 Thread Daniel Rosen
I just rediscovered David Nalesnik's metronome-mark-alignment function in this 
thread that I originally started years ago: https://bit.ly/2QUmi6H

The function works fine as long as Metronome_mark_engraver only exists in the 
Score context. However, if it's added to, say, a Staff context or a Voice 
context, it prevents the file from compiling and yields the following error 
messages:

> ~/example.ly:23:14: In expression (ly:make-simple-closure (quasiquote #)):
> ~/example.ly:23:14: Unbound variable: ly:make-simple-closure

See the attached example.

Can anyone tweak this function so that it will work under these conditions?

DR



example.ly
Description: example.ly


RE: Understanding fancy-gliss

2020-01-01 Thread Daniel Rosen
> Harm,
> 
> Thank you so, so much for the primer---it cleared up everything that I had
> been unable to surmise for myself. I would highly recommend you update
> the LSR entry to include it.

Harm, one other question: is it possible to use your function in conjunction 
with a different style of line than the default, like 'zigzag? And if so, how? 
Using \override Glissando.style doesn't seem to do anything.


RE: Understanding fancy-gliss

2020-01-01 Thread Daniel Rosen
Harm,

Thank you so, so much for the primer---it cleared up everything that I had been 
unable to surmise for myself. I would highly recommend you update the LSR entry 
to include it.

Thanks again!

DR


Understanding fancy-gliss

2019-12-31 Thread Daniel Rosen
I'm having a little bit of trouble understanding exactly how to use Harm's 
excellent fancy-gliss function, particularly when it comes to creating curves. 
Can someone help me get a better handle on this? 

DR





Overriding Script symbol with markup

2019-12-28 Thread Daniel Rosen
What property of Script do I need to override in order to replace the symbol 
with markup?

Example:

{ \override Script.? = \markup { foo }
  c'1\trill }

would print "foo" instead of the trill symbol.

DR





RE: TextScript baseline in Dynamics context

2019-12-27 Thread Daniel Rosen
I mean, that is a possibility, but it’s pretty labor-intensive.

This should be a feature of, at the very least, the Dynamics context, IMHO. Am 
I right that this hasn't been requested before? (If I am I'll submit it to the 
bugs list.) 

DR

> From: Stefano Troncaro [mailto:stefanotronc...@gmail.com] 
> Sent: Friday, December 27, 2019 10:50 AM
> To: Daniel Rosen 
> Subject: Re: TextScript baseline in Dynamics context

> Hi Daniel, I never found a stafisfying solution for that, so I just create 
> custom DynamicTexts (that are always aligned) instead of mixing DynamicTexts 
> and TextScripts. See:

> text = #(make-dynamic-script (markup #:normal-text #:italic "Text"))
> <<
>   \new Voice { \repeat unfold 6 { c'4 } }
>   \new Dynamics { s2\f s\text s-"Text" }
>   \new Voice { \repeat unfold 6 { c'4 } }
> >>

> Bear in mind that you can't place 2 simultaneous dynamic events, so if you 
> want it to display "f Text" you have to create a "f Text" dynamic. Also, 
> dynamics are centered on the note by default, so you might want to change 
> that. For example:

> #(define make-dynamic-text (define-event-function (text) (markup?)
>   #{
>      \tweak self-alignment-X #-1
>      \tweak extra-offset #'(-0.65 . 0)
>      #(make-dynamic-script
>        (markup #:normal-text #:italic text))
>   #} ) )

> text = #(make-dynamic-text (markup #:normal-text #:italic "Text"))

> <<
>   \new Voice { \repeat unfold 6 { c'4 } }
>   \new Dynamics { s2\f s\text s-"Text" }
>   \new Voice { \repeat unfold 6 { c'4 } }
> >>

> Hope this helps!
> Stéfano

> > El vie., 27 dic. 2019 a las 12:18, Daniel Rosen () 
> > escribió:
> > How do I get TextScripts to sit on the same baseline as DynamicTexts within 
> > a Dynamics context? Everything I've tried leaves all or some of them 
> > sitting higher or lower. 

> > MWE of the problem:

> > <<
> >   \new Voice { \repeat unfold 6 { c'4 } }
> >   \new Dynamics { s2\f-"Text" s-"Text" s^"Text" }
> >   \new Voice { \repeat unfold 6 { c'4 } }
> > >>

> > DR



TextScript baseline in Dynamics context

2019-12-27 Thread Daniel Rosen
How do I get TextScripts to sit on the same baseline as DynamicTexts within a 
Dynamics context? Everything I've tried leaves all or some of them sitting 
higher or lower. 

MWE of the problem:

<<
  \new Voice { \repeat unfold 6 { c'4 } }
  \new Dynamics { s2\f-"Text" s-"Text" s^"Text" }
  \new Voice { \repeat unfold 6 { c'4 } }
>>

DR




"Winged" repeat after double bar and line break

2017-04-14 Thread Daniel Rosen
\version "2.19.56"

\relative c'' {
  c4 c c c
  \bar "[|:"
  c4 c c c \break
  \bar ".|:-||"
  c4 c c c
}



I would like the first line in the above example to end with a double bar (\bar 
"||"), and the second line to begin with a winged begin-repeat bar (\bar 
"[|:"). How can I accomplish this?

DR

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


RE: Potential bug: Slur begins or ends with tenuto

2016-11-11 Thread Daniel Rosen
> -Original Message-
> From: Daniel Rosen
> Sent: Friday, November 11, 2016 5:54 PM
> To: lilypond-user Mailing List (lilypond-user@gnu.org)  u...@gnu.org>
> Subject: Potential bug: Slur begins or ends with tenuto
> 
> It appears that LilyPond is refusing to allow Slur.positions to be specified 
> in
> increments smaller than 0.5 staff spaces. I can't find any mention of a
> constraint like this in any of the manuals.

It just occurred to me that the following example does a much better job of 
illustrating this point than the one I previously submitted:

\version "2.19.50"

\relative c'' {
  \stemUp
  \override Slur.positions = #'(-1 . -1)
  b( b)
  \override Slur.positions = #'(-1.25 . -1)
  b( b)
  \override Slur.positions = #'(-1.5 . -1)
  b( b)
}

DR


___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Potential bug: Slur begins or ends with tenuto

2016-11-11 Thread Daniel Rosen
I'm sending this to the user list first because I'm having trouble with the 
search functionality in the new issue tracker, so I can't tell if this has 
already been reported:

\version "2.19.50"

\relative c' {
  \override Slur.positions = #'(-4 . -4)
  c( c)
  \override Slur.positions = #'(-4.25 . -4)
  c( c)
  \override Slur.positions = #'(-4.5 . -4)
  c( c)
}

It appears that LilyPond is refusing to allow Slur.positions to be specified in 
increments smaller than 0.5 staff spaces. I can't find any mention of a 
constraint like this in any of the manuals.

DR


___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


SVG files for MediaWiki

2015-12-10 Thread Daniel Rosen
When I create an SVG file with LilyPond and upload it to Wikimedia Commons, it 
renders as a blank image (try uploading Tristan.preview.svg at 
https://tools.wmflabs.org/svgcheck/). Can anyone help me figure out how to fix 
this? I've already tried to import it into and export it from Apache OpenOffice 
Draw, but there must be some kind of problem with the import filter extension 
(obtainable at https://wiki.openoffice.org/wiki/SVG_Import_Filter) because a 
couple of grobs are missing from the program's rendering (namely, the 
full-measure rest in line 22, and the flags on the a8 in line 7 and the ais8 in 
line 8-see OOTristan.svg).

DR




Tristan.ly
Description: Tristan.ly
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Can't access LinuxAudio server

2015-12-09 Thread Daniel Rosen
Hello all,

Whenever I try to access any page in the linuxaudio.org domain (including pages 
in download.linuxaudio.org), my browser (Firefox) returns a "Server not found" 
error, which makes it impossible for me to download the latest version of 
LilyPond for Windows. http://isup.me tells me that the issue is on my end, but 
in about 5 years of using LilyPond and downloading almost all the development 
versions as they've been released, this has never been a problem for me. Can 
anyone tell me what might be happening here?

Thanks,

Daniel Rosen

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


RE: Can't access LinuxAudio server

2015-12-09 Thread Daniel Rosen

> -Original Message-
> From: Brian Barker [mailto:b.m.bar...@btinternet.com]
> Sent: Wednesday, December 09, 2015 4:46 PM
> To: Daniel Rosen <drose...@gmail.com>
> Subject: Re: Can't access LinuxAudio server
> 
> At 21:11 09/12/2015 +, you wrote:
> >Whenever I try to access any page in the linuxaudio.org domain
> >(including pages in download.linuxaudio.org), my browser (Firefox)
> >returns a "Server not found" error, which makes it impossible for me to
> >download the latest version of LilyPond for Windows.
> 
> Use http://www.lilypond.org/development.html ?
> 
> Brian Barker - privately

The page you referenced only contains links to the download files. The files 
themselves are hosted at LinuxAudio, hence my issue.

That being said, even though I haven't changed anything about my computer or my 
Internet connection, I can now connect to the server. Weird.

DR 

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Apparent bug: Bracketed TupletNumber affected by Slur

2015-08-27 Thread Daniel Rosen
The following code produces the attached output, with the TupletNumber way down 
inside the Slur even though there is no apparent reason for the avoid-slur 
property to matter at all-in other words, this code should produce the same 
output as if the \override were commented out. (The bug appears to manifest 
only when the Slur begins on the first note of the tuplet.)

Is this a bug? I can't seem to find anything like it in the bugs list archives.

\version 2.19.25
\relative c'' {
  \tupletUp
  \override TupletNumber.avoid-slur = #'outside
  \tuplet 3/2 { b8( b b) }
}

DR

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Issue tracker

2015-08-26 Thread Daniel Rosen
I've been scouring the list archives for the past half hour trying to find out 
where the new issue tracker is (now that the Google Code one has been frozen). 
Can anyone point me in the right direction?

Thanks,

Dan
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


RE: Assertion failed!

2015-06-13 Thread Daniel Rosen
 -Original Message-
 From: David Kastrup [mailto:d...@gnu.org]
 Sent: Saturday, June 13, 2015 5:23 AM
 To: Andrew Bernard
 Cc: Daniel Rosen; lilypond-user@gnu.org
 Subject: Re: Assertion failed!
 
 Andrew Bernard andrew.bern...@gmail.com writes:
 
  Hi David,
 
  The one I have reported dumps core. So pretty much a fatal error.
 
 Assertion failures always dump core.  The idea is that they dump core at a
 point of time where one is still reasonably close to the problem rather than 
 at
 some arbitrary point later.
 
 A core dump can be used for analyzing the state of the program at the point
 of the core dump.
 
  But it is good to know the program behaviour has been altered and that
  accounts for why we are suddenly seeing assertion failures when they
  occur.
 
 The difference is just that the production version of LilyPond no longer
 ignores assertions and just crosses fingers.
 
 Some assertions might warrant converting into programming errors, some
 assertions might warrant finding the cause and either fixing it or putting up
 some sensible continuation strategy.
 
 At any rate, the failed assertions will not go away by themselves:
 making suitable small examples and reporting them on the bug reporting list
 will give developers a chance to look at them as they occur.
 
 --
 David Kastrup

Would it still be helpful for me to submit a bug report, or have you now 
identified an existing issue as the culprit?

DR

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


RE: Assertion failed!

2015-06-13 Thread Daniel Rosen
 -Original Message-
 From: Andrew Bernard [mailto:andrew.bern...@gmail.com]
 Sent: Saturday, June 13, 2015 3:49 AM
 To: Daniel Rosen; lilypond-user@gnu.org
 Subject: RE: Assertion failed!
 
 Can you see if this works in 2.19.20? [Based on my hypothesis that 2.19.21
 has regressed something, or introduced a bunch of defects.]

Using 2.19.20, I compiled

\version 2.19.20
\new Voice \with { \consists Balloon_engraver } {
  \balloonGrobText #'Stem #'(3 . 3) \markup { I'm a Stem }
  g1
}

While I no longer get the dialog I reported originally, I do get the attached 
PDF output, which is equally problematic.

I'll go ahead and create a bug report.

DR


document.pdf
Description: document.pdf
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: \remove Time_signature_engraver + \override TextScript.self-alignment-X = error

2015-06-12 Thread Daniel Rosen
Not a problem, just couldn't figure it out.

DR

Sent from my iPhone

On Jun 12, 2015, at 3:21 PM, Karen Billings 
ksbilli...@att.netmailto:ksbilli...@att.net wrote:

Daniel,

I'm sorry - it's not related to your specific question.  It appears that our 
message threads somehow got combined as one.  I'm really sorry...

Karen



On Friday, June 12, 2015 11:22 AM, Daniel Rosen 
drose...@gmail.commailto:drose...@gmail.com wrote:


Karen,

I don’t understand—is this file related to my question?

DR

From: Karen Billings [mailto:ksbilli...@att.net]
Sent: Friday, June 12, 2015 12:47 PM
To: Simon Albrecht; Daniel Rosen; lilypond-user Mailing List 
(lilypond-user@gnu.orgmailto:lilypond-user@gnu.org)
Subject: Re: \remove Time_signature_engraver + \override 
TextScript.self-alignment-X = error

Simon, Daniel, et al,

Here you are...

FYI, I have to force breaks to avoid getting breaks in mid-melisma...  I 
finally managed to get a clef, but now I get two for the price of one!

Karen


On Friday, June 12, 2015 10:39 AM, Simon Albrecht 
simon.albre...@mail.demailto:simon.albre...@mail.de wrote:

Tiny example?
sja
Am 12.06.2015 um 17:15 schrieb Daniel Rosen:


DR




___

lilypond-user mailing list

lilypond-user@gnu.orgmailto:lilypond-user@gnu.org

https://lists.gnu.org/mailman/listinfo/lilypond-user



___
lilypond-user mailing list
lilypond-user@gnu.orgmailto: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


Assertion failed!

2015-06-12 Thread Daniel Rosen
Hello all,

When I try to attach a balloon to a whole note, like this:

%%% Snippet begins
\version 2.19.21
\new Voice \with { \consists Balloon_engraver }
{
  \balloonGrobText #'Stem #'(3 . 3) \markup { I'm a Stem }
  g1
}
%%% Snippet ends

I get the attached pop-up window.

Is this an issue on my end, or is it a bug?

DR

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


\remove Time_signature_engraver + \override TextScript.self-alignment-X = error

2015-06-12 Thread Daniel Rosen


DR

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


RE: \remove Time_signature_engraver + \override TextScript.self-alignment-X = error

2015-06-12 Thread Daniel Rosen
Karen,

I don’t understand—is this file related to my question?

DR

From: Karen Billings [mailto:ksbilli...@att.net]
Sent: Friday, June 12, 2015 12:47 PM
To: Simon Albrecht; Daniel Rosen; lilypond-user Mailing List 
(lilypond-user@gnu.org)
Subject: Re: \remove Time_signature_engraver + \override 
TextScript.self-alignment-X = error

Simon, Daniel, et al,

Here you are...

FYI, I have to force breaks to avoid getting breaks in mid-melisma...  I 
finally managed to get a clef, but now I get two for the price of one!

Karen


On Friday, June 12, 2015 10:39 AM, Simon Albrecht 
simon.albre...@mail.demailto:simon.albre...@mail.de wrote:

Tiny example?
sja
Am 12.06.2015 um 17:15 schrieb Daniel Rosen:


DR




___

lilypond-user mailing list

lilypond-user@gnu.orgmailto:lilypond-user@gnu.org

https://lists.gnu.org/mailman/listinfo/lilypond-user


___
lilypond-user mailing list
lilypond-user@gnu.orgmailto: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: \remove Time_signature_engraver + \override TextScript.self-alignment-X = error

2015-06-12 Thread Daniel Rosen
I sent the attached message to the list a couple minutes after the one below 
(about an hour and a half ago), but for some reason it still hasn't shown up on 
the list.

DR

From: Simon Albrecht [mailto:simon.albre...@mail.de]
Sent: Friday, June 12, 2015 12:39 PM
To: Daniel Rosen; lilypond-user Mailing List (lilypond-user@gnu.org)
Subject: Re: \remove Time_signature_engraver + \override 
TextScript.self-alignment-X = error

Tiny example?
sja
Am 12.06.2015 um 17:15 schrieb Daniel Rosen:


DR





___

lilypond-user mailing list

lilypond-user@gnu.orgmailto:lilypond-user@gnu.org

https://lists.gnu.org/mailman/listinfo/lilypond-user

---BeginMessage---
Accidentally hit the send button prematurely; sorry.

This code:



\version 2.19.21

\new Staff \with { \remove Time_signature_engraver }

{

  \once \override TextScript.self-alignment-X = 0

  g^TextTextTextTextText

}



Yields the attached popup window (similar to the one I reported a few minutes 
ago).



Is this a bug?



DR



From: Daniel Rosen
Sent: Friday, June 12, 2015 11:16 AM
To: lilypond-user Mailing List (lilypond-user@gnu.org)
Subject: \remove Time_signature_engraver + \override 
TextScript.self-alignment-X = error







DR



---End Message---
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


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

2014-06-10 Thread Daniel Rosen
 -Original Message-
 From: Phil Holmes [mailto:m...@philholmes.net]
 Sent: Tuesday, June 10, 2014 4:00 AM
 To: Phil Holmes; Daniel Rosen; lilypond-user@gnu.org
 Subject: Re: One of these things just isn't the same
 
 - Original Message -
 From: Phil Holmes m...@philholmes.net
 To: Daniel Rosen drose...@gmail.com; lilypond-user@gnu.org
 Sent: Tuesday, June 10, 2014 8:25 AM
 Subject: Re: One of these things just isn't the same
 
 
  - Original Message -
  From: Daniel Rosen drose...@gmail.com
  To: lilypond-user@gnu.org
  Sent: Monday, June 09, 2014 9:35 PM
  Subject: One of these things just isn't the same
 
 
  \version 2.19.7
 
  { f4- fis- fes- f!- }
 
  Why is the accent on the final note (the one with the natural sign before
  it) so much farther away from its parent NoteHead than the others? Is
  this a known issue?
 
  DR
 
 
  Well, the obvious and simple answer is that it's to allow space for the
  natural sign.  None of the other accidentals have strokes on the left of
  the glyph.

Well, I suppose that makes sense, but it still looks Extremely Ugly to me. Does 
anyone else agree?
 
 That is: on the right.  Never was very good with left and right.

Understandable. I still have to look at my hands sometimes. :-P

DR 

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


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

2014-06-10 Thread Daniel Rosen
On Tue, Jun 10, 2014 at 10:18 AM, David Nalesnik 
david.nales...@gmail.commailto:david.nales...@gmail.com wrote:
 Hi Daniel,

 On Tue, Jun 10, 2014 at 7:35 AM, Daniel Rosen 
 drose...@gmail.commailto:drose...@gmail.com 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...

 To clarify: in the context you provide it looks rather out-of-place, but for 
 an isolated instance I think it's OK.  Perhaps there should be an option to 
 allow accents to shift right a tiny bit in the case of a collision (i.e., to 
 match the value of horizon-padding which would result in vertical 
 displacement).   I prefer the look gotten with \offset X-offset #0.1.

 --David

That’s probably what I would have suggested.

DR

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


One of these things just isn't the same

2014-06-09 Thread Daniel Rosen
\version 2.19.7

{ f4- fis- fes- f!- }

Why is the accent on the final note (the one with the natural sign before it) 
so much farther away from its parent NoteHead than the others? Is this a known 
issue?

DR


___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


RE: LilyJAZZ in v2.18

2014-05-25 Thread Daniel Rosen
 From: Pierre Perol-Schneider [mailto:pierre.schneider.pa...@gmail.com] 
 Sent: Sunday, May 25, 2014 5:51 AM
 To: MarcM
 Cc: lilypond-user
 Subject: Re: LilyJAZZ in v2.18
 
 2014-05-15 16:05 GMT+02:00 MarcM m...@mouries.net:
  if the work is open source, can LilyJAZZ be integrated with Lilypond?
 
 I think  we are a little far from that.
 
Urs, can it now at least be safely included in OpenLilyLib?

DR
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


RE: lilypond-announce

2014-04-30 Thread Daniel Rosen
Weird, I could have sworn that I had checked for them on Gmane and that they 
weren't there, but apparently I didn't because they are. However, there does 
appear to be a problem with Gmane's RSS feed 
(http://rss.gmane.org/gmane.comp.gnu.lilypond.announce):

rdf:RDF xmlns:rdf=http://www.w3.org/1999/02/22-rdf-syntax-ns#; 
xmlns=http://purl.org/rss/1.0/; 
xmlns:taxo=http://purl.org/rss/1.0/modules/taxonomy/xmlns:dc=http://purl.org/dc/elements/1.1/;
 xmlns:syn=http://purl.org/rss/1.0/modules/syndication/; 
xmlns:admin=http://webns.net/mvcb/;
  channel 
rdf:about=http://permalink.gmane.org/gmane.comp.gnu.lilypond.announce;
titlegmane.comp.gnu.lilypond.announce/title
link
  http://permalink.gmane.org/gmane.comp.gnu.lilypond.announce
/link
description/
syn:updatePeriodhourly/syn:updatePeriod
  syn:updateFrequency1/syn:updateFrequency
  syn:updateBase1901-01-01T00:00+00:00/syn:updateBase
  items
rdf:Seq
  rdf:li 
rdf:resource=http://permalink.gmane.org/gmane.comp.gnu.lilypond.announce/599/
  rdf:li 
rdf:resource=http://permalink.gmane.org/gmane.comp.gnu.lilypond.announce/598/
  rdf:li 
rdf:resource=http://permalink.gmane.org/gmane.comp.gnu.lilypond.announce/597/
...

DR

From: Phil Holmes [mailto:m...@philholmes.net]
Sent: Tuesday, April 29, 2014 6:18 PM
To: Daniel Rosen; lilypond-user@gnu.org
Subject: Re: lilypond-announce

I sent notifications for both, and I received them back from the mailing list.  
07/04/14 08:18 and 21/04/14 08:34.

--
Phil Holmes


- Original Message -
From: Daniel Rosenmailto:drose...@gmail.com
To: lilypond-user Mailing 
List(lilypond-user@gnu.org)mailto:lilypond-user@gnu.org)
Sent: Tuesday, April 29, 2014 10:12 PM
Subject: lilypond-announce

I subscribe to the lilypond-announce list's RSS feed so that I can get 
reliable, timely notifications of new versions being released, but the list was 
silent for each of the two most recent releases (2.19.4 or 2.19.5). Was this 
just an oversight?

DR


___
lilypond-user mailing list
lilypond-user@gnu.orgmailto: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-announce

2014-04-29 Thread Daniel Rosen
I subscribe to the lilypond-announce list's RSS feed so that I can get 
reliable, timely notifications of new versions being released, but the list was 
silent for each of the two most recent releases (2.19.4 or 2.19.5). Was this 
just an oversight?

DR

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


RE: Newbie problem in my first or second score

2014-04-21 Thread Daniel Rosen
That was an accepted notational practice at the time for appoggiaturas. There's 
a pretty interesting discussion of this in the New Grove Dictionary of Music 
and Musicians article on Ornaments, § 9.i.

DR

From: Steve Lane [mailto:sl...@soliantconsulting.com]
Sent: Monday, April 21, 2014 9:12 AM
To: lilypond-user@gnu.org
Subject: Re: Newbie problem in my first or second score

Thanks, David and Federico - easy fix! All layout engines have their 
architectural weak spots, so that 's no surprise I guess.

I guess the rendering of that first sixteenth as a grace note in this piece is 
somewhat arbitrary anyway, since the first measure is always playes simply as 
four sixteenths. Doubtless some historical reason.

Thanks again,

SGL

From: David Nalesnik david.nales...@gmail.commailto:david.nales...@gmail.com
Date: Monday, April 21, 2014 8:08 AM
To: Steve Lane sl...@soliantconsulting.commailto:sl...@soliantconsulting.com
Cc: lilypond-user@gnu.orgmailto:lilypond-user@gnu.org 
lilypond-user@gnu.orgmailto:lilypond-user@gnu.org
Subject: Re: Newbie problem in my first or second score

Hi Steve,

On Mon, Apr 21, 2014 at 7:02 AM, Steve Lane 
sl...@soliantconsulting.commailto:sl...@soliantconsulting.com 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 the bass clef first 
displaying as treble, then adding a bass clef in:

[cid:image001.png@01CF5D88.2B54B1E0]

The code is as follows (I didn't see how to make it tinier):

\version 2.18.2
\include english.lyhttp://english.ly

keyTime = { \key bf \major \time 4/4 }

upper = \relative c''' {
  \partial 4 \grace g16 f8 ef16 d |
}

lower = {
  \partial 4 r4 |
}

\score {
  \new PianoStaff 
\new Staff = upper { \clef treble \keyTime \upper }
\new Staff = lower { \clef bass \keyTime  \lower }
  
}


Any help appreciated :-)


Welcome to LilyPond!

Sorry you had to discover so quickly perhaps the most persistent bug in the 
program.

It's easily fixed, though: add a corresponding grace spacer to the other part 
at the same point.

\partial 4 \grace s16 r4

--David

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


RE: MetronomeMark aligned to accidentals

2014-04-07 Thread Daniel Rosen
 -Original Message-
 From: Trevor Daniels [mailto:t.dani...@treda.co.uk]
 Sent: Monday, April 07, 2014 6:43 AM
 To: David Nalesnik
 Cc: Daniel Rosen; lilypond-user
 Subject: Re: MetronomeMark aligned to accidentals
 
 
 David, you wrote Monday, April 07, 2014 12:54 AM
 
  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 AccidentalPlacement
  grob.  If it finds it, it calculates the extent of all the accidentals
  and sets X-offset based on this.
 
  Hope this helps.  Let me know if you run into problems with it.
 
 That looks pretty good to me, thanks David.
 
 Trevor

+1
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


RE: MetronomeMark aligned to accidentals

2014-04-06 Thread Daniel Rosen
 -Original Message-
 From: Trevor Daniels [mailto:t.dani...@treda.co.uk]
 Sent: Saturday, April 05, 2014 6:24 PM
 To: Daniel Rosen; lilypond-user@gnu.org
 Subject: Re: MetronomeMark aligned to accidentals
 
 
 Daniel, you wrote Saturday, April 05, 2014 1:44 PM
 
  I would like the MetronomeMark to be aligned with the left edge of the
 leftmost Accidental (almost with the BarLine, but not quite). I've been trying
 to manipulate the Score.MetronomeMark.non-break-align-symbols
 property, but to no avail (I'm not sure I quite understand how that property
 works; it's a little unclear to me in the IR). Can anyone steer me in the 
 right
 direction?
 
 I think you'll find all you need to know in the following section.  You can't 
 align
 to an accidental using this, but by using an offset from an alignment to the
 bar line anchor you may be able to achieve the positioning you want.
 
 http://www.lilypond.org/doc/v2.17/Documentation/notation/aligning-
 objects#using-the-break_002dalignable_002dinterface
 
 Trevor

Thanks, that should do fine as a workaround.

Does anyone else agree that the behavior I'm suggesting should be the default? 
We've heard from Elaine Gould thanks to Brian, but she's not the end-all 
be-all, so I don't want to ask that this be added as a bug without some kind of 
consensus.

DR

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


RE: MetronomeMark aligned to accidentals

2014-04-06 Thread Daniel Rosen
 -Original Message-
 From: Trevor Daniels [mailto:t.dani...@treda.co.uk]
 Sent: Saturday, April 05, 2014 6:24 PM
 To: Daniel Rosen; lilypond-user@gnu.org
 Subject: Re: MetronomeMark aligned to accidentals
 
 
 Daniel, you wrote Saturday, April 05, 2014 1:44 PM
 
  I would like the MetronomeMark to be aligned with the left edge of the
 leftmost Accidental (almost with the BarLine, but not quite). I've been trying
 to manipulate the Score.MetronomeMark.non-break-align-symbols
 property, but to no avail (I'm not sure I quite understand how that property
 works; it's a little unclear to me in the IR). Can anyone steer me in the 
 right
 direction?
 
 I think you'll find all you need to know in the following section.  You can't 
 align
 to an accidental using this, but by using an offset from an alignment to the
 bar line anchor you may be able to achieve the positioning you want.
 
 http://www.lilypond.org/doc/v2.17/Documentation/notation/aligning-
 objects#using-the-break_002dalignable_002dinterface
 
 Trevor

I've tried this based on the page you linked me to above, but it's not working. 
What am I missing here? 

\version 2.19.3
{
  R1 |
  \override Score.MetronomeMark.break-align-symbols = #'(key-signature)
  \tempo Tempo
  as' bes'
}

DR

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


MetronomeMark aligned to accidentals

2014-04-05 Thread Daniel Rosen
Consider the following example:

\version 2.19.3
{
  R1 |
  \tempo Tempo
  as' bes'
}

I would like the MetronomeMark to be aligned with the left edge of the leftmost 
Accidental (almost with the BarLine, but not quite). I've been trying to 
manipulate the Score.MetronomeMark.non-break-align-symbols property, but to no 
avail (I'm not sure I quite understand how that property works; it's a little 
unclear to me in the IR). Can anyone steer me in the right direction?

DR



___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


RE: MetronomeMark aligned to accidentals

2014-04-05 Thread Daniel Rosen
Well, yes, that is one option, but it’s not one I love for two reasons: 1) it’s 
kludgy, and 2) I think that maybe LilyPond should do what I’m describing by 
default. The current default output looks very odd to me (although it could be 
just me).

DR

From: Pierre Perol-Schneider [mailto:pierre.schneider.pa...@gmail.com]
Sent: Saturday, April 05, 2014 9:53 AM
To: Daniel Rosen
Cc: lilypond-user@gnu.org
Subject: Re: MetronomeMark aligned to accidentals

2014-04-05 14:44 GMT+02:00 Daniel Rosen 
drose...@gmail.commailto:drose...@gmail.com:
Consider the following example:

\version 2.19.3
{
  R1 |
  \tempo Tempo
  as' bes'
}

I would like the MetronomeMark to be aligned with the left edge of the leftmost 
Accidental (almost with the BarLine, but not quite). I've been trying to 
manipulate the Score.MetronomeMark.non-break-align-symbols property, but to no 
avail (I'm not sure I quite understand how that property works; it's a little 
unclear to me in the IR). Can anyone steer me in the right direction?

DR

I'm not sure I can help in detail...
For one shot :

\version 2.19.3

{

R1 |

\tweak X-offset #-2.5 \tempo Tempo

as' bes'

}

 % or

{

R1 |

\once\override Score.MetronomeMark.self-alignment-X = #-0.3

\tempo Tempo

as' bes'

}



HTH,

Pierre

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


RE: Ties across voices

2014-04-05 Thread Daniel Rosen
 -Original Message-
 From: Nick Payne [mailto:nick.pa...@internode.on.net]
 Sent: Sunday, March 30, 2014 11:54 PM
 To: lilypond-user@gnu.org
 Subject: Re: Ties across voices
 
 On 31/03/14 10:56, Daniel Rosen wrote:
  Consider the example below:
 
  \version 2.19.3
 
  \new Staff 
 \new Voice \relative c'' { \voiceOne c4~ c d, c }
 \new Voice \relative c' { \voiceTwo c d8 q
  
  How can I tie the lower voice's c d to the upper voice's c d, c?
 
 You could use a third hidden voice:
 
 \version 2.19.3
 
 transOn = {
\override NoteColumn.ignore-collision = ##t
\override NoteHead.no-ledgers = ##t
\hide NoteHead
\hide Stem
\hide Flag
\hide Beam
\hide Dots
\hide Accidental
\hide TupletBracket
\hide TupletNumber
 }
 
 transOff = {
\revert NoteColumn.ignore-collision
\revert NoteHead.no-ledgers
\revert NoteHead.transparent
\revert Stem.transparent
\revert Beam.transparent
\revert Flag.transparent
\revert Dots.transparent
\revert Accidental.transparent
\revert TupletBracket.transparent
\revert TupletNumber.transparent
 }
 
 \new Staff 
\new Voice \relative c'' { \voiceOne c4~ c d, c }
\new Voice \relative c' { \voiceTwo c d8 q }
\new Voice \relative c' { \voiceThree \transOn s8 c_~ d^~ q }  
 

Aha! I was doing something similar to this without adding a third voice; the 
addition of \override NoteColumn.ignore-collision = ##t (I didn't even know 
that property existed) makes it work now:

\version 2.19.3
\new Staff 
   \new Voice \relative c'' {
 \voiceOne c4~ \oneVoice c d, c
   }
   \new Voice \relative c' {
 \voiceTwo c d8 q~
 \oneVoice \once \omit Stem \once \hideNotes
 \once \override NoteColumn.ignore-collision = ##t
 q4
   }


Thanks!

DR

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Fermata colliding with Beam

2014-04-05 Thread Daniel Rosen
\version 2.19.3
{ \stemUp a''8[ f']\fermata }

Is this a bug?

DR



___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


RE: MetronomeMark aligned to accidentals

2014-04-05 Thread Daniel Rosen
I should also mention that aligning the MetronomeMark with the BarLine would be 
fine as a workaround for now, but I can’t figure out how to do that either.

DR

From: Daniel Rosen
Sent: Saturday, April 05, 2014 10:25 AM
To: 'Pierre Perol-Schneider'
Cc: lilypond-user@gnu.org
Subject: RE: MetronomeMark aligned to accidentals

Well, yes, that is one option, but it’s not one I love for two reasons: 1) it’s 
kludgy, and 2) I think that maybe LilyPond should do what I’m describing by 
default. The current default output looks very odd to me (although it could be 
just me).

DR

From: Pierre Perol-Schneider [mailto:pierre.schneider.pa...@gmail.com]
Sent: Saturday, April 05, 2014 9:53 AM
To: Daniel Rosen
Cc: lilypond-user@gnu.orgmailto:lilypond-user@gnu.org
Subject: Re: MetronomeMark aligned to accidentals

2014-04-05 14:44 GMT+02:00 Daniel Rosen 
drose...@gmail.commailto:drose...@gmail.com:
Consider the following example:

\version 2.19.3
{
  R1 |
  \tempo Tempo
  as' bes'
}

I would like the MetronomeMark to be aligned with the left edge of the leftmost 
Accidental (almost with the BarLine, but not quite). I've been trying to 
manipulate the Score.MetronomeMark.non-break-align-symbols property, but to no 
avail (I'm not sure I quite understand how that property works; it's a little 
unclear to me in the IR). Can anyone steer me in the right direction?

DR

I'm not sure I can help in detail...
For one shot :

\version 2.19.3

{

R1 |

\tweak X-offset #-2.5 \tempo Tempo

as' bes'

}

 % or

{

R1 |

\once\override Score.MetronomeMark.self-alignment-X = #-0.3

\tempo Tempo

as' bes'

}



HTH,

Pierre

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


RE: Issue with downloaded manuals

2014-04-05 Thread Daniel Rosen
 From: Peter Toye [mailto:lilyp...@ptoye.com] 
 Sent: Saturday, April 05, 2014 11:42 AM
 To: lilypond-user@gnu.org
 Subject: Issue with downloaded manuals
 
 I've downloaded the big file HTML version of some manuals, and the links in 
 the table of contents frame to the left of the window refer to the LilyPond 
 web site, rather than the local copy. The links in the main text refer to the 
 local copy. This is a bit of a pain if the internet's being slow (or possibly 
 it's the servers), as well as a bit confusing.
 
 Is this meant to happen?
 
 The manuals I've tried are the learning, motation and internals.
 
 
 Regards,
 
 Peter
 mailto:lilyp...@ptoye.com
 www.ptoye.com

Try downloading the doc tarball instead (stable: 
http://www.lilypond.org/download/binaries/documentation/lilypond-2.18.2-1.documentation.tar.bz2;
 unstable: 
http://www.lilypond.org/download/binaries/documentation/lilypond-2.19.3-1.documentation.tar.bz2).
 Extract, extract again, open ~/share/doc/lilypond/html/index.html and navigate 
just like you would on the website. It's a lot more data to download, and it'll 
take a few minutes to extract, but it's probably the simplest way to do what 
you're asking (I won't say it's the only way since I don't know that it is).

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


RE: MetronomeMark aligned to accidentals

2014-04-05 Thread Daniel Rosen
 -Original Message-
 From: Brian Barker [mailto:b.m.bar...@btinternet.com]
 Sent: Saturday, April 05, 2014 1:47 PM
 To: Daniel Rosen
 Subject: RE: MetronomeMark aligned to accidentals
 
 At 14:25 05/04/2014 +, you wrote:
 ... I think that maybe LilyPond should do what I'm describing by
 default. The current default output looks very odd to me (although it
 could be just me).
 
 No, its not just you; here's Elaine Gould at page 183:
 
 When a tempo marking coincides with a time signature indication, align the
 tempo with the left edge of the time signature.
 When there is no new time signature, align the tempo marking with the first
 element of the notation (e.g. a note or accidental) after the clef and key
 signature. Note that when the tempo change is at the start of the bar, the
 marking is not placed on the barline.
 
 Brian Barker - privately

Thanks, Brian. Since you agreed with me (off-list) that this is useful 
information for the list to have, I'm forwarding it to them.

DR

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


RE: The pleasantry of Lilyponding

2014-04-02 Thread Daniel Rosen
 -Original Message-
 From: Simon Albrecht [mailto:simon.albre...@mail.de]
 Sent: Tuesday, April 01, 2014 10:42 AM
 To: lilypond user list
 Subject: The pleasantry of Lilyponding
 
 Hello Lilypond aficionados,
 
 It’s like a mixture of a logical
 puzzle and a strategy game, with the pleasant side effect that it is not just 
 for
 fun, but you get a result which can be ported to real life and has an actual 
 use
 for other people! Besides some bit of artwork continues to live in there, only
 it’s not achieved through handicraft as in earlier centuries, but through 
 logics,
 computing and (more or less industrial) printing. While working on your files,
 you may enjoy some of the music you’re typesetting, plus the beauty of
 Lilypond’s music engraving.
 So after all it is not as nerdy as may seem…
 
 All the best,
 Simon
 

Right, because logical puzzle and strategy video games aren't nerdy at all. :-P

DR
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Ties across voices

2014-03-30 Thread Daniel Rosen
Consider the example below:

\version 2.19.3

\new Staff 
  \new Voice \relative c'' { \voiceOne c4~ c d, c }
  \new Voice \relative c' { \voiceTwo c d8 q }


How can I tie the lower voice's c d to the upper voice's c d, c? 

DR


___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


How do I write this in chordmode?

2014-03-18 Thread Daniel Rosen
\version 2.19.3
{ e' g' b' e'' }

DR



___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


RE: How do I write this in chordmode?

2014-03-18 Thread Daniel Rosen
 -Original Message-
 From: Alexander Kobel [mailto:n...@a-kobel.de]
 Sent: Tuesday, March 18, 2014 11:32 AM
 To: Daniel Rosen; lilypond-user@gnu.org
 Subject: Re: How do I write this in chordmode?
 
 On 03/18/2014 04:25 PM, Daniel Rosen wrote:
  \version 2.19.3
  { e' g' b' e'' }
 
 \chordmode { e:m8^7 }
 
 HTH,
 Alexander

Thanks, Alex. I'm not quite sure why e:m8 includes the 7th at all, though, or 
why e:m.8 is invalid...

DR 
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


RE: Lilypond Snippet Repository

2014-03-14 Thread Daniel Rosen
 From: Pierre Perol-Schneider [mailto:pierre.schneider.pa...@gmail.com] 
 Sent: Thursday, March 13, 2014 9:26 AM
 To: Daniel Rosen
 Cc: brentboylan; lilypond-user@gnu.org
 Subject: Re: Lilypond Snippet Repository
 
 2014-03-13 14:06 GMT+01:00 Daniel Rosen drose...@gmail.com:
 
  Not for me... I see a blank page.
 
 'still working,  be patient...

Not a problem. From the conversation it seemed like it was supposed to have 
been fixed, it just didn't appear to be. I have no urgent need to use the LSR 
myself. :-P

DR
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


RE: Lilypond Snippet Repository

2014-03-13 Thread Daniel Rosen
 -Original Message-
 From: brentboylan [mailto:brent.boy...@outlook.com]
 Sent: Wednesday, March 12, 2014 7:16 PM
 To: lilypond-user@gnu.org
 Subject: Re: Lilypond Snippet Repository
 
 Thanks, it's working fine now.
 
 
 
 --
 View this message in context:
 http://lilypond.1069038.n5.nabble.com/Lilypond-Snippet-Repository-
 tp160345p160383.html
 Sent from the User mailing list archive at Nabble.com.
 

Not for me... I see a blank page.

DR

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


RE: dynamics did not print

2014-03-08 Thread Daniel Rosen
 From: MING TSANG [mailto:tsan...@rogers.com] 
 Sent: Saturday, March 08, 2014 12:23 PM
 To: lilypond-user mailinglist
 Subject: Re: dynamics did not print
 
 sorry, I hit send before include files.
 Here they are: 

If you try to make your example more minimal, you may figure out the issue on 
your own. 9 times out of 10 when I start writing an email to the list I never 
send it because I uncover the issue while creating a tiny example. 
http://www.lilypond.org/tiny-examples.html

 On Saturday, March 8, 2014 12:19:17 PM, MING TSANG tsan...@rogers.com wrote:
 Hi, lilyponders,
 I have two Dynamics - one for choir staff (coded  above soprano) and one for 
 piano staff (coded in between right-hand and left-hand.
 But when I compile the .ly file I only see piano Dynamics.  I cannot find 
 chord Dynamics.
 I also just display the two Dynamics, they both display in .pdf. What is 
 missing in my .ly file?
 Here is the sample .ly file.


___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


RE: Producing Strumming Pattern Examples

2014-03-08 Thread Daniel Rosen
 From: Pierre Perol-Schneider [mailto:pierre.schneider.pa...@gmail.com] 
 Sent: Friday, March 07, 2014 1:53 PM
 To: Kevin Tough
 Cc: LilypondMailingListGenUser
 Subject: Re: Producing Strumming Pattern Examples
 
 2014-03-07 19:30 GMT+01:00 Kevin Tough ke...@toughlife.org:
 
   I suspect with markup one could make the upbow or downbow bold or not 
  to
  suggest how hard to strum.
 
 No you couldn't.
  If one could change the color perhaps to indicate the force of the strum 
  would also work.
 
 Yes you could.
 
Why not indicate this with dynamics?

DR
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


RE: dynamics did not print

2014-03-08 Thread Daniel Rosen
Be sure to copy the list on replies.

DR

From: Yming [mailto:tsan...@rogers.com]
Sent: Saturday, March 08, 2014 5:13 PM
To: Daniel Rosen
Subject: RE: dynamics did not print

I don't think I can code 10 lines of code too demonstrate the problem that I 
encounter. Sorry for the inconvenience that may cause lilyponders.
Sent from my NOOK

Daniel Rosen drose...@gmail.commailto:drose...@gmail.com wrote:
From the page that I linked you to: “Very few tiny examples exceed 10 lines of 
code - quite often 4 lines are enough to demonstrate the problem!”

DR

From: MING TSANG [mailto:tsan...@rogers.com]
Sent: Saturday, March 08, 2014 1:37 PM
To: Daniel Rosen; lilypond-user mailinglist
Subject: Re: dynamics did not print

Hi Daniel,
I do the same. I cut down as much and still cannot discover where is the 
missing element.  My original score has 59 measures.
Emmanuel,
Ming

On Saturday, March 8, 2014 1:24:05 PM, Daniel Rosen 
drose...@gmail.commailto:drose...@gmail.com wrote:
 From: MING TSANG [mailto:tsan...@rogers.commailto:tsan...@rogers.com]
 Sent: Saturday, March 08, 2014 12:23 PM
 To: lilypond-user mailinglist
 Subject: Re: dynamics did not print

 sorry, I hit send before include files.
 Here they are:

If you try to make your example more minimal, you may figure out the issue on 
your own. 9 times out of 10 when I start writing an email to the list I never 
send it because I uncover the issue while creating a tiny example. 
http://www.lilypond.org/tiny-examples.html


 On Saturday, March 8, 2014 12:19:17 PM, MING TSANG 
 tsan...@rogers.commailto:tsan...@rogers.com wrote:
 Hi, lilyponders,
 I have two Dynamics - one for choir staff (coded  above soprano) and one for 
 piano staff (coded in between right-hand and left-hand.
 But when I compile the .ly file I only see piano Dynamics.  I cannot find 
 chord Dynamics.
 I also just display the two Dynamics, they both display in .pdf. What is 
 missing in my .ly file?
 Here is the sample .ly file.

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


RE: dynamics did not print

2014-03-08 Thread Daniel Rosen
I think you can. The piano part is not part of the issue, so you could start by 
removing everything to do with that.

DR

From: Daniel Rosen
Sent: Saturday, March 08, 2014 5:14 PM
To: 'Yming'
Cc: lilypond-user@gnu.org
Subject: RE: dynamics did not print

Be sure to copy the list on replies.

DR

From: Yming [mailto:tsan...@rogers.com]
Sent: Saturday, March 08, 2014 5:13 PM
To: Daniel Rosen
Subject: RE: dynamics did not print

I don't think I can code 10 lines of code too demonstrate the problem that I 
encounter. Sorry for the inconvenience that may cause lilyponders.
Sent from my NOOK

Daniel Rosen drose...@gmail.commailto:drose...@gmail.com wrote:
From the page that I linked you to: “Very few tiny examples exceed 10 lines of 
code - quite often 4 lines are enough to demonstrate the problem!”

DR

From: MING TSANG [mailto:tsan...@rogers.com]
Sent: Saturday, March 08, 2014 1:37 PM
To: Daniel Rosen; lilypond-user mailinglist
Subject: Re: dynamics did not print

Hi Daniel,
I do the same. I cut down as much and still cannot discover where is the 
missing element.  My original score has 59 measures.
Emmanuel,
Ming

On Saturday, March 8, 2014 1:24:05 PM, Daniel Rosen 
drose...@gmail.commailto:drose...@gmail.com wrote:
 From: MING TSANG [mailto:tsan...@rogers.commailto:tsan...@rogers.com]
 Sent: Saturday, March 08, 2014 12:23 PM
 To: lilypond-user mailinglist
 Subject: Re: dynamics did not print

 sorry, I hit send before include files.
 Here they are:

If you try to make your example more minimal, you may figure out the issue on 
your own. 9 times out of 10 when I start writing an email to the list I never 
send it because I uncover the issue while creating a tiny example. 
http://www.lilypond.org/tiny-examples.html


 On Saturday, March 8, 2014 12:19:17 PM, MING TSANG 
 tsan...@rogers.commailto:tsan...@rogers.com wrote:
 Hi, lilyponders,
 I have two Dynamics - one for choir staff (coded  above soprano) and one for 
 piano staff (coded in between right-hand and left-hand.
 But when I compile the .ly file I only see piano Dynamics.  I cannot find 
 chord Dynamics.
 I also just display the two Dynamics, they both display in .pdf. What is 
 missing in my .ly file?
 Here is the sample .ly file.

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


RE: dynamics did not print

2014-03-08 Thread Daniel Rosen
Did you compile the example without the piano part? When I did, the choir 
dynamics all showed up.

DR

From: MING TSANG [mailto:tsan...@rogers.com]
Sent: Saturday, March 08, 2014 5:58 PM
To: Daniel Rosen
Cc: lilypond-user@gnu.org
Subject: Re: dynamics did not print

Daniel,
Thank you for challenge me to reduce the code.  I manage to further reduce it 
to 53 lines.
What a joy to know I can do it.  Thank you for your encouragement.
Sorry about my previous email. I use nook to do reply all. Somehow it did not 
include the lists.
Emmanuel,
Ming

On Saturday, March 8, 2014 5:19:03 PM, Daniel Rosen 
drose...@gmail.commailto:drose...@gmail.com wrote:
I think you can. The piano part is not part of the issue, so you could start by 
removing everything to do with that.

DR

From: Daniel Rosen
Sent: Saturday, March 08, 2014 5:14 PM
To: 'Yming'
Cc: lilypond-user@gnu.orgmailto:lilypond-user@gnu.org
Subject: RE: dynamics did not print

Be sure to copy the list on replies.

DR

From: Yming [mailto:tsan...@rogers.com]
Sent: Saturday, March 08, 2014 5:13 PM
To: Daniel Rosen
Subject: RE: dynamics did not print

I don't think I can code 10 lines of code too demonstrate the problem that I 
encounter. Sorry for the inconvenience that may cause lilyponders.
Sent from my NOOK

Daniel Rosen drose...@gmail.commailto:drose...@gmail.com wrote:
From the page that I linked you to: “Very few tiny examples exceed 10 lines of 
code - quite often 4 lines are enough to demonstrate the problem!”

DR

From: MING TSANG [mailto:tsan...@rogers.com]
Sent: Saturday, March 08, 2014 1:37 PM
To: Daniel Rosen; lilypond-user mailinglist
Subject: Re: dynamics did not print

Hi Daniel,
I do the same. I cut down as much and still cannot discover where is the 
missing element.  My original score has 59 measures.
Emmanuel,
Ming

On Saturday, March 8, 2014 1:24:05 PM, Daniel Rosen 
drose...@gmail.commailto:drose...@gmail.com wrote:
 From: MING TSANG [mailto:tsan...@rogers.commailto:tsan...@rogers.com]
 Sent: Saturday, March 08, 2014 12:23 PM
 To: lilypond-user mailinglist
 Subject: Re: dynamics did not print

 sorry, I hit send before include files.
 Here they are:

If you try to make your example more minimal, you may figure out the issue on 
your own. 9 times out of 10 when I start writing an email to the list I never 
send it because I uncover the issue while creating a tiny example. 
http://www.lilypond.org/tiny-examples.html


 On Saturday, March 8, 2014 12:19:17 PM, MING TSANG 
 tsan...@rogers.commailto:tsan...@rogers.com wrote:
 Hi, lilyponders,
 I have two Dynamics - one for choir staff (coded  above soprano) and one for 
 piano staff (coded in between right-hand and left-hand.
 But when I compile the .ly file I only see piano Dynamics.  I cannot find 
 chord Dynamics.
 I also just display the two Dynamics, they both display in .pdf. What is 
 missing in my .ly file?
 Here is the sample .ly file.


___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


RE: Errors running lilypond-book

2014-03-04 Thread Daniel Rosen
 -Original Message-
 From: David Kastrup [mailto:d...@gnu.org]
 Sent: Tuesday, February 25, 2014 10:09 AM
 To: Daniel Rosen
 Cc: Phil Holmes; LilyPond User Group
 Subject: Re: Errors running lilypond-book
 
 Since I do not have an idea about the anatomy of a Windows installation, we
 will depend on
 
 a) you figuring out what other copy of book_latex.py you should rather have
 patched
 b) someone else figuring this out
 c) a release of 2.19.3 after which we'll get more definite feedback.
 
 --
 David Kastrup

I've just downloaded 2.19.3 and tried again, and while the error output no 
longer mentions TEXINPUTS, most of the text remains the same (I've attached my 
original bug report for convenient comparison, and once again redacted my 
username from the file path):

c:\Users\...\Desktop\Downloadslilypond-book --output=out --pdf lilybook.lytex
lilypond-book.py (GNU LilyPond) 2.19.3
Reading lilybook.lytex...
Running `pdflatex' on file `c:\users\...\appdata\local\temp\tmpi8u3bh.tex' to 
detect default page settings.

Dissecting...
lilypond-book.py: error: file not found: screech-and-boink.ly

Traceback (most recent call last):
  File C:\Program Files\LilyPond\usr\bin\lilypond-book.py, line 776, in ?
main ()
  File C:\Program Files\LilyPond\usr\bin\lilypond-book.py, line 759, in main
chunks = do_file (files[0])
  File C:\Program Files\LilyPond\usr\bin\lilypond-book.py, line 611, in 
do_file
chunks = find_toplevel_snippets (source, global_options.formatter)
  File C:\Program Files\LilyPond\usr\bin\lilypond-book.py, line 362, in 
find_toplevel_snippets
snip = klass (type, m, formatter, line_number, global_options)
  File C:\Program 
Files\LilyPond\usr\share\lilypond\current\python\book_snippets.py, line 815, 
in __init__
global_options.include_path, global_options.original_dir)).read ()
  File C:\Program 
Files\LilyPond\usr\share\lilypond\current\python\book_base.py, line 27, in 
find_file
exit (1)
TypeError: 'str' object is not callable
---BeginMessage---
I'm trying to follow the tutorial at 
http://www.lilypond.org/doc/v2.18/Documentation/usage/an-example-of-a-musicological-document;
 I run Windows 7 x86. When I run the command it tells me to (lilypond-book 
--output=out --pdf lilybook.lytex), here's what I get (I've redacted my 
username from the temp file path):

lilypond-book.py (GNU LilyPond) 2.18.0
Reading lilybook.lytex...
Running `pdflatex' on file `c:\users\...\appdata\local\temp\tmpfvqw3p.tex' to
 detect default page settings.

'TEXINPUTS' is not recognized as an internal or external command,
operable program or batch file.
lilypond-book.py: warning: Unable to auto-detect default settings:

lilypond-book.py: warning: cannot detect textwidth from LaTeX
Dissecting...
lilypond-book.py: error: file not found: screech-and-boink.ly

Traceback (most recent call last):
  File C:\Program Files\LilyPond\usr\bin\lilypond-book.py, line 776, in ?
main ()
  File C:\Program Files\LilyPond\usr\bin\lilypond-book.py, line 759, in main
chunks = do_file (files[0])
  File C:\Program Files\LilyPond\usr\bin\lilypond-book.py, line 611, in do_fil
e
chunks = find_toplevel_snippets (source, global_options.formatter)
  File C:\Program Files\LilyPond\usr\bin\lilypond-book.py, line 362, in find_t
oplevel_snippets
snip = klass (type, m, formatter, line_number, global_options)
  File out/book_snippets.py, line 815, in __init__
  File out/book_base.py, line 27, in find_file
TypeError: 'str' object is not callable

How do I get this to work?

DR
---End Message---
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


RE: Errors running lilypond-book

2014-03-04 Thread Daniel Rosen
 -Original Message-
 From: David Kastrup [mailto:d...@gnu.org]
 Sent: Tuesday, March 04, 2014 12:35 PM
 To: Daniel Rosen
 Cc: LilyPond User Group
 Subject: Re: Errors running lilypond-book
  
 At any rate, you are apparently trying to typeset a file screech-and-boink.ly
 that is not in your search path.  Apart from exit
 seemingly going haywire on your system, the problem is the absence of
 screech-and-boink.ly.  What does your lilybook.lytex look like?
 
 --
 David Kastrup

Aha, I figured it out. I copied lilybook.lytex directly from 
http://www.lilypond.org/doc/v2.19/Documentation/usage/an-example-of-a-musicological-document,
 but I overlooked these lines:

 (If needed, replace @file{screech-and-boink.ly} by any @file{.ly} file
 you put in the same directory as this file.)

I did so, and it works now.

DR

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


RE: Errors running lilypond-book

2014-02-25 Thread Daniel Rosen
 -Original Message-
 From: Phil Holmes [mailto:m...@philholmes.net]
 Sent: Tuesday, February 25, 2014 3:35 AM
 To: Daniel Rosen; LilyPond User Group
 Subject: Re: Errors running lilypond-book
 
 - Original Message -
 From: Daniel Rosen drose...@gmail.com
 To: Phil Holmes m...@philholmes.net
 Sent: Monday, February 24, 2014 11:49 PM
 Subject: RE: Errors running lilypond-book
 
 
  -Original Message-
  From: Phil Holmes [mailto:m...@philholmes.net]
  Sent: Monday, February 24, 2014 9:16 AM
  To: Daniel Rosen; David Kastrup
  Cc: bug-lilyp...@gnu.org; lilypond-user@gnu.org
  Subject: Re: Errors running lilypond-book
 
  Go to https://codereview.appspot.com/64380044 and click on
  python/book_latex.py
 
  This will show you a difference between the old version of the file and
  the
  proposed version.  Edit bin/book_latex.py , adding the lines with + on the
  left
  and removing those with -
 
  --
  Phil Holmes
 
 Done. Now what? Running lilypond-book again still yields errors.
 
 lilypond-book.py (GNU LilyPond) 2.18.0
 Reading lilybook.lytex...
 Running `pdflatex' on file `c:\users\...\appdata\local\temp\tmpsw8wzn.tex'
 to detect default page settings.
 
 'TEXINPUTS' is not recognized as an internal or external command,
 operable program or batch file.
 lilypond-book.py: warning: Unable to auto-detect default settings:
 
 lilypond-book.py: warning: cannot detect textwidth from LaTeX
 Dissecting...
 lilypond-book.py: error: file not found: screech-and-boink.ly
 
 Traceback (most recent call last):
   File C:\Program Files\LilyPond\usr\bin\lilypond-book.py, line 776, in ?
 main ()
   File C:\Program Files\LilyPond\usr\bin\lilypond-book.py, line 759, in
 main
 chunks = do_file (files[0])
   File C:\Program Files\LilyPond\usr\bin\lilypond-book.py, line 611, in
 do_file
 chunks = find_toplevel_snippets (source, global_options.formatter)
   File C:\Program Files\LilyPond\usr\bin\lilypond-book.py, line 362, in
 find_toplevel_snippets
 snip = klass (type, m, formatter, line_number, global_options)
   File out/book_snippets.py, line 815, in __init__
   File out/book_base.py, line 27, in find_file
 TypeError: 'str' object is not callable
 
 DR
 
 ==
 
 Please remember always to reply-all

Whoops, my mistake.

 I'm no expert on how -book calculates
 line width.
 
 --
 Phil Holmes

Then I'm confused as to why you had me update bin/book_latex.py at all. The 
output above is exactly the same as what I originally reported: 
http://lists.gnu.org/archive/html/lilypond-user/2014-01/msg00452.html

DR

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


RE: Errors running lilypond-book

2014-02-25 Thread Daniel Rosen
 -Original Message-
 From: Phil Holmes [mailto:m...@philholmes.net]
 Sent: Tuesday, February 25, 2014 9:50 AM
 To: Daniel Rosen; LilyPond User Group
 Subject: Re: Errors running lilypond-book
 
 Then I'm confused as to why you had me update bin/book_latex.py at all.
 The
 output above is exactly the same as what I originally reported:
 http://lists.gnu.org/archive/html/lilypond-user/2014-01/msg00452.html
 
 DR
 =
 
 Because other developers are.  I was talking you through how it might be
 possible for you to provide a testing point for one of them.
 
 
 --
 Phil Holmes

So does that mean that I can tell David I've tested his patch and it doesn't 
work for me?

 DR

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


RE: Errors running lilypond-book

2014-02-24 Thread Daniel Rosen
 -Original Message-
 From: Phil Holmes [mailto:m...@philholmes.net]
 Sent: Sunday, February 23, 2014 10:28 AM
 To: David Kastrup
 Cc: Daniel Rosen; bug-lilyp...@gnu.org; lilypond-user@gnu.org
 Subject: Re: Errors running lilypond-book
 
 - Original Message -
 From: David Kastrup d...@gnu.org
 To: Phil Holmes m...@philholmes.net
 Cc: Daniel Rosen drose...@gmail.com; bug-lilyp...@gnu.org;
 lilypond-user@gnu.org
 Sent: Sunday, February 23, 2014 3:20 PM
 Subject: Re: Errors running lilypond-book
 
 
  Phil Holmes m...@philholmes.net writes:
 
  Original Message -
  From: Daniel Rosen drose...@gmail.com
  To: bug-lilyp...@gnu.org
  Cc: lilypond-user@gnu.org
  Sent: Sunday, February 23, 2014 2:29 PM
  Subject: RE: Errors running lilypond-book
 
 
  -Original Message-
  From: David Kastrup [mailto:d...@gnu.org]
  Sent: Saturday, February 22, 2014 3:08 PM
  To: Daniel Rosen
  Cc: lilypond-user@gnu.org; bug-lilyp...@gnu.org
  Subject: Re: Errors running lilypond-book
 
  Do you have the possibility to check whether the patch in
  URL:http://code.google.com/p/lilypond/issues/detail?id=3874
 would
  fix the problem for you?
 
  Are you asking whether I have the ability to compile LilyPond from
  source? If you are, the answer is no, I unfortunately do not.
 
  You don't need to - it would be good enough to manually edit
  book_latex.py in your bin directory.
 
  I am skeptical whether this would cause Python to recompile
  book_latex.pyc.
 
  --
  David Kastrup
 
 Pretty certain it does: this is how I've experimented with the scripts in the
 past.
 
 --
 Phil Holmes

What changes need to be made, exactly? 

DR

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


RE: Errors running lilypond-book

2014-02-23 Thread Daniel Rosen
 -Original Message-
 From: David Kastrup [mailto:d...@gnu.org]
 Sent: Saturday, February 22, 2014 3:08 PM
 To: Daniel Rosen
 Cc: lilypond-user@gnu.org; bug-lilyp...@gnu.org
 Subject: Re: Errors running lilypond-book
 
 Do you have the possibility to check whether the patch in
 URL:http://code.google.com/p/lilypond/issues/detail?id=3874 would fix
 the problem for you?
 
 --
 David Kastrup

Are you asking whether I have the ability to compile LilyPond from source? If 
you are, the answer is no, I unfortunately do not.

DR

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


RE: devs ask for feedback about RehearsalMark spacing

2014-02-23 Thread Daniel Rosen
 -Original Message-
 From: Janek Warchoł [mailto:janek.lilyp...@gmail.com]
 Sent: Sunday, February 23, 2014 6:45 AM
 To: LilyPond Users
 Subject: devs ask for feedback about RehearsalMark spacing
 
 Hello,
 
 we'd like to learn your opinion about issue 3875
 (http://code.google.com/p/lilypond/issues/detail?id=3875): should there be
 extra space inserted between notes when there's a RehearsalMark inside a
 measure?  (see attachments)
 
 We'd also be grateful if you tested the change on your scores, to make sure
 that there are no unwanted side-effects.  To do so, use this
 override:
 
 \override Score.RehearsalMark #'non-musical = #'()
 
 Looking forward to your feedback,
 Janek

I don't think I've ever seen a mid-measure rehearsal mark in a 
traditionally-engraved piece. Can anyone provide an example?

DR
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


RE: Where is the former manual page ? (2.16.2)

2014-01-13 Thread Daniel Rosen
 From: James Worlton [mailto:jworl...@gmail.com] 
 Sent: Monday, January 13, 2014 10:08 AM
 To: Server Acim
 Cc: lilypond-user
 Subject: Re: Where is the former manual page ? (2.16.2)
 
 
 On Mon, Jan 13, 2014 at 9:03 AM, Server Acim ser...@acim.name.tr wrote:
  Hello,
  I am using LilyPond 2.16.2 in my Linux Mint 16 - Cinnamon Edition. And I
  am not able to find Manual web page for 2.16.2. Where can I rich them from?
 
 There doesn't seem to be a link to it on the Lilypond website, but it still 
 exists here:
 http://lilypond.org/doc/v2.16/Documentation/notation/index.html
 James Worlton

Seems like there should be a link to it at http://www.lilypond.org/all.html. 
(Whoever looks at this may also want to check out the link on that page to the 
2.14 documentation---right now it redirects me to the home page.)

DR
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


RE: Errors running lilypond-book

2014-01-10 Thread Daniel Rosen
 -Original Message-
 From: David Kastrup [mailto:d...@gnu.org]
 Sent: Thursday, January 09, 2014 2:11 PM
 To: Daniel Rosen
 Cc: lilypond-user@gnu.org
 Subject: Re: Errors running lilypond-book
 
 Daniel Rosen drose...@gmail.com writes:
 
  I'm trying to follow the tutorial at
 http://www.lilypond.org/doc/v2.18/Documentation/usage/an-example-of-
 a-musicological-document; I run Windows 7 x86. When I run the command it
 tells me to (lilypond-book --output=out --pdf lilybook.lytex), here's what I
 get (I've redacted my username from the temp file path):
 
  lilypond-book.py (GNU LilyPond) 2.18.0 Reading lilybook.lytex...
  Running `pdflatex' on file
  `c:\users\...\appdata\local\temp\tmpfvqw3p.tex' to  detect default page
 settings.
 
  'TEXINPUTS' is not recognized as an internal or external command,
  operable program or batch file.
  lilypond-book.py: warning: Unable to auto-detect default settings:
 
  lilypond-book.py: warning: cannot detect textwidth from LaTeX
  Dissecting...
  lilypond-book.py: error: file not found: screech-and-boink.ly
 
  Traceback (most recent call last):
File C:\Program Files\LilyPond\usr\bin\lilypond-book.py, line 776, in ?
  main ()
File C:\Program Files\LilyPond\usr\bin\lilypond-book.py, line 759, in
 main
  chunks = do_file (files[0])
File C:\Program Files\LilyPond\usr\bin\lilypond-book.py, line 611,
  in do_fil e
  chunks = find_toplevel_snippets (source, global_options.formatter)
File C:\Program Files\LilyPond\usr\bin\lilypond-book.py, line 362,
  in find_t oplevel_snippets
  snip = klass (type, m, formatter, line_number, global_options)
File out/book_snippets.py, line 815, in __init__
File out/book_base.py, line 27, in find_file
  TypeError: 'str' object is not callable
 
  How do I get this to work?
 
 That would seem to be
 commit aefc5a4057a0a61f1d7e4411cc1c5061d9aea6b7
 Author: Julien Rioux jri...@physics.utoronto.ca
 Date:   Wed Jan 23 18:21:22 2013 -0500
 
 lilypond-book: Textwidth detection with included file (issue 3136).
 
 Fix the automatic textwidth detection performed by lilypond-book.
 This failed for lytex files that include an external file in the
 preamble, when such file was compiled in an --output directory
 different from the working directory, because then the included
 file was missing. We use TEXINPUTS to let the latex process know
 where to look for input files.
 
 later improved by
 commit 39bf694ef4dedbb350960f7c37955c8fe9ce27e3
 Author: David Kastrup d...@gnu.org
 Date:   Sat Jul 27 16:44:54 2013 +0200
 
 Issue 3467: lilypond-book 2.17.21 and spaces in file path
 
 
 Versions 2.17.17 and 2.17.24, respectively.  Instead one probably needs to
 manipulate the environment directly.  No idea how sticky that is.
 
 Actually, it would appear that working with subprocess.Popen would be
 called for here.  The respective coode seems to be:
 progress (_ (Running `%s' on file `%s' to detect default page 
 settings.\n)
   % (global_options.latex_program, tmpfile))
 cmd = 'TEXINPUTS=%s:$TEXINPUTS %s %s' \
 % (global_options.input_dir, global_options.latex_program, tmpfile)
 debug (Executing: %s\n % cmd)
 run_env = os.environ.copy()
 run_env['LC_ALL'] = 'C'
 
 ### unknown why this is necessary
 universal_newlines = True
 if sys.platform == 'mingw32':
 universal_newlines = False
 ### use os.system to avoid weird sleep() problems on
 ### GUB's python 2.4.2 on mingw
 # make file to write to
 output_dir = tempfile.mkdtemp()
 output_filename = os.path.join(output_dir, 'output.txt')
 # call command
 cmd +=   %s % output_filename
 returncode = os.system(cmd)
 parameter_string = open(output_filename).read()
 if returncode != 0:
 warning (_ (Unable to auto-detect default settings:\n))
 # clean up
 os.remove(output_filename)
 os.rmdir(output_dir)
 else:
 proc = subprocess.Popen (cmd,
 env=run_env,
 universal_newlines=universal_newlines,
 shell=True,
 stdout=subprocess.PIPE, stderr=subprocess.PIPE)
 (parameter_string, error_string) = proc.communicate ()
 if proc.returncode != 0:
 warning (_ (Unable to auto-detect default settings:\n%s)
 % error_string)
 
 And normally one should be able to do the TEXINPUTS manipulation just like
 done with LC_ALL.  However, that would require looking at what goes wrong
 with mingw32 here.  I have no idea what the current GUB version of Python
 is.
 
 --
 David Kastrup

I don't know what any of that means. :-P Is there a workaround? I do know how 
to define an environment variable, if that's what's necessary.

DR

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


RE: Automatic octaves

2014-01-10 Thread Daniel Rosen
 -Original Message-
 From: Eluze [mailto:elu...@gmail.com]
 Sent: Sunday, January 05, 2014 2:31 PM
 To: lilypond-user@gnu.org
 Subject: Re: Automatic octaves
 
 instead of this (broken) snippet you could use dak's most elegant and short
 proposal:
 
 http://lilypond.1069038.n5.nabble.com/quot-Octave-quot-script-in-
 Frescobaldi-td152801.html#none
 
 Eluze

That works great when the variable is invoked outside of a \relative 
expression, but not within it. Is there any way to modify the function so that 
it can be used this way?

\version 2.18.0
myoctavate =
#(define-music-function (parser location music) (ly:music?)
   #{ \context Bottom  $music \transpose c c' $music  #})

\relative { \myoctavate { a b c d } e f g a }
%% Instead of
\myoctavate \relative { a b c d e f g a }

DR

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


RE: Markedly different-looking ties

2014-01-10 Thread Daniel Rosen
 -Original Message-
 From: Richard Shann [mailto:rich...@rshann.plus.com]
 Sent: Thursday, January 09, 2014 12:49 PM
 To: Urs Liska
 Cc: lilypond-user@gnu.org
 Subject: Re: Markedly different-looking ties
 
  Have a look here:
  http://lilypondblog.org/2013/07/lilypond-tie-crusade/
 
 Ah, I missed this - is it possible to get a blog - or its titles - like this 
 emailed to
 oneself ? As with mutopia (where I never see it because I only shop at IMSLP
 for scores) I never remember to look in these places.
 
 Richard

http://lilypondblog.org/follow-by-email/

:)

DR
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


RE: Automatic octaves

2014-01-10 Thread Daniel Rosen
 -Original Message-
 From: Kieren MacMillan [mailto:kieren_macmil...@sympatico.ca]
 Sent: Friday, January 10, 2014 10:42 AM
 To: Daniel Rosen
 Cc: Eluze; Lilypond-User Mailing List
 Subject: Re: Automatic octaves
 
 Hi Daniel,
 
 Does this work?
 
 \version 2.18.0
 
 \version 2.18.0
 myoctavate =
 #(define-music-function (parser location music) (ly:music?)
   #{ \context Bottom  $music \transpose c c' \relative $music  #})
 
 \relative { \myoctavate { a b c d } e f g a } %% Instead of \myoctavate
 \relative { a b c d e f g a }
 
 Hope this helps!
 Kieren.

It does appear to work! The other thing about the broken snippet, though, is 
that it allowed the user to choose both the direction of octavation and the 
number of octaves. Is there any way for this kind of functionality to be added 
here? E.g.

\relative { \myoctavate #-1 { ... } }

to add notes an octave below.

DR

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


RE: Automatic octaves

2014-01-10 Thread Daniel Rosen
 -Original Message-
 From: David Kastrup [mailto:d...@gnu.org]
 Sent: Friday, January 10, 2014 11:31 AM
 To: Daniel Rosen
 Cc: Eluze; lilypond-user@gnu.org
 Subject: Re: Automatic octaves
 
 You could use dak's most elegant make-relative macro...
 
 myoctavate =
 #(define-music-function (parser location music) (ly:music?)
   (make-relative (music) music
 #{ \context Bottom  $music \transpose c c' $music  #}))
 
 \relative { \myoctavate { a b c d } e f g a }
 
 --
 David Kastrup

That gets me the attached output.

DR
attachment: document.preview.png___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


RE: Markedly different-looking ties

2014-01-10 Thread Daniel Rosen
 -Original Message-
 From: Richard Shann [mailto:rich...@rshann.plus.com]
 Sent: Friday, January 10, 2014 12:51 PM
 To: Daniel Rosen
 Subject: Re: Markedly different-looking ties
 
 On Fri, 2014-01-10 at 15:44 +, Daniel Rosen wrote:
   -Original Message-
   From: Richard Shann [mailto:rich...@rshann.plus.com]
   Sent: Thursday, January 09, 2014 12:49 PM
   To: Urs Liska
   Cc: lilypond-user@gnu.org
   Subject: Re: Markedly different-looking ties
  
Have a look here:
http://lilypondblog.org/2013/07/lilypond-tie-crusade/
  
   Ah, I missed this - is it possible to get a blog - or its titles -
   like this emailed to oneself ? As with mutopia (where I never see it
   because I only shop at IMSLP for scores) I never remember to look in
 these places.
  
   Richard
 
  http://lilypondblog.org/follow-by-email/
 
  :)
 
  DR
 Thank you - turns out this is just a fancy way of sending Urs an email!
 Still it is done now, and I will be better informed in future.
 
 Richard
 

Sure thing.

DR
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


RE: Automatic octaves

2014-01-10 Thread Daniel Rosen
 -Original Message-
 From: David Kastrup [mailto:d...@gnu.org]
 Sent: Friday, January 10, 2014 12:19 PM
 To: Daniel Rosen
 Cc: Eluze; lilypond-user@gnu.org
 Subject: Re: Automatic octaves
 
 Daniel Rosen drose...@gmail.com writes:
 
  -Original Message-
  From: David Kastrup [mailto:d...@gnu.org]
  Sent: Friday, January 10, 2014 11:31 AM
  To: Daniel Rosen
  Cc: Eluze; lilypond-user@gnu.org
  Subject: Re: Automatic octaves
 
  You could use dak's most elegant make-relative macro...
 
  myoctavate =
  #(define-music-function (parser location music) (ly:music?)
(make-relative (music) music
  #{ \context Bottom  $music \transpose c c' $music  #}))
 
  \relative { \myoctavate { a b c d } e f g a }
 
  That gets me the attached output.
 
 Sick.  But you'll get something similar with \relative { {  { a b c d }  
 } e f g a
 }
 
 The \context Bottom helps to avoid the effect in the macro itself but does
 not manage to extent its effect beyond itself.  I don't have anything to offer
 that would work better, so you just have to use explicit contexts, like
 
 
 \relative \new Voice { \myoctavate { a b c d } e f g a }
 
 
 --
 David Kastrup

Kieren's solution worked fine:

\version 2.18.0
myoctavate =
#(define-music-function (parser location music) (ly:music?)
  #{ \context Bottom  $music \transpose c c' \relative $music  #})

\relative { \myoctavate { a b c d } e f g a }

DR

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Errors running lilypond-book

2014-01-09 Thread Daniel Rosen
I'm trying to follow the tutorial at 
http://www.lilypond.org/doc/v2.18/Documentation/usage/an-example-of-a-musicological-document;
 I run Windows 7 x86. When I run the command it tells me to (lilypond-book 
--output=out --pdf lilybook.lytex), here's what I get (I've redacted my 
username from the temp file path):

lilypond-book.py (GNU LilyPond) 2.18.0
Reading lilybook.lytex...
Running `pdflatex' on file `c:\users\...\appdata\local\temp\tmpfvqw3p.tex' to
 detect default page settings.

'TEXINPUTS' is not recognized as an internal or external command,
operable program or batch file.
lilypond-book.py: warning: Unable to auto-detect default settings:

lilypond-book.py: warning: cannot detect textwidth from LaTeX
Dissecting...
lilypond-book.py: error: file not found: screech-and-boink.ly

Traceback (most recent call last):
  File C:\Program Files\LilyPond\usr\bin\lilypond-book.py, line 776, in ?
main ()
  File C:\Program Files\LilyPond\usr\bin\lilypond-book.py, line 759, in main
chunks = do_file (files[0])
  File C:\Program Files\LilyPond\usr\bin\lilypond-book.py, line 611, in do_fil
e
chunks = find_toplevel_snippets (source, global_options.formatter)
  File C:\Program Files\LilyPond\usr\bin\lilypond-book.py, line 362, in find_t
oplevel_snippets
snip = klass (type, m, formatter, line_number, global_options)
  File out/book_snippets.py, line 815, in __init__
  File out/book_base.py, line 27, in find_file
TypeError: 'str' object is not callable

How do I get this to work?

DR

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


RE: umlaut

2014-01-08 Thread Daniel Rosen
 From: Gagi Petrovic [mailto:m...@gagipetrovic.nl] 
 Sent: Wednesday, January 08, 2014 9:36 AM
 To: LilyPond Users
 Subject: umlaut
 
 Hi group, is this umlaut supposed to be like this??

What exactly do you think should be different about it? (It looks normal to me.)

DR

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Musical theater headers

2014-01-08 Thread Daniel Rosen
I'm engraving pit parts for a new musical, and one of the arrangers has given 
me this note: To follow convention, the song number should be in large type in 
a box in the top-right corner of the first page of the song. Players expect 
this and it will help them to locate the song quickly. He references the 
attached example as a model.

To those of you who use LilyPond for musical theater, do you do this with your 
parts? If so, how? If not, what would be the best way to achieve it?

DR

attachment: example.png___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


RE: umlaut

2014-01-08 Thread Daniel Rosen
 From: gagig...@gmail.com [mailto:gagig...@gmail.com] On Behalf Of Gagi 
 Petrovic
 Sent: Wednesday, January 08, 2014 11:35 AM
 To: Daniel Rosen
 Cc: LilyPond Users
 Subject: RE: umlaut
 
 Thanks for the replies guys. But like i said: it's jEdit that messes it up in 
 its pdf viewer (not visible in the attachment, my bad). So there is no real 
 problem.
 Cheers, Gagi

I didn't see your second email until after I'd sent mine. Glad you figured out 
the issue!

DR

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


RE: Musical theater headers

2014-01-08 Thread Daniel Rosen
 -Original Message-
 From: Kieren MacMillan [mailto:kieren_macmil...@sympatico.ca]
 Sent: Wednesday, January 08, 2014 11:26 AM
 To: Daniel Rosen
 Cc: Lilypond-User Mailing List
 Subject: Re: Musical theater headers
 
 Hi Daniel,
 
  I'm engraving pit parts for a new musical
 
 Welcome to the club!  =)

Thanks! :)

  and one of the arrangers has given me this note: To follow convention,
 the song number should be in large type in a box in the top-right corner of
 the first page of the song. Players expect this and it will help them to 
 locate
 the song quickly. He references the attached example as a model.
 
 1. Yuck.  ;)
 
 2. Yes, this header block is found in various scores/parts... but really, 
 there is
 no standard, as one sees when one MDs as many shows as I do.
 
  To those of you who use LilyPond for musical theater, do you do this with
 your parts?
 
 No. My headers are inspired by the [more elegant, IMO] model of Boosey 
 Hawkes West Side Story (1959 etc., not the less-attractive 2000 edition).
 
  If not, what would be the best way to achieve it?]
 
 It would be easy to duplicate this with a set of custom titles and header
 variables.

I've been trying to do that for the past half-hour or so, and it's not working 
the way I want it to. My header block is:

\version 2.18.0
\header {
  piece = Piece
  number = #
  instrument = Instrument
  date = 01/01/0101
  composer = Composer
}

Right now I'm just trying to focus on getting everything in the right place 
before I start changing font sizes and stuff. I'm envisioning three columns, 
with the left column left-aligned, the center column centered, and the right 
column right-aligned.

instrument | null  | date
number | piece | null
null   | null  | composer

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


RE: Musical theater headers

2014-01-08 Thread Daniel Rosen
 -Original Message-
 From: Daniel Rosen
 Sent: Wednesday, January 08, 2014 12:43 PM
 To: 'Kieren MacMillan'
 Cc: Lilypond-User Mailing List
 Subject: RE: Musical theater headers
 
 I've been trying to do that for the past half-hour or so, and it's not working
 the way I want it to. My header block is:
 
 \version 2.18.0
 \header {
   piece = Piece
   number = #
   instrument = Instrument
   date = 01/01/0101
   composer = Composer
 }
 
 Right now I'm just trying to focus on getting everything in the right place
 before I start changing font sizes and stuff. I'm envisioning three columns,
 with the left column left-aligned, the center column centered, and the right
 column right-aligned.
 
 instrument | null  | date
 number | piece | null
 null   | null  | composer

Whoops, I goofed on the second line--the arranger wanted the number on the 
right side, not the left.

instrument | null  | date
null   | piece | number
null   | null  | composer

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


RE: Musical theater headers

2014-01-08 Thread Daniel Rosen
 -Original Message-
 From: Paul Scott [mailto:waterho...@ultrasw.com]
 Sent: Wednesday, January 08, 2014 1:09 PM
 To: Daniel Rosen
 Cc: Kieren MacMillan; Lilypond-User Mailing List
 Subject: Re: Musical theater headers
 
 I use \markup\fill-line{ left center right }
 
 for what I think you want.  I have made substitute parts for parts with that
 same format.
 
 HTH
 
 Paul Scott

Yes, but they're not showing up the way I want them to:

 Whoops, I goofed on the second line--the arranger wanted the number on the 
 right side, not the left.
 
 instrument | null  | date
 null   | piece | number
 null   | null  | composer

Here's something along the lines of what I've been trying:

\version 2.18.0

\header {
  piece = Piece
  number = #
  instrument = Instrument
  date = 01/01/0101
  composer = Composer
}

\paper {
  #(set-paper-size letter)
  scoreTitleMarkup = \markup {
\fill-line {
  \line {
\fromproperty #'header:instrument
\null
\fromproperty #'header:date
  }
  \line {
\null
\fromproperty #'header:piece
\fromproperty #'header:number
  }
  \line {
\null
\null
\fromproperty #'header:composer
  }
}
  }
}

{ c' } 

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


RE: Musical theater headers

2014-01-08 Thread Daniel Rosen
 -Original Message-
 From: Kieren MacMillan [mailto:kieren_macmil...@sympatico.ca]
 Sent: Wednesday, January 08, 2014 1:22 PM
 To: Daniel Rosen
 Cc: Lilypond-User Mailing List
 Subject: Re: Musical theater headers
 
 Hi Daniel,
 
 Maybe start here:
 
 \version 2.18.0
 
 \header {
piece = Piece
number = 1
instrument = Instrument
date = 01/01/0101
composer = Composer
 }
 
 \paper {
 
   scoreTitleMarkup = \markup \override #'(baseline-skip . 5) \column {
 \fill-line {
   \bold \fromproperty #'header:instrument
   
   \fromproperty #'header:date
 }
 \fill-line {
   
   \abs-fontsize #24 \fromproperty #'header:piece
   \override #'(box-padding . 2) \box \abs-fontsize #18 \fromproperty
 #'header:number
 }
 \fill-line {
   
   
   \fromproperty #'header:composer
 }
   }
 
   bookTitleMarkup = ##f
 
 }
 
 \score { c'1 }
 
 Hope this helps!
 Kieren.

Looks great, thanks!

DR

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


RE: Automatic octaves

2014-01-06 Thread Daniel Rosen
 -Original Message-
 From: Daniel Rosen
 Sent: Monday, January 06, 2014 11:35 AM
 To: 'Mark Stephen Mrotek'; 'Pierre Perol-Schneider'
 Cc: lilypond-user@gnu.org
 Subject: RE: Automatic octaves
 
  -Original Message-
  From: Mark Stephen Mrotek [mailto:carsonm...@ca.rr.com]
  Sent: Sunday, January 05, 2014 12:39 PM
  To: Daniel Rosen; 'Pierre Perol-Schneider'
  Cc: lilypond-user@gnu.org
  Subject: RE: Automatic octaves
 
  Gentlemen,
 
  If each pitch name is enclosed in  , the octaves are formed.
 
  Mark
 
 That does work for me, but it sort of defeats the purpose of having the
 function in the first place, which is to reduce typing. :-P Is anyone able to 
 use
 this information to fix it?

A sorry, disregard the above, I sent it before seeing the other replies to 
the thread... 

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


RE: Survey: Git (G)UIs

2014-01-06 Thread Daniel Rosen
 -Original Message-
 From: Urs Liska [mailto:u...@openlilylib.org]
 Sent: Monday, January 06, 2014 7:54 AM
 To: lilypond-user
 Subject: Survey: Git (G)UIs
 
 Hi all Git users,
 
 I'd like to make a survey on how you are working with Git.
 
 Do you use the command line exclusively, or a GUI (which one(s))?
 Or a GUI for certain tasks and the command line for others?
 
 I'd be particularly interested in reports of successful or failed attempts to
 learn Git by starting with a GUI tool. I have a strong opinion that one should
 use the command line until one has a good understanding of the concepts,
 but I'd be interested in any differing experiences.
 
 Urs
 
 

I use SourceTree for almost everything; the exceptions are a couple of commands 
that I can't figure out how to do in the GUI (e.g. git stash apply).

I learned/am learning Git by using SourceTree, and I haven't had much 
difficulty understanding the concepts. What has confused me somewhat so far is 
the workflows, and how branching can best be incorporated into them.
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


RE: Automatic octaves

2014-01-06 Thread Daniel Rosen
 -Original Message-
 From: Mark Stephen Mrotek [mailto:carsonm...@ca.rr.com]
 Sent: Sunday, January 05, 2014 12:39 PM
 To: Daniel Rosen; 'Pierre Perol-Schneider'
 Cc: lilypond-user@gnu.org
 Subject: RE: Automatic octaves
 
 Gentlemen,
 
 If each pitch name is enclosed in  , the octaves are formed.
 
 Mark

That does work for me, but it sort of defeats the purpose of having the 
function in the first place, which is to reduce typing. :-P Is anyone able to 
use this information to fix it? 

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


RE: Survey: Git (G)UIs

2014-01-06 Thread Daniel Rosen
 -Original Message-
 From: Carl Peterson [mailto:carlopeter...@gmail.com]
 Sent: Monday, January 06, 2014 12:02 PM
 To: Daniel Rosen
 Cc: Urs Liska; lilypond-user
 Subject: Re: Survey: Git (G)UIs
 
 On Mon, Jan 6, 2014 at 11:46 AM, Daniel Rosen drose...@gmail.com
 wrote:
  I use SourceTree for almost everything; the exceptions are a couple of
 commands that I can't figure out how to do in the GUI (e.g. git stash apply).
 
  I learned/am learning Git by using SourceTree, and I haven't had much
 difficulty understanding the concepts. What has confused me somewhat so
 far is the workflows, and how branching can best be incorporated into them.
 
 SourceTree isn't available for Linux, last time I checked...I use it on
 Mac/Windows for my other repos, but alas, not for LP.
 
 Carl P.

That's correct. I guess I should clarify that I don't use Git to develop 
LilyPond itself because I'm not a developer. :-P I use it to manage a couple of 
my larger LilyPond projects.

DR

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


RE: Automatic octaves

2014-01-05 Thread Daniel Rosen
 From: Pierre Perol-Schneider [mailto:pierre.schneider.pa...@gmail.com] 
 Sent: Sunday, January 05, 2014 5:42 AM
 To: Daniel Rosen
 Cc: lilypond-user@gnu.org
 Subject: Re: Automatic octaves
 
 A standart update works fine.
 Here you go :

Pierre,

This doesn't change anything for me. Is there something I need to change on my 
end?

I actually should have been more precise before when I described the output I 
was getting from the original snippet: it works on the final chord in the 
example, but that's all. The same thing happens with your version.

DR
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


  1   2   3   >