Re: Vertical Spacing

2010-04-23 Thread Walter Hofmeister
Thanks for the suggestions. I did get this to work. What prevented the new line 
from working is I had forgotten to take out the line:

between-system-spacing = 65\mm

Once this was removed it started to work. I am planning to write something for 
the docs once I figure out how the different numbers effect the way the spacing 
is calculated. At least it is working now.

Walter Hofmeister

On 2010-04-22, at 6:42 PM, Francisco Vila wrote:

> 2010/4/23 Walter Hofmeister :
between-system-spacing = 65\mm
>>> 
>>> This should have the form
>>> 
>>>  between-system-spacing = #'((space . 12) (minimum-distance . 8) (padding . 
>>> 1))
>>> 
>>> as stated in the docs.
>> 
>>I have checked the docs and I see nowhere a line that looks like this. Is 
>> there something that I am missing? Sorry.
> 
> http://lilypond.org/doc/v2.13/Documentation/notation/page-formatting
> 
> I agree with you, there are no ready-to-use examples where they
> should. The notation manual is written in a reference style (not
> tutorial-style) and the tutorial does not cover these complexities.
> So we still have to find an intermediate place for things like these.
> 
>> Also I have tried this line that you have provided and it had no effect. Any 
>> ideas? Thanks.
> 
> Well, the line I provided sets the defaults in
> ly/paper-defaults-init.ly, but you could try increasing the 12 to 20
> for example. My example only showed the form of the setting without
> really changing anything.
> 
> There is a real example in
> 
>  http://lilypond.org/doc/v2.13/Documentation/notation/changing-spacing.html
> 
> to achieve fewer pages.
> 
> What happens if you supress this line completely?
> 
> %  between-system-spacing
> 
> Also, take into account that [at least for some users] the word
> 'ragged' could mean the opposite of what you think.
> 
> ragged=true means unjustified,
> ragged=false means justified.
> 
> -- 
> Francisco Vila. Badajoz (Spain)
> www.paconet.org , www.csmbadajoz.com



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


Re: text formatting inside \addlyrics

2010-04-23 Thread Gerard McConnell

Hi James,
I tried it and that's what happened; I've attached the file in case you'd 
like a look at the result.

On the other hand, I can confirm that Phil Holme's idea does work -
\override LyricText #'font-shape = #'italic italic text \override LyricText 
#'font-shape = #'normal

Gerard

- Original Message - 
From: "James Bailey" 

To: "Gerard McConnell" 
Cc: "Kieren MacMillan" ; 


Sent: Friday, April 23, 2010 6:43 AM
Subject: Re: text formatting inside \addlyrics




On 22.04.2010, at 23:04, Gerard McConnell wrote:



- Original Message - From: "Kieren MacMillan" 


To: "Gerard McConnell" 
Cc: 
Sent: Thursday, April 22, 2010 12:16 PM
Subject: Re: text formatting inside \addlyrics



Hi Gerard,


How do I italicize a section of text inside \addlyrics?


\markup \italic { a section of text to be italicised }

I don't think that will work; that will italicize the section of  text, 
but the words will no longer be treated as lyrics, that is,  they won't 
be aligned under the notes as lyrics would be.


What would lead you to come to this conclusion?

\version "2.12.0"
\layout {
	indent = #0
\context {
\Score
	\remove "Bar_number_engraver"
}
	\context {
		\Lyrics \override LyricText #'font-size = #-1
	}
}

\header {
	title = "All Creatures Of Our God And King" 
	tagline = ##f
}

% to get an svg output file  use the LilyPondTool console and enter - %lilypond -dbackend=svg %buffer

#(set-global-staff-size 25)

\relative c' {
	\key d \major
	\time 3/2
	\partial 2 d2 | d4 e fis d fis g | a1 d,2 | d4 e fis d fis g | a1 d4 cis | b2 a d4 cis
	b2 a^\markup { \musicglyph #"scripts.ufermata" } d | 
	d4 a a g fis g | a1 d2 | d4 a a g fis g | a1 g4( fis) | e2 d g4( fis) | e2 d d'4 cis |
	b2 a d4 cis | b2 a g4 fis | e1. | d2 \bar "|." 
}

	\addlyrics { All crea -- tures of our God and King.
		lift up your voice and with us sing
		Al -- le -- lu -- ia, al -- le -- lu -- ia!
		Thou burn -- ing sun with gol -- den beam,
		thou sil -- ver moon with soft -- er gleam;
		\markup \italic { 
		O praise Him, O praise him,
		al -- le -- lu -- ia, al -- le -- lu -- ia, al -- le -- lu -- ia! } 
		}
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Segmentation fault with \revert Stem #'(details beamed-lengths) in \voiceOne

