Re: How to find the definition of a function?

2009-04-13 Thread Patrick McCarty
2009/4/13 Wei-Wei Guo : > Dear all, > > I sometimes want to see how a function or a variable is defined, for example > the TimeScaledMusic. How can I find their definition in source code? One way is to do a search on the gitweb interface for the repository: http://git.savannah.gnu.org/gitweb/?p=l

Re: How to input a time signature in \markup?

2009-04-13 Thread Dmytro O. Redchuk
You need to "define-markup-command", not "define-music-function". >> #(define-markup-command (timesig layout props numerator denominator) >>   (number? number?) >>   (interpret-markup layout props >>                     (markup [...] >> >> \markup \timesig #3 #4 >> >> Regards, >> Neil -- Dmytro

How to find the definition of a function?

2009-04-13 Thread Wei-Wei Guo
Dear all, I sometimes want to see how a function or a variable is defined, for example the TimeScaledMusic. How can I find their definition in source code? Best wishes, Wei-Wei ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.or

Re: Slur / phrasingSlur half dashed, half solid

2009-04-13 Thread Andrew Hawryluk
On Mon, Apr 13, 2009 at 6:41 AM, David Stocker wrote: > >>> 2. Does it (now) bother anyone else that dashed slurs do not look like >>> real slurs? I guess I always assumed — without visually confirming, >>> obviously — that dashed slurs were real slurs (that thickened and tapered, >>> etc.) with c

Re: How to input a time signature in \markup?

2009-04-13 Thread Wei-Wei Guo
Hi Neil and Simon, I also combined your solutions, but it isn't easy this time. I don't know how to make the following code run without error. timesig = #(define-music-function (parser location numerator denominator) (number? number?) #{ \once

Re: \repeat unfold... *zero*

2009-04-13 Thread Valentin Villenave
2009/4/13 Dmytro O. Redchuk : >  \repeat "unfold" 0 { d4 d d d }   % "zero" here > That's not a problem, i can not say why one could need > \repeat unfold *zero* { ":-)" } That's a brilliant idea! Maybe the most useless feature ever, but it's pretty cool anyway :-) I'm not going to add it to ou

programming error: minimise_least_squares (): Nothing to minimise

2009-04-13 Thread Nick Payne
I'm getting this error showing up in the console output when running LP 2.12.2 against a particular score. LP continues building the score and I can't see anything wrong with the PDF output produced: programming error: minimise_least_squares (): Nothing to minimise This means that vertical spaci

Re: relative position of tempo and rehearsal marks

2009-04-13 Thread Trevor Daniels
Whoops, Sorry Simon. I'd replied to your earlier note before I saw this. Trevor - Original Message - From: "Simon Bailey" To: "Simon Bailey" Cc: "lilypond-user" Sent: Monday, April 13, 2009 12:07 PM Subject: Re: relative position of tempo and rehearsal marks the documentation tr

Re: relative position of tempo and rehearsal marks

2009-04-13 Thread Trevor Daniels
There's actually quite an extended section on this in the Learning Manual, with no need to go to the Internals Reference. See Section 4.4.3 Outside-staff objects. Trevor - Original Message - From: "Simon Bailey" To: "Frédéric Bron" Cc: "lilypond-user" Sent: Monday, April 13, 2009 1

The LilyPond Report, again!

2009-04-13 Thread Valentin Villenave
Greetings everybody, Well, it's time for a reboot! The LilyPond Report is back, with a new design, new features... but still the same spirit :-) OK, let’s admit it: this installment has been released with some delay. Like, nine to ten months… How is that? What has happened since then in the LilyP

Re: Slur / phrasingSlur half dashed, half solid

2009-04-13 Thread Mark Polesky
Kieren MacMillan wrote: > I now see that dashed "slurs" are simply dashed > lines (of invariant thickness) which curve along > the path that a slur would take between two notes. > What is standard engraving practice when it comes > to such things? It's funny. There's a handwritten example of a h

Re: Alignment of stroke fingering

2009-04-13 Thread Neil Puttock
2009/4/13 Nick Payne : > Guitar stroke fingering is lower case, but with the orientation set to up, > the p is not correctly aligned with the other characters in a succession of > fingering indications, and with the orientation set to down, the i is > similarly misaligned. > > This doesn't look ple

Re: custom key signature help

2009-04-13 Thread James E. Bailey
Am 13.04.2009 um 17:00 schrieb Neil Puttock: 2009/4/13 James E. Bailey : I don't understand custom key signatures. Why are the accidentals shown in the second measure? There's a bug in Accidental_engraver: http://code.google.com/p/lilypond/issues/detail?id=733 Do I have to set the key si

