Re: LilyPond Odd Jobs (mostly docs)

2007-07-12 Thread Graham Percival

Valentin Villenave wrote:

2007/7/13, Graham Percival <[EMAIL PROTECTED]>:


Lilypond Odd Jobs
-


I forgot to mention that anybody interested in the docs should look at 
the unstable 2.11 docs.  There are a number of doc improvements that 
haven't been merged with the 2.10 docs (for good reasons), so make sure 
you look at the 2.11 docs.



- create example for automatic accidental examples that demonstrates
everything


OK, I'll take this one.


In case anything needs clarifying: we're talking about 9.1.1.  I'd like 
to have a single piece of music (two or three bars, possibly with 
multiple staffs if necessary, etc).  That example will be rendered with 
every accidental style, and that same example should look different for 
each accidental style (ie construct the example such that there will 
always be differences between any two rendered versions).



- avoid future tense
http://lists.gnu.org/archive/html/lilypond-devel/2006-01/msg00076.html


[OMG... I think I've used it many times in the French translation... :-( ]


This is a suggestion for writing technical manuals in English; it might 
not make sense in French.  Don't worry about whatever you've written 
already in the French translation.


Cheers,
- Graham


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


Re: Trying to create a custom markup command

2007-07-12 Thread Valentin Villenave

2007/7/13, Romel Anthony S. Bismonte <[EMAIL PROTECTED]>:


I'll bother some other list about how to make it work in IE. ^_^


Yep; I bet MS guys will be thankful if you send them a patch :)

Greetings,
Valentin


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


Re: Trying to create a custom markup command

2007-07-12 Thread Romel Anthony S. Bismonte
Ah, all right! Now I'm pointed in the right direction. Thanks, again, guys. 
Maybe I shouldn't code or read the manual when my mind is telling me that I 
should sleep. It sure is clear what I did wrong now that I see my code in the 
light of day!

But hey, a bug, right? That's pretty exciting; I've never seen one in the wild 
before like this. ^_^ In my "non-minimal example" work, I will be using my 
segue command in a "relative" context, and on the last note or rest, so I don't 
think it should be a problem. Still, good luck with tracking the bug. ^_^

Anyway, while I'm looking at it, I saw the page
http://lilypond.org/doc/v2.11/input/lsr/collated-files

I've been visiting at least once a day for the last week, but it seems that the 
image links are broken. What gives?

Edit: Following a hunch, I tried the page in Firefox; it works just fine. I'll 
bother some other list about how to make it work in IE. ^_^

Regards,
Romel___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: TesxtSpanner

2007-07-12 Thread Graham Percival

Peter Terpstra wrote:

I got this from the lilypond.pdf documentation from the lilypond site, but
is not okay??

I have lilypondversion 2.8.7.


The LilyPond syntax changes, and the manual changes with it.  Please 
upgrade to the latest stable version, and see the documentation for that 
version.


Cheers,
- Graham


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


TesxtSpanner

2007-07-12 Thread Peter Terpstra

Dear readers,

How does this work?

I use this:
\textSpannerUp
\override TextSpanner #'bound-details #'left #'text = "II "
\startTextSpan
< fis''-1  d-2 b,-1 >2\stopTextSpan

Ant I get this error:
error: syntax error, unexpected SCM_T, expecting '='
\override TextSpanner #'bound-details #'left 
 #'text = "II "
error: errors found, ignoring music expression


I got this from the lilypond.pdf documentation from the lilypond site, but
is not okay??

I have lilypondversion 2.8.7.

Thanks in advantage.

   Peter


-- 
mailto:[EMAIL PROTECTED]



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


RE: Trying to create a custom markup command

2007-07-12 Thread Carl D. Sorensen
Valentin wrote: 

> What has to be done? How do you define the (string?) start?

Oops -- my bad.  I misread the error messages.  All that needs to happen
is to enclose the multiple notes in braces, to make a single music
expression.  Multiple notes outside of braces make multiple music
expressions which aren't allowed.

This code works:

