Re: defintion for metrelessness (help?)

2007-03-22 Thread Geoff Horton

Thanks. But that's what I'm doing *now. I'm trying to save lots of time
by obviating the need for it. Perhaps I didn't make that part clear
enough. Right now I have a list of predefined barlines, one of which is
Z = \bar\break and I stick
that particular one wherever I want the break.


That's not _quite_ the same as what I suggested; if you drop the
\break part and put a \Z everywhere that you could _live_ with a
break, it might work better.

Geoff


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


Re: defintion for metrelessness (help?)

2007-03-22 Thread Geoff Horton

A _slightly_ cleaner option might be to leave barAlways set and put a
\noBreak in those spots where a break is unacceptable. If there aren't
many, that might be cleaner. But still not very clean, unfortunately.

Geoff


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


Re: defintion for metrelessness (help?)

2007-03-22 Thread Geoff Horton

O, I see. You meant \bar  .
I think you typed \break  and I thought that this was new syntax for
a bar and break at the same time. Sorry.


I'm the one who should be sorry; I did type it wrong.

For the record, I'd like a cleaner solution, too.

Geoff


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


Re: defintion for metrelessness (help?)

2007-03-21 Thread Geoff Horton

What I do in similar situations is something like this:

pb = \break 

and then insert a \pb at every spot in the music where I'm willing to
tolerate a break. Needless to say, that results in a really messy
input file, but it does get the job done.

Geoff


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


Re: Font Troubles (Windows - 2.11.20)

2007-03-14 Thread Geoff Horton

1) inside a \lyricsto section of words, I can't seem to get digits to appear
in the output. I'm trying to use the lyrics context to typeset roman
numerals for chord indications under the system.


Have you tried quoting the numbers: 23?

Geoff


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


Re: Problems with lyrics of a gregorian chant piece

2007-03-14 Thread Geoff Horton

I've got some problems with the lyrics of an gregorian chant piece. The
text doesn't fit under the notes correctly. What have I done wrong or
what can I do to correct it?


According to this:
http://lilypond.org/doc/v2.10/Documentation/user/lilypond/Ligatures#Ligatures
lyrics do not correctly align with ligatures.

Gregorian support in LilyPond is still not complete.

Geoff


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


Re: response character

2007-03-13 Thread Geoff Horton

The response lyrics are supposed to begin with a special text symbol that
is a capital 'R' that has a slash through it.  Does anyone know of a
lilypond or LaTeX symbol that does this?


I've looked for such a thing in the past without success.

Geoff


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


Re: Pitch notation

2007-02-24 Thread Geoff Horton

The octave check feature
http://lilypond.org/doc/v2.10/Documentation/user/lilypond/Octave-check#Octave-check
makes it possible to catch relative octavation errors fairly easily,
if that's a real problem. I don't see a need to complicate the
lilypond syntax further to deal with this.

Geoff


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


Re: Reorganizing the contents of the \paper block

2007-02-08 Thread Geoff Horton

Would it be possible to implement something like Perl's use strict
pragma? That would let people who need to do something quick-and-easy
do so, while encouraging more formal structure in general.

Geoff


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


Re: Lyric and Stanza collision

2007-02-05 Thread Geoff Horton

I'm wondering if you couldn't avoid this by adding bar lines to the
lyrics context and making them invisible. This _might_ make the lyrics
dodge them automatically (though I make no guarantees). In practice,
I've just left multiple syllable lyrics centered at the end of a
phrase (not the beginning), and I think usually under a note of longer
value (whole or even breve).

Geoff


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


Re: Frustrated with Chant Notation -- Convert-ly or Lily4jEdit plugin bug?

2006-12-29 Thread Geoff Horton

I finally figured out that the only way to represent chant lyrics is to
associate the first syllable and last syllable with their own notes then
quote the text in between so it centers under the breve. This is the only
way to force all of the lyrics to center under its own measure.


Actually, it isn't, at least if I understand correctly what you want.

I use this to left-align a note under its syllable:

   \once \override LyricText #'self-alignment-X = #-1  today he is
born, the Savior

I think you can change that #-1 to #0 to force center-alignment.

Geoff


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


Re: Another Chant Notation Question

2006-12-29 Thread Geoff Horton

Does it have to be brackets? Parentheses are a lot easier.

Geoff


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


Re: Another Chant Notation Question

2006-12-29 Thread Geoff Horton

Parentheses will work. I've seen it both ways.


Try this:

http://www.geoffhorton.com/lilypond.html#parentheses

If necessary, I think you can set up a one-note chord.

I haven't tested it recently, but AFAIK nothing was done to break it.

Geoff


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


Re: Absolute Beginners

2006-12-26 Thread Geoff Horton

Geoff, I took away plainchant. Should I mention other things, like
proportional notation or whatever?


I don't know--I've never used proportional notation (at least not knowingly).


comes the c that is a fourth above the g instead of a fifth below, an
so forth.


