Re: Center Lyric Syllables (ignoring punctuation)

2014-03-03 Thread Pierre Perol-Schneider
2013-09-28 23:23 GMT+02:00 Thomas Morley :

> To the author of the new LSR-snippet "Center Lyric Syllables (ignoring
> punctuation)"
>
> Many thanks for your code.
>
> I did some slightly reformatting of code and description.
>
>
I've added these infos/links on the top of the snippet :
%LSR by Wolf Alight

%=>http://lists.gnu.org/archive/html/lilypond-user/2010-02/msg00444.html

%=>http://lists.gnu.org/archive/html/lilypond-user/2013-05/msg00800.html

%LSR modified by Alexander Kobel

%=>http://permalink.gmane.org/gmane.comp.gnu.lilypond.general/89675
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Center Lyric Syllables (ignoring punctuation)

2014-03-03 Thread Kieren MacMillan
Hi everyone,

> attached is a modified version which works on 2.17.x and 2.18. Could you 
> update the LSR snippet? I'm not allowed to. Thanks!

Has anyone else noticed that this [amazing] function results in it being 
impossible to tweak the LyricText.self-alignment-X property? (See example, 
below.)
Is there a fix?

Thanks,
Kieren.

%  SNIPPET BEGINS

\version "2.19"
\language "english"

#(define space-set
  (list->char-set (string->list ".?-;,:“”‘’–— */()[]{}|<>!`~&…")))