\version "2.10.19"
\paper {ragged-right = ##t}

#(define-markup-command (segue layout props tosong)
(string?)
(interpret-markup layout props
(markup #:small #:column ("segue to"  #:italic tosong))
)
)

\score {
{c'1 c' c' c' c'1_\markup \segue #"Something Else"}
}

Carl


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


Re: LilyPond Odd Jobs (mostly docs)

2007-07-12 Thread Valentin Villenave

2007/7/13, Graham Percival <[EMAIL PROTECTED]>:


Lilypond Odd Jobs
-


Thank you Graham.


- create example for automatic accidental examples that demonstrates
everything


OK, I'll take this one.


- special markup command examples (note head styles, rotation, etc:
complicated stuff to show off some possibilities).  Maybe as LSR instead
of manual.


To everyone who would like to take it: please check
http://lsr.dsi.unimi.it/LSR/Search?q=%5Cmarkup
first, and improve existing snippets if necessary
(for example check if they are located in the relevant category).


- document (manual or LSR) adding command-line arguments to lilypond scores:
http://www.mail-archive.com/lilypond-user@gnu.org/msg16042.html
http://lists.gnu.org/archive/html/lilypond-user/2006-10/msg00271.html



- document (manual or LSR) adding arguments to \include:
http://lists.gnu.org/archive/html/lilypond-user/2006-12/msg00642.html



- document (manual or LSR) first/last page header commands:
http://www.mail-archive.com/lilypond-user@gnu.org/msg24949.html



- document (manual or LSR) multiple tags:
http://lists.gnu.org/archive/html/lilypond-user/2007-01/msg00635.html



- prettify the main "snippets" page of the docs.
input/lsr/LSR.ly
http://lilypond.org/doc/v2.11/input/lsr/collated-files



GENERAL EDITING / JANITORIAL:
- check manual for current correctness (does it make sense, is the info
up-to-date, etc)


Absolutely! This is a (crucial) task everyone can do!


- verify anything in the "bugs" sections
- standardize # signs
http://lists.gnu.org/archive/html/lilypond-devel/2006-10/msg00180.html



- avoid future tense
http://lists.gnu.org/archive/html/lilypond-devel/2006-01/msg00076.html


[OMG... I think I've used it many times in the French translation... :-( ]


ADVANCED
- go through ly/music-functions-init.ly and add a doc string to every
function listed.
- Some type of doc that outlined the lexical construction of Lilypond


This seems to be a quite complete list.
Graham: Since you haven't pasted the link (yet) in this thread, let me
do it for you:
http://lilypond.org/web/devel/participating/documentation-adding

Everyone:
Anyone can add new snippets to the LSR, but it requires special rights
to modify existing snippets. In such a case, please send me your
corrected snippet,
or if you prefer, assuming the snippet you corrected was

Writing music with LilyPond

copy it and post it as a new snippet, entitled:

Writing music with LilyPond [corrected]

I check for new snippets everyday, so the first one will soon be
replaced with yours.

Suggesting concrete Documentation improvements is very easy, and this
will make LilyPond an even better software, so please help us!

Regards,
Valentin


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


RE: Trying to create a custom markup command

2007-07-12 Thread Carl D. Sorensen
Valentin wrote: 

> -Original Message-
> From: Valentin Villenave [mailto:[EMAIL PROTECTED] 
> Sent: Thursday, July 12, 2007 12:51 PM
> 
> I was about to add it to the LSR when I realized it only 
> works when your score contains only *one* note... Try adding 
> a few more notes before the c'1, and you'll see it doesn't 
> work any longer.
> 

Apparently it's a bug in lilypond.  If you enclose the music in
\relative c'{} it works with the extra notes.  I'm in the process of
preparing a bug report right now.

 Begin snippet

#(define-markup-command (segue layout props tosong)
(string?)
(interpret-markup layout props
(markup #:small #:column ("segue to"  #:italic tosong))
)
)


\score {
\relative c' {
c4 c c c
c_\markup \segue #"Something Else"
}
}

 End Snippet


Carl


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


LilyPond Odd Jobs (mostly docs)

2007-07-12 Thread Graham Percival
(this list will be posted to lilypond-user from time to time; it will 
not be posted on a wiki or anything like that, since I'm the only person 
who should be modifying the list)




Lilypond Odd Jobs
-


ONE-SHOT JOBS  (estimated time: between 1/2 and 2 hours)
- create example for automatic accidental examples that demonstrates 
everything

- special markup command examples (note head styles, rotation, etc:
complicated stuff to show off some possibilities).  Maybe as LSR instead
of manual.
- document (manual or LSR) adding command-line arguments to lilypond scores:
http://www.mail-archive.com/lilypond-user@gnu.org/msg16042.html
http://lists.gnu.org/archive/html/lilypond-user/2006-10/msg00271.html
- document (manual or LSR) adding arguments to \include:
http://lists.gnu.org/archive/html/lilypond-user/2006-12/msg00642.html
- document (manual or LSR) first/last page header commands:
http://www.mail-archive.com/lilypond-user@gnu.org/msg24949.html
- document (manual or LSR) multiple tags:
http://lists.gnu.org/archive/html/lilypond-user/2007-01/msg00635.html
- prettify the main "snippets" page of the docs.
input/lsr/LSR.ly
http://lilypond.org/doc/v2.11/input/lsr/collated-files



TECHNICALLY ADVANCED
- convert-ly bugs and tips
- preprocessor docs
- musicxml: document current features, limitations
- musicxml: programming.  (it's currently not supported)


GENERAL EDITING / JANITORIAL:
- check manual for current correctness (does it make sense, is the info 
up-to-date, etc)

- verify anything in the "bugs" sections
- standardize # signs
http://lists.gnu.org/archive/html/lilypond-devel/2006-10/msg00180.html
- avoid future tense
http://lists.gnu.org/archive/html/lilypond-devel/2006-01/msg00076.html


ADVANCED
- go through ly/music-functions-init.ly and add a doc string to every
function listed.
- Some type of doc that outlined the lexical construction of Lilypond


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


Re: Trying to create a custom markup command

2007-07-12 Thread Graham Percival

Romel Anthony S. Bismonte wrote:

By the way, I am interested in contributing to the documentation.


The main instructions are here:
http://lilypond.org/web/devel/participating/documentation-adding

If you don't have any ideas for specific improvements, I have a list of 
improvements waiting for somebody to do.


Cheers,
- Graham


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


Re: Ugly volta brackets

2007-07-12 Thread Daniel Tonda

This is how it looks in LP 2.11.27.

No collisions! :)

2007/7/12, Valentin Villenave <[EMAIL PROTECTED]>:


2007/7/12, Stan Sanderson <[EMAIL PROTECTED]>:

> Valentin, I get the output from Dominic's code which he complains about:
> (LP 2.10.25)

Yes, I can see that, but it doesn't collide here on 2.11.27 (linux32).
This might have been fixed with the new spacing code or something,
which is why I asked Dominic (or yourself, or anyone else) if he could
try with lilypond development version.
Maybe there's no tweak needed after all... if we're lucky :)

Valentin


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





--
Daniel Tonda C.
<>___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Ugly volta brackets

2007-07-12 Thread Valentin Villenave

2007/7/12, Stan Sanderson <[EMAIL PROTECTED]>:


Valentin, I get the output from Dominic's code which he complains about:
(LP 2.10.25)


Yes, I can see that, but it doesn't collide here on 2.11.27 (linux32).
This might have been fixed with the new spacing code or something,
which is why I asked Dominic (or yourself, or anyone else) if he could
try with lilypond development version.
Maybe there's no tweak needed after all... if we're lucky :)

Valentin


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


Re: Ugly volta brackets

2007-07-12 Thread Stan Sanderson

Dominic-

My apologies for not having seen the previous thread, but
the following  changes to your code appear (to me) to resolve
the clash...

Stan

On Jul 12, 2007, at 2:02 PM, Dominic Neumann wrote:


Hi again,

I´m still searching for a way to solve this problem. Is there anyone
who has an idea how to tweak lilypond?

Dominic

2007/3/15, Dominic Neumann <[EMAIL PROTECTED]>:

okay, sorry for not posting an example. It´s not that easy to find a
simple one, because in the simple situations there´s no problem with
the brackets. I already included the tipp for question 3 and it works
good.

There´s a problem with the collision of the bracket numbers and  
the chordnames.


%%% BEGIN OF CODE %%%

\version "2.10.19"

harmonies = {
   \chordmode { \set majorSevenSymbol = \markup { "maj7" }
   b1:7 c:maj7 d c:maj7 c:maj7 d d
   }
}

\score {
   {
   <<
   \new ChordNames \with {
   chordChanges = ##t
   voltaOnThisStaff = ##t
   \consists Bar_engraver

%%%

%%   \override VoltaBracket #'minimum-space = #0

%%%

   } \harmonies
   \new Staff \with {
   voltaOnThisStaff = ##f
   }
   \relative c'' {

%%% Added: #5.0 is the default; adjust as needed.
\override Staff.VoltaBracket #'minimum-space = #5.5
%%%


   \repeat volta 2 {
   a4. g4. fis4
   }
   \alternative {
   {
   % first ending
   g4 r8 g4 r8 g4
   a4 r4 r2
   }
   {
   \set Score.repeatCommands = #'((volta "2.-3.")  
end-repeat)

   % 2nd and 3rd ending
   g1~
   g2 r4. g8
   g a a r8 r2
   r1
   }
   }
   \bar ":|"
   }

   >>
   }
}