and so forth (yet another one that spellcheck won't find)


You set the clef naming the one you want: in the preceeding example,
we wrote alto instead of treble. Other clefs are called:


by naming instead of just naming



You can amuse yourself writing away melodies, trying things and see
how they look. Don't worry, if what you write is impossible and does
not compile, you will get an instructive error message in the little
process log window we mentioned at the beginning and no printout,
but you won't crash the program.


Actually, it is sometimes possible to crash the program, but that
indicates a bug in LilyPond; I believe the developers are committed to
making hard crashes extinct.


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


Re: Absolute Beginners

2006-12-25 Thread Geoff Horton

If you are using a Mac, be glad and open a new LilyPond window.


I'm not quite sure what you're trying to say here, but be glad and
open a new LilyPond window is not a very idiomatic English
expression. Perhaps you meant, please open a new LilyPond window?


Then write this inside:


type instead of write?


The so-called curly braces

snip

are essential. You must always write your music inside such brackets.


It would be better to call them brackets or braces consistently,
rather than switching.


Then, LilyPond has certain pre-set values, called defaults, which
will apply whenever you do not ask for something different.


Stylistically, I would drop the Then, here.


You can, of course, change these and all other defaults, indeed you
can engrave old plainchant, contemporary notation, orchestral scores,
do MIDI files, and more.


This is a comma-spliced sentence--it contains two independent clauses
without a conjunction. Either insert a period/full stop after
defaults and capitalize Indeed, or change the comma after
defaults to a semicolon: defaults; indeed


In our example, we have written each note with an octave
denomination: one apostrophe:


Octave denomination is clear only if one only knows what it means
already. Can you rewrite this paragraph?


You can analyze the exercise and see that a third has been preferred
to a sixth, a fourth to a fifth, etc.


This also is confusing. I know what you mean, but it doesn't come out
clearly. Perhaps pointing out a specific instance in the example where
the behavior is different with \relative than without it would be
better.


Don't worry just yet about the naturals. We'll come to it in a moment.


It is not clear from the context what it refers to in the second sentence.


You change the clef changing the denomination treble for


You're using denomination here (and elsewhere) in a way that is not
common in English.


You can amuse yourself writing all possible and also impossible
examples of simple melodies, and see what happens. Don't worry,
whatever you type, you can't break it...


What does it refer to?



Working fine? Then let's go for sharps and flats. Just name the notes:


In this section: If you're writing for native English speakers, I
would also teach the use of \include english.ly and use the English
notation for sharps and flats; I would venture to guess that most
amateur English-speaking musicians do not know what is and es
mean.

Geoff


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


Re: Absolute Beginners

2006-12-25 Thread Geoff Horton

In this section: If you're writing for native English speakers, I
would also teach the use of \include english.ly and use the English
notation for sharps and flats; I would venture to guess that most
amateur English-speaking musicians do not know what is and es
mean.


I might add that it's always seemed rather odd to me that the default
for accidental naming is non-English when everything else in LilyPond
is English. I'm certain it's too late to fix it now, but I remember
struggling with this naming convention back when I was first using
LilyPond, around 1.6 or so.

Geoff


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


Re: Absolute Beginners

2006-12-25 Thread Geoff Horton

Geoff, there is indeed a fist in English, not the first, but hitting
harder than a spell check. Here's with the corrections (is
corrections the right English word?)


It is indeed. A few other things I noticed in reading through it again:


You can, of course, change these and all other defaults; indeed you
can engrave old plainchant, contemporary notation, orchestral scores,
do MIDI files, and more. But all that lies further down the road. For
the moment, we will teach you how to engrave a simple melody.


Plainchant engraving doesn't work well at the moment, so you might
want to omit mentioning it here.


You can analyze the exercise and see that the first note e appears a
third above middle c rather than a sixth below; the same happens with
the following g in relation to the preceding e; then comes a c a
fourth above the g instead of a fifth below, an so forth.


then comes a c a is confusing. It looks at first glance as if both
as are pitches, not the English indefinite article. I can't come up
with a good way to fix this at the moment.


You change the clef changing the term treble to


Would word be better than term? Also, the most recent preceding
example used an alto clef. If the examples are numbered, you could
refer to the one you want.


You can amuse yourself writing all possible and also impossible
examples of simple melodies, and see what happens. Don't worry,
whatever you type, you can't break it...


I would change that last sentence, because it is easy enough to type
things that won't compile, and a new user might well regard that as
breaking it.


(Please note that this is not necessarily the way you are used to
naming the notes, just a quick, logical and easy way to work with
LilyPond.)


Can you perhaps add something like: If you would prefer to use more
familiar names, see the section in the manual on note names in other
languages.?

Geoff


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


Re: My first define-music-function, I'm trying, need help

2006-12-22 Thread Geoff Horton

I was afraid of this kind of answer, if define-music-function cant do
something as simple as replace one note on a \transpose without writing a
whole bunch of code... I'm not going to bother with it myself.  Too much
complexity, I'd rather look for something that will let me stay on a
user-level, I just dont have time for programming.


I've been using m4 myself. The devs seem strongly resistant to the
idea of a built-in preprocessor.

Geoff


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


Re: Doublequotes in markup?

2006-12-21 Thread Geoff Horton

What's the right way to typeset doublequotes in markup? The expression ...

   \markup { The word andante should appear between quotes. }


I guess it wouldn't. Can you use the character code instead? Or set
real left and right double-quotes, which LilyPond doesn't use for
anything else?

Geoff


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


Re: lilypond-book in two-column mode?

2006-12-15 Thread Geoff Horton

Can you try it again in landscape mode, please? Your example and mine
both work in portrait and both fail in landscape.

Thanks,
Geoff

On 12/15/06, Mats Bengtsson [EMAIL PROTECTED] wrote:

The following example works without problems with LilyPond 2.10 over here:

\documentclass[a4paper,twocolumn]{article}
\usepackage{anysize}
\marginsize{1cm}{2cm}{3cm}{1cm}
\begin{document}
\begin{lilypond}
  \repeat unfold 10 { c' d' e' f' }
\end{lilypond}
\newpage
\begin{lilypond}
  \repeat unfold 10 { c' d' e' f' }
\end{lilypond}
\end{document}

   /Mats

Geoff Horton wrote:
 Has anyone tried to use lilypond-book with LaTeX and the twocolumn
 option set in the documentclass statement? (e.g.,
 \documentclass[letter,twocolumn]{article})

 The first column is taking up most of the page and shoving the second
 column off the right-hand side. I don't know whether this is because I
 need to tell lilypond-book something, or LaTeX something, or whether
 the entire quest is completely hopeless. Oh, and I'm using the anysize
 package to set margins.

 If nobody knows how to make this work, I can keep experimenting
 tomorrow, but I thought it worth asking in advance.

 OSX 10.4, LilyPond 10.2, pdfeTeX 3.141592-1.30.4-2.2 (Web2C 7.5.5).

 Geoff


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

--
=
Mats Bengtsson
Signal Processing
Signals, Sensors and Systems
Royal Institute of Technology
SE-100 44  STOCKHOLM
Sweden
Phone: (+46) 8 790 8463
Fax:   (+46) 8 790 7260
Email: [EMAIL PROTECTED]
WWW: http://www.s3.kth.se/~mabe
=





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


Re: lilypond-book in two-column mode?

2006-12-15 Thread Geoff Horton

I hope you remember to add the flag
dvips -t landscape


Thanks! That fixed it, though it wasn't a case of remembering to add
the flag--I'd never seen it before. I'll send Graham a documentation
addition on that.

Geoff


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


Re: lilypond-book in two-column mode?

2006-12-15 Thread Geoff Horton

Are you really trying to put two pages on one sheet?  If so, I find
LaTeX understands it better if I just tell geometry what size the
page is, and then use pdfnup to put two pages on one sheet.