2010-04-23 Thread Neil Puttock
On 22 April 2010 08:20, Rodolfo Zitellini  wrote:

> Mmh interesting to debug! :)

Heh, I guess we're lucky it triggered a segfault as a side effect,
otherwise it could've gone unnoticed for even longer. :)

Here's the tracker entry:
http://code.google.com/p/lilypond/issues/detail?id=1063

As you can see from the snippet, it actually affects all nested
properties, not just lists.

> If you can give me some pointers on how to start diving in the sources
> I can try to track this down myself.

Well, assuming you're compiling with --disable-optimising and have the
.gdbinit file which allows you to peek at grobs and SCMs
(http://lilypond.org/doc/v2.13/Documentation/contributor/debugging-c_002b_002b-code#Debugging-C_002b_002b-code),
you'll probably want to follow the override/revert path from
property-iterator.cc -> nested-property.cc.

If you grep for "Override" you'll see how the stream event for an
override is broadcast, then caught by the listener in
engraver-group.cc.

Cheers,
Neil


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


Re: Problems with chord glissandos with articulations and tablature

2010-04-23 Thread Carl Sorensen



On 4/23/10 1:48 AM, "Marc Hohl"  wrote:

> Carl Sorensen schrieb:
>> 
>> On 4/16/10 8:30 AM, "Bernardo Barros"  wrote:
>> 
>>  
>>> [...]
>>>
>> 
>> Check out the attached files for one possibility.  Note that I've moved the
>> chordGlissando function to its own .ly file so it can be included in any .ly
>> file you desire to write, without having to copy it in an editor.
>>  
> Hello Carl,
> 
> thanks for your work - this extension is great! However, in combination
> with tab staves, the explicit declaration of "\new Voice" in
> add-glissando-line
> creates spurious staves below the tablature. Is there a way to switch
> to TabVoice automatically, i.e. to get the current context, and if it is a
> Staff, then use Voice, if it is TabStaff, use TabVoice?

OK, I couldn't keep away from it while I was at my son's graduation
exercise.

I've attached replacement code that now works for both a staff and tabstaff.
One issue -- you need to explicitly set string numbers for the chord,
because the glissando ends up being drawn one note pair at a time, so the
string selection algorithm doesn't work.

Again, it's probably a hack rather than a real solution; the real solution
would find the string numbers from the first chord if it's a TabVoice and
use those numbers automatically.

But it's a hack that is reasonably useful.

HTH,

Carl



chord-glissando.ly
Description: chord-glissando.ly


chord-gliss-tab.ly
Description: chord-gliss-tab.ly
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Website Church music drawn up with LilyPond

2010-04-23 Thread Mike Blackstock
Sorry, gmail is acting up.

Anyway, I wanted to say the documentation for mediawiki's api is at
http://www.vex.net/~mikeb/wiki/api.php - that any wiki can be accessed
with the api.php suffix is not generally known.

Hopefully this message works.

-Mike


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


Re: Website Church music drawn up with LilyPond

2010-04-23 Thread Mike Blackstock
oops.

>Start uploading - I have some code for extended functionality that I
>need an excuse to get around to installing it. The api for extended
functionality can be viewed at http://www.vex.net/~mikeb/wiki/api.php


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


Re: Website Church music drawn up with LilyPond

2010-04-23 Thread Mike Blackstock
On Wed, Apr 21, 2010 at 3:58 PM, dadadharma @dslextreme.com

> Wouldn't it be fun to have a wikiproject, putting Florentine music from
> Machiavelli's time into LilyPond -- the Machiavellian music project?

Indeed it would; it's a catchy name that's for sure. Why don't you
start the project? You can use my wiki at
http://www.vex.net/~mikeb/wiki to get things going and you can export
everything if/when you want to leave.

I can set up your own logo and there's an extension that will let me
set up your  own sidebar (I think - it's at
http://www.mediawiki.org/wiki/Extension:DynamicSidebar)

Start uploading - I have some code for extended functionality that I
need an excuse to get around to installing it. The api for extended
functionality can be viewed at http://www.vex.net/~mikeb/wiki/api.php

Cheers,
-Mike


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


Re: Percussion Setups for Contemporary Music Practice

2010-04-23 Thread Mark Polesky
Bernardo Barros wrote:
> 1. Yes, pictogram symbols for percussion would be *very*
> useful!!  That's something I would help if I had the
> knowledge.  Are you doing with Postscript?

I'll reply to this separately when I have some time.

> 2. I was trying to make everything in the same Staff
> because I though that would be much more trouble to make
> things work with 5 or 6 different staffs.  Hum... do you
> think I should go for different Staffs and try to make the
> crossing of staffs automatic?  Now I don't know which
> strategy to choose.

The biggest advantage to using a separate staff for each
instrument is that you can change the score order of the
final product.  So if your percussionist says it would be a
lot easier to read if the woodblock and bass-drum lines were
next to each other, it shouldn't be too much trouble for you
to reorganize the final Score block at the end of your file.

If you use a single staff, and you decide halfway through
that you want to switch lines 3 and 4 out of 6, how will you
do that?

>From your posts so far, you seem willing to experiment with
advanced constructs, and LilyPond's capacity for automating
things is rather robust.  If you're not under time pressure
to produce your score, it might be fun to get your hands
dirty, so to speak.

On the other hand, if your score order is inflexible and you
know you'll never change it, and you need to print this
piece sooner than later, you could design an instrumentName
markup that "lines up" perfectly with the staff lines you've
laid out.

- Mark


  


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


Re: Problems with chord glissandos with articulations and tablature

2010-04-23 Thread Carl Sorensen



On 4/23/10 1:48 AM, "Marc Hohl"  wrote:

> Carl Sorensen schrieb:
>> 
>> On 4/16/10 8:30 AM, "Bernardo Barros"  wrote:
>> 
>>  
>>> [...]
>>>
>> 
>> Check out the attached files for one possibility.  Note that I've moved the
>> chordGlissando function to its own .ly file so it can be included in any .ly
>> file you desire to write, without having to copy it in an editor.
>>  
> Hello Carl,
> 
> thanks for your work - this extension is great! However, in combination
> with tab staves, the explicit declaration of "\new Voice" in
> add-glissando-line
> creates spurious staves below the tablature. Is there a way to switch
> to TabVoice automatically, i.e. to get the current context, and if it is a
> Staff, then use Voice, if it is TabStaff, use TabVoice?

There is a way to accomplish this, but AFAICS it will require fundamental
changes in the format of the code.

The problem is that the context is not available during parsing, which is
when the music functions are evaluated.  In order to make it work, the \new
Voice has to be replaced with some kind of (make-music 'contextSpeccedMusic
...) that will apply during the translation stage, when grobs are evaluated.

The way to do that is demonstrated in the revert-beam-setting function of
scm/beam-settings.scm.  It uses ly:export, and context-spec-music, and
make-apply-context.

Now, in this case, we probably don't need to use ly:export, since we aren't
trying to change property settings.  But I think we will need to use
make-apply-context, which will eventually be called with a context as an
argument.

Unfortunately, I don't have time to pursue this right now.  But I'd be happy
to provide any support to you that I can.

It may be possible to create a hack that works with parser variables.  That
is, we might be able to use something like the following

parserSetVoiceSymbol =
#(define-music-funtion (parser location voice-symbol) (symbol?)
  (ly:parser-define! parser 'voiceSymbol voice-symbol))


then put a check in chord-glissando.ly  using (ly:parser-lookup parser
'voiceSymbol)

and in your music do

<<
\new Staff {
  \new Voice {
 \parserSetVoiceSymbol #'Voice
 \myMusicIncludingChordGlissando
  }
} 
\new TabStaff {
  \new TabVoice {
 \parserSetVoiceSymbol #'TabVoice
 \myMusicIncludingChordGlissando
  }
} 
>>

Note: I haven't tested any of the above code, it's just an idea I had.

HTH,

Carl



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


Re: Percussion Setups for Contemporary Music Practice

2010-04-23 Thread Bernardo Barros
>
> I suggest using pictograms following Stone's example.  I'll
>> try to look at my pictogram code again.  Honestly, if
>> someone wants to support this, that might motivate me to
>> budget more time for it.
>
>
>
There is this book about them:
http://books.google.com.br/books?id=pEf-Fza26RIC&lpg=PA284&ots=hmwBKuimok&dq=Pictographic%20Score%20Notation%3A%20A%20Compendium%20(Hardcover)&hl=en&pg=PA284#v=onepage&q&f=false
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Percussion Setups for Contemporary Music Practice

2010-04-23 Thread Bernardo Barros
> I suggest using pictograms following Stone's example.  I'll
> try to look at my pictogram code again.  Honestly, if
> someone wants to support this, that might motivate me to
> budget more time for it.


Hi Mark,

Thank you for your help.

1. Yes, pictogram symbols for percussion would be *very* useful!!
That's something I would help if I had the knowledge. Are you doing with
Postscript?

2. I was trying to make everything in the same Staff because I though that
would be much more trouble to make things work with 5 or 6 different staffs.
Hum... do you think I should go for different Staffs and try to make the
crossing of staffs automatic? Now I don't know how strategy to choose.

Thanks you!!
Bernardo
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: text formatting inside \addlyrics

2010-04-23 Thread Kieren MacMillan
Hi James (and Gerard),


>>> \markup \italic { a section of text to be italicised }
>> 
>> I don't think that will work; that will italicize the section of text, but 
>> the words will no longer be treated as lyrics, that is, they won't be 
>> aligned under the notes as lyrics would be.
> What would lead you to come to this conclusion?

If "a section of text to be italicised" is one word, it works as expected.
If it's more than one word, Lilypond makes the entire phrase into a single 
lyric -- not (as Gerard implied) into something that isn't a lyric -- and 
aligns the entire phrase under a single note.

The correct answer to his original question is

  \override LyricText #'font-shape = #'italic a section of text to be 
italicised \revert LyricText #'font-shape

Sorry for the noise.
Kieren.

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


Okay Okay, it was a joke!

2010-04-23 Thread craigbakalian
Hi all,

Okay.  I get the point.  It was an April fools joke!  Just call me a
fool : > )).  



Craig Bakalian
560 Keswick Drive
Yardley, PA 19067
215-428-0856



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


Re: Where is 2.14?

2010-04-23 Thread James Lowe



Christ van Willegen wrote:

On Fri, Apr 23, 2010 at 11:24 AM, craigbakalian
 wrote:

There was an announcement about the stability of 2.14 and for all of us
to download it and use it, yet where is it to download?


That was an april fools joke...


 Original Message 
Subject: Major version: LilyPond 2.14.0 released!
Date: Thu, 1 Apr 2010 08:50:36 +0100
From: Graham Percival 
To: lilypond-user@gnu.org

GLASGOW, Scotland -- April 1, 2010 -- The LilyPond development
team is proud to announce LilyPond 2.14, the latest stable release
of our award-winning music engraver.  "Music notation for
everyone" has never looked better!
http://lilypond.org

etc...


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


Re: Where is 2.14?

2010-04-23 Thread Michel Villeneuve
2010/4/23 craigbakalian :
> There was an announcement about the stability of 2.14 and for all of us
> to download it and use it, yet where is it to download?

It was a joke!

-- 
Michel Villeneuve


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


Re: Where is 2.14?

2010-04-23 Thread Francisco Vila
2010/4/23 craigbakalian :
> Hi All,
>
> There was an announcement about the stability of 2.14 and for all of us
> to download it and use it, yet where is it to download?

Where exactly have you seen that announcement? 2.14 does not exist and
it will not for a while. Latest versions are listed on
http://lilypond.org/install/

-- 
Francisco Vila. Badajoz (Spain)
www.paconet.org , www.csmbadajoz.com


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


Re: Where is 2.14?

2010-04-23 Thread Christ van Willegen
On Fri, Apr 23, 2010 at 11:24 AM, craigbakalian
 wrote:
> There was an announcement about the stability of 2.14 and for all of us
> to download it and use it, yet where is it to download?

That was an april fools joke...

Christ van Willegen


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


Where is 2.14?

2010-04-23 Thread craigbakalian
Hi All,

There was an announcement about the stability of 2.14 and for all of us
to download it and use it, yet where is it to download?  



Craig Bakalian
560 Keswick Drive
Yardley, PA 19067
215-428-0856



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


Re: SVG Output problem

2010-04-23 Thread Patrick McCarty
On 2010-04-21, keith Luke wrote:
> I've been using various SVG programs slurs around lyrics per the attached
> snippet.  Inkscape, Scribus, and GIMP all do a good job, but each program
> has "issues" with creating multi-page PDF output.  I am hoping there is a
> neat or sneaky way of doing this in LilyPond so I don't have to go through
> multiple conversions and edits.

Hi Keith,

Thanks for posting the image.

If question is whether or not this is possible with LilyPond, I would
say "Yes!", but I can't really think of any way to easily achieve the
results you want.

You *might* try adding slurs to the melody in the appropriate places,
and then using Inkscape to drag the slurs down to the appropriate
locations.

I'm sorry I can't be of more help; I don't use lyrics with LilyPond
very often, so my knowledge is a bit rusty.


Thanks,
Patrick


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


Re: Problems with chord glissandos with articulations and tablature

2010-04-23 Thread Marc Hohl

Carl Sorensen schrieb:


On 4/16/10 8:30 AM, "Bernardo Barros"  wrote:

  

[...]



Check out the attached files for one possibility.  Note that I've moved the
chordGlissando function to its own .ly file so it can be included in any .ly
file you desire to write, without having to copy it in an editor.
  

Hello Carl,

thanks for your work - this extension is great! However, in combination
with tab staves, the explicit declaration of "\new Voice" in 
add-glissando-line

creates spurious staves below the tablature. Is there a way to switch
to TabVoice automatically, i.e. to get the current context, and if it is a
Staff, then use Voice, if it is TabStaff, use TabVoice?

Thank you!

Marc



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