%%% END OF CODE %%%

hope, anyone can help ...

Dominic





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




Stan




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


Re: Ugly volta brackets

2007-07-12 Thread Valentin Villenave

2007/7/12, Dominic Neumann <[EMAIL PROTECTED]>:

Hi again,


Hi Dominic,


I´m still searching for a way to solve this problem. Is there anyone
who has an idea how to tweak lilypond?


I tried the snippet you posted, and as you can see the result doesn't
look ugly at all.

Have you tried with the latest 2.11.27 version? If so, can you post
another snippet which produces obviously ugly stuff?

Regards,
Valentin
<>___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Empty lines showing

2007-07-12 Thread Jean-Charles Malahieude

Le 12.07.2007, Daniel Boronka disait :


I'm writing multiple lines of music and some parts come in later by a
few lines (or sometimes a page or 2). Does anyone know how to make to
empty bars and empty lines not show up until needed? See example
below:



 Have a look at section 8.3.2 Hiding staves.

By the way, you can simplify your code, especially when singers sleep:

replace
s2. s s s s s s s s s s s s s s s
with
\skip 2.*16

and put from time to time a comment with the measure number.

Hoping to be helpful

Jean-Charles



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


Re: Ugly volta brackets

2007-07-12 Thread Dominic Neumann

Hi again,

I´m still searching for a way to solve this problem. Is there anyone
who has an idea how to tweak lilypond?

Dominic

2007/3/15, Dominic Neumann <[EMAIL PROTECTED]>:

okay, sorry for not posting an example. It´s not that easy to find a
simple one, because in the simple situations there´s no problem with
the brackets. I already included the tipp for question 3 and it works
good.

There´s a problem with the collision of the bracket numbers and the chordnames.

%%% BEGIN OF CODE %%%

\version "2.10.19"

harmonies = {
   \chordmode { \set majorSevenSymbol = \markup { "maj7" }
   b1:7 c:maj7 d c:maj7 c:maj7 d d
   }
}

\score {
   {
   <<
   \new ChordNames \with {
   chordChanges = ##t
   voltaOnThisStaff = ##t
   \consists Bar_engraver
   \override VoltaBracket #'minimum-space = #0
   } \harmonies
   \new Staff \with {
   voltaOnThisStaff = ##f
   }
   \relative c'' {
   \repeat volta 2 {
   a4. g4. fis4
   }
   \alternative {
   {
   % first ending
   g4 r8 g4 r8 g4
   a4 r4 r2
   }
   {
   \set Score.repeatCommands = #'((volta "2.-3.") end-repeat)
   % 2nd and 3rd ending
   g1~
   g2 r4. g8
   g a a r8 r2
   r1
   }
   }
   \bar ":|"
   }

   >>
   }
}

%%% END OF CODE %%%

hope, anyone can help ...

Dominic





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


Re: Trying to create a custom markup command

2007-07-12 Thread Valentin Villenave

2007/7/12, Carl D. Sorensen <[EMAIL PROTECTED]>:


I hope this has been helpful.


I was about to add it to the LSR when I realized it only works when
your score contains only *one* note... Try adding a few more notes
before the c'1, and you'll see it doesn't work any longer.

What has to be done? How do you define the (string?) start?

Regards,
Valentin


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


RE: Trying to create a custom markup command

2007-07-12 Thread Carl D. Sorensen
Romel wrote:
> I liked the idea of a segue so much, that I decided that I 
> should write a custom markup command for it:
> 
> #(define-markup-command (segue layout props tosong)
> (string?)
> (interpret-markup layout props
> (markup #:small #:column "segue to" #:italic tosong)
> )
> )
> 
> The usage (as I extrapolated from the "character" and 
> "smallCaps" examples in the documentation) would be something like
> 
> c1_\segue #"Something Else"

Your usage is not quite correct.  As you can see in the "character"
example, the proper usage is 

c1_\markup \segue #"Something Else" 

That is, you need to keep the \markup keyword in there.

There is also a second problem, which is a Scheme problem that you might
be able to guess from the error message, once you get the call right.

#:column needs a list of arguments, rather than a single argument.
Therefore you need to change your code ever so slightly, to

#(define-markup-command (segue layout props tosong)
(string?)
(interpret-markup layout props
(markup #:small #:column ("segue to"  #:italic tosong))
)
)

Please notice the added parentheses before "segue to" and after tosong.

When this markup function is used with the following lilypond code, it
works

\score {
c'1_\markup \segue #"Something Else"
}

I hope this has been helpful.

Carl Sorensen


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


Empty lines showing

2007-07-12 Thread Daniel Boronka
I'm writing multiple lines of music and some parts come in later by a few lines 
(or sometimes a page or 2). Does anyone know how to make to empty bars and 
empty lines not show up until needed? See example below:


 
Daniel Boronka


Example

 \version "2.6.4"
   \header {
   title = "Chi mi frena in tal momento"
   composer = "Donizetti"
   tagline = "for modification and editing"
 }
 #(set-global-staff-size 15)