That is indeed what I'm doing. For now, Mats' fix works without my
having to learn about a new LaTeX macro, but I'll take a look at your
suggestion when I'm not under as much of a time crunch.

Geoff


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


lilypond-book in two-column mode?

2006-12-14 Thread Geoff Horton

Has anyone tried to use lilypond-book with LaTeX and the twocolumn
option set in the documentclass statement? (e.g.,
\documentclass[letter,twocolumn]{article})

The first column is taking up most of the page and shoving the second
column off the right-hand side. I don't know whether this is because I
need to tell lilypond-book something, or LaTeX something, or whether
the entire quest is completely hopeless. Oh, and I'm using the anysize
package to set margins.

If nobody knows how to make this work, I can keep experimenting
tomorrow, but I thought it worth asking in advance.

OSX 10.4, LilyPond 10.2, pdfeTeX 3.141592-1.30.4-2.2 (Web2C 7.5.5).

Geoff


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


Re: Two lyrics questions

2006-12-13 Thread Geoff Horton

1: I want to begin a word with a ( . I need to do this to indicate how a
vowel is to be pronounced - e.g. (ch)il(d) . I've tried various things -
using escape sequences as described in the manual, preceeding the bracket
with a \ etc. but nothing gives me clean output (i.e. without other
characters.) Is there a way of doing this?


Enclose it in double quotes, like this: (ch)il(d).

I've never tried to do what you describe in your second question, so I
can't help you there.

Geoff


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


Re: adding lyrics in poetry format? (old style hymn books)

2006-12-11 Thread Geoff Horton

http://lilypond.org/doc/v2.10/Documentation/user/lilypond/More-about-stanzas.html#More-about-stanzas

You didn't mention what version you're using; this was added to the
2.10 manual, but it works back to the 2.8 series.

Geoff


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


Re: Unable to get Lilypond-mode working for Xemacs

2006-12-08 Thread Geoff Horton

Everything I know about getting emacs into LilyPond mode is here:

http://www.geoffhorton.com/lilymacs.html

Geoff


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


Re: lilypond and editors

2006-12-07 Thread Geoff Horton

On 12/7/06, Thomas Scharkowski [EMAIL PROTECTED] wrote:

Just curious:
what's wrong with jEdit?
Thomas


Editors are one of those things that really depend on personal taste.
It may just be that I've been using emacs for too long, but jEdit
drove me nuts. Others have their favorite way of doing things, and
jEdit may or may not work well with that.

So what's wrong with jEdit? Nothing, if it fits the way you work.

Geoff


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


Re: lilypond and editors

2006-12-07 Thread Geoff Horton

Often one can gain productivity by fitting his way of work to the editor :-)

Bert


Sometimes, yes. Often ... I don't know about that, and I'm not really
a fan of the idea. Tools exist for me; I don't exist for tools.

I don't mean to discourage anyone from trying jEdit. I did. I prefer
something else. YMMV :)

Geoff


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


Re: Multiple sections in ChoirStaff

2006-12-02 Thread Geoff Horton

Sorry, it seems that you (or somebody else) will need to recreate the
examples.  If you create an example for SATB, please also write
something for the general case (ie going in a
not-specifically-vocal-music location).


Can you (or someone) suggest a use for this in a non-vocal situation?
I'd rather do something at least marginally useful, but I can't think
of a time it'd be used.

Geoff


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


Re: Multiple sections in ChoirStaff

2006-12-01 Thread Geoff Horton

As an aside, I have used \override Score . LyricText #'font-size =
#'-2 in each block of text to reduce the size of the font, but I'm
sure that it must be possible to do this globally.


It is. Add to your layout:

   \context {
 \Lyrics
 \override LyricText #'font-size = #-2
   }

Geoff


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


Re: Tutorial

2006-11-30 Thread Geoff Horton

Add this to the end of your \score block:

 \layout {
   indent = 0.0\cm
 }


If you already have a layout block, just add that to it.

Geoff


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


Re: Tutorial

2006-11-30 Thread Geoff Horton

I added this and it worked in itself, but now the bar number
engraver, wich I had removed, is back again.


You can have multiple things in the \layout block, like this:

 \layout {
   indent = 0.0\cm
   \context {
 \Score
 \remove Bar_number_engraver
   }
 }


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


Re: Setting lyrics to an invisible note?

2006-11-27 Thread Geoff Horton

On 11/27/06, Mats Bengtsson [EMAIL PROTECTED] wrote:

Did you try to search for invisible notes or transparent notes or
hidden notes
in the index of the manual?


No, and I should have. My apologies.

Geoff


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


Re: Multiple sections in ChoirStaff

2006-11-27 Thread Geoff Horton

When I need to make a score like that, I use the undocumented but
still working \alignAboveContext command; it seems a little less
confusing to me.

