eps output

2011-08-03 Thread Antanas Budriūnas
Hi,

LilyPond Usage documentation says:
eps
for encapsulated PostScript. This dumps every page (system) as a
separate ‘EPS’ file, without fonts, and as one collated ‘EPS’ file
with all pages (systems) including fonts.

For me
$ lilypond -dbackend=eps  *.ly
produces every _page_ as separate EPS, not every _system_. How to get
each _system_ as separate file?

Thanks.


Antanas

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


How are Ties different from Slurs

2011-08-03 Thread Urs Liska

Hi list,

I tried to adapt the shapeSlur_rev.ly function recently posted by David 
Nalesik to also work for PhrasingSlurs and Ties.


However, when I use

  \once \override Tie #'control-points = #(shape-slur $offsets)

as part of the function, the Tie isn't printed at all.
Is there any difference between Slurs and Ties that I should take care 
about?


Sorry if this could be also found in the manuals, but I'm still too 
confused about all this to be able to find things straightforward.


Thanks
Urs

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


Re: Arpeggios from chordmode?

2011-08-03 Thread Gilles
Le Wed, 03 Aug 2011 05:10:11 +0200, Basso Ridiculoso  
basso.ridicul...@gmail.com a écrit:




See enclosed file for example (requires Giles code below as an \include)


Just 2 comments.
1-You can use in your example \shiftDurations (well not a lot documented).  
It will divise all whole notes by 4

Your code becomes :

%%
JazzBluesChords =  {
\chordmode {
c1:7   | %1
f1:7   | %2
c1:7   | %3

g2:min7  c2:7   | %4

f1:7   | %5
f1:min7   | %6
e1:min7   | %7
a1:7  | %8
d1:min7 | %9
g1:7   | %10
c1:7   | %11

d2:min7  g2:7   | %12
\bar :|

}
}
JazzBluesProgression =  \shiftDurations #2 #0 \JazzBluesChords



2- It still remains problems if a chord has 3 or 5 notes !
Well if you think it can be useful for people, i can try later to find a  
way to fix that.


Gilles



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


Re: Tab font

2011-08-03 Thread pg

Hi,

Thank you for your replies, font size fine now.

peter

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


RE: Lilypond crashes when compiling snippet

2011-08-03 Thread James Lowe
Hello

)-Original Message-
)From: lilypond-user-bounces+james.lowe=datacore@gnu.org
)[mailto:lilypond-user-bounces+james.lowe=datacore@gnu.org] On
)Behalf Of Keith OHara
)Sent: 03 August 2011 06:39
)To: lilypond-user@gnu.org
)Subject: Re: Lilypond crashes when compiling snippet
)
)
)That change avoids the bug, but I get three staves with newer LilyPond
)versions, so there is something else strange in the \score block.

Oh yes, sorry I also got this with 2.14.1 and forgot to mention it.

James

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


Re: How are Ties different from Slurs

2011-08-03 Thread harm6


u_li wrote:
 
 Hi list,
 
 I tried to adapt the shapeSlur_rev.ly function recently posted by David 
 Nalesik to also work for PhrasingSlurs and Ties.
 
 However, when I use
 
\once \override Tie #'control-points = #(shape-slur $offsets)
 
 as part of the function, the Tie isn't printed at all.
 Is there any difference between Slurs and Ties that I should take care 
 about?
 
 Sorry if this could be also found in the manuals, but I'm still too 
 confused about all this to be able to find things straightforward.
 
 Thanks
 Urs
 
 
 

Hi,

the Internals Referance 3.1 states:

Slur:   control-points (list):  ly:slur::calc-control-points 
PhrasingSlur:   control-points (list):  ly:slur::calc-control-points 
Tie:control-points (list):  ly:tie::calc-control-points 

So you have to create different Definitions.

Regards,
  Harm

http://old.nabble.com/file/p32185810/shapeSlur_rev1.ly shapeSlur_rev1.ly 


-- 
View this message in context: 
http://old.nabble.com/How-are-Ties-different-from-Slurs-tp32185082p32185810.html
Sent from the Gnu - Lilypond - User mailing list archive at Nabble.com.


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


Re: More vertical spacing confusion

2011-08-03 Thread Joe Neeman
On Sun, Jul 31, 2011 at 6:49 AM, Adam Spiers
lilypond-u...@adamspiers.org wrote:
 Hi all,

 I have a piece of music which should easily fit on one page, and
 indeed does until I change the paper size from A4 to US Letter, at
 which point the final system spills over onto a second page.  The
 source and resulting PDF are here:

  http://adamspiers.org/music/lilypond/

 I am using a fresh build of the main git development branch.
 (Apologies for not being to include a concise test case, but obviously
 the spacing issue is a symptom of stacking chords and a RhythmicStaff
 on top of a normal Staff.)

 After enabling spacing annotation, I trawled the documentation e.g.

  http://lilypond.org/doc/v2.15/Documentation/notation/displaying-spacing

 and list archives for an explanation of the various annotated lines,
 but came up short.  I see I am not the first to be a bit confused
 about how all the vertical spacing variables and algorithms work, e.g.

  http://article.gmane.org/gmane.comp.gnu.lilypond.devel/31049/

 So I have several questions:

  - Is the behaviour I am experiencing (a system spilling over onto a
    second page) correct or a bug?  If correct, what's the best way to
    avoid the spillage?

\paper {
  ragged-last-bottom = ##f
}

By default, ragged-last-bottom is ##t, so lilypond has no incentive to
avoid that dangling system on page 2.

Cheers,
Joe

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


Re: More vertical spacing confusion

2011-08-03 Thread David Kastrup
Joe Neeman joenee...@gmail.com writes:

 So I have several questions:

  - Is the behaviour I am experiencing (a system spilling over onto a
    second page) correct or a bug?  If correct, what's the best way to
    avoid the spillage?

 \paper {
   ragged-last-bottom = ##f
 }

 By default, ragged-last-bottom is ##t, so lilypond has no incentive to
 avoid that dangling system on page 2.

I don't understand this so.

The following should still be penalized since they are deficiencies even
on a ragged bottom:

a) a page which is considerably less full than the previous page
b) every page break, and most certainly inside of a system, should carry
   a penalty, giving Lilypond some incentive to compress systems iff it
   helps to avoid using more pages than necessary.

-- 
David Kastrup


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


Re: More vertical spacing confusion

2011-08-03 Thread David Kastrup
David Kastrup d...@gnu.org writes:

 Joe Neeman joenee...@gmail.com writes:

 So I have several questions:

  - Is the behaviour I am experiencing (a system spilling over onto a
    second page) correct or a bug?  If correct, what's the best way to
    avoid the spillage?

 \paper {
   ragged-last-bottom = ##f
 }

 By default, ragged-last-bottom is ##t, so lilypond has no incentive to
 avoid that dangling system on page 2.

 I don't understand this so.

 The following should still be penalized since they are deficiencies even
 on a ragged bottom:

 a) a page which is considerably less full than the previous page
 b) every page break, and most certainly inside of a system, should carry