global = {\key des \major
\time 3/4}
 }
 LuciaMusic = \relative c'' {
s2. s s s s s s s s s s s s s s s  
b2.\rest b4\rest b4\rest 
aes8.\noBeam^\(  
aes16 aes4.. des16 f8.\noBeam es16 des4 aes8\) b\rest
des8.\noBeam^\( c16 bes4.. c16 des8.\noBeam es16 aes,8. (f16) aes8\) b\rest
aes8.\noBeam f'16 f8.-> (ges16) es8 b8\rest es8.\noBeam es16 e8.-> (f16) 
des8 b\rest
f'8.\noBeam f16 f4 ~ f16\noBeam (es!) ges [(f)] es [(des)] c [(bes)]
a8. (c16) f,8 b\rest
f'8.\noBeam f16 ges4->~ ges16 [(f)] es [(des)] c [(bes)] aes! [(ges)] ges 
[(f bes aes)] aes8 b\rest
aes8.\noBeam f'16 ges4->~ ges16 [(f)] es [(des)] c [(bes)] aes ges\noBeam 
ges [(f bes aes)] aes8 b\rest
aes8.\noBeam aes16 f'4. es16 [(des)] des [(c)] bes [(aes)] 
aes'4->^\( 
\times 2/3 { ges8\) bes [(aes)]}
\times 2/3 {ges [(f)] es} es8.\noBeam des16 ges4..-> f16 f8\noBeam es
f4.\fermata es8 des b\rest b4\rest b\rest b\rest b\rest
aes8.\noBeam aes16 f'8.\noBeam des16 aes8
b\rest b4\rest b2.\rest
f'2 f8.\noBeam es16 es4^\( \times 2/3 { d8\) a [(bes)]}
\times 2/3 { des [(ces)] bes}
\times 2/3 { bes' bes4->~} \times 2/3 { bes8 bes4->~} \times 2/3 { bes8 
bes4->}
bes (aes g) aes~ \times 2/3 { aes8 [(e f)]}
\times 2/3 { aes8 [(c,)] des} es!4~
\times 2/3 { es8 d\noBeam es} \times 2/3 { ges bes,\noBeam c} des
b\rest b4\rest b\rest b\rest b\rest
aes8.\noBeam aes16 f'8.\noBeam des16 aes8
b\rest b4\rest b2.\rest
f'2 f8.\noBeam es16 es4^\( \times 2/3 { d8\) a [(bes)]}
\times 2/3 { des [(ces)] bes}
\times 2/3 { bes' bes4->~} \times 2/3 { bes8 bes4->~} \times 2/3 { bes8 
bes4->}
bes (aes g) aes~ \times 2/3 { aes8 [(e f)]}
\times 2/3 { aes8 [(c,)] des} es!4~
\times 2/3 { es8 d\noBeam es} \times 2/3 { ges bes,\noBeam c} des
b\rest b4\rest b8.\rest 
des16 es8. (f16) es8. (beses16) es8. (aes,16) des4
b\rest b8.\rest
des16 es8.^\( f16 es8. aes,16 es'8\)
b\rest\fermata b2.\rest b\rest
aes'-> des,~ des4
b\rest b\rest\fermata
}
 LuciaWords = \lyricmode {  
\set stanza = ""
Io spe -- rai "che a" me la vi -- ta
tron -- "ca a" -- ves -- "se il" mio spa -- ven -- to...
ma la mor -- te non m'a -- i -- ta, 
vi -- "vo an" -- cor per mio tor -- men -- to!
Da' miei lu -- mi cad -- "de il" ve -- lo...
mi tra -- di la ter -- "ra e" il cie -- lo!
vor -- rei pian -- ge -- "re, e" non pos  -- \skip1  so,
m'ab -- ban -- do -- na, m'ab -- ban -- do -- "na, il"
pian -- "to an" -- cor, 
vor -- rei pian -- ge -- re,
ah vor -- rei pian -- \skip1 ge -- "re e" non pos -- \skip1 \skip1 \skip1 
\skip1 so
m'ab -- ban -- do -- na, il
pian -- to an -- cor, 
vor -- rei pian -- ge -- re,
ah! vor -- rei pian -- \skip1 ge -- "re e" non pos -- \skip1 \skip1 \skip1 
\skip1 so
m'ab -- ban -- do -- na, il
pian -- to an -- cor, il
pian -- to an -- cor, il
pian -- \skip1 \skip1 \skip1 to an -- cor.
  }
AlisaMusic = \relative c'' {
s2. s s s s s s s s s s s s s s s  
s s s s s s s s s s s s s s s s s s
f,2 f4 ges8.\noBeam ges16  ges8.\noBeam ges16  ges8.\noBeam ges16 
f2 f4 ges4..\noBeam ges16  ges8.\noBeam ges16 f4 aes2 aes aes4
ges8.\noBeam ges16 f4 es des'2 des8 b\rest
aes2-> aes4 ges8.\noBeam ges16  ges8.\noBeam ges16  ges8 b\rest
f2 f4 ges8.\noBeam ges16  ges8.\noBeam ges16  ges8.\noBeam ges16 
f2 f4 ges4..\noBeam ges16  ges8.\noBeam ges16 f4 aes2 aes aes4
ges8.\noBeam ges16 f4 es des'2 des8 b\rest
aes2-> aes4 ges8.\noBeam ges16  ges8.\noBeam ges16  ges8 b\rest
f2. ges f4. aes8\noBeam ges f\noBeam ges2~ ges8 b\rest\fermata
b2.\rest b\rest c-> aes~ aes4 b\rest b\rest\fermata
}
 AlisaWords = \lyricmode {  
\set stanza = ""
Io spe -- rai "che a" me la vi -- ta
tron -- "ca a" -- ves -- "se il" mio spa -- ven -- to...
  }
 EduMusic = \relative c'' {
b,2.\rest b4\rest b4\rest 
aes8.\noBeam^\(  
aes16 aes4.. des16 f8.\noBeam es16 des4 aes8\) b\rest
des8.\noBeam^\( c16 bes4.. c16 des8.\noBeam es16 aes,8. (f16) aes8\) b\rest
aes8.\noBeam f'16 f8.-> (ges16) es8 b16\rest aes c8.\noBeam es16 e8.-> 
(f16) des8 b\rest
f'8.\noBeam f16 f4 ~ f16\noBeam es! ges\noBeam^\( f es\noBeam des c\noBeam 
bes
a4 c8\) b\rest
f'8.\noBeam f16 ges4->~ ges16 [(f)] es [(des)] c [(bes)] aes! [(ges)] ges 
[(f bes aes)] aes8 b\rest
f'8.\noBeam f16 ges4->~ ges16 [(f)] es [(des)] c [(bes)] aes [(ges)] ges 
[(f bes aes)] aes8 b\rest
aes8.