Re: How to input a time signature in \markup?

2009-04-13 Thread Neil Puttock
2009/4/13 Simon Bailey : > > On Apr 13, 2009, at 3:17 PM, Wei-Wei Guo wrote: >> >> Combining your solutions, the following way is the better, but still to >> long... >> >>  \markup{ \override #'(baseline-skip . 1) {\center-column {\number 2 >> \number 4}}} > > > define this as a variable, then you

Re: hiding the clef on all but the 1st line

2009-04-13 Thread Grateful Frog
Hi! Thanks! That almost did it, then I added: \override Score.Clef #'stencil = ##f and voilà! Thanks for pointing me in the right direction! GF. On Mon, Apr 13, 2009 at 4:48 PM, Kieren MacMillan < kieren_macmil...@sympatico.ca> wrote: > Hi GF, > > I've made huge progress with learning this

Re: custom key signature help

2009-04-13 Thread Neil Puttock
2009/4/13 James E. Bailey : > I don't understand custom key signatures. Why are the accidentals shown in > the second measure? There's a bug in Accidental_engraver: http://code.google.com/p/lilypond/issues/detail?id=733 > Do I have to set the key signature for each measure? Afraid so. You'll al

Re: hiding the clef on all but the 1st line

2009-04-13 Thread Kieren MacMillan
Hi GF, I've made huge progress with learning this tool but I am now facing a problem, again a noobie issue. I'd like to remove the key signature and clef from every line of the composition except the first, so as to save space on the paper. Can anyone suggest a solution? Somewhere after th

hiding the clef on all but the 1st line

2009-04-13 Thread Grateful Frog
Hello! I've made huge progress with learning this tool but I am now facing a problem, again a noobie issue. I'd like to remove the key signature and clef from every line of the composition except the first, so as to save space on the paper. Can anyone suggest a solution? Thanks, GF. -- 50°48'3

custom key signature help

2009-04-13 Thread James E. Bailey
I don't understand custom key signatures. Why are the accidentals shown in the second measure? Do I have to set the key signature for each measure? \version "2.12.2" \relative c { \clef bass \time 5/4 \set Staff.keySignature = #`(((-1 . 0) . ,SHARP) ((-1 . 3) . ,SHARP)) cis4 d e

Re: How to input a time signature in \markup?

2009-04-13 Thread Simon Bailey
On Apr 13, 2009, at 3:17 PM, Wei-Wei Guo wrote: Combining your solutions, the following way is the better, but still to long... \markup{ \override #'(baseline-skip . 1) {\center-column {\number 2 \number 4}}} define this as a variable, then you only have to type it once: ttf = \markup{

Re: How to input a time signature in \markup?

2009-04-13 Thread Wei-Wei Guo
Hi Kieren and Dmytro, Combining your solutions, the following way is the better, but still to long... \markup{ \override #'(baseline-skip . 1) {\center-column {\number 2 \number 4}}} Thanks a lot! Best wishes Wei-Wei Kieren MacMillan 写道: Hi Wei-Wei, I want to present time signatures i

Re: Slur / phrasingSlur half dashed, half solid

2009-04-13 Thread David Stocker
Kieren MacMillan wrote: Hi Jon (et al.), The publisher of my guitar music [...] uses dashed slurs like these with invariant thickness I note that Barenreiter also uses invariant-thickness dashed lines (e.g., Mozart Jupiter Symphony, m. 167). So that appears to be "standard practice". I th

Re: Slur / phrasingSlur half dashed, half solid

2009-04-13 Thread David Stocker
2. Does it (now) bother anyone else that dashed slurs do not look like real slurs? I guess I always assumed — without visually confirming, obviously — that dashed slurs were real slurs (that thickened and tapered, etc.) with cutouts; I now see that dashed "slurs" are simply dashed lines (of i

Re: Slur / phrasingSlur half dashed, half solid

2009-04-13 Thread Kieren MacMillan
Hi Jon (et al.), The publisher of my guitar music [...] uses dashed slurs like these with invariant thickness I note that Barenreiter also uses invariant-thickness dashed lines (e.g., Mozart Jupiter Symphony, m. 167). So that appears to be "standard practice". It probably would look nicer

Re: How to input a time signature in \markup?

2009-04-13 Thread Kieren MacMillan
Hi Wei-Wei, I want to present time signatures in my reading notes. I tried \markup { \time 2/4 } It seems \time cannot be used in this way. I got a dirty way \markup { \center-column { {\musicglyph #"2"} {\musicglyph #"4"} } } which can show a time signature, but the vertical space between t

Re: Slur / phrasingSlur half dashed, half solid

2009-04-13 Thread Jonathan Kulp
Kieren MacMillan wrote: Hi all you Slur-happy people, 1. Kudos to Mark for his amazing and generous contributions! +1. Wow! 2. Does it (now) bother anyone else that dashed slurs do not look like real slurs? I guess I always assumed — without visually confirming, obviously — that dashed sl

Re: How to input a time signature in \markup?

2009-04-13 Thread Dmytro O. Redchuk
2009/4/13 Wei-Wei Guo : >  \markup { \center-column { {\musicglyph #"2"} {\musicglyph #"4"} } } This (just stacking two markups): \relative c'' { c4 -\markup {\number 4} -\markup{\number 2} c c c } shows numbers closer to each other in my case. No sure this is a good way. -- Dmytro O. Redchuk

How to input a time signature in \markup?

2009-04-13 Thread Wei-Wei Guo
Dear all, I want to present time signatures in my reading notes. I tried \markup { \time 2/4 } It seems \time cannot be used in this way. I got a dirty way \markup { \center-column { {\musicglyph #"2"} {\musicglyph #"4"} } } which can show a time signature, but the vertical space between

Re: Slur / phrasingSlur half dashed, half solid

2009-04-13 Thread Kieren MacMillan
Hi all you Slur-happy people, 1. Kudos to Mark for his amazing and generous contributions! 2. Does it (now) bother anyone else that dashed slurs do not look like real slurs? I guess I always assumed — without visually confirming, obviously — that dashed slurs were real slurs (that thickene

Re: relative position of tempo and rehearsal marks

2009-04-13 Thread Simon Bailey
the documentation trail for this is fairly convoluted: i'll take that back, it's in the LM 4.4.3 "Placement of objects -> Outside-staff objects". regards, sb -- Simon Bailey Oompa Loompa of Science +43 699 190 631 25 ___ lilypond-user mailing li

Re: relative position of tempo and rehearsal marks

2009-04-13 Thread Simon Bailey
frédéric, On Apr 13, 2009, at 8:41 AM, Frédéric Bron wrote: with 2.12.2 (windows): { \tempo "Ziemlich langsam" 4 = 66 R1 \mark \default R1 } puts "A" above "Ziemlich langsam" but I would expect "A" to be below. How can I reverse the default behaviour? try this: <<< \version "2.12.2" { \onc

tag questions

2009-04-13 Thread Ivo Bouwmans
Hallo all, I have two questions concerning tags. (1) Is it possible to tag other elements than music elements? I would like to do something like: subtitle = \tag #'reduct { "Piano Reduction" } (2) Is it possible to tag multiple lines at once? Like: \tag #'text { \new Lyrics \lyricsto So

Re: (de)cresendi syntax

2009-04-13 Thread Frédéric Bron
> So, I took a look at the issue today and created a patch, which will now allow > all dynamic spanner starters to be implemented as postfix-operators. > > The short (<15 quite trivial lines!) patch is up for review at: > http://codereview.appspot.com/39047 > > Basically, my question for now is whe

relative position of tempo and rehearsal marks

2009-04-13 Thread Frédéric Bron
with 2.12.2 (windows): { \tempo "Ziemlich langsam" 4 = 66 R1 \mark \default R1 } puts "A" above "Ziemlich langsam" but I would expect "A" to be below. How can I reverse the default behaviour? Frédéric ___ lilypond-user mailing list lilypond-user@gn

\repeat unfold... *zero*

2009-04-13 Thread Dmytro O. Redchuk
Hello, lilyponders, first of all -- thank you, everybody, who makes lilypond better. Lilypond is *so* great, so i can not express this ever in my native language, Ukrainian. (Now i'm a-kind-of-working on some "score books" with lilypond & lilypond-book & latex -- i would not like ever imagine tha

RE: Alignment of stroke fingering

2009-04-13 Thread Nick Payne
Forgot to attach the scan... > -Original Message- > From: lilypond-user-bounces+nick.payne=internode.on@gnu.org > [mailto:lilypond-user-bounces+nick.payne=internode.on@gnu.org] On > Behalf Of Nick Payne > Sent: Monday, 13 April 2009 15:23 > To: lilypond-user@gnu.org > Subject: Alig