Re: \fill-line while respecting natural widths

2014-02-08 Thread Ed Gordijn

Hi David,

See the attached.  (I just changed a line or two of the definition of 
\fill-line from scm/define-markup-commands.scm.) Hopefully this gives 
you what you want!


--David



That's interesting, see the result of the two markups:

\version 2.18.0


\markup \fill-line {
  This line has got even spaces, or is it a bit different?
}
\markup \fill-line-two {
  And this line has different spacing, it uses word length!
}

Is this a bug in the original \fill-line?

Greetings, Ed


fill-line-variant.pdf
Description: Adobe PDF document
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: \fill-line while respecting natural widths

2014-02-08 Thread Mike Solomon

On Feb 8, 2014, at 10:24 AM, Ed Gordijn ed.klari...@gmail.com wrote:

 Hi David,
 
 See the attached.  (I just changed a line or two of the definition of 
 \fill-line from scm/define-markup-commands.scm.) Hopefully this gives you 
 what you want!
 
 --David
 
 
 That's interesting, see the result of the two markups:
 
 \version 2.18.0
 
 \markup \fill-line {
   This line has got even spaces, or is it a bit different?
 }
 \markup \fill-line-two {
   And this line has different spacing, it uses word length!
 }
 
 Is this a bug in the original \fill-line? 

It’s a feature - \fill-line evenly distributes the centers of objects along a 
line irrespective of their widths.

Cheers,
MS

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


Re: \fill-line while respecting natural widths

2014-02-08 Thread Ed Gordijn
Hi Mike,


 It's a feature - \fill-line evenly distributes the centers of objects
 along a line irrespective of their widths.


I see,so there wasn't enough room in the last column for the long word
different? I created too many columns.

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


Re: \fill-line while respecting natural widths

2014-02-08 Thread Kieren MacMillan
David (et al.),

OOO!
This is wonderful. I can already see several places where I will use this.

Thanks,
Kieren.

On Feb 8, 2014, at 2:20 AM, Mike Solomon m...@mikesolomon.org wrote:

 
 On Feb 8, 2014, at 1:18 AM, David Nalesnik david.nales...@gmail.com wrote:
 
 Hi Mike,
 
 See the attached.  (I just changed a line or two of the definition of 
 \fill-line from scm/define-markup-commands.scm.) Hopefully this gives you 
 what you want!
 
 --David
 fill-line-variant.ly
 
 Great work!
 
 Thanks for taking the time to do this.
 
 I’ve posted on-line a PDF of how I use it. By spacing top-level markups
 this way, we get nice columns : 
 http://mikesolomon.org/lilypond/davidNSolution.pdf
 
 Cheers,
 MS
 ___
 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


header not showing bookpart-score header info

2014-02-08 Thread Kieren MacMillan
Hello all,

Why is the header not showing up here?

\version 2.19

\paper {
  print-all-headers = ##t
  bookTitleMarkup = \markup \abs-fontsize #72 \fill-line { \center-column { 
\fromproperty #'header:title \vspace #4 } }
  scoreTitleMarkup = \markup \abs-fontsize #48 \fill-line { \fromproperty 
#'header:piece }
  oddHeaderMarkup = \markup \abs-fontsize #12 \fromproperty #'header:piece
  evenHeaderMarkup = \markup \abs-fontsize #12 \fromproperty #'header:piece
}

\header {
  title = Book Title
}

\bookpart {

  \score {
c''
\header { piece = In C }
  }

\pageBreak

  \score {
d''
\header { piece = In D }
  }
}

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


Re: header not showing bookpart-score header info

2014-02-08 Thread Thomas Morley
2014-02-08 16:19 GMT+01:00 Kieren MacMillan kieren_macmil...@sympatico.ca:
 Hello all,

 Why is the header not showing up here?

 \version 2.19

 \paper {
   print-all-headers = ##t
   bookTitleMarkup = \markup \abs-fontsize #72 \fill-line { \center-column { 
 \fromproperty #'header:title \vspace #4 } }
   scoreTitleMarkup = \markup \abs-fontsize #48 \fill-line { \fromproperty 
 #'header:piece }
   oddHeaderMarkup = \markup \abs-fontsize #12 \fromproperty #'header:piece
   evenHeaderMarkup = \markup \abs-fontsize #12 \fromproperty #'header:piece
 }