Re: using jEdit 4.3pre9 on WinXP + LylipondTool / no midi output / solved!!

2007-07-12 Thread Ledocq-Boccart

Hi Tao and all Lilyponders!

In fact I got no sound on my speakers using the midi player of Lilytool.
Nevertheless the same file.midi gave sounds on the  speakers  when 
opened with the default player (i.e.Windows Media Player ).
Looking at audio presets in menu startup/parameters/audio 
peripherals/sounds.../setting of audio peripherals/audio/midi lecture 
(SW synthe) /volume...volume was set to zero!

Setting volume to >0 value solved the apparent problem.

Regards and apologizes.

Charlie

Tao Cumplido a écrit :

Hi,

did you so far just try to use the lilytool midi player in a floating (or 
docked) window?
When I first used it I also had a problem with the midi player, sometimes it 
worked sometimes not until I realized that the button 'play' didn't do anything 
when the midi was played once until I moved the cursor back to the starting 
position.
I just tried it and the button in toolbar should work in any case though.

regards,

Tao

 Original-Nachricht 
Datum: Tue, 10 Jul 2007 17:17:07 +0200 (CEST)
Von: "Bertalan Fodor" <[EMAIL PROTECTED]>
An: [EMAIL PROTECTED]
CC: lilypond-user@gnu.org
Betreff: Re: using jEdit 4.3pre9 on WinXP + LylipondTool / no midi output

  

Actually I have no idea. If you click on the midi button of the lilypond
toolbar in jedit you should be able to play the midi.



Hi Bertalan!

Thanks for answering.
The .ly file I ran with jEdit+Lilypond plugin contains a midi block; it
has generated a file.midi which gives sounds on the speakers when
executed outside jEdit (i.e. whith Notepad edtor and point+clik on
lilypond.exe). I  wonder if it a plugin should be missing?

Till later

Charlie



Bertalan Fodor a écrit :
  

Hi, if you want to hear midi output you need a midi {} block in your ly
file, see lilypond documentation.
If the .midi file is correctly generated, the midi player should work
out
of the box.




Hi,

I've installed jEdit 4.3pre9 on WinXP.
Lilypond is v.2.10.23
LylipondTool plugin has been automatically installed.
I do not get any sound on Midi play.

What's the matter?
Does someone already slove this?

Thanks for answering

Charlie




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


  








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



  



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


Re: Trying to create a custom markup command

2007-07-12 Thread Romel Anthony S. Bismonte



c1_\segue #"Something Else"


Only `c1-\segue' works, IIRC.  Writing something which works with `_'
and `^' is a bit more difficult; however, I've added an example some
time ago to the docs.


   Werner



I tried `c1-\segue #"Something Else"'. This didn't work, either. The log 
file says that the escaped string is not recognized.


Could there be a problem in the order in which the elements appear in the 
main file? I thought that by placing the (define) Scheme expression before I 
include the music file, I ensure that the command is defined before it is 
used.


Also, will I have to add extra command-line switches to the lilypond 
invocation to make this work?


Thanks for the help so far. I'll be scouring the manual. ^_^
Romel




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


Re: Trying to create a custom markup command

2007-07-12 Thread Werner LEMBERG

> c1_\segue #"Something Else"

Only `c1-\segue' works, IIRC.  Writing something which works with `_'
and `^' is a bit more difficult; however, I've added an example some
time ago to the docs.


Werner


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


Trying to create a custom markup command

2007-07-12 Thread Romel Anthony S. Bismonte
I liked the idea of a segue so much, that I decided that I should write a 
custom markup command for it:

#(define-markup-command (segue layout props tosong)
(string?)
(interpret-markup layout props
(markup #:small #:column "segue to" #:italic tosong)
)
)

The usage (as I extrapolated from the "character" and "smallCaps" examples in 
the documentation) would be something like

c1_\segue #"Something Else"

Needless to say, it didn't work. ^_^

Some information that may help in trying to fix my error:

1. I have a main file which \include's the individual score files:

% main.ly
#(define-markup-command (segue layout props tosong)
(string?)
(interpret-markup layout props
(markup #:small #:column "segue to" #:italic tosong)
)
)
\include "music.ly"
-

% music.ly
\score {
c1_\segue #"Something Else"
}
-

2. Here's the result of trying to run my example:
/main.log/
music.ly:2:7: error: unknown escaped string: `\segue'
c1_
   \segue #"Something Else"

music.ly:2:14: error: syntax error, unexpected SCM_TOKEN
c1_\segue 
  #"Something Else"

There's no output. (I was expecting some...)

3. I've written two other markup commands. Neither of them work, for reasons I 
was hoping I can discover from insight from all of you guys. What I noticed is 
that they get through the lilypond program fine--that is, until I try to use 
it. I'm guessing that Lilypond won't check it's correct (or whatever the 
problem is with the command) until it's being used.

By the way, I am interested in contributing to the documentation. It's worthy 
to read, and has so far eaten up most of my day today. ^_^ If it improves, 
we'll know when people spend less time reading it and more time making music. 
I'd like to take part in that one.

Thanks for all the help so far... regards to all.
Romel___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: [EMAIL PROTECTED] \line

2007-07-12 Thread sdfgsdhdshd


Valentin Villenave wrote:
> 
> 2007/7/12, sdfgsdhdshd <[EMAIL PROTECTED]>:
> 
>> In this link, i read "how many systems you want before each fragment".
>> What does "system" mean? This word is present several times in the main
>> lilypond doc, but i can't figure its meaning related to lilypond.
> 
> I found this definition on Google (it explains it better than I would ever
> do):
> 
> Multiple staves that are held together with a bracket or brace are
> often just called a "line", but this term can be confusing, so the
> term "system" is preferred, although this is not in very common usage.
> For example, if a choir leader or conductor refers to the "second
> line", it is not necessarily clear whether he/she is referring to the
> second stave or the second system (counting from the top of the page).
> 

This definition is good.
-- 
View this message in context: 
http://www.nabble.com/StaffSize%40%5CMarkup-%5Cline-tf4028226.html#a11561300
Sent from the Gnu - Lilypond - User mailing list archive at Nabble.com.



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