a penalty, giving Lilypond some incentive to compress systems iff it
helps to avoid using more pages than necessary.

Otherwise, the scoring does not care whether we have 5 pages with just a
single system and lots of bottom space, one full page, and 5 pages with
just a single system again.

Ragged-bottom or not, this is ugly and that should get reflected in the
scores.

-- 
David Kastrup


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


Re: How are Ties different from Slurs

2011-08-03 Thread Janek Warchoł
2011/8/3 Urs Liska lilyp...@ursliska.de

 Hi list,

 I tried to adapt the shapeSlur_rev.ly function recently posted by David 
 Nalesik to also work for PhrasingSlurs and Ties.

 However, when I use

  \once \override Tie #'control-points = #(shape-slur $offsets)

 as part of the function, the Tie isn't printed at all.
 Is there any difference between Slurs and Ties that I should take care about?

IIRC when i needed to do so i replaced all instances of slur into
tie and it worked.

HTH,
Janek

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


Bug with phrasingSlur and short-indent

2011-08-03 Thread harm6

Hi,
 
I'm quite new to the list, don't knowing where to report a bug, but I didn't
find any reference to it, so here it is:

The combination of setting a high-valued short-indent and a broken
phrasingSlur gives very ugly output:

\version 2.14.2
\paper {
  indent = 40
  short-indent =40
  ragged-right = ##t
}

\relative c' {
c'1\( \break
c\)
}

Regards,
  Harm

http://old.nabble.com/file/p32186119/phrasingSlur-shortIndent.png
phrasingSlur-shortIndent.png 
-- 
View this message in context: 
http://old.nabble.com/Bug-with-phrasingSlur-and-short-indent-tp32186119p32186119.html
Sent from the Gnu - Lilypond - User mailing list archive at Nabble.com.


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


Re: how to color a repeat bar line?

2011-08-03 Thread Patrick Karl
At least one digest has appeared since I sent this, but it hasn't appeared yet. 
 I am assuming my original submission has been lost.

On Aug 2, 2011, at 8:23 PM, Patrick Karl wrote:

 
 On Aug 2, 2011, at 6:55 PM, James Lowe wrote:
 
 Hello,
 
 From: lilypond-user-bounces+james.lowe=datacore@gnu.org 
 [lilypond-user-bounces+james.lowe=datacore@gnu.org] on behalf of Patrick 
 Karl [pck...@mac.com]
 Sent: 03 August 2011 00:29
 To: lilypond-user@gnu.org
 Subject: how to color a repeat bar line?
 
 I would like to color the initial repeat bar line of a volta.  I tried the 
 following:
 
 \version 2.14.1
 \relative g' {
   \repeat volta 2 { a b c d }
   \break
   \once \override Staff.BarLine #'color = #red
   \repeat volta 2 { d c b a }
 }
 
 but this colors not only the initial bar line of the 2nd repeat, but also 
 the final bar line of the 1st repeat (which is an interesting interpretation 
 of \once).  Is there a way to only color the initial bar line of the 2nd 
 repeat?
 
 --- 
 
 Manual repeats?
 
 
 \bar |:
 
 An interesting suggestion.  Would \unfoldRepeats work pretty well with that?
 
 
 I am guessing that the \once in the context of a volta 2 is correct. The 
 volta is a single 'entity' comprising of *both* repeat bars. So \once refers 
 to the volta 'set' not just the single bar instance. I could be wrong though 
 :)
 
 You do understand that it's not the trailing or terminal repeat bar line of 
 the current volta that's being, IMHO, erroneously colored.  It's the terminal 
 bar line of the preceding volta.  If it were the trailing repeat bar line of 
 the current volta that was colored, I could live with that.
 
 James
 


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


Re: Changing to Gonville font

2011-08-03 Thread Albert Frantz
 I'm happy to look at the instructions we give in the documentation about 
 changing the font in general, but it wasn't clear (to me) what you thought we 
 should change.

Hi James,

Thanks for your reply. There's an inaccuracy in the LilyPond manual: Move 
should be changed to rename, since moving a folder means placing it inside of 
another one. The instructions should read:

Rename the existing fonts directory to fonts_orig and rename the lilyfonts 
directory to fonts. Simply rename fonts_orig back to fonts to revert back to 
Feta.


Many thanks,

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


Changing to Gonville font

2011-08-03 Thread Albert Frantz
Hello,