Is this command slated to disappear, or does it need to be in the
manual (I just checked and it still isn't there)?

Geoff


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


Re: Multiple sections in ChoirStaff

2006-11-26 Thread Geoff Horton

etc.  Then, Part B should follow on from Part A (for example, a verse
and chorus).  I have managed to get the music to be placed correctly,
but I have so far had no success getting the words of Part B appearing
anywhere, let alone with the correct music.  Is there an example
anywhere showing this being done?


\context Lyrics = lyricsname \lyricsto part { \sopWordsPartA \sopWordsPartB }

(I think--I didn't test it.)


Also, can someone please explain
the significance of the { s1 } in the \new Lyrics lines?  I cannot
find any reference to this anywhere in the manual.


That's one way I know this isn't my template--I am really not fond of
setting up parts that way. What s1 does is to create 4 beats (i.e., a
whole note) worth of silence, so

\new Lyrics = sopranos { s1 }

creates a new context for lyrics with, essentially, nothing in it. The later

\context Lyrics = sopranos etc.

line goes back and fills it in.

Hope that helps.

Geoff


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


Setting lyrics to an invisible note?

2006-11-26 Thread Geoff Horton

Working with reciting tones again

Say I've got a line of text like this:

The first words; now the second words

I want the words all sung on the same pitch, and I want it shown only
once, with the first words. But the harmonies change on the word
now, so I need a second, invisible, melodic note for them to align
to. Is there an easy way to do this?

Geoff


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


Re: SATB vocal score example

2006-11-24 Thread Geoff Horton

In section D.4.1 of the manual for 2.8.7, there's nice example of a
SATB score.


I think that's my contribution :)

\global is not a keyword; it's defined at the top of the example, like this:

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

In this case, omitting it makes no difference because those are the
default settings for LilyPond anyhow (blank key signature, 4/4 time).
Try changing the definition to

global = {
   \key d \major
   \time 3/4
}

and I think you'll see a difference.

(Graham, should the manual example be changed?)

Geoff


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


Re: SATB vocal score example

2006-11-24 Thread Geoff Horton

When I look at it more closely, I don't think that example is
something I contributed. But my explanation still holds.

Geoff


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


Re: which language for programming

2006-11-22 Thread Geoff Horton

Lilypond also makes fairly extensive use of Scheme, which might be
easier to learn.

Geoff


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


Re: Pitch/ octave notation

2006-11-14 Thread Geoff Horton

Is it possible to indicate pitches in the format c4 instead of c'?


No, and I don't think it's possible because LilyPond will interpret
the digits 1, 2, and 4 after a pitch as referring to duration, not
octave.

Geoff


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


Re: Chord, variables and comments [beginner]

2006-11-14 Thread Geoff Horton

The granddaddy, (developed in 1966), of macro processors ML/I is also free
and ported to many platforms.  I'm currently evaluating which one I like
better myself, so far I am leaning towards ML/I because it has nested
if/then/else/end and do/while structures, and it lets you fully define the
syntax and delimiters of your home-made macro language.


M4 has all of that but the do-while, and I've had considerable success
with it. Maybe I'll try to whip up a web page on it.

Geoff


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


Re: Pitch/ octave notation

2006-11-14 Thread Geoff Horton

Is it possible to indicate pitches in the format c4 instead of c'?
And if not, does anybody know of any plans to create this possibility?


I'm wondering if this might not be something that relative music input
could help with. Are you familiar with it?

Geoff


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


Re: Apostrophe in lyrics

2006-11-11 Thread Geoff Horton

I have lyrics with apostrophes, like in there's and can't.
When printed, I get minute marks (primes, Unicode U+2032).
How can I obtain a decent apostroph glyph (U+2019), other than by
entering the UTF-8 code manually in the .ly source?


That's the only way I know of. I'd enter it once and copy-and-paste it
everywhere else it goes, unless it's really easy for you to do the
manual entry.

Geoff


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


Re: Apostrophe in lyrics

2006-11-11 Thread Geoff Horton

But can I make a definition and expansion in lilypond?


Wouldn't it be nice? But I really don't think it's possible. You could
run your code through a macro preprocessor (I use m4) and get that
effect, though. I believe I've heard rumblings of something of the
sort being built into the LilyPond 3 series, but I'm not a developer
so don't hold me to it.

Geoff


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


Re: After install

2006-11-10 Thread Geoff Horton

Richik, please hit the reply to all button when you're replying to
Bonnie's messages. If you don't, we can't see your followup questions.
Even if someone else could help, they can't see the answers.

Geoff


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


Re: Folding a line of lyrics

2006-10-31 Thread Geoff Horton

Actually, the rest of the lyrics on the first line is better. This
looks like exactly what I want. Thank you!

Geoff

On 10/31/06, Mats Bengtsson [EMAIL PROTECTED] wrote:

One possibility is
\lyricmode{ ... \markup{\column{\line{ The first line would go like this }
  \line{and the second would continue here }}} and then the rest of the
line }

however, then the lyrics after the multi-line section will continue on the
top line, not the bottom line as you had sketched below. One workaround
for that could be to use \override LyricText #'extra-offset = ... to move it
down.

   /Mats

Geoff Horton wrote:
 I'm trying to set some music with _extremely_ long sets of words
 attached to one reciting tone. Lilypond sees that, freaks, and sets
 one measure per line, which doesn't look at all good. (2.9.27, OSX.)
 I'm looking for a way to set up something like this in the lyrics:

 The first line would go like this
   and the second would continue here  and then the rest of the line

 I could do it by creating a dummy second verse with words only in that
 one particular spot, but that doesn't sound like fun and would require
 manual editing of the files after I run them through m4. Is there an
 easier way?

 Thanks,
 Geoff


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

--
=
Mats Bengtsson
Signal Processing
Signals, Sensors and Systems
Royal Institute of Technology
SE-100 44  STOCKHOLM
Sweden
Phone: (+46) 8 790 8463
Fax:   (+46) 8 790 7260
Email: [EMAIL PROTECTED]
WWW: http://www.s3.kth.se/~mabe
=





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


Folding a line of lyrics

2006-10-30 Thread Geoff Horton

I'm trying to set some music with _extremely_ long sets of words
attached to one reciting tone. Lilypond sees that, freaks, and sets
one measure per line, which doesn't look at all good. (2.9.27, OSX.)
I'm looking for a way to set up something like this in the lyrics:

The first line would go like this
  and the second would continue here  and then the rest of the line

I could do it by creating a dummy second verse with words only in that
one particular spot, but that doesn't sound like fun and would require
manual editing of the files after I run them through m4. Is there an
easier way?

Thanks,
Geoff


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


Re: Bravo and extra stanzas question

2006-10-19 Thread Geoff Horton

As Simon said, 2.4 is obsolete (very) and I strongly suspect the
suggestions I'm about to give won't work. I would update if at all
possible. Then, in addition to what's in the manual, you can try what
I show here: http://www.geoffhorton.com/lilypond.html#moreverses for
more complicated situations. (Graham, would you object if I take a
shot at revising that section of the manual to incorporate a little
more complexity?)

Geoff


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


Re: installing emacs lilypond-mode

2006-10-16 Thread Geoff Horton

http://www.geoffhorton.com/lilymacs.html is how I did it.

Geoff


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


Re: old way of vertically centering refrain no longer works

2006-09-17 Thread Geoff Horton

So, my question is, what is the correct way to vertically center a
refrain shared by several stanzas?


A real hack method is simply to include it only in the middle stanza

Verse one line one
Verse one line two

Verse two line one
Verse two line two
Refrain line

Verse Three line one
Verse Three line two

Kind of like that. It's not as good with an even number of verses,
where you just have to pick one of the middle two and have it be a
little off center.

Geoff


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


Re: Lilypond + LaTex (on Mac)

2006-09-17 Thread Geoff Horton

 export
 
PATH=/opt/local/bin:/opt/local/sbin:/Applications/LilyPond.app/Contents/Resources/bin

IMO, it's better to do this:
export PATH=$PATH:$HOME/Apps/LilyPond.app/Contents/Resources/bin

That way the existing path is still used, even if it's set somewhere
else (say, /etc/profile).


I agree. I revised that several times and must have ended up with the
wrong stuff in the line.


 8) Type CtrlX, which closes the editor.

All of these can be condensed to
$ cat export PATH=$PATH:$HOME/Apps/LilyPond.app/Contents/Resources/bin
  ~/.profile

(or something like that; please test it before suggesting a doc change)


The reason I'd rather not do that is if someone makes a typo when
entering that line, they're going to have to know how to use a
raw-text editor to fix it anyhow, or end up with a bunch of extra
export PATH lines and extra stuff in their PATH.


Geoff


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


Re: Lilypond + LaTex (on Mac)

2006-09-16 Thread Geoff Horton

I think you missed a significant step. That file can't run straight
through LaTex. You need to run it through lilypond-book first, as
described in section 12.6 of the Lilypond 2.6 manual. (Look for
Invoking lilypond-book in the table of contents.)

Geoff


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


Re: Lilypond + LaTex (on Mac)

2006-09-16 Thread Geoff Horton

However, and my apologies for being so dim, how do I run it throught
lilypond-book?


Are you using Windows, Max OSX, Linux, or what? Also (though it
shouldn't matter), what version of Lilypond are you using?

Geoff


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


Re: Lilypond + LaTex (on Mac)

2006-09-16 Thread Geoff Horton

I use Mac OS X. Lilypond version 2.8.5-1


Cool. OK, then assume your input file is named sample.lytex. (Naming
it sample.tex would also work, but you'll probably want that name
for something else, as you'll see.) You probably can't do this within
TexShop (I don't use it), so fire up a Terminal and change to whatever
directory your files are in.

Type:
lilypond-book --psfonts sample.lytex

You'll probably get some messages of various sorts. If they don't look
like error messages, you can proceed. If they do look like error
messages, there's probably something weird in the input file
(sample.lytex) that you need to fix.

Assuming there were no errors, lilypond-book created a new file named
sample.tex (which is why you don't want to use that name for your
input file in the first step). So feed that file to LaTex by typing
this at the command prompt:

latex sample.tex

Again, you'll get messages. If none of them are fatal errors, you can
proceed with:

dvips -o -h sample.psfonts -Ppdf sample.dvi

It might complain about missing fonts, but that shouldn't matter. You
should be able to type:

ps2pdf sample.ps

This will produce sample.pdf, which is your output file.

BTW, I would avoid using the \begin{lilypond} syntax and go with
\lilypondfile instead. That way, you can test all the lilypond files
and get the bugs out of them first.

It might be possible to do all this with TexShop if it has a command
shell in it somewhere. I'm still new to OSX and hadn't even heard of
it before, so I might try it and see what happens.

Geoff


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


Re: Lilypond + LaTex (on Mac)

2006-09-16 Thread Geoff Horton

Thanks a lot for this!
As I expected, I fell at the first hurdle.

Can you give me an idea of what should be in the sample.lytex files?
When I type lilypond-book --psfonts sample.lytex I get this error:

cd '/Users/peter/Piano course/Latex/'
Welcome to Darwin!
ip5455a71f:~ peter$ cd '/Users/peter/Piano course/Latex/'
ip5455a71f:~/Piano course/Latex peter$ lilypond-book --psfonts
sample.lytex
-bash: lilypond-book: command not found
ip5455a71f:~/Piano course/Latex peter$


The problem is not with your file. The problem is that the Mac can't
find the lilypond-book program (that's what the -bash: lilypond-book:
command not found means). I've got Lilypond installed on my Mac but
I've never actually used it there, so I'm not sure if it sets things
up automagically to make that program findable.

If there are any Mac experts out there, now's your time to step
forward, please, and I'll learn from the answers, too.

Geoff


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


Re: Lilypond + LaTex (on Mac)

2006-09-16 Thread Geoff Horton

Thanks, Graham. So here's what Peter (and I) need to do, assuming that
you moved the LilyPond app off your desktop and into the Applications
folder:


1) Open a new terminal window.

2) Type:
nano

3) In the program that opens, type CtrlR. Type
.profile

and hit Enter.

You'll probably get a message: .profile not found, which is fine. If
that's what happened, skip to step (6)

4) Look in the file that loaded and see if it has a line that begins:
export PATH=