How do I: print a staff, end it, and then print some others?

2007-07-12 Thread sqrt

Hi!

I would like to first make a staff with the notes called "melody". Then,
when the notes stop, I'd like to start a new set of staves, namely the
choir.


I thought, the following code would be the answer, but instead of stopping
when there are no more notes, the melody staff is printed, on top of the
others, although with no notes and no rests in it.

\score {
  \context ChoirStaff {
\new Staff  { 
  \clef violin
  \melody
}
<<
  \new Staff  { 
  \clef violin
<<
  \sopOne
  \sopTwo
>>
  }
  \new Staff  { 
  \clef violin
<<
  \altOne
  \altTwo
>>
  }
  >>
\layout {
\context {
\Score
}
}
}


How is it really done?

Regards,

sqrt.
-- 
View this message in context: 
http://www.nabble.com/How-do-I%3A-print-a-staff%2C-end-it%2C-and-then-print-some-others--tf4067844.html#a11559122
Sent from the Gnu - Lilypond - User mailing list archive at Nabble.com.



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


Re: Aligning relative to page - Use OOoLilyPond

2007-07-12 Thread Werner LEMBERG

> If you have the technical capability to complain about the docs, you
> have the technical ability to improve those docs.

Hear, hear!  This is a good saying, worth to remember.


Werner


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


midi repair [was:] mid and midi

2007-07-12 Thread Francois Planiol-Auger
Hi

Thanks to all who tried to help till now.

I tried also with a lute prelude (the first one on this lute page @tobis). The 
problem remains.
But now, I know why.

All these Midi-files where certainly done using quantization. During playing 
the player played everything staccato, what is normal here (Germany) *g*
It may be nice to play just a little bit of staccato, but the program (capella 
then midi2ly) interpretated every note as note + spacer sequence.

for ex.: g''4*58/240 s4*2/240 fis4*58/240 s4*2/240 g4*58/240 s4*2/240

So the midi files are "corrupted", every note+spacer should be concatenated to 
a note.

I began to write a .sh utility to handle with the .ly file afterward, that is 
for J.S.Bach ok. It will be but very difficult using complicated rhythmvalues 
like c4..~\times 5/4{c16 d e f g}.

So it would be more accurate to purify/repair first the midi-file, then 
convert.

My question is actually:
-How do one repair (concatenate notes with this little staccato-rest) a 
midi-file.

I would have also a sed question, but later on, only if I dont have succes 
with the midi-way.

greetings from Francois

Am Dienstag, 10. Juli 2007 20:57 schrieb Stan Sanderson:
> On Jul 10, 2007, at 1:30 PM, Francois Planiol-Auger wrote:
> > Hi!
> > I am searching how to convert *.mid to ly. (mainly from tobis-
> > notenarchiv.de
> > I wrote already about, but I dont still have a working solution.
> >
> > It seems to me that mid and midi very different file-formats are.
> > See in PS.
> > With
> >
> >> midi2ly file.midi (from mutopia)
> >
> > ... works fine
> > but not with midi2ly file.mid. (from tobis-notenarch...)
> > I get then a not usable file.ly
> > (I got these 2 files of the same choral from bach in mid and midi
> > for test)
> >
> > I tried/searched till now:
> >
> > - First way: convert mid2midi then midi2ly (look for differences in
> > PS)
> > I found a script mid2midi*, but unfortunately it is a matlab
> > script, so I cant
> > use it. Matlab doesnt seems to have much contact with private
> > persons...
> >
> > - Second way:
> > open file.mid with noteedit then export as lilypond and purify the .ly
> > file!!!... Very heavy. Not practicable for the many files I have to
> > handle.
> > But if there is no other solution...
> >
> > - Third and best way, but how?
> > mid2ly
> > I found an advice in sourceforge.jp** that there was either a
> > mid2ly and a
> > midi2ly. Is that true? How to convert from mid? Unfortunately, I cant
> > understand Japanese...
> >
> > - ThirdA: it would be helpful, of course, to have a cap2ly, but it
> > seems to be
> > a difficult topic ;-) or is it not?
> >
> > Of course, I want to convert pieces that do only in this .mid
> > format exist.
> > For BWV734, I dont need that anymore ;-)
> >
> > That it for now. I hope my english is human readable ;-)
> >
> > Thanks
> >
> > Francois
> > still using 2.10.25
> >
> > * neural.cs.nthu.edu.tw/jang/matlab/toolbox/CBMR/mid2midi.m
> > ** http://mytexpert.sourceforge.jp/index.php?LilyPond (was lilypond
> > 2.6.5)
> >
> > PS
>
> 
>
> Francois-
>
> Your English is infinitely more readable than would be my French.
> I would like to ask whether you have tried replacing the ".mid"
> extension
> with ".midi" when using midi2ly. I just tried it with a Bach lute
> prelude from
> the tobis site. While I don't use midi2ly very often, the results
> seem o.k.
>
> Stan


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


Re: Aligning relative to page

2007-07-12 Thread Romel Anthony S. Bismonte
Thanks for all the suggestions. Everything that I read on the mailing list 
sends me back to the LilyPond user manual, and every time that happens, I 
understand it a little bit more. The document is pretty cryptic in places, but 
then again, so are most important documents. I mean, I think Lilypond would 
still run cognitive circles around the tax code. ^_^

Again, thanks to all your suggestions, I constructed another example. Because I 
didn't consider a "segue" instruction as an explicit articulation of a certain 
note, I tried attaching it to a skipped note:

\version "2.10.25"
\score {
\new Voice \relative c'' {
g4 g g a |
c b a g |
e d e g |
e1 s4_\markup { \column { \italic "segue to" "Something Else" } }
}
}

However, the s4 generated a new bar-line and an empty space... not what I 
wanted. So I tried the fill-line suggestion:

\version "2.10.25"
\score {
\new Voice \relative c'' {
g4 g g a |
c b a g |
e d e g |
e1
}
}
\markup {
\fill-line {
""
\column { \italic "segue to" "Something Else" }
}
}

That one's perfect, as long as (I guess) "ragged-right" is set to ##f. (Please 
correct me on this... ^_^)

Cheers,
Romel___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Aligning relative to page - Use OOoLilyPond

