Re: changePitch and ties

2015-12-27 Thread Gilles THIBAULT
> Would it be possible to tell changePitch to automatically repeat the pitch
> of a tied note?
Well, i have just read your message just yesterday. Sorry.
Here is a function that automatically repeats the pitch
of a tied note.
I'll try to include it in a next release of changePitch.ly


-- 
Gilles\include "changePitch.ly"
%% to download here :
%% http://gillesth.free.fr/Lilypond/changePitch/
%% LSR here :
%% http://lsr.di.unimi.it/LSR/Item?id=654

checkForTies = #(define-music-function (parser location music) (ly:music?)
"A tieded note will get automatically the same pitch than the previous note (= the 
note with the tie symbole)"
(define (rel-callback x p); set pitch to the prev value
   (ly:prob-set-property! x 'pitch p)
   p)
(let ((tieNote? #f)
  (startSamePich? #f)
  (stopSamePich? #f))
  (map-some-music
(lambda (x)
  (and 
(note-or-chord? x)
(let ((tags (ly:music-property x 'tags)))
  (if (not (memq cPSamePitch tags))
(begin
  (set! tieNote? (pair? (extract-named-music x '(TieEvent
  (set! stopSamePich? (and startSamePich? (not tieNote?)))
  (set! startSamePich? (and tieNote? (not startSamePich?)))
  (cond 
(startSamePich?
  (ly:music-set-property! x 'tags 
(cons cPSamePitch (delq cPSamePitchEnd tags
(stopSamePich? 
  (ly:music-set-property! x 'to-relative-callback rel-callback) 
  (if (not (memq cPSamePitchEnd tags))
 (ly:music-set-property! x 'tags (cons cPSamePitchEnd tags  
(tieNote?
  (ly:music-set-property! x 'to-relative-callback rel-callback) 
  (ly:music-set-property! x 'tags  
(cons cPSamePitch (delq cPSamePitchEnd tags)))
  (set! startSamePich? #t)
  x)))
music)))


%%%

%% test 1

\changePitch \checkForTies { c4 c4~ \tuplet 3/2 { c8 c8 c8 }  c4 | } 
\relative c' { c d e f g a b c d e }

%% test 2 (with \samePitch)
\changePitch \checkForTies { c4 c4~ \tuplet 3/2 \samePitch { c8 c8 c8 }  c4 | } 
\relative c' { c d e f g a b c d e }___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Strings as variable names

2015-12-27 Thread Menu Jacques
Hello folks,

I’ve found that one can write the following:

\version "2.19.33"

"bella melodia" = \relative c' {
   r4- ef\upbow(f) r g |
}

\score {
  \"bella melodia"
}


but I couldn’t find such a possibility in the 2.19.31 Notation Reference, even 
though that may be useful.

Does anyone know more about this?

JM



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


Re: Notation snippets

2015-12-27 Thread Malte Meyn


Am 27.12.2015 um 16:18 schrieb Jayaratna:
> I hope these will be understandable:
> 
> workex.ly   
> 
>  
> 
> It should be like this, but I can't extend the lines over the clefs.

You could use LilyPond version 2.19.33. Your code gives the attached result.
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Notation snippets

2015-12-27 Thread Pierre Perol-Schneider
Hi Andrea,

How about:

\version "2.19.34"

my-staff = \markup\stencil
 #(make-path-stencil
'(M  0  2 L 5  2
  M  0  1 L 5  1
  M  0  0 L 5  0
  M  0 -1 L 5 -1
  M  0 -2 L 5 -2)
0.1 1 1 #f)


\markup {
  %% clef G
  \combine
  \my-staff
  \translate #'(1 . -1)
  \musicglyph #"clefs.G"

  %% put some space here:
  \hspace #3

  %% clef F
  \combine
  \my-staff
  \translate #'(1 . 1)
  \musicglyph #"clefs.F"

  %% put some space here:
  \hspace #3

  %% clef C
  \combine
  \my-staff
  \translate #'(1 . 0)
  \musicglyph #"clefs.C"

  %% put some space here:
  \hspace #3

  %% note
  \combine
  \my-staff
  \translate #'(2 . 4)
  \combine
  \note-by-number #5 #0 #DOWN
  \translate #'(0 . 0)
  \stencil #(make-path-stencil
  '(M  -0.5  0 L  1.8  0
M  -0.5 -1 L  1.8 -1)
  0.15 1 1 #f)
}

Cheers,
Pierre

2015-12-27 16:32 GMT+01:00 Jayaratna :

> I'm downloading the newest version. Hope I can keep both versions on my
> system.
>
> In any case, is it possible to center the last notes with the staff lines?
>
> Thank you,
> A
>
>
>
> --
> View this message in context:
> http://lilypond.1069038.n5.nabble.com/Notation-snippets-tp185122p185128.html
> Sent from the User mailing list archive at Nabble.com.
>
> ___
> lilypond-user mailing list
> lilypond-user@gnu.org
> https://lists.gnu.org/mailman/listinfo/lilypond-user
>
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: problem with accent placement

2015-12-27 Thread Klaus Blum
Hi Alex, 

to affect the markup, use TextScript instead of Script:

% -
\version "2.18.0"

\relative c''' {
  a2-> \trill

  \once \override TextScript.script-priority = #-100
  a2-> ^\trill^\markup { \sharp }
}
% -

Cheers, 
Klaus



--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/problem-with-accent-placement-tp185135p185141.html
Sent from the User mailing list archive at Nabble.com.

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


Re: ANN: Frescobaldi 2.18.2

2015-12-27 Thread Jacques Menu
Hello Wilbert,

Thanks a lot for this new release, and a happy new year too!

JM

> Le 27 déc. 2015 à 16:14, Wilbert Berendsen  a écrit :
> 
> Dear friends,
> 
> I yeserday released Frescobaldi 2.18.2, a maintenance release
> containing bug fixes, small improvements and translation updates.
> 
> Homepage: www.frescobaldi.org
> Download: www.frescobaldi.org/download
> 
> It is needed to upgrade python-ly to version 0.9.3, which contains
> additional bug fixes. See https://pypi.python.org/pypi/python-ly .
> 
> Thanks go to all the users, bug reporters and co developers.
> 
> Enjoy and happy new year!!
> 
> 
> -- 
> Wilbert Berendsen, musician
> ‣ web: www.wilbertberendsen.nl
> ‣ email: i...@wilbertberendsen.nl
> 
> 
> ___
> lilypond-user mailing list
> lilypond-user@gnu.org
> https://lists.gnu.org/mailman/listinfo/lilypond-user


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


problem with accent placement

2015-12-27 Thread Alex Jones
I’m using the Script.priority-order to place an accidental above a trill 
ornament, but when combining with a note accent it creates an ordering property 
as per the documentation example.  However with the following snippet:

\version "2.18.0"

\relative c''' {
a2-> \trill

\once \override Script.script-priority = #-100
a2-> ^\trill^\markup { \sharp }
}


The first note places the accent adjacent to the note and the trill above 
(which is correct)

when adding the \sharp and getting it above the tr it swaps the accent and 
trill ornament creates this side-effect.

Is there a way to specify the order between the three expressive marks?

Thanks!!!

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


Re: Notation snippets

2015-12-27 Thread Pierre Perol-Schneider
Andy, this should work:

\markup
\override #'(style . mensural)
\note-by-number #5 #0 #UP

Cheers,
Pierre


2015-12-27 18:22 GMT+01:00 Jayaratna :

> Thank you, Pierre and Schneidy,
>
> it works. What about mensural notes as well?
> Mensural flags are not suupported by \note-by-number... :(
>
>   %% note
>   \combine
>   \my-staff
>   \translate #'(2 . 0)
>   \combine
>   \override #'(style . petrucci)
>   \override #'(flag-style . mensural-flag )
>   \note-by-number #5 #0 #UP
>
>
> Thanks,
> Andy
>
>
>
>
>
> --
> View this message in context:
> http://lilypond.1069038.n5.nabble.com/Notation-snippets-tp185122p185136.html
> Sent from the User mailing list archive at Nabble.com.
>
> ___
> lilypond-user mailing list
> lilypond-user@gnu.org
> https://lists.gnu.org/mailman/listinfo/lilypond-user
>
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: problem with accent placement

2015-12-27 Thread Thomas Morley
2015-12-27 18:18 GMT+01:00 Alex Jones :
> I’m using the Script.priority-order to place an accidental above a trill 
> ornament, but when combining with a note accent it creates an ordering 
> property as per the documentation example.  However with the following 
> snippet:
>
> \version "2.18.0"
>
> \relative c''' {
> a2-> \trill
>
> \once \override Script.script-priority = #-100
> a2-> ^\trill^\markup { \sharp }
> }
>
>
> The first note places the accent adjacent to the note and the trill above 
> (which is correct)
>
> when adding the \sharp and getting it above the tr it swaps the accent and 
> trill ornament creates this side-effect.
>
> Is there a way to specify the order between the three expressive marks?
>
> Thanks!!!
>
> -akj

\relative c''' {
a2-> \trill

a2-\tweak script-priority #99 ->
  -\tweak script-priority #100 ^\trill
  ^\markup { \sharp }
}


HTH,
  Harm

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


Re: Notation snippets

2015-12-27 Thread Pierre Perol-Schneider
Or maybe a closer look:

.
%% the note
  \combine
  \my-staff
  \translate #'(2 . 4)
  \combine
  \note-by-number #5 #0 #DOWN
  \translate #'(0 . 0)
  \stencil #(make-path-stencil
  '(M  -0.3  0 L  1.6  0
M  -0.3 -1 L  1.6 -1)
  0.15 1 1 #f)


2015-12-27 17:19 GMT+01:00 Pierre Perol-Schneider <
pierre.schneider.pa...@gmail.com>:

> Hi Andrea,
>
> How about:
>
> \version "2.19.34"
>
> my-staff = \markup\stencil
>  #(make-path-stencil
> '(M  0  2 L 5  2
>   M  0  1 L 5  1
>   M  0  0 L 5  0
>   M  0 -1 L 5 -1
>   M  0 -2 L 5 -2)
> 0.1 1 1 #f)
>
>
> \markup {
>   %% clef G
>   \combine
>   \my-staff
>   \translate #'(1 . -1)
>   \musicglyph #"clefs.G"
>
>   %% put some space here:
>   \hspace #3
>
>   %% clef F
>   \combine
>   \my-staff
>   \translate #'(1 . 1)
>   \musicglyph #"clefs.F"
>
>   %% put some space here:
>   \hspace #3
>
>   %% clef C
>   \combine
>   \my-staff
>   \translate #'(1 . 0)
>   \musicglyph #"clefs.C"
>
>   %% put some space here:
>   \hspace #3
>
>   %% note
>   \combine
>   \my-staff
>   \translate #'(2 . 4)
>   \combine
>   \note-by-number #5 #0 #DOWN
>   \translate #'(0 . 0)
>   \stencil #(make-path-stencil
>   '(M  -0.5  0 L  1.8  0
> M  -0.5 -1 L  1.8 -1)
>   0.15 1 1 #f)
> }
>
> Cheers,
> Pierre
>
> 2015-12-27 16:32 GMT+01:00 Jayaratna :
>
>> I'm downloading the newest version. Hope I can keep both versions on my
>> system.
>>
>> In any case, is it possible to center the last notes with the staff lines?
>>
>> Thank you,
>> A
>>
>>
>>
>> --
>> View this message in context:
>> http://lilypond.1069038.n5.nabble.com/Notation-snippets-tp185122p185128.html
>> Sent from the User mailing list archive at Nabble.com.
>>
>> ___
>> lilypond-user mailing list
>> lilypond-user@gnu.org
>> https://lists.gnu.org/mailman/listinfo/lilypond-user
>>
>
>
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: \transpose not work working inside define-music-function

2015-12-27 Thread Wols Lists
On 27/12/15 16:32, J Smith wrote:
> I'm trying to define a music function that transposes a chord and a 
> melody multiple times.  But for some reason, the transposition is done 
> only once.
>  
> Here's my attempt:
>  
> repeatpattern =
> #(define-music-function (parser location chord pattern) (ly:music? 
> ly:music?)
>   #{
>   % <<
>   \new ChordNames {
> \transpose c d { #chord }
> \transpose c e { #chord }
>   }
>   \new Staff {
> \transpose c d { #pattern }
> \transpose c e { #pattern }
>   }
>   % >>
>   #})
>  
> \score {
>   \repeatpattern { c1 } { c'4 d' e' r }
> }
>  
> (delete the %'s preceding << and >>; had to add them to pass Gmane's 
> filter).
> 
> Any ideas for why this is not working and how to fix it? (i.e., it 
> should transpose "c d e" into "d e f#" and "e f# g#", not into "f# g# 
> a#").
> 
Just a guess, but \transpose is funny - I think of it as taking note
NAMES. As soon as you've fed the names through anything (such as
define-music-function) they've been converted to note PITCHES, and
\transpose no longer works.

Short answer - \transpose is very temperamental and sensitive as to
where it is used.

(And note, my understanding is almost certainly technically wrong, I
just find it helpful as a superficial guide to what's going on.)

Cheers,
Wol

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


Re: Notation snippets

2015-12-27 Thread Simon Albrecht

On 27.12.2015 16:32, Jayaratna wrote:

Hope I can keep both versions on my
system.


Of course you can – I’ve about a dozen versions installed here. Just 
install them in another directory, e.g. using the --prefix option with 
the sh installer (don’t know what way you’re installing it).


HTH, Simon

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


Notation snippets

2015-12-27 Thread Jayaratna
Dear Lilipondians,

I am trying to make a page which shows a series of music symbols, each of
them appearing on a standard staff of a given measure. So far I can print
clefs and other symbols, but with no staff lines.

Any idea on how to make this?

Thank you,
A

\version "2.18.2"

\paper {
  
  indent = 0\mm
  paper-width = 100\pt
  paper-height = 100\pt
  top-margin = 0\mm
  bottom-margin = 0\mm
  oddFooterMarkup   = ""
  oddHeaderMarkup   =  ""
  evenFooterMarkup   =  ""
  evenHeaderMarkup   = ""
  ragged-last = ##f
  systems-per-page = #1 
  print-page-number = #f 
}

\markup{
\fill-line{
  
  
 
  \score {
  \new Staff { \clef "violin" }
  \layout { 
%\omit Staff.Clef
\omit Staff.TimeSignature
   }
  
  }
  
  \hspace #2
 \score {
  \new Staff { \time 4/4 }
  \layout { \context MensuralStaff \override NoteHead.style = #'petrucci 
\omit Staff.Clef
%\omit Staff.TimeSignature
   }
  
  }
  
\hspace #2

}
}



--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/Notation-snippets-tp185122.html
Sent from the User mailing list archive at Nabble.com.

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


Re: Notation snippets

2015-12-27 Thread Michael Gerdau
> I am trying to make a page which shows a series of music symbols, each of
> them appearing on a standard staff of a given measure. So far I can print
> clefs and other symbols, but with no staff lines.
> 
> Any idea on how to make this?
> 
> Thank you,
> A
> 
> \version "2.18.2"
> 
> \paper {
> 
>   indent = 0\mm
>   paper-width = 100\pt
>   paper-height = 100\pt
>   top-margin = 0\mm
>   bottom-margin = 0\mm
>   oddFooterMarkup   = ""
>   oddHeaderMarkup   =  ""
>   evenFooterMarkup   =  ""
>   evenHeaderMarkup   = ""
>   ragged-last = ##f
>   systems-per-page = #1
>   print-page-number = #f
> }
> 
> \markup{
> \fill-line{
> 
> 
> 
>   \score {
>   \new Staff { \clef "violin" }
>   \layout {
> %\omit Staff.Clef
> \omit Staff.TimeSignature
>}
> 
>   }
> 
>   \hspace #2
>  \score {
>   \new Staff { \time 4/4 }
>   \layout { \context MensuralStaff \override NoteHead.style = #'petrucci
> \omit Staff.Clef
> %\omit Staff.TimeSignature
>}
> 
>   }
> 
> \hspace #2
> 
> }
> }

1. I don't really understand what you are trying to achieve
2. Your code does not compile on my system.

Kind regards,
Michael
-- 
 Michael Gerdau   email: m...@qata.de
 GPG-keys available on request or at public keyserver

signature.asc
Description: This is a digitally signed message part.
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Notation snippets

2015-12-27 Thread Malte Meyn


Am 27.12.2015 um 14:34 schrieb Jayaratna:
> Dear Lilipondians,
> 
> I am trying to make a page which shows a series of music symbols, each of
> them appearing on a standard staff of a given measure. So far I can print
> clefs and other symbols, but with no staff lines.
> 
> Any idea on how to make this?
> 
> Thank you,
> A

Your \layout blocks are messed up (don’t compile, MensuralStaff vs.
Staff). Did you want to do something like the following?

\version "2.19.33"

\paper {
  indent = 0
}

\markup {
  \fill-line {
\score {
  \new Staff \with {
\omit TimeSignature
  } {
\clef violin
  }
}
\hspace #2
\score {
  \new Staff \with {
\omit Clef
  } {
\time 4/4
  }
}
  }
}

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


Re: Notation snippets

2015-12-27 Thread Jayaratna
I'm downloading the newest version. Hope I can keep both versions on my
system.

In any case, is it possible to center the last notes with the staff lines?

Thank you,
A



--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/Notation-snippets-tp185122p185128.html
Sent from the User mailing list archive at Nabble.com.

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


\transpose not work working inside define-music-function

2015-12-27 Thread J Smith
I'm trying to define a music function that transposes a chord and a 
melody multiple times.  But for some reason, the transposition is done 
only once.
 
Here's my attempt:
 
repeatpattern =
#(define-music-function (parser location chord pattern) (ly:music? 
ly:music?)
  #{
  % <<
  \new ChordNames {
\transpose c d { #chord }
\transpose c e { #chord }
  }
  \new Staff {
\transpose c d { #pattern }
\transpose c e { #pattern }
  }
  % >>
  #})
 
\score {
  \repeatpattern { c1 } { c'4 d' e' r }
}
 
(delete the %'s preceding << and >>; had to add them to pass Gmane's 
filter).

Any ideas for why this is not working and how to fix it? (i.e., it 
should transpose "c d e" into "d e f#" and "e f# g#", not into "f# g# 
a#").


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


Re: ANN: Frescobaldi 2.18.2

2015-12-27 Thread Ralph Palmer
On Sun, Dec 27, 2015 at 10:14 AM, Wilbert Berendsen  wrote:

> Dear friends,
>
> I yeserday released Frescobaldi 2.18.2, a maintenance release
> containing bug fixes, small improvements and translation updates.


Thanks, once again, for Frescobaldi, Wilbert Berendsen. What a difference
it has made in my transcription/transposing/music making!

I hope you have a wonderful New Year,

Ralph


-- 
Ralph Palmer
Brattleboro, VT
USA
palmer.r.vio...@gmail.com
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: \transpose not work working inside define-music-function

2015-12-27 Thread Thomas Morley
2015-12-27 17:32 GMT+01:00 J Smith :
> I'm trying to define a music function that transposes a chord and a
> melody multiple times.  But for some reason, the transposition is done
> only once.
>
> Here's my attempt:
>
> repeatpattern =
> #(define-music-function (parser location chord pattern) (ly:music?
> ly:music?)
>   #{
>   % <<
>   \new ChordNames {

Nothing to do with \transpose
change
#chord to $chord
and
#pattern to $pattern
to work on a _copy_ of chord

HTH,
  Harm


> \transpose c d { #chord }
> \transpose c e { #chord }
>   }
>   \new Staff {
> \transpose c d { #pattern }
> \transpose c e { #pattern }
>   }
>   % >>
>   #})
>
> \score {
>   \repeatpattern { c1 } { c'4 d' e' r }
> }
>
> (delete the %'s preceding << and >>; had to add them to pass Gmane's
> filter).
>
> Any ideas for why this is not working and how to fix it? (i.e., it
> should transpose "c d e" into "d e f#" and "e f# g#", not into "f# g#
> a#").
>
>
> ___
> lilypond-user mailing list
> lilypond-user@gnu.org
> https://lists.gnu.org/mailman/listinfo/lilypond-user

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


Re: problem with accent placement

2015-12-27 Thread Thomas Morley
2015-12-27 19:12 GMT+01:00 Thomas Morley :
> 2015-12-27 18:18 GMT+01:00 Alex Jones :
>> I’m using the Script.priority-order to place an accidental above a trill 
>> ornament, but when combining with a note accent it creates an ordering 
>> property as per the documentation example.  However with the following 
>> snippet:
>>
>> \version "2.18.0"
>>
>> \relative c''' {
>> a2-> \trill
>>
>> \once \override Script.script-priority = #-100
>> a2-> ^\trill^\markup { \sharp }
>> }
>>
>>
>> The first note places the accent adjacent to the note and the trill above 
>> (which is correct)
>>
>> when adding the \sharp and getting it above the tr it swaps the accent and 
>> trill ornament creates this side-effect.
>>
>> Is there a way to specify the order between the three expressive marks?
>>
>> Thanks!!!
>>
>> -akj
>
> \relative c''' {
> a2-> \trill
>
> a2-\tweak script-priority #99 ->
>   -\tweak script-priority #100 ^\trill
>   ^\markup { \sharp }
> }
>
>
> HTH,
>   Harm


\relative c''' {
  a2-> \trill

  a2-> -\tweak script-priority #101 ^\trill
^\markup { \sharp }
}

would have been enough.
Or use this generalized approach:

\version "2.19.32"

#(define (get-script-type grob)
"Get the type of a Script with the direction-indicator (if any),
outputs a string."
  (let* ((script-stencil (ly:grob-property grob 'script-stencil))
 (direction (ly:grob-property grob 'direction))
 (dir-script-type
   (if (and (pair? script-stencil) (pair? (cdr script-stencil)))
   (if (>= 0 direction)
   (cadr script-stencil)
   (cddr script-stencil))
   '(
;(write-me "\n\tscript-type: " dir-script-type)
dir-script-type))

#(define script-names
;; Returns all script-types and their script-stencil-names as a list of strings
  (append-map
(lambda (s)
  (let ((script-stencils (cdr (assoc-get 'script-stencil (cdr s)
  (cons (car s)
(list (car script-stencils) (cdr script-stencils)
default-script-alist))

#(define ((set-script-property scripts property value) grob)
"Sets @code{property} to @var{value} for all script-types of @var{scripts}."
  (for-each
(lambda (type)
  (if (not (member (symbol->string type) script-names))
  (ly:warning "~a is not a Script, ignoring" type))
  (if (or (eq? type (string->symbol (get-script-type grob)))
  (eq? type
   (string->symbol (string-drop (get-script-type grob) 1
  (ly:grob-set-property! grob property value)))
scripts))

setScriptTypeProperty =
#(define-music-function (parser location types-property value)
  (symbol-list? scheme?)
  "Sets specified grob-property of @var{types-property} to @var{value} for
script-types of @var{types-property}"
  ;; TODO keep previous overrides of 'before-line-breaking
  (if (< (length types-property) 2)
  (ly:warning "script-type or property missing in ~a, skipping \n~a"
  types-property
  (*location*)))
  #{
\temporary
  \override Script.before-line-breaking =
#(set-script-property
   (drop-right types-property 1)
   (car (last-pair types-property))
   value)
  #})


\relative c''' {
  a2-> \trill

  \setScriptTypeProperty trill.script-priority #101
  a2-> ^\trill ^\markup { \sharp }
}


Cheers,
  Harm

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


Re: Notation snippets

2015-12-27 Thread Jayaratna
Hello, Harm,

all notehad styles are supported, but petrucci, semipetrucci and
blackpetrucci styles do not give the proper flag: maybe I should post this
on the bugs list.

 


\version "2.19.34"


my-staff = \markup\stencil
 #(make-path-stencil
'(M  0  2 L 10 2
  M  0  1 L 10  1
  M  0  0 L 10  0
  M  0 -1 L 10 -1
  M  0 -2 L 10 -2)
0.1 1 1 #f)

\markup{

\combine
  \my-staff
  \translate #'(0 . 0)
  \combine
  \override #'(style . mensural) 

  \note-by-number #5 #0 #UP
   \translate #'(1 . 0)
  \combine
  \override #'(style . neomensural) 

  \note-by-number #5 #0 #UP
   \translate #'(1 . 0)
  \combine
  \override #'(style . petrucci) 
  \note-by-number #5 #0 #UP 
  

   \translate #'(1.5 . 0)
  \combine
  \override #'(style . semipetrucci) 
  \note-by-number #4 #0 #UP 

   \translate #'(1.5 . 0)
  \combine
  \override #'(style . blackpetrucci) 
  \note-by-number #3 #0 #UP 

   \translate #'(1.5 . 0)
  \combine
  \override #'(style . semipetrucci) 
  \note-by-number #-1 #0 #UP 
  
 \translate #'(1.5 . 0)
  \combine
  \override #'(style . blackpetrucci) 
  \note-by-number #-1 #0 #UP 
  
  \hspace #3
}



--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/Notation-snippets-tp185122p185143.html
Sent from the User mailing list archive at Nabble.com.

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


Re: problem with accent placement

2015-12-27 Thread Alex Jones
This was successful, thank you!  I did not try the more involved solution.

-akj

> On Dec 27, 2015, at 1:12 PM, Thomas Morley  wrote:
> 
> 2015-12-27 18:18 GMT+01:00 Alex Jones :
>> I’m using the Script.priority-order to place an accidental above a trill 
>> ornament, but when combining with a note accent it creates an ordering 
>> property as per the documentation example.  However with the following 
>> snippet:
>> 
>> \version "2.18.0"
>> 
>> \relative c''' {
>> a2-> \trill
>> 
>> \once \override Script.script-priority = #-100
>> a2-> ^\trill^\markup { \sharp }
>> }
>> 
>> 
>> The first note places the accent adjacent to the note and the trill above 
>> (which is correct)
>> 
>> when adding the \sharp and getting it above the tr it swaps the accent and 
>> trill ornament creates this side-effect.
>> 
>> Is there a way to specify the order between the three expressive marks?
>> 
>> Thanks!!!
>> 
>> -akj
> 
> \relative c''' {
> a2-> \trill
> 
> a2-\tweak script-priority #99 ->
>  -\tweak script-priority #100 ^\trill
>  ^\markup { \sharp }
> }
> 
> 
> HTH,
>  Harm


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


Re: Notation snippets

2015-12-27 Thread Jayaratna
Hello Simon,

thanks for the advice, I've got both version running on Frescobaldinow.
:D

Ciao,
Andy



--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/Notation-snippets-tp185122p185148.html
Sent from the User mailing list archive at Nabble.com.

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


Re: Notation snippets

2015-12-27 Thread Jayaratna
I hope these will be understandable:

workex.ly   

 

It should be like this, but I can't extend the lines over the clefs. I also
need the music symbols to be centered with the staves, and the staff lines
to be of a fixed lenght.

 Thank you,
A



--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/Notation-snippets-tp185122p185125.html
Sent from the User mailing list archive at Nabble.com.

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


Re: Notation snippets

2015-12-27 Thread Jayaratna
Thank you, Pierre and Schneidy,

it works. What about mensural notes as well?
Mensural flags are not suupported by \note-by-number... :(

  %% note
  \combine
  \my-staff
  \translate #'(2 . 0)
  \combine
  \override #'(style . petrucci) 
  \override #'(flag-style . mensural-flag ) 
  \note-by-number #5 #0 #UP
 

Thanks,
Andy





--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/Notation-snippets-tp185122p185136.html
Sent from the User mailing list archive at Nabble.com.

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


Re: Notation snippets

2015-12-27 Thread Jayaratna
It does not support the proper flag with bigger noteheads

:_(

Thank you anyway.

A

%% note
  \combine
  \my-staff
  \translate #'(0 . 0)
  \combine
  \override #'(style . mensural) 
  %\override #'(flag-style . mensural-flag ) 
  \note-by-number #5 #0 #UP
   \translate #'(1 . 0)
  \combine
  \override #'(style . neomensural) 
  %\override #'(flag-style . mensural-flag ) 
  \note-by-number #5 #0 #UP
   \translate #'(1 . 0)
  \combine
  \override #'(style . petrucci) 
  %\override #'(flag-style . mensural-flag ) 
  \note-by-number #5 #0 #UP
  \hspace #3




--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/Notation-snippets-tp185122p185139.html
Sent from the User mailing list archive at Nabble.com.

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


Re: Notation snippets

2015-12-27 Thread Thomas Morley
2015-12-27 18:22 GMT+01:00 Jayaratna :
> Thank you, Pierre and Schneidy,
>
> it works. What about mensural notes as well?
> Mensural flags are not suupported by \note-by-number... :(



They are not _separatly_ supported, I thought that would make little sense ;)

\markup {
  \override #'(style . mensural)
  \note-by-number #5 #0 #UP
}

Cheers,
  Harm

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


ANN: Frescobaldi 2.18.2

2015-12-27 Thread Wilbert Berendsen
Dear friends,

I yeserday released Frescobaldi 2.18.2, a maintenance release
containing bug fixes, small improvements and translation updates.

Homepage: www.frescobaldi.org
Download: www.frescobaldi.org/download

It is needed to upgrade python-ly to version 0.9.3, which contains
additional bug fixes. See https://pypi.python.org/pypi/python-ly .

Thanks go to all the users, bug reporters and co developers.

Enjoy and happy new year!!


-- 
Wilbert Berendsen, musician
‣ web: www.wilbertberendsen.nl
‣ email: i...@wilbertberendsen.nl


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


Re: lilypond-devel on MacPorts

2015-12-27 Thread Jacques Menu
Hello Samuel,

MacPorts as I understand it is meant to work on its own. Since it keeps records 
of what has been installed, their dependencies and where they have been 
installed, I don’t think you can tamper with that easily.

JM


> Le 26 déc. 2015 à 20:57, Br. Samuel Springuel  a écrit 
> :
> 
> In order to make keeping up with the development version of Lilypond easier, 
> I'm thinking of transitioning to the MacPorts version (as then keeping it up 
> to date would automatically be part of my normal MacPorts maintenance).  
> However, I've noticed that the lilypond-devel port has dependencies on the 
> MacPorts texlive packages.  Seeing as I already have TeXLive installed 
> through MacTeX, is there any way to install this port without installing a 
> duplicate TeXLive installation through MacPorts?
> -- 
> ✝
> Br. Samuel, OSB
> St. Anselm’s Abbey
> Washington, DC
> (R. Padraic Springuel)
> 
> PAX ☧ ΧΡΙΣΤΟΣ
> 
> ___
> lilypond-user mailing list
> lilypond-user@gnu.org
> https://lists.gnu.org/mailman/listinfo/lilypond-user


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


Re: Notation snippets

2015-12-27 Thread Thomas Morley
2015-12-27 19:19 GMT+01:00 Jayaratna :
> Hello, Harm,
>
> all notehad styles are supported, but petrucci, semipetrucci and
> blackpetrucci styles do not give the proper flag: maybe I should post this
> on the bugs list.
>
> 



The problem is that we don't have other ancient flags than flags.mensural
Right now only (neo-)mensural style-note-heads will get
mensural-flags, the other ancient styles default ones.
\override #'(flag-style . ) only works for straight/flat-flags with.

Not sure, if we should hardwire all ancient note-head-styles to
mensural-flags, but the user should be able to set the flag-style he
prefers even for ancient note-heads.
So far I'd call it a bug, yes

Will have a closer look.

Cheers,
  Harm

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


Re: ANN: Frescobaldi 2.18.2

2015-12-27 Thread zzk
Wilbert Berendsen-2 wrote
> I yeserday released Frescobaldi 2.18.2, a maintenance release
> containing bug fixes, small improvements and translation updates.

Thank you so much for your work on Frescobaldi, Wilfred.

Wishing you all the best in 2016.

ZK 




--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/ANN-Frescobaldi-2-18-2-tp185124p185186.html
Sent from the User mailing list archive at Nabble.com.

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


Re: Lilypond console output stdout/stderr

2015-12-27 Thread Andrew Bernard
Good question. A continual annoyance. You can’t pipe through less and so on, 
without redirecting shell file descriptors.

Andrew


On 28/12/2015, 15:57, "Nick Payne" 
 wrote:

Why does what should be considered "normal" console output go to stderr 
rather than stdout.

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


Re: Notation snippets

2015-12-27 Thread Jayaratna
Thank you so much, Harm. 

Maybe I could/should draw the glyphs for petrucci style flags. They should
not be too much work if I can start from a draft.

Andy



--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/Notation-snippets-tp185122p185153.html
Sent from the User mailing list archive at Nabble.com.

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


Re: Notation snippets

2015-12-27 Thread Thomas Morley
2015-12-27 21:10 GMT+01:00 Thomas Morley :
> 2015-12-27 19:19 GMT+01:00 Jayaratna :
>> Hello, Harm,
>>
>> all notehad styles are supported, but petrucci, semipetrucci and
>> blackpetrucci styles do not give the proper flag: maybe I should post this
>> on the bugs list.
>>
>> 
>
>
>
> The problem is that we don't have other ancient flags than flags.mensural
> Right now only (neo-)mensural style-note-heads will get
> mensural-flags, the other ancient styles default ones.
> \override #'(flag-style . ) only works for straight/flat-flags with.
>
> Not sure, if we should hardwire all ancient note-head-styles to
> mensural-flags, but the user should be able to set the flag-style he
> prefers even for ancient note-heads.
> So far I'd call it a bug, yes
>
> Will have a closer look.

https://sourceforge.net/p/testlilyissues/issues/4716/

>
> Cheers,
>   Harm

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


Re: adding a markup ("sim.") to the end of a SustainPedalBracket

2015-12-27 Thread Simon Albrecht

Hello Kieren,

the bug is a consequence of issue 2504 
.

To fix it, just change line 89 of your attached file into
(stencil-whiteout new-sim-stil 'outline thickness 1)

Yours, Simon

On 27.12.2015 23:32, Kieren MacMillan wrote:

Argh! Here’s the attachment.

Sorry for the noise,
Kieren.




On Dec 27, 2015, at 5:31 PM, Kieren MacMillan  
wrote:


Hello Harm (et al.),

Attached is the pedal stencil-altering function you wrote for me back in 2013 
(v. 2.17.20).
(BTW: I use this function all the time. Thanks!)

Recently, I’ve been thinking about generalizing it and submitting it as a 
patch, with a few small improvements (e.g., it would be great to have 
parameters for the trailing text and padding). But before I got around to that, 
I upgraded to 2.19.34, and it’s stopped working:
In procedure stencil-whiteout in expression (stencil-whiteout new-sim-stil) 
[…]
Wrong number of arguments to #

It seems to work fine with 2.19.31, if that helps narrow down the issue.
n.b. Applying convert-ly didn’t seem to fix the problem.

If you could fix it for me, I would greatly appreciate it.
Even more appreciated would be to add those arbitrary text and padding 
parameters.  ;)

Thanks,
Kieren.



Kieren MacMillan, composer
‣ website: www.kierenmacmillan.info
‣ email: i...@kierenmacmillan.info



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



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


Re: Strings as variable names

2015-12-27 Thread Andrew Bernard
Hi Jacques,

Well, the NR states:

The name of a variable must have alphabetic characters only, no numbers, 
underscores, or dashes.

That excludes spaces explicitly. The fact that you can use a quoted string is 
undocumented and may therefore become unsupported at any time. In Scheme, you 
cannot have strings as variable identifiers. I would be disinclined to move too 
far away from Scheme syntax, even though lilypond may allow it.

Most lilypond users would write bellaMelodia, conventionally. In terms of 
readability, it’s clearer to read than the string with quotes, I reckon.

Andrew



On 27/12/2015, 20:30, "Menu Jacques" 
 wrote:

\score {
  \"bella melodia"
}


but I couldn’t find such a possibility in the 2.19.31 Notation Reference, even 
though that may be useful.


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


Re: adding a markup ("sim.") to the end of a SustainPedalBracket

2015-12-27 Thread Thomas Morley
2015-12-27 23:32 GMT+01:00 Kieren MacMillan :
> Argh! Here’s the attachment.
>
> Sorry for the noise,
> Kieren.
>
>
>
>
> On Dec 27, 2015, at 5:31 PM, Kieren MacMillan  
> wrote:
>
>> Hello Harm (et al.),
>>
>> Attached is the pedal stencil-altering function you wrote for me back in 
>> 2013 (v. 2.17.20).
>> (BTW: I use this function all the time. Thanks!)

Honestly, I didn't remember I wrote it. Though, I found it on my hard-disk...

>>
>> Recently, I’ve been thinking about generalizing it and submitting it as a 
>> patch, with a few small improvements (e.g., it would be great to have 
>> parameters for the trailing text and padding).

I think it'll be possible. Ofcourse as a music-function.

>> But before I got around to that, I upgraded to 2.19.34, and it’s stopped 
>> working:
>>In procedure stencil-whiteout in expression (stencil-whiteout 
>> new-sim-stil) […]
>>Wrong number of arguments to #> thickness line-thickness)>
>>
>> It seems to work fine with 2.19.31, if that helps narrow down the issue.
>> n.b. Applying convert-ly didn’t seem to fix the problem.
>>
>> If you could fix it for me, I would greatly appreciate it.
>> Even more appreciated would be to add those arbitrary text and padding 
>> parameters.  ;)


Well, the problem is quite obvious.
Paul implemented some nice whiteout-functions, though the amount of
needed arguments is different now.

Which one do you want?
You can replace stencil-whiteout with `stencil-whiteout-box' and it
should work. `stencil-whiteout' itself takes more arguments now, among
them a `style'-argument, which may be set to 'outline or 'rounded-box
and some padding is possible.

Though, I have a problem with it, thus cc-ing Paul and David

(1)
stencil-whiteout-box uses define*-public and optional arguments, I
thought it's broken in guilev2
If it's ok here I have not understood the subtletyies when usage is ok
and when not. I would appreciate any hint (link) helping me to
understand.
If it's not ok, it should be fixed, ofcourse. Though in general, would
dotted syntax be an alternative?
Like (define-public (stencil-whiteout-box stil . rest) ...)

(2)
The doc-string for `stencil-whiteout' implies that @var{thickness} is
optional. As far as I understand it's not.

Cheers,
  Harm

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


Re: lilypond-devel on MacPorts

2015-12-27 Thread Carl Sorensen


On 12/27/15 12:32 PM, "Jacques Menu"  wrote:

>Hello Samuel,
>
>MacPorts as I understand it is meant to work on its own. Since it keeps
>records of what has been installed, their dependencies and where they
>have been installed, I don¹t think you can tamper with that easily.
>
>JM
>
>
>> Le 26 déc. 2015 à 20:57, Br. Samuel Springuel  a
>>écrit :
>> 
>> In order to make keeping up with the development version of Lilypond
>>easier, I'm thinking of transitioning to the MacPorts version (as then
>>keeping it up to date would automatically be part of my normal MacPorts
>>maintenance).  However, I've noticed that the lilypond-devel port has
>>dependencies on the MacPorts texlive packages.  Seeing as I already have
>>TeXLive installed through MacTeX, is there any way to install this port
>>without installing a duplicate TeXLive installation through MacPorts?
>> --

I used to have LilyPond installed via MacPorts and use it for development.
 But maintaining that became too hard -- there would be occasional random
breakages that would need to be fixed.  So I moved to just using LilyDev
for my development environment.  I do install development releases on my
Mac and use them with Frescobaldi for my engraving work.

Carl


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


Lilypond console output stdout/stderr

2015-12-27 Thread Nick Payne
Why does what should be considered "normal" console output go to stderr 
rather than stdout. For example, if I want to capture the list of fonts 
to a file, I have to redirect stderr rather than stdout:


lilypond -dshow-available-fonts 2> lilyfont.txt

Nick

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


Re: Beamed Tremolo + Fermata

2015-12-27 Thread Kieren MacMillan
Hi Abraham,

On Dec 24, 2015, at 5:52 PM, Abraham Lee  wrote:
> Any other nice ideas to center-align the fermata on the tremolo beams?

Override [once] the Beam.stencil to add the [centred] fermata?

Hope that helps,
Kieren.


Kieren MacMillan, composer
‣ website: www.kierenmacmillan.info
‣ email: i...@kierenmacmillan.info


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


Re: adding a markup ("sim.") to the end of a SustainPedalBracket

2015-12-27 Thread Kieren MacMillan
Argh! Here’s the attachment.

Sorry for the noise,
Kieren.



PianoPedal_sim.ly
Description: Binary data


On Dec 27, 2015, at 5:31 PM, Kieren MacMillan  
wrote:

> Hello Harm (et al.),
> 
> Attached is the pedal stencil-altering function you wrote for me back in 2013 
> (v. 2.17.20).
> (BTW: I use this function all the time. Thanks!)
> 
> Recently, I’ve been thinking about generalizing it and submitting it as a 
> patch, with a few small improvements (e.g., it would be great to have 
> parameters for the trailing text and padding). But before I got around to 
> that, I upgraded to 2.19.34, and it’s stopped working:
>In procedure stencil-whiteout in expression (stencil-whiteout 
> new-sim-stil) […]
>Wrong number of arguments to # thickness line-thickness)>
> 
> It seems to work fine with 2.19.31, if that helps narrow down the issue.
> n.b. Applying convert-ly didn’t seem to fix the problem.
> 
> If you could fix it for me, I would greatly appreciate it.
> Even more appreciated would be to add those arbitrary text and padding 
> parameters.  ;)
> 
> Thanks,
> Kieren.


Kieren MacMillan, composer
‣ website: www.kierenmacmillan.info
‣ email: i...@kierenmacmillan.info

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


Re: adding a markup ("sim.") to the end of a SustainPedalBracket

2015-12-27 Thread Kieren MacMillan
Hello Harm (et al.),

Attached is the pedal stencil-altering function you wrote for me back in 2013 
(v. 2.17.20).
(BTW: I use this function all the time. Thanks!)

Recently, I’ve been thinking about generalizing it and submitting it as a 
patch, with a few small improvements (e.g., it would be great to have 
parameters for the trailing text and padding). But before I got around to that, 
I upgraded to 2.19.34, and it’s stopped working:
In procedure stencil-whiteout in expression (stencil-whiteout new-sim-stil) 
[…]
Wrong number of arguments to #

It seems to work fine with 2.19.31, if that helps narrow down the issue.
n.b. Applying convert-ly didn’t seem to fix the problem.

If you could fix it for me, I would greatly appreciate it.
Even more appreciated would be to add those arbitrary text and padding 
parameters.  ;)

Thanks,
Kieren.


Kieren MacMillan, composer
‣ website: www.kierenmacmillan.info
‣ email: i...@kierenmacmillan.info


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


Re: adding a markup ("sim.") to the end of a SustainPedalBracket

2015-12-27 Thread David Kastrup
Thomas Morley  writes:

> (1)
> stencil-whiteout-box uses define*-public and optional arguments, I
> thought it's broken in guilev2

Only in connection with currying.  So

(define*-public ((...

is (possibly) going to cause trouble while

(define*-public (...

is ok.

> If it's not ok, it should be fixed, ofcourse. Though in general, would
> dotted syntax be an alternative?
> Like (define-public (stencil-whiteout-box stil . rest) ...)

Works but may end up in less readable code where "rest" is actually
being used.

> (2)
> The doc-string for `stencil-whiteout' implies that @var{thickness} is
> optional. As far as I understand it's not.

Should it be?  Would that have saved us from the error?

-- 
David Kastrup

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


Rotation.

2015-12-27 Thread Hwaen Ch'uqi
Greetings All,

I see from the NR that there are ways of rotating individual objects
or text markups. Is there a way of rotating an entire score?

Thank you for any help.

Hwaen Ch'uqi

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


Re: Strings as variable names

2015-12-27 Thread Johan Vromans
On Mon, 28 Dec 2015 12:05:22 +1100
Andrew Bernard  wrote:

> The name of a variable must have alphabetic characters only, no numbers,
> underscores, or dashes.
> 
> Most lilypond users would write bellaMelodia, conventionally. In terms of
> readability, it’s clearer to read than the string with quotes, I reckon.

They would write bellaMelodia since there is (was) no alternative to
separate "words" in a variable name. 2.19.33 seems to accept dashes and
underscores as well. Maybe the NR needs updating?

-- Johan
   http://johan.vromans.org/seasons_greetings.html

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


Re: Lilypond console output stdout/stderr

2015-12-27 Thread Johan Vromans
On Mon, 28 Dec 2015 16:30:37 +1100
Andrew Bernard  wrote:

> Good question. A continual annoyance. You can’t pipe through less and so
> on, without redirecting shell file descriptors.

The GNU guidelines state (roughly): write to stdout what is asked for, and
to stderr what is not asked for.

  $ foo --bar
  Usage: foo [options] arg<-- stderr
  $ foo --help
  Usage: foo [options] arg<-- stdout

Given this line of reasoning, lilypond -dshow-available-fonts should write
the list to stdout.

-- Johan
   http://johan.vromans.org/seasons_greetings.html


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