RE: Writing psalms

2009-01-15 Thread Paul Harouff
I transcribe a lot of chant music and discovered that using the \breve and
putting the lyrics in quotes looks awful with more than a couple of words.
The justification never looked right, and the word spacing was always odd.
Instead I have found that the following works better.

Use \H for hidden notes so the spacing remains consistent across the entire
measure.
Use \NL when a measure must be broken in the middle.
Use \NM for normal measure breaks.

I deleted stuff that isn't important for the example:


\paper {
}

Global = {
}

% Hidden Note
H = { \hideNotes c'4 \unHideNotes }
% New Measure
NM = { \cadenzaOff \bar | \cadenzaOn }
% New Line
NL = { \cadenzaOff \bar : \break \cadenzaOn }

\score { \new ChoirStaff 
\new Staff = women 
\clef treble
\key f \major
\new Voice = Soprano {\voiceOne \cadenzaOn
#(set-accidental-style 'voice)
g'4 g'4 g'4 g'4 a'2 a'4 \H \H \H \H \H \H \H \H \NL 
\H \H \H \H a'4 bes'4 c''2( bes'2) a'2 \NM
a'4 \H \H \H \H \H \H \H \H \H \H a'4 g'2 g'4 g'4 f'2 \NM
g'4 g'4 a'2 a'4 \H \H \H \H \H \H \H a'4 bes'4 c''2( bes'2) a'2
\NM
a'4 \H \H \H \H \H a'4 g'2 f'2 \NM
a'4 g'4 a'4 bes'2 a'4 bes'4 a'2( g'2) f'1 \bar |.
} 
\new Voice = Alto {\voiceTwo \cadenzaOn
#(set-accidental-style 'voice)
e'4 e'4 e'4 e'4 f'2 f'4 \H \H \H \H \H \H \H \H \NL 
\H \H \H \H f'4 f'4 f'2( f'2) f'2 \NM
f'4 \H \H \H \H \H \H \H \H \H \H f'4 e'2 e'4 e'4 c'2 \NM
e'4 e'4 f'2 f'4 \H \H \H \H \H \H \H f'4 f'4 f'2( f'2) f'2 \NM
f'4 \H \H \H \H \H f'4 e'2 c'2 \NM
f'4 d'4 f'4 f'2 f'4 f'4 f'2( e'2) c'1 \bar |.
}
\new Lyrics \lyricsto Soprano { \set fontSize = #+2
   You were a disc- i- ple of Christ and a mem- ber of the 
di- vine col- lege of A- pos- tles.
   Hav- ing been weak in faith you doubt- ed the Re- sur- rec- tion
of Christ.
   But by feel- ing the wounds you be- lieved in His all- pure pas-
sion:
   Pray now to Him, O all- praised Tho- mas 
   to grant us peace and great mer- cy.
}

\new Staff = men 
\clef bass
\key f \major
\new Voice = Tenor {\voiceOne \cadenzaOn
#(set-accidental-style 'voice)
c'4 c'4 c'4 c'4 c'2 c'4 \H \H \H \H \H \H \H \H \NL 
\H \H \H \H c'4 d'4 ees'2( d'2) c'2 \NM
c'4 \H \H \H \H \H \H \H \H \H \H c'4 bes2 bes4 bes4 a2 \NM
c'4 c'4 c'2 c'4 \H \H \H \H \H \H \H c'4 d'4 ees'2( d'2) c'2 \NM
c'4 \H \H \H \H \H c'4 bes2 a2 \NM
c'4 bes4 c'4 d'2 c'4 d'4 c'2( bes2) a1 \bar |.
}
\new Voice = Bass {\voiceTwo \cadenzaOn
#(set-accidental-style 'voice)
c4 f4 f4 f4 f2 f4 \H \H \H \H \H \H \H \H \NL 
\H \H \H \H f4 bes, bes4 a, a2( bes, bes2) f2 \NM
f4 \H \H \H \H \H \H \H \H \H \H f4 c2 c4 c4 f2 \NM
c4 f4 f2 f4 \H \H \H \H \H \H \H f4 bes, bes4 a, a2( bes,
bes2) f2 \NM
f4 \H \H \H \H \H f4 c2 f2 \NM
f4 g4 f4 bes2 f4 bes4 c2( c2) f1 \bar |.
}


\layout { \context { \Staff 
\remove Time_signature_engraver 
}
}
\header { 
piece = Troparion for Apostle Thomas (Oct 6/Oct 19)
opus = Tone 2 - Lvov/Bachmetev
}
}
 

Paul
Madison, AL

-Original Message-
From: Dmytro O. Redchuk
Sent: Thursday, January 15, 2009 5:21 AM
Subject: Re: Writing psalms


I use for this smth like[1]:

% in melody:
\cadenzaOn
a8 a\breve a8
\cadenzaOff

% and in lyrics:
%
la la la la li lo lo li la la li
%




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


RE: LilyPondTool-2.12-r1 for download

2009-01-01 Thread Paul Harouff
My webserver is Linux, but my laptop where I use LilyPond is Windows XP.

For those of us on Windows, the location is C:\Program Files\jEdit

After making sure you are upgraded to the latest release of jEdit. The
LilyPondTool files go into the subfolders \jars and \modes.

Project Viewer would not load until I used the Plugin Manager to install
Common Controls, which wasn't required for the previous version I was
running.

Paul



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


Lyrics without visible notes

2007-08-27 Thread Paul Harouff
Putting a skip in the lyrics prints a note without lyrics under it. But
putting a skip in the music does not print the lyrics without a note over
it; instead, the words are just shifted to the next note.
 
It is useful to able to use note skips to fix spacing issues around bar
lines, but I believe it would be much more intuitive to have the behavior of
skips completely reciprocal between music and lyrics. If you want both blank
music and lyrics for spacing, it would make more sense to enter a skip in
BOTH.
 
There is another way to enter hidden notes, but the directions are in the
documentation under Educational Use, and if you have to do this over and
over it gets tedious, especially since you have to enter the pitch:
 
f4 \hideNotes f4 f4 f4 f4 \unHideNotes f4
 
Up to now I have been using a breve to represent repeated pitch for chant
music (see snippet below), but I'm finding that sometimes this makes the
music too cluttered and confusing for the choir because of spacing issues
around the lyrics in quotation marks, especially if ragged-right = ##f. I
would rather print the words without anything over them until the pitch
changes and use hidden notes to fix the spacing.
 
 
\version 2.11.25
 