2007-07-12 Thread sdfgsdhdshd


Laura Conrad wrote:
> 
> if there's ever a system for aligning text on the
> page that's anything like as sophisticated as a good publishing
> program has, it will take the amount of person-years of work that the
> good publishing programs spent on it.  Which I'm sure is 10's of years
> if not hundreds or thousands.  
> 

What lilypond currently does - correctly and nicely placing staves on a
page, with many differents kinds of items (including texts) that are along
the staves, above, at the bottom; aligning them left, center, right
relatively to many other kinds of items, them being placed in differents
ways relatively many other kinds of items and vice versa, plus engravers
that can be added and removed one by one, plus scheme code that can modify
all this - is far more complex than just aligning a few texts to a page
border, or to the bottom of a score, which have been asked by several
peoples on several threads.

In other words, the idea linking several threads is: lilypond is so
impressive by easily and quickly computing very complex and long scores
along many pages - which very expensive software do not so good AFAIK - why
isn't possible that lilypond computes few static text along a small part of
a border page? Text placement being less complex to compute than scores,
because in a text the items (the characters) are sequential, and are not
linked one to the others (i.e. the form of a character does not depend of
what character is present 10 chars before or after)!
... plus the fact that one single \markup already does the job of text
processing, being able to align several text areas in several directions,
with several text formatting in each text area. Using M$ Word since many
years, it took it several versions to be able to do what a single \markup
can do now.

The thing that several people regret, each one for his/her own reasons, and
his/her own words and arguments, is \markup being not able to align text to
page border.
Just this.

-- 
View this message in context: 
http://www.nabble.com/Aligning-relative-to-page-tf4062894.html#a11559121
Sent from the Gnu - Lilypond - User mailing list archive at Nabble.com.



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


Re: [EMAIL PROTECTED] \line

2007-07-12 Thread Romel Anthony S. Bismonte
A "system" is a single line of a set of staves that are grouped together. OK, 
maybe that isn't the best explanation, but maybe an illustration is better:

Grand Piano ||||||
 Guitar ||||||
  Flute ||||||

GPno ||-||-|||
 Gtr ||-||-|||
 Flu ||-||-|||

GPno ||-||-|||
 Gtr ||-||-|||
 Flu ||-||-|||

GPno ||-||||||
 Gtr ||-||||||
 Flu ||-||||||

In this example, each instrument gets its own "staff". However, because the 
three instruments are played together, their staves are grouped together. 
That's called a staff group. Now, each line of the staff group is called a 
"system". In this example, there are three staves, one staff group, and four 
systems.

There are some things that are special with systems. For example, bar numbering 
usually happens only on the beginning of systems. Also, (correct me if I'm 
wrong, but) I think a line of music is still called a "system" even if it only 
contains one staff.

Hope this helps. ^_^
Romel___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Aligning relative to page - Use OOoLilyPond

2007-07-12 Thread Laura Conrad
> "Werner" == Werner LEMBERG <[EMAIL PROTECTED]> writes:

>> I gave up trying to understand the \markup documentation when I
>> discovered I could use OOoLilyPond to create png score snippets
>> for each hymn that I could paste into MS Word documents
>> containing the text of the church service. Then I have complete
>> WYSIWYG control over the page layout. For pure production, this
>> is by far the fastest solution I have found to get work done.

Werner> And this will probably be the best solution forever.  You
Werner> can't expect that LilyPond is a full-featured text
Werner> processor engine.  Maybe this improves over time...

I think it would be a mistake for the developers to spend a lot of
time on that problem, though.  Unless we were to acquire developers
who were actually more interested in writing and designing text
processing than in continuing to improve the music processing.

I would much rather have the developers implement a consistent and
well-documented interface to publishing programs, and then do their
work on the music-processing.  I thought it was a step backward when
the \markup commands diverged from TeX syntax, which is well
documented and easy to get help on.  (Eitehr from this list or from
comp.text.tex.)  And if there's ever a system for aligning text on the
page that's anything like as sophisticated as a good publishing
program has, it will take the amount of person-years of work that the
good publishing programs spent on it.  Which I'm sure is 10's of years
if not hundreds or thousands.  

-- 
Laura (mailto:[EMAIL PROTECTED] , http://www.laymusic.org/ )
(617) 661-8097  fax: (501) 641-5011
233 Broadway, Cambridge, MA 02139


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


Re: [EMAIL PROTECTED] \line

2007-07-12 Thread Rune Zedeler

sdfgsdhdshd skrev:


In this link, i read "how many systems you want before each fragment".
What does "system" mean? This word is present several times in the main
lilypond doc, but i can't figure its meaning related to lilypond.


Read the glossary, that can be found from the main documentation page on 
the webpage.


-Rune



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


Re: [EMAIL PROTECTED] \line

2007-07-12 Thread Valentin Villenave

2007/7/12, sdfgsdhdshd <[EMAIL PROTECTED]>:


In this link, i read "how many systems you want before each fragment".
What does "system" mean? This word is present several times in the main
lilypond doc, but i can't figure its meaning related to lilypond.


I found this definition on Google (it explains it better than I would ever do):

Multiple staves that are held together with a bracket or brace are
often just called a "line", but this term can be confusing, so the
term "system" is preferred, although this is not in very common usage.
For example, if a choir leader or conductor refers to the "second
line", it is not necessarily clear whether he/she is referring to the
second stave or the second system (counting from the top of the page).

http://ourworld.compuserve.com/homepages/Neil_Hawes/theory02.htm
(ugly, but very good indeed)


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


Lily becoming more user-friendly

2007-07-12 Thread Wilbert Berendsen
Op donderdag 12 juli 2007, schreef Valentin Villenave:
> -yes, LilyPond could be (and will hopefully become in a few years)
> more user-friendly;

How will that be done? Are there big architecture changes planned? 

I fully understand Paul's frustrations regarding the intermingled syntax of 
lily and scheme constructs (just beginning to understand it a bit).

I think a big improvement to the documentation would be even more examples of 
how to set a property. This as already been done to a big degree, but in the 
more advanced documentation it is sometimes difficult to find. So e.g. change 
a sentence like 'set max-stretch to zero' to '\set Staff.VerticalAxisGroup 
#'max-stretch #0', or add such an explanation etc.

While busy learning lilypond (and writing a new mup2ly script) I hope also to 
be able to help a bit with this kind of things. I just love the beast that is 
LilyPond :)