Section 3.4.4 of the instructions 
(http://lilypond.org/doc/v2.14/Documentation/notation/replacing-the-notation-font.html)
 state:

Download and extract the zip file. Copy the lilyfonts directory to 
‘SHARE_DIR/lilypond/current’; for more information, see Other sources of 
information. Move the existing fonts directory to fonts_orig and move the 
lilyfonts directory to fonts. Simply movefonts_orig back to fonts to revert 
back to Feta.

I think I interpreted the instructions but got this error (on OS X 10.7):

error: connect find font: `emmentaler-brace'

Could the authors please clarify and update the instructions in the manual? 
Move directory to fonts_orig means that there already is (or should be) a 
folder named fonts_orig and that the original folder named fonts should be 
placed inside of it. I think Rename fonts directory to fonts_orig is meant. 
(Obviously, either action would disable the original font.)

Similarly, move the lilyfonts directory to fonts means to place the folder 
named lilyfonts inside of the folder named fonts. I'm guessing this is 
incorrect and that the instructions should read, Move the 'lilyfonts' folder 
to the 'current' folder, then rename the 'lilyfonts' folder to 'fonts'.


Many thanks,

Albert

---
key-notes LLC
www.key-notes.com


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


Collision between voiceOne and voiceTwo, peculiar cautionary

2011-08-03 Thread Frederick Dennis
Dear All,
In this code:

\version 2.14.2
pianoOne = \relative c' { \voiceOne aes'4 g8 fis4 g8 }
pianoTwo = \relative c' { \voiceTwo g d' f4 g d' f8 g d' f\!4 g d'
f8}

\score {
\new PianoStaff 
\new Staff = RH
 { \pianoOne } \\ { \pianoTwo } 

}

the cautionary accidental has been moved to the next chord
and the f sharp is on top of the f natural. Is this a bug?
Sorry, I forgot to edit the subject.
Frederick Dennis.

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


grace note synchronization

2011-08-03 Thread Urs Liska

Hi folks,
I run into a problem with a grace note.
It seems to be the problem described in NR 1.2.6, while here it is a 
time signature that is printed twice.
In the NR it says to add corresponding skip graces to the other staves, 
but that doesn't seem to work in my case.

Maybe it has to do with the fact that I have more than one voice per staff?

This is how the measure is written:

Voice One:
\time 3/4
\grace { s8 }
\times 2/3 { cis cis'8( h h' a a' gis gis' fis fis' e 
e' dis' gis, dis'~ | %17


Voice Two:
\time 3/4
\grace { s8 } gis'4 h, e,\ |%17

Voice Three:
\time 3/4
  \grace { s8 }
e, gis h2 \oneVoice h h'4( | %17

Voice Four:
\oneVoice
  \time 3/4
  \grace { h, h'8~ } \voiceTwo q2 s4 | %17

If I only put these additional graces in one voice per staff it's the same.
Does anybody notice what I'm doing wrong?

Thanks in advance
Urs

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


Re: Changing to Gonville font

2011-08-03 Thread Albert Frantz
Hi James,

Aha, now that makes sense. That's funny, because I use the mv command in 
Linux/Unix, but happened to have performed the rename action from the OS X 
Finder.

I did do it correctly from the start since it seemed evident that the folder 
needed to be renamed rather than moved, but may I recommend clarifying the 
instructions for the benefit of other Mac/LilyPond users? In OS X the jargon 
distinguishes move (e.g., To install, move the app icon into the Applications 
folder) from rename. I think this would help other users.


Kind regards,

Albert

---
key-notes LLC
www.key-notes.com

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


Re: lilypond-user Digest, Vol 105, Issue 5

2011-08-03 Thread Frederick Dennis
Dear All,
In this code:

\version 2.14.2
pianoOne = \relative c' { \voiceOne aes'4 g8 fis4 g8 }
pianoTwo = \relative c' { \voiceTwo g d' f4 g d' f8 g d' f\!4 g d'
f8}

\score {
\new PianoStaff 
\new Staff = RH
 { \pianoOne } \\ { \pianoTwo } 

}

the cautionary accidental has been moved to the next chord
and the f sharp is on top of the f natural. Is this a bug?

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


Re: How are Ties different from Slurs

2011-08-03 Thread Urs Liska

Am 03.08.2011 14:22, schrieb harm6:


u_li wrote:

Hi list,

I tried to adapt the shapeSlur_rev.ly function recently posted by David
Nalesik to also work for PhrasingSlurs and Ties.

However, when I use

\once \override Tie #'control-points = #(shape-slur $offsets)

as part of the function, the Tie isn't printed at all.
Is there any difference between Slurs and Ties that I should take care
about?

Sorry if this could be also found in the manuals, but I'm still too
confused about all this to be able to find things straightforward.

Thanks
Urs




Hi,

the Internals Referance 3.1 states:

Slur:   control-points (list):  ly:slur::calc-control-points
PhrasingSlur:   control-points (list):  ly:slur::calc-control-points
Tie:control-points (list):  ly:tie::calc-control-points

So you have to create different Definitions.

Regards,
   Harm

http://old.nabble.com/file/p32185810/shapeSlur_rev1.ly shapeSlur_rev1.ly



Thank you very much. This works, but I'd never found out alone ...
Best
Urs

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


Grace note synchronization problem

2011-08-03 Thread Urs Liska

Hi folks,
I run into a problem with a grace note.
It seems to be the problem described in NR 1.2.6, while here it is a 
time signature that is printed twice.
In the NR it says to add corresponding skip graces to the other staves, 
but that doesn't seem to work in my case.

Maybe it has to do with the fact that I have more than one voice per staff?

This is how the measure is written:

Voice One:
\time 3/4
\grace { s8 }
\times 2/3 { cis cis'8( h h' a a' gis gis' fis fis' e 
e' dis' gis, dis'~ | %17


Voice Two:
\time 3/4
\grace { s8 } gis'4 h, e,\ |%17

Voice Three:
\time 3/4
  \grace { s8 }
e, gis h2 \oneVoice h h'4( | %17

Voice Four:
\oneVoice
  \time 3/4
  \grace { h, h'8~ } \voiceTwo q2 s4 | %17

If I only put these additional graces in one voice per staff it's the same.
Does anybody notice what I'm doing wrong?

Thanks in advance
Urs

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


Re: grace note synchronization

2011-08-03 Thread Xavier Scheuer
On 3 August 2011 15:34, Urs Liska lilyli...@googlemail.com wrote:

 Hi folks,
 I run into a problem with a grace note.
 It seems to be the problem described in NR 1.2.6, while here it is a time
 signature that is printed twice.
 In the NR it says to add corresponding skip graces to the other staves, but
 that doesn't seem to work in my case.
 Maybe it has to do with the fact that I have more than one voice per staff?

 […]

 If I only put these additional graces in one voice per staff it's the same.
 Does anybody notice what I'm doing wrong?

AFAIK you need to add a corresponding skip graces to _every voice_ in
_every staff_.

Cheers,
Xavier

-- 
Xavier Scheuer x.sche...@gmail.com

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


Re: grace note synchronization

2011-08-03 Thread Urs Liska

Am 03.08.2011 17:08, schrieb Xavier Scheuer:

On 3 August 2011 15:34, Urs Liskalilyli...@googlemail.com  wrote:

Hi folks,
I run into a problem with a grace note.
It seems to be the problem described in NR 1.2.6, while here it is a time
signature that is printed twice.
In the NR it says to add corresponding skip graces to the other staves, but
that doesn't seem to work in my case.
Maybe it has to do with the fact that I have more than one voice per staff?

[…]

If I only put these additional graces in one voice per staff it's the same.
Does anybody notice what I'm doing wrong?

AFAIK you need to add a corresponding skip graces to _every voice_ in
_every staff_.

Cheers,
Xavier


Well, that's what I did (at least I think so).
Oh, I just saw that I forgot to quote one voice (the singer's voice). 
But it's there in the original source file.

So unfortunately it's not a solution :-(

\time 3/4
  \grace { s8}
  h4 cis dis | %17


Best
Urs

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


Re: grace note synchronization

2011-08-03 Thread Henning Hraban Ramm

Am 2011-08-03 um 15:34 schrieb Urs Liska:


Voice Four:
\oneVoice
 \time 3/4
 \grace { h, h'8~ } \voiceTwo q2 s4 | %17



Does it help if you move \oneVoice after \time ?

Are you sure there aren't any other voices, e.g. chords or dynamics?

Greetlings from Lake Constance
---
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: grace note synchronization

2011-08-03 Thread Xavier Scheuer
On 3 August 2011 17:14, Urs Liska lilyli...@googlemail.com wrote:

 Well, that's what I did (at least I think so).
 Oh, I just saw that I forgot to quote one voice (the singer's voice). But
 it's there in the original source file.
 So unfortunately it's not a solution :-(

Please send a code that is compilable by itself.
I had to use deutsch, find on which staff goes each voice, add the
key signature, the correct \relative etc.
But I did not manage to get it wrong.

 Compilable code

\version 2.14.2

\include deutsch.ly

\score {
  
\new Staff {
  \clef alto
  \key e \major
  \relative c' {
R1
\time 3/4
\grace { s8}
h4 cis dis | %17
  }
}
\new Staff {
  \clef alto
  \key e \major
  
\new Voice \relative c' {
  R1
  \voiceOne
  \time 3/4
  \grace { s8 }
  \times 2/3 { cis cis'8( h h' a a' gis gis' fis
fis' e e' dis' gis, dis'~ | %17
  }
}
\new Voice \relative c' {
  R1
  \voiceTwo
  \time 3/4
  \grace { s8 } gis'4 h, e,\ |%17
}
  
}
\new Staff {
  \clef mezzosoprano
  \key e \major
  
\new Voice \relative c'' {
  R1
  \voiceTwo
  \time 3/4
  \grace { s8 }
  e, gis h2 \oneVoice h h'4( | %17
}
\new Voice \relative c' {
  R1
  \oneVoice
  \time 3/4
  \grace { h, h'8~ } \voiceTwo q2 s4 | %17
}
  
}

  
}



Cheers,
Xavier

-- 
Xavier Scheuer x.sche...@gmail.com

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


Re: grace note synchronization

2011-08-03 Thread Urs Liska

Am 03.08.2011 17:24, schrieb Henning Hraban Ramm:

Am 2011-08-03 um 15:34 schrieb Urs Liska:


Voice Four:
\oneVoice
 \time 3/4
 \grace { h, h'8~ } \voiceTwo q2 s4 | %17



Does it help if you move \oneVoice after \time ?

Are you sure there aren't any other voices, e.g. chords or dynamics?

Hey, that was it!
I didn't think of the two dynamics contexts :-(

Best
Urs


Greetlings from Lake Constance
---
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



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


Re: grace note synchronization

2011-08-03 Thread Urs Liska
That's what I'd done if nobody could show me the right direction just 
from looking at the basics.

Hennings hint showed me what I had forgot ...

Thank you nevertheless for digging so deep!
Best
Urs

Am 03.08.2011 17:35, schrieb Xavier Scheuer:

On 3 August 2011 17:14, Urs Liskalilyli...@googlemail.com  wrote:

Well, that's what I did (at least I think so).
Oh, I just saw that I forgot to quote one voice (the singer's voice). But
it's there in the original source file.
So unfortunately it's not a solution :-(

Please send a code that is compilable by itself.
I had to use deutsch, find on which staff goes each voice, add the
key signature, the correct \relative etc.
But I did not manage to get it wrong.

 Compilable code

\version 2.14.2

\include deutsch.ly

\score {
   
 \new Staff {
   \clef alto
   \key e \major
   \relative c' {
 R1
 \time 3/4
 \grace { s8}
 h4 cis dis | %17
   }
 }
 \new Staff {
   \clef alto
   \key e \major
   
 \new Voice \relative c' {
   R1
   \voiceOne
   \time 3/4
   \grace { s8 }
   \times 2/3 {cis cis'8(h h'  a a'  gis gis'  fis
fis'  e e'  dis' gis, dis'~ | %17
   }
 }
 \new Voice \relative c' {
   R1
   \voiceTwo
   \time 3/4
   \grace { s8 } gis'4 h, e,\  |%17
 }
   
 }
 \new Staff {
   \clef mezzosoprano
   \key e \major
   
 \new Voice \relative c'' {
   R1
   \voiceTwo
   \time 3/4
   \grace { s8 }
   e, gis h2 \oneVoiceh h'4( | %17
 }
 \new Voice \relative c' {
   R1
   \oneVoice
   \time 3/4
   \grace {h, h'8~ } \voiceTwo q2 s4 | %17
 }
   
 }

   
}



Cheers,
Xavier




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


Re: Collision between voiceOne and voiceTwo, peculiar cautionary

2011-08-03 Thread Xavier Scheuer
On 3 August 2011 03:11, Frederick Dennis frederickden...@gmail.com wrote:

 Dear All,
 In this code:

 \version 2.14.2
 pianoOne = \relative c' { \voiceOne aes'4 g8 fis4 g8 }
 pianoTwo = \relative c' { \voiceTwo g d' f4 g d' f8 g d' f\!4 g d'
 f8}

 \score {
 \new PianoStaff 
 \new Staff = RH
  { \pianoOne } \\ { \pianoTwo } 
 
 }

 the cautionary accidental has been moved to the next chord
 and the f sharp is on top of the f natural. Is this a bug?
 Sorry, I forgot to edit the subject.

This is a known bug:
http://code.google.com/p/lilypond/issues/detail?id=1134
See comment 3 for a workaround.

To avoid the f natural on the next chord you can use
  #(set-accidental-style 'voice) , although this is not a proper
solution.

Cheers,
Xavier

-- 
Xavier Scheuer x.sche...@gmail.com

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


Re: grace note synchronization

2011-08-03 Thread Xavier Scheuer
On 3 August 2011 17:24, Henning Hraban Ramm hra...@fiee.net wrote:

 Does it help if you move \oneVoice after \time ?

 Are you sure there aren't any other voices, e.g. chords or dynamics?

Good spot (IMO)!

Urs, I assume you used a Dynamics context within your PianoStaff, you
probably did not add a  \grace s8  there!

Cheers,
Xavier

-- 
Xavier Scheuer x.sche...@gmail.com

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


Re: ossia with signatures where needed

2011-08-03 Thread Phil Holmes
- Original Message - 
From: James Harkins jamshar...@gmail.com

To: lily-users lilypond-user@gnu.org
Sent: Wednesday, August 03, 2011 2:52 AM
Subject: ossia with signatures where needed


Is it possible to create an ossia staff context where clefs and time 
signatures are displayed only when the staff is visible?


I'm following the model of the 3rd example under Ossia staves in the 
notation reference -- creating a staff named ossia and then using 
\context Staff=ossia { \startStaff ... \stopStaff } where it should be 
visible. This is fine as long as I...


 \remove Time_signature_engraver
 \remove Key_engraver
 \override Clef #'transparent = ##t

But then, clefs, time signatures and keys will never be displayed. I have 
an ossia that crosses a couple of time signatures, and it looks funny that 
the time signatures are absent. But if I remove those lines from the ossia 
staff's \with block then I get a free-floating clef, time signature and 
key signature -- without staff lines -- above the real staff.


I'm sure it must be possible -- it just eludes me in the documentation 
tonight.


Thanks,
James


%%% For reference, the file layout goes something like this (omitting some 
fine print):


\outline {
... meter changes and spacer rests...
}

\score {
 \new StaffGroup \with {
   \override SpanBar #'glyph-name = #:
 }
 
   \set StaffGroup.systemStartDelimiter = #'SystemStartBar
   \new Staff = ossia \with {
 \remove Time_signature_engraver
 \remove Key_engraver
 \override Clef #'transparent = ##t
 fontSize = #-3
 \override StaffSymbol #'staff-space = #(magstep -3)
 \override StaffSymbol #'thickness = #(magstep -3)
   } {
 \stopStaff \outline
   }
   \new Staff 
 \outline
 {
... whole bunch of notes...

  {
... notes, ossia goes above this...
  }
  \context Staff=ossia {
\startStaff
\relative c'' {
  d8^accented note rhythm b8 r16 [ d8 b16 ] r8 d \noBeam b d
  r8 b d [ r16 b ] r16 d16 r8
  b8. d b d b8 r8
}
\stopStaff
  }

... a lot more notes...
 }
   
 
 \layout {
   \context { \RemoveEmptyStaffContext }
   \context {
 \Score
 \remove System_start_delimiter_engraver
   }
 }
}


--


James,

Could you post a pdf or png of the floating furniture?

Thanks.


--
Phil Holmes



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


Re: ossia with signatures where needed

2011-08-03 Thread James Harkins
At Wed, 3 Aug 2011 16:45:23 +0100,
Phil Holmes wrote:
 Could you post a pdf or png of the floating furniture?

Even better: an example you can compile, which I was working on just before 
getting your e-mail... not exactly a tiny example, but I needed to force the 
example to cross a system boundary.

What I get: Two bars in the first system. The ossia staff (correctly) hides the 
staff lines in the first bar, but displays the clef and time signature at the 
system's left boundary -- free-floating, visually anchored to nothing. 
Everything else is fine.

What I want: Ideally, the free-floating clef and time signature should 
display just left of the bar line to m2 (as if there were a clef and meter 
change in that bar). It would be really nice to have the staff lines extend 
backward just enough to cover that space.

Un-comment these lines --

%%%\remove Time_signature_engraver
%%%\override Clef #'transparent = ##t

-- and the free-floating symbols disappear, but the clef and time signatures 
disappear from the end of the first system and all of the second system, where 
they are needed.

Or, we could back up a couple of steps and I could ask, what's the orthodox way 
to notate this sort of thing? Maybe the standard engravers' reference texts 
have another, better idea? I'm not attached to this specific notation strategy 
-- just looking for something that will be clear and not obscure the meter 
changes.

James


\version 2.14.1
\include english.ly

outline = {
  \time 4/4 s1*2
  \time 3/4 s2.
  \time 4/4 s1*2
}

\score {
  
\new Staff = ossia \with {
%%%\remove Time_signature_engraver
%%%\override Clef #'transparent = ##t
  fontSize = #-3
  \override StaffSymbol #'staff-space = #(magstep -3)
  \override StaffSymbol #'thickness = #(magstep -3)
} {
  \stopStaff \outline
}
\new Staff 
  \outline
  {
\repeat unfold 16 { b'16 }

  { \repeat unfold 60 { b'16 } }
  \context Staff=ossia {
\startStaff
\repeat unfold 22 { b'8 }
\stopStaff
  }

  }

  
}


--
James Harkins /// dewdrop world
jamshar...@dewdrop-world.net
http://www.dewdrop-world.net

Come said the Muse,
Sing me a song no poet has yet chanted,
Sing me the universal.  -- Whitman

blog: http://www.dewdrop-world.net/words
audio clips: http://www.dewdrop-world.net/audio
more audio: http://soundcloud.com/dewdrop_world/tracks

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


Re: ossia with signatures where needed

2011-08-03 Thread Xavier Scheuer
On 3 August 2011 03:52, James Harkins jamshar...@gmail.com wrote:

 Is it possible to create an ossia staff context where clefs and time
 signatures are displayed only when the staff is visible?

 I'm following the model of the 3rd example under Ossia staves in the
 notation reference -- creating a staff named ossia and then using
 \context Staff=ossia { \startStaff ... \stopStaff } where it should
 be visible. This is fine as long as I...

  \remove Time_signature_engraver
  \remove Key_engraver
  \override Clef #'transparent = ##t

 But then, clefs, time signatures and keys will never be displayed.
 I have an ossia that crosses a couple of time signatures, and it looks
 funny that the time signatures are absent. But if I remove those lines
 from the ossia staff's \with block then I get a free-floating clef,
 time signature and key signature -- without staff lines -- above the
 real staff.

 I'm sure it must be possible -- it just eludes me in the documentation
 tonight.

You could use

  \context Staff = ossia \with {
\override Clef #'stencil = ##f
\override KeySignature #'stencil = ##f
\override TimeSignature #'stencil = ##f
  } {
\relative c' {
  c1
  \once \revert Staff.TimeSignature #'stencil
  \time 3/4
  c2.
  \once \revert Staff.TimeSignature #'stencil
  \time 2/4
  c2
}
  }

instead of removing the engravers.
HTH.

Cheers,
Xavier

-- 
Xavier Scheuer x.sche...@gmail.com

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


Re: ossia with signatures where needed

2011-08-03 Thread James Harkins
At Wed, 3 Aug 2011 18:00:50 +0200,
Xavier Scheuer wrote:
 You could use
 
   \context Staff = ossia \with {
 \override Clef #'stencil = ##f
 \override KeySignature #'stencil = ##f
 \override TimeSignature #'stencil = ##f
   } {
 \relative c' {
   c1
   \once \revert Staff.TimeSignature #'stencil
... snip

Ah... excellent. Revised code snippet is below -- it works beautifully for my 
purpose!

Worthy of inclusion in the snippet repository? I had searched it for ossia 
and found only two snippets, and neither of them illustrated what I wanted.

Thanks --
James

\version 2.14.1
\include english.ly

showMeter = { \once \revert Staff.TimeSignature #'stencil }

outline = {
  \time 4/4 s1*2
  \showMeter \time 3/4 s2.
  \showMeter \time 4/4 s1*2
}

\score {
  
\new Staff = ossia \with {
  \override Clef #'stencil = ##f
  \override KeySignature #'stencil = ##f
  \override TimeSignature #'stencil = ##f
  fontSize = #-3
  \override StaffSymbol #'staff-space = #(magstep -3)
  \override StaffSymbol #'thickness = #(magstep -3)
} {
  \stopStaff
  \outline
}
\new Staff 
  \outline
  {
\repeat unfold 16 { b'16 }

  { \repeat unfold 60 { b'16 } }
  \context Staff=ossia {
\revert Staff.Clef #'stencil
\startStaff
\repeat unfold 22 { b'8 }
\override Clef #'stencil = ##f
\stopStaff
  }

  }

  
}


--
James Harkins /// dewdrop world
jamshar...@dewdrop-world.net
http://www.dewdrop-world.net

Come said the Muse,
Sing me a song no poet has yet chanted,
Sing me the universal.  -- Whitman

blog: http://www.dewdrop-world.net/words
audio clips: http://www.dewdrop-world.net/audio
more audio: http://soundcloud.com/dewdrop_world/tracks

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


Re: ossia with signatures where needed

2011-08-03 Thread Xavier Scheuer
On 3 August 2011 18:11, Reinhold Kainhofer reinh...@kainhofer.com wrote:

 The solution is not to create the ossia staff context at the very beginning,
 but right when you first need it.

 Example is attached.

I was about to suggest exactly the same thing!
With exactly the same code (and yeah, same indentation and same name
for the main staff)!  Only the comments were not the same.

Cheers,
Xavier

-- 
Xavier Scheuer x.sche...@gmail.com

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


Re: Roman numeral analysis

2011-08-03 Thread Jerod Sommerfeldt
Hi David (and all),

This \rN function is really terrific and has a great look to it.  Is there any 
way to add this as a permanent addition to my LilyPond build?  I don't know the 
particulars of adding or modifying my own functions to the application, but I'm 
guessing once I know how to do it, they are saved somewhere in or near 
Contents/Resources/share/lilypond/current/scm?

Thanks again for all of your help,

Jerod

--
www.jerodsommerfeldt.com




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


Re: Roman numeral analysis

2011-08-03 Thread David Nalesnik
On Wed, Aug 3, 2011 at 11:45 AM, Jerod Sommerfeldt 
sommerfeldt.je...@gmail.com wrote:

 Hi David (and all),

 This \rN function is really terrific and has a great look to it.


Thanks!  I'm glad you like it!


 Is there any way to add this as a permanent addition to my LilyPond build?
  I don't know the particulars of adding or modifying my own functions to the
 application, but I'm guessing once I know how to do it, they are saved
 somewhere in or near Contents/Resources/share/lilypond/current/scm?


I'd be interested in knowing how to do this as well.  (I didn't have any
luck with my mildly frightening experiment of appending it to
define-markup-commands.scm).  An easy way of using the file without it
taking up so much space would be to use the \include command, documented
here:
http://lilypond.org/doc/v2.14/Documentation/notation/including-lilypond-files


 Thanks again for all of your help,

 Jerod


You're very welcome,

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


Re: ossia with signatures where needed

2011-08-03 Thread Phil Holmes
- Original Message - 
From: James Harkins jamshar...@gmail.com

To: Xavier Scheuer x.sche...@gmail.com
Cc: lily-users lilypond-user@gnu.org
Sent: Wednesday, August 03, 2011 5:15 PM
Subject: Re: ossia with signatures where needed



At Wed, 3 Aug 2011 18:00:50 +0200,
Xavier Scheuer wrote:

You could use

  \context Staff = ossia \with {
\override Clef #'stencil = ##f
\override KeySignature #'stencil = ##f
\override TimeSignature #'stencil = ##f
  } {
\relative c' {
  c1
  \once \revert Staff.TimeSignature #'stencil

... snip

Ah... excellent. Revised code snippet is below -- it works beautifully for 
my purpose!


Worthy of inclusion in the snippet repository? I had searched it for 
ossia and found only two snippets, and neither of them illustrated what 
I wanted.


Thanks --
James

\version 2.14.1
\include english.ly

showMeter = { \once \revert Staff.TimeSignature #'stencil }

outline = {
 \time 4/4 s1*2
 \showMeter \time 3/4 s2.
 \showMeter \time 4/4 s1*2
}

\score {
 
   \new Staff = ossia \with {
 \override Clef #'stencil = ##f
 \override KeySignature #'stencil = ##f
 \override TimeSignature #'stencil = ##f
 fontSize = #-3
 \override StaffSymbol #'staff-space = #(magstep -3)
 \override StaffSymbol #'thickness = #(magstep -3)
   } {
 \stopStaff
 \outline
   }
   \new Staff 
 \outline
 {
\repeat unfold 16 { b'16 }

  { \repeat unfold 60 { b'16 } }
  \context Staff=ossia {
\revert Staff.Clef #'stencil
\startStaff
\repeat unfold 22 { b'8 }
\override Clef #'stencil = ##f
\stopStaff
  }

 }
   
 
}



If you think it adds information not present in the LSR, please feel free to 
add it.  Note that you will need to change the version statement, AFAIK - 
the LSR still runs 2.12.2, I believe.


--
Phil Holmes



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


Re: ossia with signatures where needed

2011-08-03 Thread James Harkins
At Wed, 3 Aug 2011 18:39:11 +0100,
Phil Holmes wrote:
 If you think it adds information not present in the LSR, please feel free to 
 add it.  Note that you will need to change the version statement, AFAIK - 
 the LSR still runs 2.12.2, I believe.

Ah... I hadn't looked at the contributor interface. (BTW, the instruction page 
recommends leaving out \version altogether.)

Done!
James


--
James Harkins /// dewdrop world
jamshar...@dewdrop-world.net
http://www.dewdrop-world.net

Come said the Muse,
Sing me a song no poet has yet chanted,
Sing me the universal.  -- Whitman

blog: http://www.dewdrop-world.net/words
audio clips: http://www.dewdrop-world.net/audio
more audio: http://soundcloud.com/dewdrop_world/tracks

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


RE: Roman numeral analysis

2011-08-03 Thread James Lowe
Jerod,

)-Original Message-
)From: lilypond-user-bounces+james.lowe=datacore@gnu.org
)[mailto:lilypond-user-bounces+james.lowe=datacore@gnu.org] On
)Behalf Of Jerod Sommerfeldt
)Sent: 03 August 2011 17:46
)To: David Nalesnik
)Cc: Lilypond-User
)Subject: Re: Roman numeral analysis
)
)Hi David (and all),
)
)This \rN function is really terrific and has a great look to it.  Is there any
)way to add this as a permanent addition to my LilyPond build?  I don't
)know the particulars of adding or modifying my own functions to the
)application, but I'm guessing once I know how to do it, they are saved
)somewhere in or near Contents/Resources/share/lilypond/current/scm?
)

As this is a .ly file you can simply put this file anywhere you like (probably 
best not in the main LP directories - as they will get overwritten with each 
new release) file and then use a \include statement on any of your pieces.

See:

http://lilypond.org/doc/v2.14/Documentation/notation/including-lilypond-files

No need for anything too complicated.

James

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


RE: ossia with signatures where needed

2011-08-03 Thread James Lowe
Hello,

)-Original Message-
)From: lilypond-user-bounces+james.lowe=datacore@gnu.org
)[mailto:lilypond-user-bounces+james.lowe=datacore@gnu.org] On
)Behalf Of James Harkins
)Sent: 03 August 2011 19:28
)To: Phil Holmes
)Cc: lily-users
)Subject: Re: ossia with signatures where needed
)
)At Wed, 3 Aug 2011 18:39:11 +0100,
)Phil Holmes wrote:
) If you think it adds information not present in the LSR, please feel
) free to add it.  Note that you will need to change the version
) statement, AFAIK - the LSR still runs 2.12.2, I believe.
)
)Ah... I hadn't looked at the contributor interface. (BTW, the instruction
)page recommends leaving out \version altogether.)

yes because this is implicit I think when you cut/paste the snippet. It puts 
some 'header' information around the snippet and at the moment the LSR is built 
on the 2.12.2 code.

It won't hurt to put a version statement in and then comment it out - 
especially if it only works on a later version of LP, that will at least help 
the LSR people when they come to do the 'upgrade' to 2.1x stable in the near 
future.

James

James

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


Re: how to color a repeat bar line?

2011-08-03 Thread Xavier Scheuer
On 3 August 2011 02:09, harm6 thomasmorle...@googlemail.com wrote:

 Hi,

 try:

 \version 2.14.1

 #(define (color-at-line-begin g)
  (if (and (ly:item? g)
   (equal? (ly:item-break-dir g) RIGHT))
  (ly:grob-set-property! g 'color red)))

 \relative g' {
\repeat volta 2 { a b c d }
\break
\once\override Staff.BarLine #'after-line-breaking =
 #color-at-line-begin
\repeat volta 2 { d c b a }
 }


Nice one!
Could you add it to the LSR?

Cheers,
Xavier

-- 
Xavier Scheuer x.sche...@gmail.com

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


Re:how to color a repeat bar line?

2011-08-03 Thread Patrick Karl

 
 Message: 8
 Date: Wed, 3 Aug 2011 20:36:58 +0200
 From: Xavier Scheuer x.sche...@gmail.com
 To: harm6 thomasmorle...@googlemail.com
 Cc: lilypond-user@gnu.org
 Subject: Re: how to color a repeat bar line?
 Message-ID:
   CADGqHRe7=Jt0NRLfXAsFV=9we-N3P1Ye1XaD4mnNQWsBnv=h...@mail.gmail.com
 Content-Type: text/plain; charset=UTF-8
 
 On 3 August 2011 02:09, harm6 thomasmorle...@googlemail.com wrote:
 
 Hi,
 
 try:
 
 \version 2.14.1
 
 #(define (color-at-line-begin g)
 (if (and (ly:item? g)
  (equal? (ly:item-break-dir g) RIGHT))
 (ly:grob-set-property! g 'color red)))
 
 \relative g' {
   \repeat volta 2 { a b c d }
   \break
   \once\override Staff.BarLine #'after-line-breaking =
 #color-at-line-begin
   \repeat volta 2 { d c b a }
 }
 
 
 Nice one!
 Could you add it to the LSR?
 
 Cheers,
 Xavier

I agree, it's a nice one.  I might note, however, that this solution is closely 
connected to the \break that precedes the bar line I'm trying to color.  
Remove the break and the coloration disappears.  Is it possible to color just 
the initial repeat bar line that occurs in the middle of a line?


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


Inserting Numbers into Noteheads

2011-08-03 Thread Bjorn
Hi LilyPond support,

I need to insert numbers into the noteheads 
of sheet music and went to your help page: 
http://kainhofer.com/~lilypond/Documentation/notation/note-heads.html

It showed me how to insert the numbers for scales (1-7), 
but I was looking to insert them 1-12, from 
middle c up to Space 5 G for educational music 
I use at elementary schools.  Please help me to bypass the 
7 number limit and use a scale of 12.  Thank
 you for your help on this matter.

Sincerely,
Bjorn


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


Multi-column text

2011-08-03 Thread Christopher R. Maden
I have made a nice little book of the Irish tunes I know.  The problem
is that many of these tunes have many names, so I made an index giving
all the known names.

If I use \markup and \column, I have to manually break lines and
columns, which is a bit of a pain in the neck:

\markup {
  \fill-line {
\column {
  \line { \bold { Anderson’s } (The Silver Spear): \page-ref
#'spear 0 ? }
  \line { The \bold { Bangor Reel } (The Knotted Cord):
\page-ref #'knottedCord 0 ? }
  \line { The \bold { Banshee } (McMahon’s): \page-ref
#'mcmahons 0 ? }
}
\hspace #1
\column {
  \line { \bold { Come in the Evening } }
  \line { \hspace #2 (The Lark in the Morning): \page-ref #'lark
0 ? }
}
  }
}

So I’m trying to use \markuplines and \column-lines instead, but I can’t
figure out how to actually get multiple columns with that.  Is
column-lines just a way of making lists?  Is there a way to ask for a
two-column multi-page flow without explicit breaking?

Thanks,
Chris
-- 
Chris Maden, text nerd  URL: http://crism.maden.org/ 
Those who learn from history are doomed to become cynics.

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


Re: how to color a repeat bar line?

2011-08-03 Thread harm6


Xavier Scheuer wrote:
 
 Nice one!
 Could you add it to the LSR?
 
 Cheers,
 Xavier
 
  

It is now   http://lsr.dsi.unimi.it/LSR/Item?u=1id=775 LSR-Snippet 775  but
the picture there doesn't show all features. See attachment.

Cheers,
  Harm

http://old.nabble.com/file/p32189989/itemsAtLineBeginAndEnd.png 

-- 
View this message in context: 
http://old.nabble.com/how-to-color-a-repeat-bar-line--tp32182164p32189989.html
Sent from the Gnu - Lilypond - User mailing list archive at Nabble.com.


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


Re: Re:how to color a repeat bar line?

2011-08-03 Thread harm6


jpatk wrote:
 
 I agree, it's a nice one.  I might note, however, that this solution is
 closely connected to the \break that precedes the bar line I'm trying to
 color.  Remove the break and the coloration disappears.  Is it possible to
 color just the initial repeat bar line that occurs in the middle of a
 line?
 

Hi,

the bar-glyphs :|  and |: are merging into :|:  in the middle of a
line, :|: will be splitted only at a break, so I think it isn't possible
to color only a part of a glyph.
Manual bars are not successful too: The second setting overrides the first
(not a bug but a feature).

Regards,
  Harm
-- 
View this message in context: 
http://old.nabble.com/Re%3Ahow-to-color-a-repeat-bar-line--tp32189261p32190185.html
Sent from the Gnu - Lilypond - User mailing list archive at Nabble.com.


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


Re: Multi-column text

2011-08-03 Thread harm6


Christopher R. Maden wrote:
 
 I can’t figure out how to actually get multiple columns 
 

Hi,

check  http://lsr.dsi.unimi.it/LSR/Item?id=464 LSR-Snippet 464 

Cheers,
  Harm

-- 
View this message in context: 
http://old.nabble.com/Multi-column-text-tp32189675p32190224.html
Sent from the Gnu - Lilypond - User mailing list archive at Nabble.com.


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


Re: Multi-column text

2011-08-03 Thread Reinhold Kainhofer
Am Wednesday 03 August 2011, 22:32:39 schrieb Christopher R. Maden:
 So I’m trying to use \markuplines and \column-lines instead, but I can’t
 figure out how to actually get multiple columns with that.  Is
 column-lines just a way of making lists?  Is there a way to ask for a
 two-column multi-page flow without explicit breaking?

Nope, Lilypond doesn't try to be a full text layout application. You cannot do 
multi-column text with automatic line- and column-breaking.

I am using Latex for such things like preface, lyrics and translations 
(Initially I tried to use lilypond, that's why I wrote that other snippet that 
Harm suggested; But then decided that lilypond simply isn't capable of what I 
need), critical report, etc.

Cheers,
Reinhold

-- 
--
Reinhold Kainhofer, Vienna University of Technology, Austria
email: reinh...@kainhofer.com, http://reinhold.kainhofer.com/
 * Financial and Actuarial Mathematics, TU Wien, http://www.fam.tuwien.ac.at/
 * Edition Kainhofer Music Publishing, http://www.edition-kainhofer.com/
 * LilyPond music typesetting software, http://www.lilypond.org/

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


Re: Multi-column text

2011-08-03 Thread Christopher R. Maden
On 08/03/2011 06:07 PM, Reinhold Kainhofer wrote:
 Nope, Lilypond doesn't try to be a full text layout application. You
 cannot do multi-column text with automatic line- and
 column-breaking.
 
 I am using Latex for such things like preface, lyrics and
 translations (Initially I tried to use lilypond, that's why I wrote
 that other snippet that Harm suggested; But then decided that
 lilypond simply isn't capable of what I need), critical report, etc.

Thanks to you and Harm.  That was what I was afraid of... I don’t care
enough to make the quantum leap to using LaTeX or DocBook, but I was
hoping to save a bit of page space.  Given some of the long titles, I
guess I’ll just go single-column for now, with \column-lines.

Thanks again,
Chris
-- 
Chris Maden, text nerd  URL: http://crism.maden.org/ 
Those who learn from history are doomed to become cynics.

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


Collision between voiceOne voiceTwo, peculiar cautionary

2011-08-03 Thread Frederick Dennis
Dear All,
Thanks to Xavier and Peter for sorting out what
was not such a problem.
The following amended code looks fine:

\version 2.14.2

pianoOne = \relative c' { \time 6/8 \voiceOne
aes'4 g8 \once\override NoteColumn #'force-hshift = #1 fis4 g8 }

pianoTwo = \relative c' { \voiceTwo g d' f4 g d' f8 g d' f!4 g d'
f8}

\score {
\new PianoStaff 
\new Staff = RH
 { \pianoOne } \\ { \pianoTwo } 

}

The main problem was that the f sharp sat on top of the
f natural. The added natural on the following f could
be seen as excessive but is acceptable.
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: More vertical spacing confusion

2011-08-03 Thread Adam Spiers
On Wed, Aug 3, 2011 at 5:37 AM, David Kastrup d...@gnu.org wrote:
 David Kastrup d...@gnu.org writes:
 Joe Neeman joenee...@gmail.com writes:
 So I have several questions:

  - Is the behaviour I am experiencing (a system spilling over onto a
    second page) correct or a bug?  If correct, what's the best way to
    avoid the spillage?

 \paper {
   ragged-last-bottom = ##f
 }

 By default, ragged-last-bottom is ##t, so lilypond has no incentive to
 avoid that dangling system on page 2.

 I don't understand this so.

 The following should still be penalized since they are deficiencies even
 on a ragged bottom:

 a) a page which is considerably less full than the previous page
 b) every page break, and most certainly inside of a system, should carry
    a penalty, giving Lilypond some incentive to compress systems iff it
    helps to avoid using more pages than necessary.

 Otherwise, the scoring does not care whether we have 5 pages with just a
 single system and lots of bottom space, one full page, and 5 pages with
 just a single system again.

 Ragged-bottom or not, this is ugly and that should get reflected in the
 scores.

I agree 100% David!  This is beginning to sound like a bug to me.  I
couldn't find any documentation on how to debug the vertical spacing
algorithms, and by its nature it's impossible to reduce this to a test
case involving only a handful of notes.  Any suggestions how to
proceed?

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


Re: More vertical spacing confusion

2011-08-03 Thread David Kastrup
Adam Spiers lilypond-u...@adamspiers.org writes:

 On Wed, Aug 3, 2011 at 5:37 AM, David Kastrup d...@gnu.org wrote:

 Otherwise, the scoring does not care whether we have 5 pages with just a
 single system and lots of bottom space, one full page, and 5 pages with
 just a single system again.

 Ragged-bottom or not, this is ugly and that should get reflected in the
 scores.

 I agree 100% David!  This is beginning to sound like a bug to me.

Not sure about that.  Could be defective by design.

-- 
David Kastrup


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


Re: More vertical spacing confusion

2011-08-03 Thread Adam Spiers
On Wed, Aug 3, 2011 at 10:34 PM, Adam Spiers
lilypond-u...@adamspiers.org wrote:
 On Wed, Aug 3, 2011 at 5:37 AM, David Kastrup d...@gnu.org wrote:
 David Kastrup d...@gnu.org writes:
 Ragged-bottom or not, this is ugly and that should get reflected in the
 scores.

 I agree 100% David!  This is beginning to sound like a bug to me.  I
 couldn't find any documentation on how to debug the vertical spacing
 algorithms, and by its nature it's impossible to reduce this to a test
 case involving only a handful of notes.  Any suggestions how to
 proceed?

I just found lily/optimal-page-breaking.cc which led me to:

  #(ly:set-option 'debug-page-breaking-scoring)

However that does not reveal much:

Finding the ideal number of pages...
Fitting music on 1 or 2 pages...
trying 7 systems
best score for this sys-count: 15.210169
trying 8 systems
best score for this sys-count: 33.003158
trying 9 systems
best score for this sys-count: 48.201796
trying 10 systems
best score for this sys-count: 70.968437
trying 11 systems
best score for this sys-count: 98.457262
trying 12 systems
best score for this sys-count: 130.470496
trying 13 systems
best score for this sys-count: inf
Drawing systems...
Layout output to `pagination-bug.ps'...
Converting to `./pagination-bug.pdf'...
success: Compilation successfully completed

I guess I could try adding some more debug to
optimal-page-breaking.cc, but at this point I'm
really out of my depth and would need mentoring
from a developer.

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