% New Measure
NM = { \cadenzaOff \bar | \cadenzaOn }
% New Line Break
NL = { \cadenzaOff \bar : \break \cadenzaOn }

\score { \new StaffGroup 
 \new Staff = women 
  \clef treble
  \key f \major
  \new Voice = Soprano {\voiceOne \cadenzaOn \override Stem #'length = #5
#(set-accidental-style 'forget)
f'4 f'\breve f'4 g'4 a'2( g'4 f'4) e'2 \NM \break
e'4 e'\breve e'4 f'4 g'2 f'4( e'4) f'2 \NM \break
d'4 d'\breve d'4 e'4 f'2( e'4 d'4) cis'2 \NM \break
cis'4 cis'\breve cis'4 d'4 e'2( d'4 cis'4) d'2( e'2) \bar |
   }
  \new Lyrics \lyricsto Soprano { 
Re- joice, O chosen by God of all gen- e- ra- tions! |
Re- joice, holy ves- sel of God the Word! |
Re- joice, fulfillment of pro- phet- ic fore- tell- ing! |
Re- joice, most hon- or- a- ble crown of the dis- ci- ples!
   }
  

 \layout { \context { \Staff 
   \remove Time_signature_engraver 
   }
   between-system-padding = 0.1\in
   between-system-space = 0.1\in
   indent = #0
   ragged-right = ##t
   ragged-last = ##t
 }
 \header { 
  piece = 
  opus = 
  }
}

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


RE: Lyrics without visible notes

2007-08-27 Thread Paul Harouff
I came up with the following kludge that works for the Soprano/Alto staff:
 
% Hidden Note
H = { \hideNotes c'4 \unHideNotes }

then in the score, I enter as many hidden notes as necessary for the number
of syllables until the next pitch change
 
f'4 \H \H \H \H \H \H \H \H \H \H \H \H f'4 g'4 a'2 g'4 f'4 e'2
 
The only catch is the note is not truly hidden because the spacing below the
staff takes the c' into account even if there are no visible notes below the
staff. So, a different definition may be required for the Tenor/Bass staff
if you don't want the spacing for a middle c above it.
 
I still believe a solution using skip notes would be preferable.
 
 
Another option, if someone out there understands scheme function
definitions, is to come up with a function like
 
f'4 \repeatHidden { c' 12 } f'4 g'4 a'2 g'4 f'4 e'2
 
which would allow you to easily specify the true pitch for the repeated note
and the number of times to repeat the hidden note.
 
Paul

  _  

From: Paul Harouff [mailto:[EMAIL PROTECTED] 
Sent: Monday, August 27, 2007 10:09 AM
To: 'lilypond-user@gnu.org'
Subject: Lyrics without visible notes


Putting a skip in the lyrics prints a note without lyrics under it. But
putting a skip in the music does not print the lyrics without a note over
it; instead, the words are just shifted to the next note.
 
It is useful to able to use note skips to fix spacing issues around bar
lines, but I believe it would be much more intuitive to have the behavior of
skips completely reciprocal between music and lyrics. If you want both blank
music and lyrics for spacing, it would make more sense to enter a skip in
BOTH.
 
There is another way to enter hidden notes, but the directions are in the
documentation under Educational Use, and if you have to do this over and
over it gets tedious, especially since you have to enter the pitch:
 
f4 \hideNotes f4 f4 f4 f4 \unHideNotes f4
 
Up to now I have been using a breve to represent repeated pitch for chant
music (see snippet below), but I'm finding that sometimes this makes the
music too cluttered and confusing for the choir because of spacing issues
around the lyrics in quotation marks, especially if ragged-right = ##f. I
would rather print the words without anything over them until the pitch
changes and use hidden notes to fix the spacing.
 
 
\version 2.11.25
 
% New Measure
NM = { \cadenzaOff \bar | \cadenzaOn }
% New Line Break
NL = { \cadenzaOff \bar : \break \cadenzaOn }

\score { \new StaffGroup 
 \new Staff = women 
  \clef treble
  \key f \major
  \new Voice = Soprano {\voiceOne \cadenzaOn \override Stem #'length = #5
#(set-accidental-style 'forget)
f'4 f'\breve f'4 g'4 a'2( g'4 f'4) e'2 \NM \break
e'4 e'\breve e'4 f'4 g'2 f'4( e'4) f'2 \NM \break
d'4 d'\breve d'4 e'4 f'2( e'4 d'4) cis'2 \NM \break
cis'4 cis'\breve cis'4 d'4 e'2( d'4 cis'4) d'2( e'2) \bar |
   }
  \new Lyrics \lyricsto Soprano { 
Re- joice, O chosen by God of all gen- e- ra- tions! |
Re- joice, holy ves- sel of God the Word! |
Re- joice, fulfillment of pro- phet- ic fore- tell- ing! |
Re- joice, most hon- or- a- ble crown of the dis- ci- ples!
   }
  

 \layout { \context { \Staff 
   \remove Time_signature_engraver 
   }
   between-system-padding = 0.1\in
   between-system-space = 0.1\in
   indent = #0
   ragged-right = ##t
   ragged-last = ##t
 }
 \header { 
  piece = 
  opus = 
  }
}

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


RE: Whatis on the fly

2007-08-01 Thread Paul Harouff
Francois, you're close.

In hunting terminology, on the fly means catching/killing a bird in the
air vs. catching/killing a bird on the ground. In fishing terminology,
catching a fish on the fly means using a fly bait which requires
continuous activity and rhythm with the rod and reel. In this context, the
English idiom has taken on the meaning of being quick, agile, or lucky.

In aeronautical terminology, on the fly means making repairs or
modifications while flying the airplane vs. waiting to make repairs or
modifications after landing. The idiom has been applied to other engineering
situations to mean making repairs or modifications to equipment while the
system is running vs. shutting down the system to remove and replace the
equipment for depot maintenance. In this context, the English idiom has
taken on the meaning of being flexible, adaptive, or ingenius.

Therefore, from the second context above, in computer terminology, on the
fly has taken the meaning of dynamically changing software activities or
values while the program is running vs. statically predefining activities
and values so they can't be changed without stopping the program. An example
is using a cookie file to modify the behavior of a web page on the fly
based on the user's input.

So, I don't think that the LilyPond *program* does anything on the fly,
since you can't change the *.ly file while the compiler is running. But I
guess it's possible for a developer of one LilyPond engraver to say his
engraver (e.g., beams) makes changes on the fly based on the output of
other engravers (e.g., notes).

That being said, English idioms are continuously evolving and taking new
meanings. So, it's possible that some programmers have adopted the practice
of using on the fly to mean the ability to change a program setting
several times within a file as needed. But this doesn't make sense to me.

Paul

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Valentin Villenave
Sent: Wednesday, August 01, 2007 5:33 AM
To: Francois Planiol-Auger
Cc: lilypond-user@gnu.org
Subject: Re: Whatis on the fly

2007/8/1, Francois Planiol-Auger [EMAIL PROTECTED]:

 Yes I know, its a newby question. And I found nothing really helpful that
 defines it in relation with lilypond.
 Can somebody explain?

If I understood correctly (English is not my native language),
something you can change on the fly is something that you don't need
to change at the beginning of your score, once and for all; therefore
it allows you to change properties several times during your music
(for instance, the key signature can be changed on the fly: you
don't have to define a single key signature at the beginning, and then
be stuck with it for the whole piece -- instead you can change it as
many times as you want).

Does it help?

Regards,
Valentin


___
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: Parentheses

2007-07-26 Thread Paul Harouff
 How do you input parentheses in lyrics?  Just adding them in makes it so
it won't compile, due to a syntax error.

Special characters in lyrics must be enclosed in quotation marks. I've had
the same problem with colons.




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


RE: ooolilypond user

2007-07-18 Thread Paul Harouff
Yes. The default templates that come with OOoLilyPond automatically insert
everything you type into a \score block, which causes problems if you are
doing more than a little snippet.
 
Use the following as an outline to create your own template and make it your
default. You will now have to include a \score { } block in your OOoLiliPond
snippet, but it gives you much more flexibility. NOTE: This template is for
doing church bulletins or 8-/12x11 folded booklets. Set the paper size and
margins to your preferences.
 
\version 2.11.15
 
\include lilypond-book-preamble.ly
 
\paper {
  #(define dump-extents #t)
  #(set-paper-size letter)
  paper-height = 8.5\in
  paper-width = 5.5\in
  top-margin = 0.25\in
  bottom-margin = 0.35\in
  left-margin = 0.25\in
  line-width = 4.75\in
%  between-system-padding = 0.5\in
%  between-system-space = 0.25\in
  ragged-last = ##f
  ragged-bottom = ##t
  ragged-right = ##f
% system-count = #1
% print-first-page-number = ##f
% print-page-number = ##t
  oddFooterMarkup = \markup { \fill-line { \hspace #0 { \bold \fromproperty
#'page:page-number-string } } }
  evenFooterMarkup = \markup { \fill-line { { \bold \fromproperty
#'page:page-number-string } \hspace #0 } }
  oddHeaderMarkup = \markup { \fill-line { \hspace #0 {  } } }
  evenHeaderMarkup = \markup { \fill-line { {  } \hspace #0 } }
}
 
global = {
  #(set-global-staff-size 14)
  \override Staff.VerticalAxisGroup #'minimum-Y-extent = #'(-0.5 . 0.5)
  % \override Lyrics.LyricText #'font-size = #0.0
  % \override Lyrics.LyricText #'word-space = #0.6
  % \override Lyrics.LyricSpace #'minimum-distance = #1.0
}
 

% ly snippet contents follows:
c' d' e'
% end ly snippet

 
 

  _  

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
PabloZum
Sent: Tuesday, July 17, 2007 4:24 PM
To: lilypond-user@gnu.org
Subject: ooolilypond user


OooLilyPond seems to be EXACTLY what I was looking for to write a book on
jazz improvisation.
 
I use Window XP and I can get it to insert simple scores in OpenOffice.org
such as:
 
\key c \minor \relative c'' { c16 es, d es c es d es c' es, d es c es d es }
 
which is the test given in the sourceforge webpage.
 
However, other scores that are created in LilyPond without problems, such as
this one given in the LilyPond tutorial:
 
 \version 2.10.10

 melody = \relative c' {

\clef treble

\key c \major

\time 4/4

 

a b c d

 }

 

 text = \lyricmode {

Aaa Bee Cee Dee

 }

 

 harmonies = \chordmode {

a2 c2

 }

 

 \score {



   \new ChordNames {

  \set chordChanges = ##t

  \harmonies

   }

\new Voice = one {

   \autoBeamOff

   \melody

}

\new Lyrics \lyricsto one \text



\layout { }

\midi { }

 }
get quite a lot of syntax errors and unknown escaped strings and
unexpected strings.
 
Does OooLilyPond have a shorter scope than LilyPond?
 
I've tried running both lilypond.exe and lilipon-window.exe as the
executable on config, with the same results.
 
Thank you!
 
 
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


RE: Aligning relative to page

2007-07-11 Thread Paul Harouff
Your question is also related to the discussion near the end of the Merging
scores in one pdf thread which just moved to the French LilyPond user
discuss list.

If you understand that the behavior of \markup is always relative to the
present location on the page, then you can understand why the kludge of
commands in Romel's answer is necessary. Center, right-align, left-align,
column, etc. are all relative to a hypothetical note at the current
location (which is the left margin when \markup is outside of a score). You
have to manually move the current location to the place where you want the
text before typing it. 

Where the discussion in the other thread was headed was that when we
inexperienced users put a \markup outside of a score, we expect it to format
the text relative to the entire page. We shouldn't have to use fill-line or
hspace in order to get text to move to the center of the page. And vertical
control of the position of a \markup is almost impossible unless there is a
score after it.

I'm optimistic that sdfgsdhdshd and Valentin will uncover some useful tips
and tricks on the French list. Valentin promised to provide a summary for
the English list.

And please don't take this as negative criticism for LilyPond. LilyPond is
intended to be a music writing language, not a book typesetting language. It
is a tribute to the power of LilyPond that we are able to stretch its
boundaries this way with tips and tweaks.

My suggestion, instead of changing the present behavior of \markup, is to
add a \text or \para context object to contain a paragraph of text with
very simple formatting capabilities in its \layout block, such as:

paraBefore = Absolute (in, mm, pt) or Relative (x.x lines)
paraAfter = Absolute (in, mm, pt) or Relative (x.x lines)
paraLeft = Absolute (in, mm, pt) or Relative (% column width or x.x chars)
Indent
paraRight = Absolute (in, mm, pt) or Relative (% column width or x.x chars)
Indent
paraFirst = Absolute (in, mm, pt) or Relative (% column width or x.x chars)
Indent
   (negative would be hanging indent)
paraJust = Left, Center, Right, Full Justification

Most standard TeX character formatting commands (color, italic, bold,
underline, size, etc.) already exist, but may need to be tweaked for the new
context.

Paul

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Rune
Zedeler
Sent: Wednesday, July 11, 2007 11:23 AM
To: Romel Anthony S. Bismonte
Cc: LilyPond User Mailing List
Subject: Re: Aligning relative to page

Romel Anthony S. Bismonte skrev:

 Now, it would be nicer for the segue markup to be right-aligned to the 
 page, so I tried changing the markup to this:

Use fill-line for this.

\markup {
   \fill-line { 
   \column {
 \italic segue to
 Something Else
   } }
}

-Rune


___
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: Aligning relative to page - Use OOoLilyPond

2007-07-11 Thread Paul Harouff
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.

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. 

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.

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.

 Here is the snippet I added:
 http://lsr.dsi.unimi.it/LSR/Item?id=300

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

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

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

Put yourself in the shoes of a new user trying to center a line of text who
has already tried center-align. On his own, searching the documentation, he
would never intuitively figure out that the command \fill-line is what he is
looking for. 

Now imagine that new user trying to program something like:


SMALL LITANY

Deacon: Again and again, in peace, let us pray to the Lord.
\score { MUSIC FOR Choir: Lord have mercy }

Deacon: Help us, save us, have mercy on us, and keep us,
O God, by Thy grace.
\score { MUSIC FOR Choir: Lord have mercy }

Deacon: Commemorating or most holy, most pure, most blessed
and glorious lady, Theotokos, and ever-virgin Mary
with all the saints, let us commend ourselves and each
other, and all our life unto Christ our God.
\score { MUSIC FOR Choir: To Thee, O Lord. }

Priest: For Thou art a good God and lovest mankind, and unto
Thee we ascribe glory: to the Father, and to the Son,
and to the Holy Spirit, now and ever and unto ages of ages.
\score { MUSIC FOR Choir: Amen }

THIRD ANTIPHON - TROPARIA ON BEATITUDES
MODE 3

\score { MUSIC FOR VERSE 1. In Thy kingdom remember us O Lord, when 
Thou comest into Thy kingdom. Blessed are the poor in spirit
for theirs is the kingdom of heaven. }
Reader: 1. He Who in ancient times by divine gesture gathered the
water into a single mass and parted the sae for the people
of Israel, even He is our God, exceedingly glorious; to
Him alone do we sing, for He has been glorified.

\score { MUSIC FOR VERSE 2. Blessed are those who mourn, for they shall
be comforted. }
Reader: 2. Second troparion.

\score { MUSIC FOR VERSE 3. Blessed are the meek ... }
Reader: 3. Third troparion.


And, I confess that my solution a few months ago was to use \hspace to brute
force put the text where I wanted it by trial and error. This was a pain but
solved my problem at the time. What really frustrated me was the vertical
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 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.

Note: swriter gets really unstable when you have a lot of OOoLilyPond
snippets (I had 2 crashes on two 

RE: Merging scores in one pdf

2007-07-10 Thread Paul Harouff
If you move the discussion to another list, how do the rest of us benefit
from the discussion?  

I've been having the same problem trying to put multiple hymns in a single
file with the priest's prayers before and after each hymn. LilyPond handles
music great, but plain text is a pain. I had given up and started pasting
the music into a Word document as pictures.

I would be interested in seeing sample code for how he solved his problem.

Paul 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Valentin Villenave
Sent: Tuesday, July 10, 2007 4:00 AM
To: sdfgsdhdshd
Cc: lilypond-user@gnu.org
Subject: Re: Merging scores in one pdf

Dear sdfgsdhdshd, :-)

I assume, seeing your mail address, that you're French -or at least
French-speaking- ; did you know that there is a special mailing-list
for French-speaking LilyPond users?

We'd be glad to see you there:
http://lists.gnu.org/mailman/listinfo/lilypond-user-fr

Besides, this is a less active list (whereas the main English-speaking
list tends to be overcrowded), and people might have more time to help
you and talk with you.

Regards,
Valentin


___
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: Merging scores in one pdf

2007-07-10 Thread Paul Harouff
The biggest pain which made me give up was \markup is assumed to be
associated with the score after it. The vertical spacing and page breaks
don't allow you to end a page with a \markup block. It always moves to the
next page with the \score.

I can see the usefulness of the \markup block as it is currently programmed.
But it is really intended for adding a few words of performance directions
above a score. 

What I would really like to have is a \text block with all the usual
formatting capability of a \markup but not associated with any \score. Each
block would represent a paragraph of plain text. Ideally, the vertical
spacing and page breaks should treat each \text block just as it would a
\score block. It might even be useful for the \text block to have \layout
and \markup just like a \score block for paragraph titles.

Also, when I use \center in a \markup block outside of a score, I expect the
text to center between the page margins (i.e., center on the entire width of
the \score object below), not center on the left margin so the text runs off
the page. In my opinion, having to use fill-line or other tweaks to get the
text to move to the center of the page is a bug, not a feature.

Paul

-Original Message-
From: Valentin Villenave [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, July 10, 2007 2:48 PM
To: Paul Harouff
Cc: lilypond-user@gnu.org
Subject: Re: Merging scores in one pdf

2007/7/10, Paul Harouff [EMAIL PROTECTED]:
 If you move the discussion to another list, how do the rest of us benefit
 from the discussion?

Thank you for asking; of course if we come up with anything
interesting on the French list, I'll translate it here, modify the
documentation or add it to the LSR. This is how things work.

 I've been having the same problem trying to put multiple hymns in a single
 file with the priest's prayers before and after each hymn. LilyPond
handles
 music great, but plain text is a pain. I had given up and started pasting
 the music into a Word document as pictures.

I have to confess I haven't quite understood what is this topic about;
I use \book a lot and have never encountered any problem with text
indications; the \markup command works perfectly, with simple
functions such as \fill-line etc.

For example, I often put a title and a subtitle only in the main
\book section, and then in each \score block (or file), I just insert
a piece field, in which I put every titles or subtitles I need,
using fill-line, columns, etc. Is it easy, simple, and works
perfectly.

So when you say that in lilypond plain text is a pain, could you be
more specific (e.g. post a snippet of what made you give up)?

Thanks

V.Villenave



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


RE: accidentals in cadenzas

2007-07-08 Thread Paul Harouff
It happens for all bar lines in a cadenza. I write a lot of chant music and
this behavior is very annoying, especially in the tenor line. Using
#(set-accidental-style 'forget) works for me.  I guess it's better to mark
all of the accidentals than none of them.

\new Staff = men 
\clef bass
\key g \major
\new Voice = Tenor {\voiceOne \cadenzaOn \override Stem
#'length = #5  
#(set-accidental-style 'forget)
a4 b4 c'4 c'4 c'4 b4 c'4 d'4 c'4 b2 \bar | s4
b4 c'4 d'4 d'\breve d'4 e'4( f'4 e'4 d'4) c'2 \bar
| s4
a4 b4 c'4 c'4 b4 c'4 d'4( c'4) b2 \bar | s4
b4 c'4 d'4 d'\breve d'4 e'4( f'4 e'4 d'4) c'2 \bar
| s4
e'4 e'4 e'4 e'4 d'2 c'4 b4 c'1 b1 \bar |.
}
\new Voice = Bass {\voiceTwo \cadenzaOn \override Stem
#'length = #5
d4 d4 d4 d4 d4 g4 g4 g4 g4 g2 \bar | s4
g4 g4 g4 g\breve g4 c4( b,4 c4 g4) a2 \bar | s4
d4 d4 d4 d4 g4 g4 g2 g2 \bar | s4
g4 g4 g4 g\breve g4 c4( b,4 c4 g4) a2 \bar | s4
c4 c4 c4 c4 g2 fis4 g4 c2( d2) g g,1 \bar |.
}


One thing I haven't experimented with yet is breaking the cadenza at every
bar line. Maybe doing a \cadenzaOff before, and \cadenzaOn after, each bar
line might fix the accidentals, spacing around the bar lines, and matching
the bar line counts with the lyrics. Unfortunately, I'm a bit lazy. I prefer
solutions that require less typing, not more typing.

Paul

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Victor Eijkhout
Sent: Saturday, July 07, 2007 10:44 PM
To: lilypond-user@gnu.org
Subject: accidentals in cadenzas

I'm writing a cadenza, and it seems that  \bar   does not have  
the effect of accidentals being reset as if there was a real bar  
line. For instance

d16 [e fis g a b cis d e f e d]
\bar 
e,16 [fis gis a b cis d e f g f e]

In the second phrase, only a sharp will be printed for the gis, not  
for the fis.

Is there any way to get the effect that at the invislble bar line all  
previous accidentals are forgotten/reset?

Victor.



___
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


Connecting Bar Lines With ChoirStaff

2007-05-24 Thread Paul Harouff
How do I get bar lines to connect with a ChoirStaff? The 2.11 documentation
says it's supposed to happen automatically.
 
Paul
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


RE: Connecting Bar Lines With ChoirStaff

2007-05-24 Thread Paul Harouff
Thanks. There appears to be a contradiction:

6.4.5 Bar Lines

In scores with many staves, a \bar command in one staff is automatically
applied to all staves. The resulting bar lines are connected between
different staves of a StaffGroup, PianoStaff, or ChoirStaff.


The last sentence should probably be changed to See 6.4.7 System Start
Delimiters for examples of the different handling of bar lines for
GrandStaff, StaffGroup, and ChoirStaff. Should probably add PianoStaff to
the page as well.

Paul

-Original Message-
From: Mats Bengtsson [mailto:[EMAIL PROTECTED] 
Sent: Thursday, May 24, 2007 11:17 AM
To: Paul Harouff
Cc: lilypond-user@gnu.org
Subject: Re: Connecting Bar Lines With ChoirStaff

As is explained in section System start delimiters in the manual, the 
only difference
between a StaffGroup and a ChoirStaff context is that the former gives 
connected
bar lines whereas the latter doesn't.

   /Mats

Paul Harouff wrote:
 How do I get bar lines to connect with a ChoirStaff? The 2.11 
 documentation says it's supposed to happen automatically.
  
 Paul
 

 ___
 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: corrective to Problem while using OpenOffice.org withmacro OOoLilyPond/basic/script.xlb -see attachemnt-

2007-05-14 Thread Paul Harouff
When I received this error, there was a line of code highlighted. In that
line I edited the index (i-1) to (i) and the script started working.

Note that you also will have to edit Subs.xba to change the 4 occurrences of
-b eps to say -dbackend=eps

Finally, I found that changing templates\2.10\letter.ly to something like
the following allows using \score blocks in the snippets:

\version 2.11.15

\include lilypond-book-preamble.ly

\paper {
  #(define dump-extents #t)
  #(set-paper-size letter)
  paper-height = 11\in
  paper-width = 8.5\in
  top-margin = 0.5\in
  bottom-margin = 0.5\in
  left-margin = 0.5\in
  line-width = 7.5\in
%  between-system-padding = 0.5\in
%  between-system-space = 0.25\in
  ragged-last = ##f
  ragged-bottom = ##t
  ragged-right = ##f
% system-count = #1
% print-first-page-number = ##f
% print-page-number = ##t
  oddFooterMarkup = \markup { \fill-line { \hspace #0 { \bold \fromproperty
#'page:page-number-string } } }
  evenFooterMarkup = \markup { \fill-line { { \bold \fromproperty
#'page:page-number-string } \hspace #0 } }
  oddHeaderMarkup = \markup { \fill-line { \hspace #0 {  } } }
  evenHeaderMarkup = \markup { \fill-line { {  } \hspace #0 } }
}

global = {
  #(set-global-staff-size 14)
  \override Staff.VerticalAxisGroup #'minimum-Y-extent = #'(-0.5 . 0.5)
  % \override Lyrics.LyricText #'font-size = #0.0
  % \override Lyrics.LyricText #'word-space = #0.6
  % \override Lyrics.LyricSpace #'minimum-distance = #1.0
}


% ly snippet contents follows:
c' d' e'
% end ly snippet


Paul

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Ledocq-Boccart
Sent: Monday, May 14, 2007 5:24 AM
To: lilypond-user@gnu.org; [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: corrective to Problem while using OpenOffice.org withmacro
OOoLilyPond/basic/script.xlb -see attachemnt-

Dear Antanas, thank you for your answer,

the problem is I cannot edit the dialog box  anymore as I receive the 
following error message after entering Ctrl+M: valeur ou type de 
données incorrect(e).Index hors de la plage définie translated in 
englich = error message of OpenOffice.org 2.0:  incorrect value or data
type. Index outside defined range.

It happens that way even afetr uninstalling OpenOffice.org, LilyPond and 
OOoLilyPond, and having cleaned up the registry keys.

It looks as if the PC had irreversibly memorized the initial incorrcet 
action.

Regards

Charlie


---
I am using OpenOffice.org version 2.0.3 on winXP . My problem is :

on OpenOffice.org with macro Ctrl+M from OOoLilyPond (version 2.10)

The Ctrl+M macro does not start anymore, even after new installation of
all LilyPond, OOoLilypond and OpenOffice.org version 2.0.3 !
I even have cleaned the registry (I use regularly Regseeker without
trouble).

This happened after having modifies the path of the LilyPond executable
file in the dialog window, because I had an error message file
c:\program ... not found

OOoLilypond, OpenOffice.org and LilyPond are all installed in c:\Program
Files\
The library script.xlb and the ctrl+M have been carefully installed
according to the instructio given with OOoLilyPond, excepted that the
macro is refused to be installed in the Macro OpenOffice Library (the
***Append*** button is not activable when selecting the radio button
Macros
OpenOffice; I have installed it in My Macros file, wihch allows to
activate the button ***append***.
Customization of ctrl+M has been done according to instructions.

What happens now:
while opening a writer document with OpenOffice.org:

typing Ctrl+M, Enter
gives an error message of OpenOffice.org:  incorrect value or data
type: index outside defined range

together with a sreen showing the basic instructions with one marked
with ared arrow flag in the left column ReDim Preserve sTemplate(i-1)
As String.


Could somebody help to find a solution to this?

Thanks for answer

Charlie


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


-- 
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.5.467 / Virus Database: 269.6.5/791 - Release Date: 6/05/2007
9:07






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


-- 
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.5.467 / Virus Database: 269.7.0/801 - Release Date: 
12/05/2007 18:40




___
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: response character

2007-03-13 Thread Paul Harouff
In Windows select Start-Programs-Accessories-System Tools-Character Map

Choose the font Arial Unicode MS or Lucida Sans Unicode, then scroll down to 
211F (or check Advanced View, character set Unicode, and type 211F in the Go to 
Unicode box).

Select, Copy, then Paste into your ly file. 

Arial ℟
Lucida ℟

Paul

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Stan Sanderson
Sent: Tuesday, March 13, 2007 10:20 PM
To: Maximilian Albert
Cc: lilypond-user@gnu.org
Subject: Re: response character


On Mar 13, 2007, at 9:12 PM, Maximilian Albert wrote:

 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.

 The symbol is contained (apparently) in the Apple Symbol font, and is
 identified by the following:

 Unicode: 211F
 UTF8: E2 84 9F

 - 
 ---

 (all of which is probably of little help- sorry!)

 Well, at least it helped me to get it working. ;)

 If you use an editor that is unicode-aware you can simply insert the
 corresponding symbol wherever it is needed and rely on lilypond to do
 the rest. Of course, the precise process depends on the editor. In my
 quick test I used emacs where you can enter any symbol using its hex
 unicode value. Because of some weird setting that had messed up my  
 meta
 key I had to include the line

(define-key global-map [?\C-c ?u] #'ucs-insert)

 in my .emacs file. Then typing CTRL-C, U, 211F resulted in the symbol
 being inserted. (Only a white box was shown in emacs itself but
 compiling with lilypond and viewing the pdf file worked just fine).

 If you use another editor and cannot figure it out yourself, maybe  
 other
 users know how to do it.

 Hope this helps,
 Max

Apple users (OSX) using a text editor with UTF-8 text encoding (I  
like Smultron, and JEdit with Lilypond tool works also) can use the  
Character Palette.

It is accessed by going to System Preferences==International.

Click on the Input Menu button; check the box for Character Palette  
in the window under the buttons. Also check the box Show input menu  
in menu bar.

The Response symbol can be found in the Character Palette by  
selecting Symbols==Letterlike Symbols. If you double-click on the  
symbol, it will appear in the active document at the cursor. For  
example, here  ? . (There is a response symbol in the .)

This works for any viewable character.

Stan




___
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


Bug in lilypond-book-preamble (was RE: -b eps option (was RE: OOolilypond and openoffice 2.1))

2007-03-11 Thread Paul Harouff
I narrowed the problem down to lilypond-book-preamble.ly
 
lilypond -dbackend eps lilypond-book-preamble.ly
GNU LilyPond 2.11.20
ERROR: In procedure symbol-string
ERROR: Wrong type argument in position 1 (expecting symbol): #t

I haven't made any changes, but here is the contents of
lilypond-book-preamble.ly ... maybe someone on the list can find the bug.
The only thing I could do would be comment out each line one at a time, but
I still wouldn't know what the correct syntax should be.
 
\version 2.10.0

%% toplevel \book gets output per page,
%% everything else gets output per system/title
#(define default-toplevel-book-handler
  print-book-with-defaults-as-systems )

#(define toplevel-book-handler
  (lambda ( . rest)
  (set! output-empty-score-list #f)
  (apply print-book-with-defaults rest)))

#(define toplevel-music-handler
  (lambda ( . rest)
   (apply collect-music-for-book rest)))

#(define toplevel-score-handler
  (lambda ( . rest)
   (apply collect-scores-for-book rest)))

#(define toplevel-text-handler
  (lambda ( . rest)
   (apply collect-scores-for-book rest)))

#(set! output-empty-score-list #t)


#(ly:set-option (quote no-point-and-click))
#(define inside-lilypond-book #t)
#(define version-seen #t)





From: Paul Harouff [mailto:[EMAIL PROTECTED] 
Sent: Monday, March 05, 2007 2:07 PM
To: Graham Percival
Cc: lilypond-user@gnu.org
Subject: Re: -b eps option (was RE: OOolilypond and openoffice 2.1)


Thanks, Graham.

I failed to mention that the -dbackend=eps option works outside of OOo. I
verified that before making the changes to Subs.xba.

I think this is some other script error inside OOoLilypond passing a bad
value to Lilypond, but I don't have a clue from the LilyPond error message
where to look. 

Even thinking about using LaTeX and LilyPondBook gives me chills. And while
LilyPond is great at handling musical notation, it is horrible at handling
text outside of a score (which is completely understandable - because that's
not what it's designed for). OOoLilypond looks like it could be a real
production tool for laying out hymnbooks and worship services, etc., by
combining the strengths of LilyPond and OOoWriter. I'm really excited to see
if I can get it working and try it out. 

Paul



On 3/4/07, Paul Harouff [EMAIL PROTECTED] wrote: 

Okay, I edited Subs.xba and replaced -b eps with -dbackend=eps in
all four
places.

Then I deleted the macro in OOo and reinstalled it, so it would load
the
changes.

Now, I get the following error:

GNU LilyPond 2.11.20
ERROR: In procedure symbol-string
ERROR: Wrong type argument in position 1 (expecting symbol): #t


The template file has the following:

\include  lilypond-book-preamble.ly
http://lilypond-book-preamble.ly 
#(set-global-staff-size 20)

\paper {
  #(define dump-extents #t)
  ragged-right = ##t
  line-width = 7.5\in
}

\layout {
  indent = #0
}

{
% ly snippet contents follows: 
c' d' e'
% end ly snippet
}

Paul


-Original Message-
From: Graham Percival [mailto:[EMAIL PROTECTED]
Sent: Sunday, March 04, 2007 6:05 PM 
To: Paul Harouff
Cc: 'Johan Vromans'; lilypond-user@gnu.org
Subject: Re: -b eps option (was RE: OOolilypond and openoffice 2.1)

Paul Harouff wrote:
 My problem is Lilypond 2.11.20 is not recognizing either
 -b eps or --backend=eps so the code fragment won't compile.

Please see the NEWS for 2.11.

Cheers,
- Graham







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


Not a lilypond-book-preamble.ly bug (was RE: -b eps option (was RE: OOolilypond and openoffice 2.1))

2007-03-11 Thread Paul Harouff
It helps if you include the = in the -dbackend=eps option. You can see
from my previous message that I read the documentation correctly. We all
make mistakes. :-)
 
Is it possible to include more helpful error messages for the command line
options, when somebody gets a chance?
 
It appears that I have OOoLilyPond working now, but there are some issues:
 
1. The default templates with OOoLilyPond assume simple notes, you have to
modify the templates to delete the { and } before and after the snippet in
order to accept a \score {} block. Since the discussions on the list
indicate that the project is leaning toward requiring \score {} blocks in
the future, the default templates probably need to be updated.
 
2. The eps images paste into the swriter file transparent, you can't view
and proofread the music until you print -- I can't figure out how to change
this. It's really annoying. The documentation says the image is supposed to
be in low resolution, not invisible.
 
3. The temporary files are in the C:\WINDOWS\Temp directory, if you have
find the OOoLilypond.ly and OOoLilypond.out files to debug a problem.
Looking at the OOoLilypond.ly file is the only way to see how your music
snippet really looks to the LilyPond compiler.
 
Paul

  _  

From: Paul Harouff [mailto:[EMAIL PROTECTED] 
Sent: Monday, March 05, 2007 2:07 PM
To: Graham Percival
Cc: lilypond-user@gnu.org
Subject: Re: -b eps option (was RE: OOolilypond and openoffice 2.1)


Thanks, Graham.

I failed to mention that the -dbackend=eps option works outside of OOo. I
verified that before making the changes to Subs.xba.

I think this is some other script error inside OOoLilypond passing a bad
value to Lilypond, but I don't have a clue from the LilyPond error message
where to look. 

Even thinking about using LaTeX and LilyPondBook gives me chills. And while
LilyPond is great at handling musical notation, it is horrible at handling
text outside of a score (which is completely understandable - because that's
not what it's designed for). OOoLilypond looks like it could be a real
production tool for laying out hymnbooks and worship services, etc., by
combining the strengths of LilyPond and OOoWriter. I'm really excited to see
if I can get it working and try it out. 

Paul



On 3/4/07, Paul Harouff [EMAIL PROTECTED] wrote: 

Okay, I edited Subs.xba and replaced -b eps with -dbackend=eps in all four
places.

Then I deleted the macro in OOo and reinstalled it, so it would load the
changes.

Now, I get the following error:

GNU LilyPond 2.11.20
ERROR: In procedure symbol-string
ERROR: Wrong type argument in position 1 (expecting symbol): #t


The template file has the following:

\include   http://lilypond-book-preamble.ly lilypond-book-preamble.ly
#(set-global-staff-size 20)

\paper {
  #(define dump-extents #t)
  ragged-right = ##t
  line-width = 7.5\in
}

\layout {
  indent = #0
}

{
% ly snippet contents follows: 
c' d' e'
% end ly snippet
}

Paul


-Original Message-
From: Graham Percival [mailto:[EMAIL PROTECTED]
Sent: Sunday, March 04, 2007 6:05 PM 
To: Paul Harouff
Cc: 'Johan Vromans'; lilypond-user@gnu.org
Subject: Re: -b eps option (was RE: OOolilypond and openoffice 2.1)

Paul Harouff wrote:
 My problem is Lilypond 2.11.20 is not recognizing either
 -b eps or --backend=eps so the code fragment won't compile.

Please see the NEWS for 2.11.

Cheers,
- Graham




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


Re: -b eps option (was RE: OOolilypond and openoffice 2.1)

2007-03-05 Thread Paul Harouff

Thanks, Graham.

I failed to mention that the -dbackend=eps option works outside of OOo. I
verified that before making the changes to Subs.xba.

I think this is some other script error inside OOoLilypond passing a bad
value to Lilypond, but I don't have a clue from the LilyPond error message
where to look.

Even thinking about using LaTeX and LilyPondBook gives me chills. And while
LilyPond is great at handling musical notation, it is horrible at handling
text outside of a score (which is completely understandable - because that's
not what it's designed for). OOoLilypond looks like it could be a real
production tool for laying out hymnbooks and worship services, etc., by
combining the strengths of LilyPond and OOoWriter. I'm really excited to see
if I can get it working and try it out.

Paul


On 3/4/07, Paul Harouff [EMAIL PROTECTED] wrote:


Okay, I edited Subs.xba and replaced -b eps with -dbackend=eps in all four
places.

Then I deleted the macro in OOo and reinstalled it, so it would load the
changes.

Now, I get the following error:

GNU LilyPond 2.11.20
ERROR: In procedure symbol-string
ERROR: Wrong type argument in position 1 (expecting symbol): #t


The template file has the following:

\include lilypond-book-preamble.ly
#(set-global-staff-size 20)

\paper {
  #(define dump-extents #t)
  ragged-right = ##t
  line-width = 7.5\in
}

\layout {
  indent = #0
}

{
% ly snippet contents follows:
c' d' e'
% end ly snippet
}

Paul


-Original Message-
From: Graham Percival [mailto:[EMAIL PROTECTED]
Sent: Sunday, March 04, 2007 6:05 PM
To: Paul Harouff
Cc: 'Johan Vromans'; lilypond-user@gnu.org
Subject: Re: -b eps option (was RE: OOolilypond and openoffice 2.1)

Paul Harouff wrote:
 My problem is Lilypond 2.11.20 is not recognizing either
 -b eps or --backend=eps so the code fragment won't compile.

Please see the NEWS for 2.11.

Cheers,
- Graham


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


-b eps option (was RE: OOolilypond and openoffice 2.1)

2007-03-04 Thread Paul Harouff
On the highlighted line in the basic editor, change the (i-1) to (i) and the
next time you type Ctrl-M the edit window will work.

My problem is Lilypond 2.11.20 is not recognizing either 
-b eps or --backend=eps so the code fragment won't compile.

Paul

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Johan
Vromans
Sent: Sunday, March 04, 2007 3:22 PM
To: lilypond-user@gnu.org
Subject: Re: OOolilypond and openoffice 2.1

luis jure [EMAIL PROTECTED] writes:

 i wanted to report that i couldn't make the plug-in work with
 openoffice 2.1 on linux (gentoo). the plug-in installs and opens its
 window, but it fails to compile any code, with this message:

 lilypond: /usr/lib/openoffice/program/libstdc++.so.6: version
 'CXXABI_1.3.1' not found (required by lilypond)

Hmm. You get farther than I... When I try to use the macro with Ctrl-M
I get the BASIC debugger on an Index out of range in ListTemplates.

-- Johan


___
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: -b eps option (was RE: OOolilypond and openoffice 2.1)

2007-03-04 Thread Paul Harouff
Okay, I edited Subs.xba and replaced -b eps with -dbackend=eps in all four
places.

Then I deleted the macro in OOo and reinstalled it, so it would load the
changes.

Now, I get the following error:

GNU LilyPond 2.11.20
ERROR: In procedure symbol-string
ERROR: Wrong type argument in position 1 (expecting symbol): #t


The template file has the following:

\include lilypond-book-preamble.ly
#(set-global-staff-size 20)

\paper {
  #(define dump-extents #t)
  ragged-right = ##t
  line-width = 7.5\in
}

\layout {
  indent = #0
}

{
% ly snippet contents follows:
c' d' e'
% end ly snippet
}

Paul
 

-Original Message-
From: Graham Percival [mailto:[EMAIL PROTECTED] 
Sent: Sunday, March 04, 2007 6:05 PM
To: Paul Harouff
Cc: 'Johan Vromans'; lilypond-user@gnu.org
Subject: Re: -b eps option (was RE: OOolilypond and openoffice 2.1)

Paul Harouff wrote:
 My problem is Lilypond 2.11.20 is not recognizing either 
 -b eps or --backend=eps so the code fragment won't compile.

Please see the NEWS for 2.11.

Cheers,
- Graham



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


How to use global variables with \Markup

2007-02-04 Thread Paul Harouff
I want to alternate markup text verses (reader) with scores (choir). The
text verses change from week to week, but the scores remain the same.
 
What I want to do is something like this:
 
%
% VERSES HERE
%
BVone = \new Text { Enter verse one text here }
BVtwo = \new Text { Enter verse two text here }
BVthree = \new Text { Enter verse three text here }
 
%
% MUSIC HERE
%
\score {
}
\markup { \hspace #5.0  \fontsize #2 \italic \with-color #red \override
#'(line-width . 90) \justify \BVone
}

\score {
}
\markup { \hspace #5.0  \fontsize #2 \italic \with-color #red \override
#'(line-width . 90) \justify \BVtwo
}

\score {
}
\markup { \hspace #5.0  \fontsize #2 \italic \with-color #red \override
#'(line-width . 90) \justify \BVthree
}

 
Can anyone tell me a workaround that will do the same thing?
 
Paul
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Page Break in Markup block

2006-12-31 Thread Paul Harouff
It's easy to break pages inside a Score block, but I need to break the page
before a Markup block before the score.
 
Paul
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


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

2006-12-29 Thread Paul Harouff
I've been using Lilypond for the past week and just installed Lily4jEdit. I
am transcribing a complete Eastern Orthodox Christmas Vigil church service
from Russian Znamenny Chant to English and am extremely frustrated at how
hard it is to troubleshoot command errors. It's taken me 4 days to get only
3 hymns done because all the undocumented tweaks that I've had to search
for. It took me 4 hours just to figure out how to turn off the time
signature. I'm still having trouble with text running off the page or
getting centered in the margins instead of over or under the score. 
 
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.
Unfortunately, the justification is less than desirable because the quoted
text is not padded, but it's readable.
 
I was expecting to have the whole service completed while I was on vacation
this week. I've been having to compile after every measure to catch my
errors in phrasing the English to the Russian melody. I'm hoping that using
jEdit will help speed up the process, if I can figure out how to get the
hyperlinks between the console and pdf windows working.
 
Anyway ... the bug:
 
My very first attempted procedure using the jEdit plugin was to update my
file from 2.9.17 to 2.11.2.
 
I noticed that Convert-ly will not accept path names with spaces. I don't
know if this bug is already reported or if the problem is the plugin is not
passing the filename to Convert-ly with the path quoted properly. I had to
map a drive letter to the folder where the file is located and remove spaces
from the filename before the update would process.
 
Paul
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Another Chant Notation Question

2006-12-29 Thread Paul Harouff
The next hymn I am transcribing has optional melismas offset with brackets
on the staff.
 
What is the simplest way to insert [ and ] around the notes? Ideally
something like \bar [ would be great.
 
Paul
___
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 Paul Harouff
Parentheses will work. I've seen it both ways.

Paul 

-Original Message-
From: Geoff Horton [mailto:[EMAIL PROTECTED] 
Sent: Friday, December 29, 2006 3:13 PM
To: Paul Harouff
Cc: lilypond-user@gnu.org
Subject: Re: Another Chant Notation Question

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