#(define (width grob text-string)
  (let* ((layout (ly:grob-layout grob))
 (props
  (ly:grob-alist-chain
   grob
   (ly:output-def-lookup layout 'text-font-defaults)))
 (X-extent (ly:stencil-extent
(ly:text-interface::interpret-markup layout props
 (markup text-string)) X)))
   (if (interval-empty? X-extent)
0 (cdr X-extent

#(define (center-on-word grob)
  (let* ((text (ly:grob-property-data grob 'text))
 (syllable (if (string? text) text ""))
 (word-position
  (if (integer? (string-skip syllable space-set))
   (string-skip syllable space-set)
   0))
 (word-end
  (if (integer? (string-skip-right syllable space-set))
   (+ (string-skip-right syllable space-set) 1)
   (string-length syllable)))
 (preword (substring syllable 0 word-position))
 (word (substring syllable word-position word-end))
 (preword-width (if (string? text) (width grob preword) 0))
 (word-width (if (string? text) (width grob word) (width grob text)))
 (notehead (ly:grob-parent grob X))
 (refp (ly:grob-common-refpoint notehead grob X))
 (note-extent (ly:grob-extent notehead refp X))
 (note-width (- (cdr note-extent) (car note-extent

   (if (= -1 (ly:grob-property-data grob 'self-alignment-X))
(- 0 preword-width)
(- (/ (- note-width word-width) 2) preword-width


\layout {
  \context {
\Lyrics
\override LyricText #'X-offset = #center-on-word
  }
}

notes = \repeat unfold 5 { \repeat unfold 4 c'' \break }
words = \lyricmode { \repeat unfold 10 { foo bar } }
tweaks = { s1*2 s4 \once \override Score.LyricText.self-alignment-X = #RIGHT 
\once \override Score.LyricText.color = #red }

\score {
  <<
\new Staff << \notes \tweaks >>
\new Lyrics \words
  >>
}

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


Re: storing and manipulating multi-chunk texts

2014-03-03 Thread Kieren MacMillan
Hi Harm,

> I now come up with the code below.

Whoa! This looks like it’s ready for me to stress-test.  =)
Many thanks, to you and David K.

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


Re: storing and manipulating multi-chunk texts

2014-03-03 Thread Thomas Morley
2014-03-04 0:06 GMT+01:00 David Kastrup :
> Thomas Morley  writes:
>
>> 2014-03-03 15:51 GMT+01:00 David Kastrup :
>>
>>> Another approach would be to have a markup list command \line-parts
>
>> I tried the \line-parts approach:
>> Although it is quite easy to split a simple markup back into a
>> markup-list, I found no way to return a simple list of markups (or
>> stencils) from a markup-command.
>
> That's why I was suggesting making \line-parts a markup list command
> rather than a markup command as you do here:
>
>> #(define-markup-command (line-parts layout props arg)(markup?)
>
Had overlooked it. Thanks for the hint!
I now come up with the code below.
Not sure, if the list picking is really save. Some more tests needed, I guess.
At least it works in the examples.

\version "2.19.1"

#(define-markup-list-command (line-parts layout props args)(markup-list?)
  (let* ((ls (if (chain-assoc-get (cadar args) props)
 (cadr (chain-assoc-get (cadar args) props))
 (cadar args
  (interpret-markup-list layout props ls)))


%% TESTS


\paper {
  bookTitleMarkup =
  \markup
  \box
  \column {
\fill-line { \bold \fontsize #4 \fromproperty #'header:dedication }
\vspace #2
\fontsize #5
\fill-line { \line-parts { \fromproperty #'header:title } }
\fill-line {
  \abs-fontsize #12
  \center-column { \line-parts { \fromproperty #'header:meter } }
  \null
}
  }

  oddHeaderMarkup =
  \markup
\column {
  \abs-fontsize #12
  \fill-line {
  \rounded-box
  \center-column {
\bold \fontsize #4 "page-header-test"
\line-parts { \fromproperty #'header:title }
\fromproperty #'header:meter
  }
  }
}
}

\header {
  dedication = "TESTING BOOKTITLE"
  title = \markup { "Aaa" "Bbb" "Ccc" }
  meter = \markup { \rotate #3 "Crazy" \rotate #-3 "Whatever" }
}

\markup
  \column { \vspace #2 \box \bold \fontsize #4 "testing toplevel markups:" }

testOne = \markup { \fontsize #4 "X|X" \italic "YyyyY" }

\markup \box { \line { \line-parts { \testOne } } }
\markup \box { \fill-line { \line-parts { \testOne } } }
\markup \box { \center-column { \line-parts { \testOne } } }


Cheers,
  Harm

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


Re: Removing the dividing line above footnotes

2014-03-03 Thread Vaughan McAlley
On 4 March 2014 12:50, Vaughan McAlley  wrote:

> On 4 March 2014 12:33, Kieren MacMillan wrote:
>
>> Hi Vaughan,
>>
>> I think you’re looking for
>>
>> footnote-separator-markup = ##f
>>
>> (e.g., in your \paper block).
>> FYI: you can also change how much padding is above and below it, or
>> change its appearance (e.g., colour, thickness, etc.)!
>>
>> Hope this helps!
>> Kieren.
>>
>>
> Wow, it’s all there... thanks!
>
> Vaughan
>
>
In paper-defaults-init.ly there are these lines:

  footnote-padding = 0.5\mm
  footnote-footer-padding = 0.5\mm
  footnote-number-raise = 0.5\mm

This seems a bit tight—should it be \cm?

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


Re: Removing the dividing line above footnotes

2014-03-03 Thread Vaughan McAlley
On 4 March 2014 12:33, Kieren MacMillan wrote:

> Hi Vaughan,
>
> I think you’re looking for
>
> footnote-separator-markup = ##f
>
> (e.g., in your \paper block).
> FYI: you can also change how much padding is above and below it, or change
> its appearance (e.g., colour, thickness, etc.)!
>
> Hope this helps!
> Kieren.
>
>
Wow, it’s all there... thanks!

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


Re: Removing the dividing line above footnotes

2014-03-03 Thread Kieren MacMillan
Hi Vaughan,

I think you’re looking for

footnote-separator-markup = ##f

(e.g., in your \paper block).
FYI: you can also change how much padding is above and below it, or change its 
appearance (e.g., colour, thickness, etc.)!

Hope this helps!
Kieren.

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


Removing the dividing line above footnotes

2014-03-03 Thread Vaughan McAlley
Hi,

In this particular case (see attached), it would be nice not to have a line
above the footnotes. It doesn’t mix well with word extensions in the bass
line. As far as I can tell, everything in the Internals Reference about
footnotes relates to the part that is in the music. I’m very happy to be
proved wrong though!

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


Re: #(set-global-staff-size ) and \bookOutputSuffix

2014-03-03 Thread Mario Moles
In data lun 3 mar 2014 23:57:40, hai scritto:


If you use two \book {} contexts, each can contain its own 
set-global-staff-size command.



*_\version "2.19.2"_*
*_\language "english"_*
*_\header {_*
*_  title = "Titolo"_*
*_}_*

*_\paper {_*
*_  #(set-paper-size "a4")_*
*_}_*

*_global = {_*
*_  \key c \major_*
*_  \time 4/4_*
*_  \tempo 4=100_*
*_}_*

*_violin = \relative c'' {_*
*_  \global_*
*_  % Qui segue la musica._*
*_  c1|_*
*_  c|c|c|c|c|c|c|c|c|c|_*
*_}_*

*_viola = \relative c' {_*
*_  \global_*
*_  % Qui segue la musica._*
*_  c1|_*
*_  c|c|c|c|c|c|c|c|c|c|_*
*_}_*

*_cello = \relative c {_*
*_  \global_*
*_  % Qui segue la musica._*
*_  c1|_*
*_  c|c|c|c|c|c|c|c|c|c|_*
*_}_*

*_contrabass = \relative c {_*
*_  \global_*
*_  % Qui segue la musica._*
*_  c1|_*
*_  c|c|c|c|c|c|c|c|c|c|_*
*_}_*

*_violinPart = \new Staff \with {_*
*_  instrumentName = "Vl."_*
*_  midiInstrument = "violin"_*
*_} \violin_*

*_violaPart = \new Staff \with {_*
*_  instrumentName = "V.la"_*
*_  midiInstrument = "viola"_*
*_} { \clef alto \viola }_*

*_celloPart = \new Staff \with {_*
*_  instrumentName = "Vlc."_*
*_  midiInstrument = "cello"_*
*_} { \clef bass \cello }_*

*_contrabassPart = \new Staff \with {_*
*_  instrumentName = "Cb."_*
*_  midiInstrument = "contrabass"_*
*_} { \clef bass \contrabass }_*

*_\book {_*
*_  #(set-global-staff-size 18)_*
*_\score {\new StaffGroup_*
*_  <<_*
*_\violinPart_*
*_\violaPart_*
*_\celloPart_*
*_\contrabassPart_*
*_  >>_*
*_  \layout {}_*
*_  \midi { }_*
*_}_*
*_}_*
*_\book {_*
*_#(set-global-staff-size 28)  _*
*_  \bookOutputSuffix "Violino I"_*
*_  \score {_*
*_\new StaffGroup_*
*_<<_*
*_  \violinPart_*
*_>>_*
*_\layout {}_*
*_\midi {_*
*_  \context {_*
*_\Score_*
*_tempoWholesPerMinute = #(ly:make-moment 66 4)_*
*_  }_*
*_}_*
*_\header {_*
*_  title = \markup \column {"Titolo"}_*
*_  instrument = \markup \column \normal-text {"Violino I" " "}_*
*_}_*
*_  }_*
*_}_*

oiram/bin/selom
Da ognuno secondo le proprie capacità ad ognuno secondo i propri bisogni.
MIB-kernellinux-tester
http://mariomoles.altervista.org/[1]
Linux[2] 
MIB[3] Lilypond[4] Frescobaldi[5] Rosegarden[6] 


[1] http://mariomoles.altervista.org/
[2] https://www.kernel.org/
[3] http://mib.pianetalinux.org/blog/
[4] http://lilypond.org/
[5] http://www.frescobaldi.org/
[6] http://www.rosegardenmusic.com
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Multiple lily versions on ubuntu

2014-03-03 Thread Simon Albrecht
Thanks, Shane and Wilbert, for the advice. I got it now and everything 
works fine.

Good night,

Simon

Am 04.03.2014 00:07, schrieb Shane Brandes:

This is usually what I do. I use Frescobaldi as a front end and then I
can install multiple versions of lilypond in what ever folders I feel
like and just use the edit/preferences/lilypond preferences where you
can change the default Lilypond version which is easier than monkeying
around with moving directories or links. Just make sure it points to
the usr/bin/lilypond of what ever version you are wishing to use at
the moment.


Shane

On Mon, Mar 3, 2014 at 6:29 AM, Simon Albrecht  wrote:

Hello,

I recently exchanged Windows for Lubuntu on my computer. Lilypond 2.18.0 is
already installed and I want to add 2.19.3, but when I run the installing
file, it requires that I uninstall the "old" versions before installing the
new one. However, I want to have both at hand, as it seems to me is common
use (correct me if I'm mistaken).
So first, is it a good idea just to rename the existing directory into
/lilypond_2.18.0 and thus escape the problem? And second, wouldn't it be
handy to provide for multiple lily versions installed at the same time or at
least make this an easily available option in the installation process (like
--keepold for example)?
Best regards,

Simon

___
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: Multiple lily versions on ubuntu

2014-03-03 Thread Shane Brandes
This is usually what I do. I use Frescobaldi as a front end and then I
can install multiple versions of lilypond in what ever folders I feel
like and just use the edit/preferences/lilypond preferences where you
can change the default Lilypond version which is easier than monkeying
around with moving directories or links. Just make sure it points to
the usr/bin/lilypond of what ever version you are wishing to use at
the moment.


Shane

On Mon, Mar 3, 2014 at 6:29 AM, Simon Albrecht  wrote:
> Hello,
>
> I recently exchanged Windows for Lubuntu on my computer. Lilypond 2.18.0 is
> already installed and I want to add 2.19.3, but when I run the installing
> file, it requires that I uninstall the "old" versions before installing the
> new one. However, I want to have both at hand, as it seems to me is common
> use (correct me if I'm mistaken).
> So first, is it a good idea just to rename the existing directory into
> /lilypond_2.18.0 and thus escape the problem? And second, wouldn't it be
> handy to provide for multiple lily versions installed at the same time or at
> least make this an easily available option in the installation process (like
> --keepold for example)?
> Best regards,
>
> Simon
>
> ___
> 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: storing and manipulating multi-chunk texts

2014-03-03 Thread David Kastrup
Thomas Morley  writes:

> 2014-03-03 15:51 GMT+01:00 David Kastrup :
>
>> Another approach would be to have a markup list command \line-parts

> I tried the \line-parts approach:
> Although it is quite easy to split a simple markup back into a
> markup-list, I found no way to return a simple list of markups (or
> stencils) from a markup-command.

That's why I was suggesting making \line-parts a markup list command
rather than a markup command as you do here:

> #(define-markup-command (line-parts layout props arg)(markup?)

You do know about define-markup-list-command, right?

-- 
David Kastrup

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


#(set-global-staff-size ) and \bookOutputSuffix

2014-03-03 Thread Mario Moles
Hi! Do you think it is possible to have two #(set-global-staff-size ) in a 
single file: one 
for "multi-instruments" (18) and one for one part (24)?
Thanks!

\version "2.19.2"
\language "english"
#(set-global-staff-size 18)
\header {
  title = "Titolo"
}

\paper {
  #(set-paper-size "a4")
}

global = {
  \key c \major
  \time 4/4
  \tempo 4=100
}

violin = \relative c'' {
  \global
  % Qui segue la musica.
  c1|
  c|c|c|c|c|c|c|c|c|c|
}

viola = \relative c' {
  \global
  % Qui segue la musica.
  c1|
  c|c|c|c|c|c|c|c|c|c|
}

cello = \relative c {
  \global
  % Qui segue la musica.
  c1|
  c|c|c|c|c|c|c|c|c|c|
}

contrabass = \relative c {
  \global
  % Qui segue la musica.
  c1|
  c|c|c|c|c|c|c|c|c|c|
}

violinPart = \new Staff \with {
  instrumentName = "Vl."
  midiInstrument = "violin"
} \violin

violaPart = \new Staff \with {
  instrumentName = "V.la"
  midiInstrument = "viola"
} { \clef alto \viola }

celloPart = \new Staff \with {
  instrumentName = "Vlc."
  midiInstrument = "cello"
} { \clef bass \cello }

contrabassPart = \new Staff \with {
  instrumentName = "Cb."
  midiInstrument = "contrabass"
} { \clef bass \contrabass }

\score {\new StaffGroup
  <<
\violinPart
\violaPart
\celloPart
\contrabassPart
  >>
  \layout { }
  \midi { }
}
\book {
  \bookOutputSuffix "Violino I"
  \score {
\new StaffGroup
<<
  \violinPart
>>
\layout { }
\midi {
  \context {
\Score
tempoWholesPerMinute = #(ly:make-moment 66 4)
  }
}
\header {
  title = \markup \column {"Titolo"}
  instrument = \markup \column \normal-text {"Violino I" " "}
}
  }
}-- 
oiram/bin/selom
Da ognuno secondo le proprie capacità ad ognuno secondo i propri bisogni.
MIB-kernellinux-tester
http://mariomoles.altervista.org/[1]
Linux[2] 
MIB[3] Lilypond[4] Frescobaldi[5] Rosegarden[6] 


[1] http://mariomoles.altervista.org/
[2] https://www.kernel.org/
[3] http://mib.pianetalinux.org/blog/
[4] http://lilypond.org/
[5] http://www.frescobaldi.org/
[6] http://www.rosegardenmusic.com
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Right-to-Left

2014-03-03 Thread Simon Albrecht

Am 03.03.2014 23:06, schrieb Schneidy:

Ok !

Well, please find herewith a first attempt.
It's far from perfect; I still cannot find a way to flip all/part of all
grobs, but it does the job !
Since I don't know how to read arabic nor arabic music please forgive my
poor example
Cheers,
~Pierre

Hosam.ly 

PS. here's a link you may also be interested in:
https://ufal.mff.cuni.cz/~smrz/elixir-thesis.pdf



--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/Right-to-Left-tp160055p160071.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
For what I know the point about right-to-left scripts is that the 
writing isn't simply mirrored, but the glyphs in themselves remain, only 
to be arranged the other way round. Which I think might have to be 
implemented at a much more basic level... (In XeTeX this feature is 
available, so as far as text is concerned, one might take a solution or 
ideas from there.)
However this is on text and I don't know anything about music 
typesetting conventions.


--
Simon Albrecht, Kirchenmusikstudent


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


Re: storing and manipulating multi-chunk texts

2014-03-03 Thread Thomas Morley
2014-03-03 15:51 GMT+01:00 David Kastrup :
> Thomas Morley  writes:
>
>> 2014-02-27 2:21 GMT+01:00 Kieren MacMillan :
>>
>> Though, I'm not convinced about it! Basically it's an extended
>> \fromproperty accepting a markuplist, rebuilding \line and the
>> column-commands (\right-column, \center-column etc)
>> Following this direction would mean to rewrite every
>> markuplist-command inside \fromproperty.
>> Not very attractive. I think it's the wrong way.
>
> Me too.  The main problem I see is that \fromproperty returns a markup,
> not a markup list.  You try fudging around that, but that's not
> convincing.  So what I think is needed is a
>
> \fromproperty-lines
>
> instead.  If course, this would require _all_ uses of page:title to
> expect a property list.
>
> Another approach would be to have a markup list command
>
> \line-parts
>
> that takes a line markup and splits it back into a markup list.  Then
> you can use something like
>
> title = \markup { "First part" "second part" } (which is an implicit
> form of \markup \line { "First part" "second part" }), and use something
> like
> \center-column \line-parts \fromproperty #'page:title
> in order to get the split version.
>
> In the end, this sounds like something that could benefit from the
> "markup/markup-list unification" project.
>
> --
> David Kastrup

Hi David,

thanks for your thoughts.
I tried the \line-parts approach:
Although it is quite easy to split a simple markup back into a
markup-list, I found no way to return a simple list of markups (or
stencils) from a markup-command.
It seems it's always necassary to do something with said list before
returning it. I wasn't able to circumvent that.

Thoughts?

Some dummy/example code below:

\version "2.19.1"

#(define-markup-command (line-parts layout props arg)(markup?)
  (let* ((args (cadr arg))
 (mrkp-ls (map (lambda (x) (markup x)) args))
 (stils (interpret-markup-list layout props args)))

  (display "\n\targ\t")(display arg)
  (display "\n\t\tmarkup-list?\t")(display (markup-list? arg))

  (display "\n\targs\t")(display args)
  (display "\n\t\tmarkup-list?\t")(display (markup-list? args))

  (display "\n\tmrkp-ls\t")(display mrkp-ls)
  (display "\n\t\tmarkup-list?\t")(display (markup-list? mrkp-ls))

  (display "\n\tstils\t")(display stils)
  (display "\n\t\tmarkup-list?\t")(display (markup-list? stils))

  (newline)

  ;; none of these works:
  ;arg
  ;args
  ;mrkp-ls
  ;stils

  (interpret-markup layout props arg)
  ))

\markup \fill-line { \line-parts \line { "Xxx" "Yyy" } }



Cheers,
  Harm

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


Re: Right-to-Left

2014-03-03 Thread Schneidy
Ok !

Well, please find herewith a first attempt.
It's far from perfect; I still cannot find a way to flip all/part of all
grobs, but it does the job !
Since I don't know how to read arabic nor arabic music please forgive my
poor example
Cheers,
~Pierre
 
Hosam.ly   

PS. here's a link you may also be interested in:
https://ufal.mff.cuni.cz/~smrz/elixir-thesis.pdf



--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/Right-to-Left-tp160055p160071.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: storing and manipulating multi-chunk texts

2014-03-03 Thread David Kastrup
Thomas Morley  writes:

> 2014-02-27 2:21 GMT+01:00 Kieren MacMillan :
>
> Though, I'm not convinced about it! Basically it's an extended
> \fromproperty accepting a markuplist, rebuilding \line and the
> column-commands (\right-column, \center-column etc)
> Following this direction would mean to rewrite every
> markuplist-command inside \fromproperty.
> Not very attractive. I think it's the wrong way.

Me too.  The main problem I see is that \fromproperty returns a markup,
not a markup list.  You try fudging around that, but that's not
convincing.  So what I think is needed is a

\fromproperty-lines

instead.  If course, this would require _all_ uses of page:title to
expect a property list.

Another approach would be to have a markup list command

\line-parts

that takes a line markup and splits it back into a markup list.  Then
you can use something like

title = \markup { "First part" "second part" } (which is an implicit
form of \markup \line { "First part" "second part" }), and use something
like
\center-column \line-parts \fromproperty #'page:title
in order to get the split version.

In the end, this sounds like something that could benefit from the
"markup/markup-list unification" project.

-- 
David Kastrup

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


Re: Right-to-Left

2014-03-03 Thread Pierre Perol-Schneider
2014-03-02 23:30 GMT+01:00 Hosam Adeeb Nashed :

> Hi there,
>

Hi Hosam,


> I know Lilypond does have all what most musicians from my region (Egypt)
> would dream of, especially customised key signatures.  Still, I dream of
> the
> day I can write music from Right to Left.
>

Sounds  intersting !

You see, there used to be a time when all Christian hymns in Arabic were
> written (=off-set) in the most natural direction for reading music under
> the
> music staff.  Currently, this is not the case, unfortunately.
>

Could you send us a short example (2 to 5 measures - music & lyrics) ?


> I don't know if, one day, the Lilypond core would permit this with a simple
> /Option.  So, my question is this: Is it at all possible to
> programmatically
> control the direction of the written music?
>

I'm sure it's possible.

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


Re: how close are we to having an "addAt" or "insertAt" feature?

2014-03-03 Thread Kieren MacMillan
Hey team,

This message bounced because of the size of the attachment, but I wanted you to 
see it anyway (without attachment).

Thanks,
KIeren.

On Mar 2, 2014, at 3:38 PM, Kieren MacMillan  
wrote:

> Hi Jan-Peter (et al.),
> 
> Your edition engraver is amazing, IMO.
> 
> Here is page 1 of the Vocal Book for my musical “Fairy Tale Ending”:
> 
> 
> 
> There are ten tweaks on this page. (Yes, there ultimately need to be a few 
> more… but it’s a testament to how awesome Lilypond is that it looks like this 
> with only ten small manual adjustments!)
> 
> Leveraging the edition engraver, I have removed those tweaks from the content 
> — where they were embedded using a frustratingly complex system of tags — and 
> put them in the presentation file where they belong; the presentation files 
> for the other five standard outputs (i.e., Full Score, Piano/Conductor Score, 
> Piano Part, Percussion Part, and Bass Part) will, of course, have their own 
> set of tweaks.
> 
> Finally, a way to truly separate content from presentation.
> Thank you, Jan-Peter — you have provided me with the biggest improvement in 
> my Lilypond workchain since perhaps my very first download of Lilypond.  =)
> 
> Cheers,
> Kieren.

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


Multiple lily versions on ubuntu

2014-03-03 Thread Simon Albrecht

Hello,

I recently exchanged Windows for Lubuntu on my computer. Lilypond 2.18.0 
is already installed and I want to add 2.19.3, but when I run the 
installing file, it requires that I uninstall the "old" versions before 
installing the new one. However, I want to have both at hand, as it 
seems to me is common use (correct me if I'm mistaken).
So first, is it a good idea just to rename the existing directory into 
/lilypond_2.18.0 and thus escape the problem? And second, wouldn't it be 
handy to provide for multiple lily versions installed at the same time 
or at least make this an easily available option in the installation 
process (like --keepold for example)?

Best regards,

Simon

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


Re: using manually installed fonts on OSX

2014-03-03 Thread Henning Hraban Ramm

Am 2014-03-03 um 15:15 schrieb Kevin Patrick Barry :

>> Do you find an entry for Cardo in the list from
>> lilypond -dshow-available-fonts x
>> ?
>> Maybe it's called Cardo-Regular or the like.
> 
> Cardo doesn't appear anywhere in the list, but I can use it just fine
> in other programs.
> 
> I tried it today on my Ubuntu machine and experienced the same
> problem. I tried running fc-cache -f and then deleting the lilypond
> font cache, but even still it doesn't appear as an option. Also I
> can't find it anywhere on my machine, not in the usual folders
> (/usr/share/fonts, /usr/local/share/fonts, ~/.fonts - the last one
> doesn't even exist on my system), which makes me wonder where the
> system put it at all. Normal file searches yield nothing.

Ok, check your ~/.fonts.conf (might be also ~/.config/fontconfig/fonts.conf), 
mine on OSX looks like this:





~/.fonts.cache-1

/System/Library/Fonts
/Library/Fonts
~/Library/Fonts
~/FontExplorer\ X/Font\ Library
/Library/Application\ Support/Adobe/Fonts
~/Library/texmf/tex





Greetlings, Hraban
---
fiëé visuëlle
Henning Hraban Ramm
http://www.fiee.net
http://angerweit.tikon.ch/lieder/
https://www.cacert.org (I'm an assurer)





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


Re: using manually installed fonts on OSX

2014-03-03 Thread Kevin Patrick Barry
> Do you find an entry for Cardo in the list from
> lilypond -dshow-available-fonts x
> ?
> Maybe it's called Cardo-Regular or the like.

Cardo doesn't appear anywhere in the list, but I can use it just fine
in other programs.

I tried it today on my Ubuntu machine and experienced the same
problem. I tried running fc-cache -f and then deleting the lilypond
font cache, but even still it doesn't appear as an option. Also I
can't find it anywhere on my machine, not in the usual folders
(/usr/share/fonts, /usr/local/share/fonts, ~/.fonts - the last one
doesn't even exist on my system), which makes me wonder where the
system put it at all. Normal file searches yield nothing.

Kevin

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