If it doesn't, then go on to step (6).

5) Move the cursor to the end of line that begins:

export PATH=

and add this to the end of it:

:/Applications/LilyPond.app/Contents/Resources/bin

Make sure to hit Return at the end of that line, and make sure not
to add any spaces before the colon, which has to be there. My line
looks like this:

export 
PATH=/opt/local/bin:/opt/local/sbin:/Applications/LilyPond.app/Contents/Resources/bin

(It's all on one line, with a space between export and PATH, like
this: export PATH

Upper and lower case makes a difference!

Now skip to step (7)

6) Type:
export PATH=$PATH:/Applications/LilyPond.app/Contents/Resources/bin

7) Type CtrlO (that's a letter o, not a numeral 0). When it prompts
with File to save, type:
.profile

and hit Enter. If it asks if it's OK to overwrite, you should be
able to say Yes safely if you followed the instructions above. Note
that I am NOT responsible if, instead of doing anything useful, your
computer does something catastrophic, or just quits working the way
you want it to. It shouldn't happen, but I make no guarantees.

8) Type CtrlX, which closes the editor.

9) Type:
exit

and hit Enter

10) Close the terminal window.

11) Open a new terminal window and see if lilypond-book works now.


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


Re: \lyricsto not working with Devnull

2006-09-13 Thread Geoff Horton

Is it possible to add the melody line with invisible notes and turn
off collision detection? I should think it would end up lining up
right.

Geoff


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


Re: Changing polyphonic per-voice rest position

2006-09-12 Thread Geoff Horton

edit Looks like I spoke too soon.
The b4\rest syntax (or in my case, because of bass clef, d4\rest) did not work.
I suppose its the same bug, or at least related.  I think I'll just move to 2.8.6. 
/edit


That's not a bad thing, but you can also fix the problem by using:

\oneVoice d4\rest \voiceOne (or \voiceTwo or whatever).

Geoff


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


Re: Two-column stanzas

2006-09-12 Thread Geoff Horton

What you want to do is to stack them side-by-side using markup
commands, rather like this:

\markup {
 \fill-line {
   \hspace #1.0 % add more of these at the beginning and end
   \hspace #1.0 % to move the verses closer together
   \column {
 5. The fifth verse goes here
 With all its many lines
   }
   \hspace #3 % The argument does matter here!
   \column {
 6. The sixth verse goes here
 With all its many lines
   \hspace #1.0 % Delete these at beginning and end
   \hspace #1.0 % if the verses are wide and you need room
   }
 }
}

If you need to put verses on top over verses, like this

Verse 3   Verse 4
Verse 5   Verse 6

You can make a column of verses using code like this:
\markup {
 \large {
   \fill-line { % This centers the words, which looks nicer
 \hspace #1.0 % gives the fill-line something to work with
 \column {
   4. Verse four's first line
   And verse four's second
   Is followed by a third line
   And then by a fourth
   \hspace #1.0 % (Basically inserts a blank line; the argument
is irrelevant)
   5. Verse five's first line
. . . etc. . . . 
 }
 \hspace #1.0 % gives the fill-line something to work with
   }
 }
}

Hope that helps.

Geoff

On 9/12/06, Bodvar Bjorgvinsson [EMAIL PROTECTED] wrote:

First of all, as I have just recently started to learn LilyPond, thanks for a
great software. It seems to handle almost anything regarding music.

However, I cannot find out how to add lyrics or stanzas into two or more
columns after the score (like verse 2 and 3 side by side). How can this be
done?

I have searched the archives, but nothing comes up.

Bodvar Bjorgvinsson
http://www.bodvar.net


___
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: Changing polyphonic per-voice rest position

2006-09-11 Thread Geoff Horton

You can take one of two courses of action here:
1. Update to a more recent version of Lilypond (this bug was fixed a
couple months ago)
-OR-
2. \override Rest #'staff-position = #0.0001


A third option is to use the b4\rest syntax in section 6.1.6 of the
manual (2.8.6 version).

Geoff


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


Change to Gregorian Transcript template?

2006-09-09 Thread Geoff Horton

I must have never before used this on anything with an accidental in
it, because I just noticed some undesirable (to my mind) behavior.
(2.8.6 Windows version, docs to match.) Consider a line like this:

a bf a a \divisioMinima g a b

I think most chants wouldn't show a natural sign before that final b,
but Lilypond will set one. That can be turned off by placing a
#(set-accidental-style 'forget) right after the Score.timing line, and
that's what I'd suggest doing in the template. This would be the
correct default behavior in most cases, I believe.

Geoff


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


Re: Quote within markup

2006-07-12 Thread Geoff Horton

http://www.geoffhorton.com/lilypond.html#quote

On 7/12/06, Palmer, Ralph [EMAIL PROTECTED] wrote:

Greetings -

I'm grateful for LilyPond, and for all the work a number of you are
putting into the program and the documentation. I can find answers to
most of my questions, although some take some experimentation. At this
stage, my biggest difficulty, I think, is understanding the syntax -
some commands come before notes, some are attached to the backs of
notes, and I'm not clear about the relationship between Scheme and
LilyPond.

My immediate problem is adding quotation marks within a markup. Nothing
I've tried works. LilyPond appears to interpret the quotation marks as a
command to keep the (my quoted) text together. My latest attempt:

e'''2 r2 ^\markup { \center-align { \line { (to aud.): A TRIO. }}}

Any suggestions would be appreciated.

Thanks for your time and attention,

Ralph


___
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: Quote within markup

2006-07-12 Thread Geoff Horton

e'''2 r2 ^\markup { \center-align { \line { (to aud.): \A TRIO.\


Backwards :)

\A TRIO\'

ought to do it.

Geoff


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


Re: Re: Mixing text and notation

2006-07-12 Thread Geoff Horton

I want to have a preambel, that is split in two columns.


\markup {
 \fill-line {
   \hspace #1.0 % add more of these at the beginning and end
   \hspace #1.0 % to move the columns closer together
   \column {
 The first column
 goes here
   }
   \hspace #3
   \column {
 The second column
 goes here
   \hspace #1.0 % Delete these at beginning and end
   \hspace #1.0 % if the columns are wide and you need room
   }
 }
}
==

Off the top of my head, I don't know if it's possible to get the two
columns to flow automatically.

Geoff


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


Re: Evolutionary User Strategery

2006-07-07 Thread Geoff Horton

I have been looking on and off at m4 macros for the sort of music I'm
typesetting. The advantage to this is that, if LilyPond changes
something, I might just have to change a macro definition or two and
re-compile.

Geoff


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


Re: Different staff sizes?

2006-06-08 Thread Geoff Horton

p.s. Graham -- shouldn't we try to implement some standards/
conventions within the various examples in different parts of the
documentation? e.g., here the Staff is explicitly instantiated
*WITHIN* a \relative block, whereas other docs have the other way
around, or use variables, or... I imagine this would be *very*
confusing to newbies (or even some non-newbies like myself, for
example)!? Also, this example has a commented line (not included
here, for clarity's sake) which would just add to the confusion!  =)


I'm of two minds about this. Consistency does have strong advantages,
but when there are various ways to do the same thing, it can help to
see examples of all so that I can choose the one most appropriate for
what I want to do.

Geoff


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


Re: Unmetered troubles...

2006-06-05 Thread Geoff Horton

perhaps the \time 14/4 should be \time 15\4 in the next to the last
line?


And for this reason, I strongly suggest using the barcheck feature.

Geoff


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


Re: different notehead styles

2006-05-08 Thread Geoff Horton

Read the NEWS for version 2.8. The \tweak command hasn't
made it into the main manual yet.


It's in section 9.2.6.

Geoff


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


Re: Notes in parentheses, horizontal brackets, midi from TabStaff

2006-05-08 Thread Geoff Horton

1/ Is it possible to place some noteheads into the parentheses?


Yes. See the \parenthesize command in 9.2.6 of the manual, assuming
you're using a 2.8 version of LilyPond. It's possible to do it in 2.6
versions, but on the messy side.

Geoff


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


Re: TEX output

2006-05-06 Thread Geoff Horton

I forgot an point: with lilypond-book I get a font (emmentaler-20) which
causes errors for dvips,
I did not get it working to install this font properly.


I think getting lilypond-book to work will be both the easier and the
better approach in the long run.

Geoff


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


Re: Macro pre-processing?

2006-05-03 Thread Geoff Horton

Sorry for prolonging this thread... but have you taken a look at David
Raleigh Arnold's Lilypond Tools?


None of the hits for _David Raleigh Arnold Lilypond Tools look like
the right site. Am I missing something?

Geoff


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


Re: Macro pre-processing?

2006-05-03 Thread Geoff Horton

Could be this:
http://www.openguitar.com/lyutilities.html


I think so. Thanks!

Geoff


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


Re: Macro pre-processing?

2006-05-01 Thread Geoff Horton

As far as I understand, it should be trivial to make a
version of define-music-function where the user doesn't have to add
these arguments manually, so the syntax is

#(new-define-music-function (arg1 arg2 ... ) (typecheck1 typecheck2 ... )
  #{ordinary LilyPond code using $arg1 $arg2 ...  #}
}


I think that would satisfy most of my needs.

Geoff


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


Re: Macro pre-processing?

2006-04-30 Thread Geoff Horton

I don't understand the point of this discussion.


I do appreciate the help that you and others so readily give, and I'm
sorry you didn't like my statement, but I stand by it. (Please note
that I'm not arguing for a large change in the way things work--that's
David's argument, if he wants to make it.) LilyPond is a great
program, but some things that ought to be easy are far too hard to do
for a person who doesn't know the internal workings of the program
very well. I'm not arguing for doing away with Scheme entirely, or
hiding the internals entirely. Nor am I saying that I shouldn't have
to dive in and learn more if I want to do something that really is
complex (or live without being able to do it). But I look at the
examples I and others have given, and I simply don't see why they
should require knowledge of LilyPond internals to accomplish.

As LilyPond has matured, has its ease of use has quite kept pace with
its output capabilities? If the goal is to make it easy for many
people to make beautiful-looking music, isn't it worth checking now
and then to see if there are simple ways to make that easier?

Geoff


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


Re: Macro pre-processing?

2006-04-30 Thread Geoff Horton

This is the point I really want to jump on.  After the first two or
three emails, this descended into the usual pointless spat over
ease-of-use and documentation.  Stop talking about it, and start doing
something!  If we all spent half as much time _working_ on the docs
that we've spent _talking_ about them, they'd be twice as good by now.


In two weeks, when I'm done with finals, I'll revisit my roughed-out
preprocessor and see if it can be made usable and easy.

Geoff


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


Re: Macro pre-processing?

2006-04-29 Thread Geoff Horton

Using the techniques currently available in LilyPond, Erik's example
is easily implemented as:

foo = #(define-music-function (parser location x y) (ly:music? ly:music?)
  #{
c8 $x d8 $y  #})

{ \foo  e16 { f g }}

As you see, you don't really need any Scheme competence to do it.


I question that. I think it looks easy to you because you already know
how it all works and fits together. I do agree that adding some more
examples to the manual would help greatly.

Geoff


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


Re: Block diagram of LilyPond

2006-04-29 Thread Geoff Horton

What target group do you have in mind? Unless you are a programmer, I
don't really see how it would help an ordinary music typesetter.


Well, it could help those of us who'd like to help out more with
development but don't have a clear conception of how stuff fits
together.

Geoff


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


Re: Macro pre-processing?

2006-04-26 Thread Geoff Horton
 \define-music-function {\foo \x \y} { c8 \x d8 \y }
 ...
 { \foo e16 {f g} }
 =
 { c8 e16 d8 {f16 g16} }

 The usefulness of this kind of function is disputed among developers, so it
 might not become part of the official lilypond distribution.

I am not a developer (though I do read the dev list), but I would
certainly use such a thing if it existed, and it would do most of the
things (and maybe all of them) for which I wanted a pre-processor.

Geoff


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


Re: Set vs. Override - I'm confused

2006-04-26 Thread Geoff Horton
  In 2.8 there's an essential difference between grob and context properties,
  which is visible for end-users: the \tweak command only makes sense on 
  layout
  object properties, not on context properties. This difference might make it
  easier for new users to understand grob properties.

 Might, but doesn't.

I have to agree. It seems an arbitrary distinction.

Geoff


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


Re: Non-syllabic prepositions?

2006-04-25 Thread Geoff Horton
 Is it possible to declare it somehow in the LilyPond lyrics mode?
 I.e. that LilyPond does not print these words to individual notes, but it
 interprets it as one group together with the first syllable of the following
 word? For example, writing

 \addlyrics { v le -- se }

\addlyrics { v le -- se }

Geoff


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


Re: Non-syllabic prepositions?

2006-04-25 Thread Geoff Horton
 Thank you both very much! Everything's alright now. But is it described
 somewhere in the manual? I didn't noticed that...

I don't see it there. Hmm. It does say that an underscore would have
the same effect, so you could try v_le -- se.

Geoff


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


Re: denoting division when voices separate

2006-04-24 Thread Geoff Horton
 Is it possible to add a div marking when a soprano line temprorarily
 divides into two parts?  I am writing the soprano part as one music
 block with the brief voiceOne voiceTwo layering when division occurs.

You can certainly do that with text markup. See 8.1 in the manual.

Geoff


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


Re: numbers in variable names

2006-04-19 Thread Geoff Horton
  but Lilypond (more likely LaTeX) won't let me. Does anyone know a
  workaround?

It's LilyPond. LaTeX isn't even used anymore. Roman numerals or
spelling out the numbers ( \globalZeroOne ) are the only ways I know
to work around it.

Geoff


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


Re: Beaming- help needed

2006-04-19 Thread Geoff Horton
\revert is your friend. Use it on everything you used a \override on.

Geoff


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


Re: one line - two voices + 2 sets of lyrics

2006-04-17 Thread Geoff Horton
 I am setting up a piece of music that has a soprano and alto line.  I
 have figured out how to add lyrics to the alto line but realise that my
 soprano lyrics will be tricky.

See if this helps any:

http://www.geoffhorton.com/hymns/7FoldAmen.ly

Geoff


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


Re: Helping with the documentation

2006-04-15 Thread Geoff Horton
 Unfortunately I do not agree with most of your points. About searching: I
 often use google. With the option site:lilypond.org you can narrow the
 search to that site and by including a version number in the search terms
 you can narrow it down to one version. This method could be used with a wiki
 too.

I think you're missing at least part of my point. I know how to use
Google with a targeted search. The problem is that the amount of text
surrounding a match that Google returns is often insufficient to
determine if it's what I want, whereas scanning through the whole
manual in a browser automatically returns an entire page of context
(if I want it).

 Personally I hate local documentation.

Many people don't have reliable broadband always available.

You have told us about your personal preferences, which is entirely
legitimate. But my personal preferences are that I really, really
don't like using wiki-only documentation.

Geoff


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


Re: Helping with the documentation

2006-04-15 Thread Geoff Horton
 About the tarballs. Most Windows users don't even know what a tarball
 is.

This is a good point. I think zip files are much more portable than tarballs.

Geoff


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


Re: Helping with the documentation

2006-04-15 Thread Geoff Horton
 no problem, a zip file can also be generated. anyway, AFAIK all major
 unzip programs for windows extract tarballs and other formats as well.

WinXP has native support for reading zip files but not for tarballs.

Geoff


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


Re: Helping with the documentation

2006-04-15 Thread Geoff Horton
 this is not much of a problem because a zip file is as easy to generate
 as a tarball. but just for the record, if windows users want to be able
 to extract files in tarballs and other formats as well they can use the
 free program 7-zip:

 http://www.7-zip.org/

I know. I use it. But is Joe Average who just wants to get some music
set going to have it? Perhaps if the choice is to stick with tarballs,
a link should be placed on the page to the 7-zip site (or some other
appropriate site). But I am rather opposed (not that I have any say in
the matter) to making people download extra programs, no matter how
useful.

Geoff


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


Re: Feature requests

2006-04-15 Thread Geoff Horton
 One hangup for me is lilypond's handling of lyrics. I don't care as much how
 they're entered as how they're output. Right now, it looks like syllables are
 aligned so that the left edge of the longest syllable (in polyphonic choral
 music) is aligned with the center of the note it's matched with, and in every
 other part, the syllables are center aligned with that one long syllable.

Can you give a code sample? In the material I've set, all lyrics for
all stanzas are centered under the corresponding note, as you suggest.
I have seen some odd-looking output, though, so you might have found a
real problem. I also do see syllables extending through bar lines, but
there are ways around this. (Whether or not that should be the default
is a question I am not competent to answer).

 Also, there needs to be a better way to add text above a staff, particularly 
 if
 there are also lyrics. Currently, it seems that text added above a staff 
 (using
 ^) is attached to lyric text,

I have seen some really odd things with this, as you note. The
(undocumented, as far as I know) \alignAboveContext property fixes it,
but I have a little trouble getting that to work consistently.

Geoff


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


Re: Spacing within same staff group

2006-04-14 Thread Geoff Horton
Add this to your \paper block:

annotate-space = ##t

That will show you what LilyPond thinks is going into each space.
Unfortunately, it doesn't help in this case, because the extra space
between the first and second staves isn't labelled with anything. This
makes me wonder if you haven't found a real live bug.

Geoff


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


Re: Spacing within same staff group

2006-04-14 Thread Geoff Horton
 annotate-space = ##t

Sorry, that should be annotate-spacing = ##t

Geoff


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


Re: Size of Notes and Text

2006-04-14 Thread Geoff Horton
 1. Why is my single 8. notes so big, and how do I change it to the size
 similar to the other notes?

I'm not clear on the problem here. I don't see any outsize notes. Are
you referring to the ones with flags rather than with beams?

 2. How do I change the size of the text under the grace notes, so they are
 smaller than the other text.

markH = \markup \small H
markV = \markup \small V

c16_\markH
c_\markV

--

There's probably a better way, but that does it. If the letters are
still too large, use \tiny instead of \small.

Geoff


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


Re: Helping with the documentation

2006-04-14 Thread Geoff Horton
 So I was thinking of a method to make contibuting to the docs more easy.
 Perhaps it's a good idea to set up a wiki for the docs.

I'm of two minds about this. The advantages you point out are real,
but I also encounter a lot of frustration with wiki-based docs; for
one thing, there's no very good way to make a quick scan through them
looking for something. That makes answers are even harder to find if
your mind doesn't work the same way as that of the person who wrote
the section in question, or if the answer to your question is covered
in a place completely different from where you expect it to be. I
often find answers just by loading the full-page version of the docs
(off my hard drive, so it's quick), doing a text search for a string,
and looking at the material around hits to see if it looks like I'm in
the right place. Most search engines don't return enough context for
this to work well.

Geoff


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


Re: Still Have convert-ly Questions/Problems.

2006-04-12 Thread Geoff Horton
 The script seems to run, but stops at conversion 2.7.40 and leaves
 the line \version 2.7.40 in the new file. (It started as 2.6.0.)
 Is this the expected outcome or should it have continued further?

There weren't any syntax changes after 2.7.40, so that's what
convert-ly codes in the \version line. See 5.6 in the manual.

Geoff


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


Re: padding before note with accidental at beginning of standard measures

2006-04-11 Thread Geoff Horton
 Unfortunately, although it now *looks* correct, I get the error
  programming error: unknown prefatory spacing
  continuing, cross fingers
 once per affected Staff-measure in the Score.

 Is there a better method than the one I'm using?
 If not, is this error something I can just ignore?

Sometimes scores that produce programming error messages can produce
perfectly acceptable output (I have several). I wouldn't mind if there
were some way to tell LilyPond to suffer in silence, but I haven't
found one.

Geoff


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


Re: padding before note with accidental at beginning of standard measures

2006-04-11 Thread Geoff Horton
 Programming error messages should indicate bugs in LilyPond, no?

I've never worked with the code, but my impression from using LilyPond
is that programming error messages are not exactly bugs, but more in
the lines of complaints that Lily has been asked to do something too
complicated to figure out unaided.

Geoff


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


Re: Set vs. Override - I'm confused

2006-04-11 Thread Geoff Horton
 The followup question is obvious, but I leave it to you to think about it
 and see if you get any further.

I've been wondering for some time if the distinction is a helpful one,
but I suspect changing it now would involve too much internal
tinkering, not to mention breaking of old scores.

Geoff


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


Re: trick/tip: hairpin length control

2006-04-11 Thread Geoff Horton
This is a great tip! Thanks for sharing it.

Geoff


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


Re: dynamics: integrated or separate variable?

2006-04-10 Thread Geoff Horton
As a matter of practice, I put the dynamics directly in the note code,
even though my philosophical preference is to separate notes from
interpretation as much as possible. I'm not sure why--maybe to keep
down the number of independent music parts, I guess.

 In any case, I'm happy to be shown where I'm wrong, and learn the
 right way.  =)

The way that gives you the output you want without driving you nuts
_is_ the right way :)

Geoff


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


  1   2   >