With best regards,
Wilbert Berendsen

-- 
http://www.wilbertberendsen.nl/
"You must be the change you wish to see in the world."
-- Mahatma Gandi


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


Re: [EMAIL PROTECTED] \line

2007-07-12 Thread sdfgsdhdshd


Valentin Villenave wrote:
> 
> Actually, this is precisely what lilypond-book is all about: it allows
> the tex processor to invoke lilypond, and this way can integrate music
> fragments in a text document.
> http://lilypond.org/doc/v2.10/Documentation/user/lilypond/Integrating-LaTeX-and-music
> 

In this link, i read "how many systems you want before each fragment".
What does "system" mean? This word is present several times in the main
lilypond doc, but i can't figure its meaning related to lilypond.

-- 
View this message in context: 
http://www.nabble.com/StaffSize%40%5CMarkup-%5Cline-tf4028226.html#a11556017
Sent from the Gnu - Lilypond - User mailing list archive at Nabble.com.



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


Re: Aligning relative to page - Use OOoLilyPond

2007-07-12 Thread Valentin Villenave

2007/7/12, Paul Harouff <[EMAIL PROTECTED]>:

Valentin,

I'm not trying to start an email flame war. But it really bothers me when
programmers get condescending with users, implying that we are stupid if we
can't understand the documentation, or if we don't have all hundreds of
pages of snippets using complex overrides and Scheme tweaks memorized.


I fully understand your point;
-yes, LilyPond could be (and will hopefully become in a few years)
more user-friendly;

-no, I'm not a programmer at all; just an average user (I've been
using LilyPond for 6 months or so), so this isn't about coders vs
users at all

-you have the absolute right to not understand the documentation; this
is why I always add snippets and improvements whenever there is an
obvious lack

-"snippets using complex overrides and Scheme tweaks": there is
neither any "complex" \override *or* Scheme tweak in the LSR snippet
you mention. I don't mean it is self-explanatory, but this is why it
comes, in the LSR, with some instructions and explanations.


The problem with the LilyPond documentation is that users have to understand
Scheme in order to understand LilyPond. A programming language should be
completely self contained. My impression is that about 30-40% of all of the
examples in the documentation include Scheme code to make the LilyPond code
work.


As an "average" user (and _not_ a programmer, once again), I
understand your impression. Indeed, LilyPond is based on Scheme, and I
have had the same impression when I started using LilyPond. Scheme
functions, etc, are still very scary too me and I never use any
(except, once in a while, and without trying to understand why, the #
character which seems to be Scheme related).


I still haven't figured out when plain "text" quotes are adequate for a
command, and when #"text" scheme contants are needed for a command. And what
the heck does a #' mean with some of the commands? In other words, reading
the documentation, I can't figure out which commands are LilyPond commands
and which are Scheme commands. There are pages and pages of context and
variable names without a clue as to what they mean or how a user
off-the-street is supposed to change their values.


Yes, working on your problem I realized maybe the "overview of text
markup commands" page could be improved. I'm thinking about possible
improvements, but haven't really found the time yet. At least, now the
LSR snippet is here to help users.


I guess you could say I have a love-hate relationship with LilyPond. I love
the parts that are intuitively obvious and I hate the parts that I can't
figure out without wasting days of trial and error.


This is how open-source works. All we can do is make things better and
easier, day after day.


Your LSR explanation incorrectly implies that \fill-line is equivalent to
center.


Nope; I said it "does the same". But you're right, \fill-line is much,
much more powerful :)


The correct explanation is that \fill-line equally spaces all of the text
objects in the list across the width of the page. If there is only one
object, then the behavior of \fill-line results in it being centered.

\fill-line {The quick brown fox}
results in something like:

The  quick  brown   fox

\fill-line {"The quick brown fox"}
results in something like:

The quick brown fox


This is a very good explanation: I added it to
http://lsr.dsi.unimi.it/LSR/Item?id=244


Whereas,
\center-align {The quick brown fox}
results in something like:

 The
quick
brown
 fox

and
\center-align {"The quick brown fox"}
results in something like:

brown fox


This is the issue we're discussing with Rune on the other thread...

[...]


spacing issues which are perfectly illustrated in Valentin's LSR snippet. A
\markup always gravitates closer to the score after it, which makes
formatting  the twelve verses of my sample third antiphon above nearly
impossible.


I already asked you what's wrong with this snippet; what precisely
makes it impossible?


I gave up trying to understand the \markup documentation when I discovered I
could use OOoLilyPond to create png score snippets for each hymn that I
could paste into MS Word documents containing the text of the church
service. Then I have complete WYSIWYG control over the page layout. For pure
production, this is by far the fastest solution I have found to get work
done.


This is indeed one solution; as for me, my personal "love-hate
relationship with LilyPond" is what makes me *not* give up :)


Note: swriter gets really unstable when you have a lot of OOoLilyPond
snippets (I had 2 crashes on two separate documents in one week), or I would
not have needed to use MS Word. Once you get the OOoLilyPond template
correctly set up for your project, the swriter user interface is actually
pretty good. If there was a way to combine the jEdit editor with the
OOoLilyPond popup window inside swriter, I would be in heaven.


Since Java is

Re: Aligning relative to page - Use OOoLilyPond

2007-07-12 Thread Graham Percival

Paul Harouff wrote:

The problem with the LilyPond documentation is that users


... don't contribute as much as they should.

http://lilypond.org/web/devel/participating/documentation-adding


If I could wave a magic wand to get perfect documentation, I would.  If 
I could turn into a magical anime girl and fix all bugs in lilypond with 
the power of my courage and love, I would.  Especially if I got a little 
talking animal mascot character as well.  And those dresses look really 
cute.



LilyPond is open source.  That doesn't mean that we're your slaves.  It 
means that it's legal for anybody -- including YOU -- to improve the 
program.


I make it _very_ easy for *anybody* to help the documentation.  For most 
changes, I don't ask for patches and the like.  All I need is an email 
with exact changes.  See the above link.


If you have the technical capability to complain about the docs, you 
have the technical ability to improve those docs.



Have a nice day,
- Graham Percival, LilyPond Documentation Editor.


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