Hi,
not sure why your code doesn't work.
Though, the following seems to do the trick:

myBookTitleMarkup = \markup \abs-fontsize #72 \fill-line {
\center-column { \fromproperty #'header:title \vspace #4 } }
myScoreTitleMarkup = \markup \abs-fontsize #48 \fill-line {
\fromproperty #'header:piece }

\paper {
  print-all-headers = ##t
  bookTitleMarkup = \myBookTitleMarkup
  scoreTitleMarkup = \myScoreTitleMarkup
  oddHeaderMarkup = \markup \abs-fontsize #12 \fromproperty #'header:piece
  evenHeaderMarkup = \markup \abs-fontsize #12 \fromproperty #'header:piece
}


Cheers,
  Harm

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


Re: header not showing bookpart-score header info

2014-02-08 Thread Kieren MacMillan
Hi Harm,

 not sure why your code doesn't work.
 Though, the following seems to do the trick:

Really? What version [exactly] are you using?
On 2.19.2, this doesn’t seem to help (i.e., it doesn’t make the header appear 
on either page)…

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


Re: header not showing bookpart-score header info

2014-02-08 Thread Eluze
Kieren MacMillan wrote
 Hello all,
 
 Why is the header not showing up here?
 
 \version 2.19
 
 \paper {
   print-all-headers = ##t
   bookTitleMarkup = \markup \abs-fontsize #72 \fill-line { \center-column
 { \fromproperty #'header:title \vspace #4 } }
   scoreTitleMarkup = \markup \abs-fontsize #48 \fill-line { \fromproperty
 #'header:piece }
   oddHeaderMarkup = \markup \abs-fontsize #12 \fromproperty #'header:piece
   evenHeaderMarkup = \markup \abs-fontsize #12 \fromproperty
 #'header:piece
 }
 
 \header {
   title = Book Title
 }
 
 \bookpart {
 
   \score {
 c''
 \header { piece = In C }
   }
 
 \pageBreak
 
   \score {
 d''
 \header { piece = In D }
   }
 }

well - if you're talking about the piece it's clear from the NR:


  oddHeaderMarkup
  evenHeaderMarkup
  oddFooterMarkup
  evenFooterMarkup
 
These markup variables can only access text fields from top-level \header
blocks

now you can define piece at top-level as well as in the \score-header:

\bookpart {
  \header { piece = ##f }
  \score {
{ ... }
  }
  \header { piece = wonderful}
}

and - unexpectedly - wonderful will spread over the whole score...

Eluze



--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/header-not-showing-bookpart-score-header-info-tp158990p158995.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: header not showing bookpart-score header info

2014-02-08 Thread Kieren MacMillan
Hi Eluze,

 if you're talking about the piece

I am.

 it's clear from the NR:

D’oh. Sorry. As with many things in Lilypond that I have used ‘forever’, I 
thought I knew more about the paper/custom-titling variables than I actually do.
Next time I will RTFineM first.  =)

 now you can define piece at top-level as well as in the \score-header:
 and - unexpectedly - wonderful will spread over the whole score…

Yep… which I don’t want.

How can I eat my cake and have it, too?
i.e., What can I do to have a header which grabs, on each page, the “current” 
header variable(s)?

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


Ligatures in music font

2014-02-08 Thread Noeck
Hi,

is it possible to use ligatures in music fonts? I haven’t seen a
use-case for Feta glyphs. But if the font defines ligatures, can I
somehow get them?

I am asking in the context of the Bravura font and the smufl package in
the snippets repository. There I can access single glyphs like

\smuflglyph #gClef

and there is a ligature with the octavation 8, but if I write

\concat { \smuflglyph #gClef \smuflglyph #gClefLigatedNumberBelow }

the ligature does not work. Is there a way?

TIA
Joram

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


Re: Horizontalized scores

2014-02-08 Thread Janek Warchoł
Hello,

2014-02-07 19:24 GMT+01:00 Erik Linde e...@notezilla.io:
 Hi,

 I am the creator of Notezilla, a popular (and fairly new) web application
 that allows users to both listen to classical music, as well as see a
 scrolling representation of the score that has been synced exactly to the
 recording.

this looks very nice!  I haven't heard about it before.

I hope that Jay's suggestion worked for you.  Btw, you may find this
project interesting: https://github.com/aspiers/ly2video

best,
Janek

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


Re: Ligatures in music font

2014-02-08 Thread Nathan
On Sat, Feb 8, 2014 at 11:11 AM, Noeck noeck.marb...@gmx.de wrote:
 Hi,

 is it possible to use ligatures in music fonts? I haven’t seen a
 use-case for Feta glyphs. But if the font defines ligatures, can I
 somehow get them?

 I am asking in the context of the Bravura font and the smufl package in
 the snippets repository. [...]

Thing is, LilyPond doesn't think Bravura is a music font. It's just
another text font as far as Lily cares, and any ligature problems you
speak of are those that apply to text fonts.

Even if joined by \concat, it seems that \char (which is used
internally by \smuflglyph and \smuflchar) won't form ligatures. So we
can construct the string directly from Scheme:

\markup {
  \fontsize #5
  \override #`(font-name . ,smufl-font)
#(markup (string-append
   (ly:wide-char-utf-8 (cdr (assoc
gClefLigatedNumberBelow smufl-map)))
   (ly:wide-char-utf-8 (cdr (assoc tuplet5 smufl-map)
}

Regards,
Nathan

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


Re: \fill-line while respecting natural widths

2014-02-08 Thread David Nalesnik
Hi Mike,


On Sat, Feb 8, 2014 at 1:20 AM, Mike Solomon m...@mikesolomon.org wrote:


 On Feb 8, 2014, at 1:18 AM, David Nalesnik david.nales...@gmail.com
 wrote:

 Hi Mike,

 See the attached.  (I just changed a line or two of the definition of
 \fill-line from scm/define-markup-commands.scm.) Hopefully this gives you
 what you want!

 --David
 fill-line-variant.ly


 Great work!


Thanks!


 I’ve posted on-line a PDF of how I use it. By spacing top-level markups
 this way, we get nice columns :
 http://mikesolomon.org/lilypond/davidNSolution.pdf


Very nice looking.

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


Re: \fill-line while respecting natural widths

2014-02-08 Thread David Nalesnik
Hi Kieren,


On Sat, Feb 8, 2014 at 7:16 AM, Kieren MacMillan 
kieren_macmil...@sympatico.ca wrote:

 David (et al.),

 OOO!
 This is wonderful. I can already see several places where I will use this.

 Thanks,
 Kieren.


Hmm--do you think it should be added as an option to \fill-line?  (Well, it
would need some going over first.)

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


Re: \fill-line while respecting natural widths

2014-02-08 Thread Kieren MacMillan
Hi David,

 Hmm--do you think it should be added as an option to \fill-line?

DEFINITELY!
As just one example: I’m going to use it in the musical theatre scores I’m 
engraving right now, to [evenly] space two columns of dialogue above a system 
of underscore music.

But maybe it should be its own separate function, e.g., \spaced-line, or some 
such thing?

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


Re: Ligatures in music font

2014-02-08 Thread Noeck
Hi Nathan,

that is awesome!

 \markup {
   \fontsize #5
   \override #`(font-name . ,smufl-font)
 #(markup (string-append
(ly:wide-char-utf-8 (cdr (assoc
 gClefLigatedNumberBelow smufl-map)))
(ly:wide-char-utf-8 (cdr (assoc tuplet5 smufl-map)
 }

Thanks a lot.
Joram

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


Breton bagpipe notation

2014-02-08 Thread guoguocuozuoduo
Hi all,
 
Is it possible to setup the basic template for Breton bagpipe notation? (as 
opposed to Scottish notation, Breton notation has all melody notes stem-up and 
all grace notes/embellishments stem-down.)
 
Here is the code for Scottish notation:
 
\version 2.19.2
\layout {

  \context {\Voice% All stems go down.\override Stem.direction = 
#DOWN% All slurs and ties are on top.\override Slur.direction = #UP
\override Tie.direction = #UP  }} This code makes all melody notes stem-down 
and all embellishments/grace notes stem-up. Is there a way to do the reverse, 
without having to do \stemDown \taor\stemUp a\StemDown \dblb\stemUp b... every 
time?(\taor and \dblb are defined variables in bagpipe.ly) A reply would be 
much appreciated.   ___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Ligatures in music font

2014-02-08 Thread Noeck
Hi again,

 \markup {
   \fontsize #5
   \override #`(font-name . ,smufl-font)
 #(markup (string-append
(ly:wide-char-utf-8 (cdr (assoc
 gClefLigatedNumberAbove smufl-map)))
(ly:wide-char-utf-8 (cdr (assoc tuplet5 smufl-map)
 }

But do you know why it does not work with Above, the clef looks right,
but the ligature does not work.

Cheers,
Joram

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


vertical position of beamed rests

2014-02-08 Thread Casey Anderson
hi all,

we are beaming over rests with stemlets, which often pushes the rest up or
down, but would like to keep the rest vertically centered in the staff.
when we try:

\override Score.Rest #'staff-position = #'-0

the rests get positioned correctly, but the beam does not change
accordingly to prevent collision.

any ideas on how to do this without resulting in collisions.

-- 
http://www.caseyanderson.com/ http://www.caseythomasanderson.com/
http://www.experimentalmusicyearbook.com/
http://www.khalija.com/
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: vertical position of beamed rests

2014-02-08 Thread Urs Liska


Casey Anderson casey.thomas.ander...@gmail.com schrieb:
hi all,

we are beaming over rests with stemlets, which often pushes the rest up
or
down, but would like to keep the rest vertically centered in the staff.
when we try:

\override Score.Rest #'staff-position = #'-0

the rests get positioned correctly, but the beam does not change
accordingly to prevent collision.

any ideas on how to do this without resulting in collisions.

Does the 

b'8\rest 

syntax for positioning rests help you?
-- 
Urs Liska
openlilylib.org

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


Re: Ligatures in music font

2014-02-08 Thread Nathan
On Sat, Feb 8, 2014 at 2:37 PM, Noeck noeck.marb...@gmx.de wrote:
 Hi again,

 \markup {
   \fontsize #5
   \override #`(font-name . ,smufl-font)
 #(markup (string-append
(ly:wide-char-utf-8 (cdr (assoc
 gClefLigatedNumberAbove smufl-map)))
(ly:wide-char-utf-8 (cdr (assoc tuplet5 smufl-map)
 }

 But do you know why it does not work with Above, the clef looks right,
 but the ligature does not work.


Hmm, it seems to work for me. Are you getting the attached output?
attachment: smuflclef.png___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: vertical position of beamed rests

2014-02-08 Thread Casey Anderson
hi urs,

sure, but refactoring all the rests would be very difficult as the score is
already completely generated...we are hoping to simply make this change
when necessary on a case-by-case basis. any idea how to do so without
refactoring the entire score (there are 64 of them)?

casey


On Sat, Feb 8, 2014 at 3:09 PM, Urs Liska u...@openlilylib.org wrote:



 Casey Anderson casey.thomas.ander...@gmail.com schrieb:
 hi all,
 
 we are beaming over rests with stemlets, which often pushes the rest up
 or
 down, but would like to keep the rest vertically centered in the staff.
 when we try:
 
 \override Score.Rest #'staff-position = #'-0
 
 the rests get positioned correctly, but the beam does not change
 accordingly to prevent collision.
 
 any ideas on how to do this without resulting in collisions.

 Does the

 b'8\rest

 syntax for positioning rests help you?
 --
 Urs Liska
 openlilylib.org




-- 
http://www.caseyanderson.com/ http://www.caseythomasanderson.com/
http://www.experimentalmusicyearbook.com/
http://www.khalija.com/
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Problems installing Frescobaldi for Mac, issue with py27-pyqt4 install

2014-02-08 Thread Carl Peterson
All (but particularly anyone with experience/knowledge on fresco for mac),

I'm trying to install the latest stable of Frescobaldi on my Mac
(10.9), and it gets to installing the py27-pyqt4 dependency, and fails
with this message:


Error: org.macports.configure for port py27-pyqt4 returned: configure
failure: command execution failed
Error: Failed to install py27-pyqt4
Please see the log file for port py27-pyqt4 for details:
/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_python_py-pyqt4/py27-pyqt4/main.log
Error: The following dependencies were not installed: py27-pyqt4
py27-python-poppler-qt4 poppler-qt4-mac autoconf m4 automake curl
curl-ca-bundle libidn lcms2 openjpeg15 jbigkit poppler poppler-data
To report a bug, follow the instructions in the guide:
http://guide.macports.org/#project.tickets
Error: Processing of port frescobaldi failed


Any suggestions on how to get through this?


Thanks,
Carl

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