Re: Which frontend?

2006-05-02 Thread Bertalan Fodor
Well, I'm a bit disappointed about what you said about the 
jEdit+LilyPondTool set.
- I can confirm that setting up everything may be more than just to 
apt-get something. However, as far as I see you may get LilyPondTool 
running by just downloading Java, jEdit and making three clicks with 
your mouse in jEdit. Perhaps you also need to configure some properties, 
but that's quite natural.
- We don't have a lyqi-mode yet, that's true. We'd like to do one, but 
didn't have the time yet, so it's half-made.


However, LilyPondTool is created for some very important purpose, and 
some unique features:
- code completion - if you like browsing the documentation all the way 
to find out the exact name and syntax of properties and commands, or you 
can remember everything you need, don't use it
- score setup wizard with customizable templates - if you can easily 
read and remember the structure of a LilyPond file, and you can find and 
modify an appropriate lilypond file faster and easier than visually 
setting up the score and selecting its properties, and then don't use it
- lilypond documentation in indexed full-text searchable help - if you 
like browsing some 10MB HTML files instead of just entering some 
keywords and quickly browse through the hits, then don't use it
- instant error report - if you never make any mistakes, and you always 
close your braces and beams and slurs, then don't use it
- automatic hyphenation of lyrics - if you write lyrics, but you find it 
easier to manually hyphenate it, instead of leaving it to the OpenOffice 
hyphenation dictionaries, and just making some corrections (which are 
needed because text hyphenation is not the same as lyrics), don't use it
- macros and templates for many LilyPond constructs and it's easy to 
create new ones - repeats, articulations applied to note blocks, text 
markups, general tweaks


I must admit that we have some not-working features, but have much more 
working features than emacs has. And (besides lyqi) we have all features 
working that emacs has.


Bert



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


Re: Which frontend?

2006-05-02 Thread Thomas Scharkowski
Thank you for providing LilyPondTool!
I have been working with LilyPondTool since I first tried it and it helps me a 
lot. Works well on Windows XP and Kanotix/Debian.
No need for a graphical frontend for me.

Thomas


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


Object hierarchy in LilyPond?

2006-05-02 Thread Tomas Valusek

Hello,

I'm trying to figure out an overall object hierarchy of LilyPond. The 
only way I've discovered so far is to traverse programmers guide and 
follow links. But this is very tedious, since if I want to get something 
done in non-default way, this approach is very confusing.


Could someone please prepare series of charts starting at the reasonable 
abstract level and ending with hierarchy of all LilyPond object, 
contexts and however tha various LilyPond parts are named?


Thank you.

Tomas Valusek


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


Re: Which frontend?

2006-05-02 Thread Matevz Jekovec
I personally prefer JLilyPondTool myself over other tools (ok, NoteEdit
is a composition tool and cannot count - it's not a typesetter). It's
completely cross-platform like Jedit, it's simply installed in Jedit by
Plugins-Plugin manager..., update list, select jlilypondtool to
install. Beside the features below, I'd like to mention some nice
buttons in the toolbar (like run lily, run convert-ly, show preview in
gs, show preview in pdf, playback the score) and some shortcuts for
things like insert tempo marking, spanner, disable bar numbers etc.

I'd like to thank the author for JLilyPondTool, because it speeds up the
typesetting in Lily for me very much!

Regards.
- Matevž

Bertalan Fodor wrote:
 Well, I'm a bit disappointed about what you said about the
 jEdit+LilyPondTool set.
 - I can confirm that setting up everything may be more than just to
 apt-get something. However, as far as I see you may get LilyPondTool
 running by just downloading Java, jEdit and making three clicks with
 your mouse in jEdit. Perhaps you also need to configure some
 properties, but that's quite natural.
 - We don't have a lyqi-mode yet, that's true. We'd like to do one, but
 didn't have the time yet, so it's half-made.

 However, LilyPondTool is created for some very important purpose, and
 some unique features:
 - code completion - if you like browsing the documentation all the way
 to find out the exact name and syntax of properties and commands, or
 you can remember everything you need, don't use it
 - score setup wizard with customizable templates - if you can easily
 read and remember the structure of a LilyPond file, and you can find
 and modify an appropriate lilypond file faster and easier than
 visually setting up the score and selecting its properties, and then
 don't use it
 - lilypond documentation in indexed full-text searchable help - if you
 like browsing some 10MB HTML files instead of just entering some
 keywords and quickly browse through the hits, then don't use it
 - instant error report - if you never make any mistakes, and you
 always close your braces and beams and slurs, then don't use it
 - automatic hyphenation of lyrics - if you write lyrics, but you find
 it easier to manually hyphenate it, instead of leaving it to the
 OpenOffice hyphenation dictionaries, and just making some corrections
 (which are needed because text hyphenation is not the same as lyrics),
 don't use it
 - macros and templates for many LilyPond constructs and it's easy to
 create new ones - repeats, articulations applied to note blocks, text
 markups, general tweaks

 I must admit that we have some not-working features, but have much
 more working features than emacs has. And (besides lyqi) we have all
 features working that emacs has.

 Bert



signature.asc
Description: OpenPGP digital signature
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Macro pre-processing?

2006-05-02 Thread Han-Wen Nienhuys

Graham Percival schreef:
In all honesty, I'm with Geoff on this one.  All the #() stuff looks 
scary, and having the parser location non-arguments (I mean, they're 
never referenced in the actual code) was the straw that broke my 


They are if you do real-world stuff. In particular, the location 
argument is there so you give a warning message with the correct line 
numbers, using


  (ly:input-message location this is an error)

the parser argument is there so you can access parser state (eg. for 
defining new variables).


This discussion about having macros and whatnot (which inevitably comes 
with supposedly easier to understand fragments pseudo-code) is the 
umpteenth one.


Be warned that I won't accept patches that attempt to add any ad-hoc 
programming/macro language features. This has been my position for the 
last 10 years, and I don't see any reason to change it.


I recommend that people read the GUILE rationale [1] before they attempt 
to do any cute easy syntax design first.


[1] http://www.gnu.org/software/guile/guile.html#whatisit

  The true cost of doing it yourself


--

Han-Wen Nienhuys - [EMAIL PROTECTED] - http://www.xs4all.nl/~hanwen

LilyPond Software Design
 -- Code for Music Notation
http://www.lilypond-design.com



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


Re: Which frontend?

2006-05-02 Thread Eyolf Ostrem
On Tue 02 May 2006 08:31, Bertalan Fodor wrote:
 Well, I'm a bit disappointed about what you said about the
 jEdit+LilyPondTool set.
 - I can confirm that setting up everything may be more than just to
 apt-get something. However, as far as I see you may get LilyPondTool
 running by just downloading Java, jEdit and making three clicks with
 your mouse in jEdit. Perhaps you also need to configure some properties,
 but that's quite natural.

I'm sorry if I have offended anyone. I certainly didn't mean to be negative 
about the program, just to point out that (1) it didn't work for me, because 
of all the java errors I got. As I said, this may not be the fault of 
Lilypond-mode, but as long as all the nice functions don't work, all I have 
is a 15 Mb download... - especially since (2) I've found a tool that works 
perfectly to my satisfaction in emacs/lilypond-mode. This is not to say that 
other equivalent tools are bad. I did notice the features you mention, and 
found them very useful, especially the macro/template function, and the error 
report (although most of the errors I make are 'typos' - writing a wrong note 
value here and there - which a syntactical error checker will not find).
But a lyqi-mode - if you can implement that, that would be a great step 
forward. (and to continue my previous parenthesis: a great enhancement to the 
lyqi-mode, or a lyqi-like (lookalike?) mode, would be to have a note 
following a dotted note automatically set to the next shorter value (e2.  
f4) unless it's the basic time unit (in 3/4: e2.  f2.). )

I promise that I'll have another go at jEdit whenever a new version of java 
comes out for my distro :-)

Eyolf


-- 
Never offend people with style when you can offend them with substance.
-- Sam Brown, The Washington Post, January 26, 1977


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


Re: Vertical spacing of lyrics

2006-05-02 Thread Eduardo Vieira
Hello Lothar, 
You didn't say the version you're using, but by your example it is too old 
to even compile in the latest version (2.8.0). Well, after I removed \notes, 
it did. My first advice is to upgrade you version. 
Addressing your need, I think the easiest way is just remove 
 \lyricsto one \new Lyrics {  Lu lu lu lu  } 

And add these words to the first lyricsto: 
 La la la la Lu lu lu lu 

As to the vertical spacing between lines of lyrics, I'll give you a hint. 
See in the manual the SATB template, a line that ends with extent. 

Good luck! 

Eduardo Vieira 


- Original Message - 
From: Lotharster [EMAIL PROTECTED] 
To: lilypond-user@gnu.org 
Sent: Monday, May 01, 2006 5:19 PM 
Subject: Vertical spacing of lyrics 


 
 I have 2 problems with the vertical spacing of lyrics: 
 
 1.) When rendering the lilypond file below, there is very much space 
between 
 the two lyrics lines. How can I reduce that space? 
 
 2.) The third part (Lu lu ...) is should be set at the same height as 
the 
 first part (La la ...).  How can I achieve that? 
 
 Attached is a picture of the rendered output 
 
 Regards, 
 
 Lothar 
 
 
 The lilypond file: 
 
 \score { 
  
 \context Voice = one { 
 \override Staff.TimeSignature #'style = #'() % 4/4 
 Takt-Zeichen 
 \clef violin 
 \time 4/4 
 \notes \relative c' { 
 c4 d e f 
 g4 f e d 
 } 
 } 
 \lyrics { 
  
 \lyricsto one \new Lyrics { 
 La la la la 
 } 
 \lyricsto one \new Lyrics { 
 Lo lo lo lo 
 } 
  
 \lyricsto one \new Lyrics { 
 Lu lu lu lu 
 } 
 } 
 
 
  
 } 


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


Re: Guitar Chords

2006-05-02 Thread Ed Ardzinski
Chord Mode apparently has little utility in actually scoring notes, unless 
you want to use block chords.  You could try to use fret diagrams with 
markup, or I think you are stuck manually scoring your chords on a staff.


Even if six note chords could be specified it would still be restrictive.  
There are too many ways a guitar chord could be voiced, IMO.


Besides, guitarists don't actually read music, do they? ;-)

(just kidding, this guitarist does...)

_
Don’t just search. Find. Check out the new MSN Search! 
http://search.msn.click-url.com/go/onm00200636ave/direct/01/




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


Re: Which frontend?

2006-05-02 Thread Artur Rataj

Hello!

Is there any front end that allow for skipping between different staffs?
For example, if the cursor is at a certain note in one staff, after
pressing some key the cursor would jump to a respective note in
another staff?

Thanks,
Artur


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


Re: Macro pre-processing?

2006-05-02 Thread Mats Bengtsson

Quoting Han-Wen Nienhuys [EMAIL PROTECTED]:


Be warned that I won't accept patches that attempt to add any ad-hoc 
programming/macro language features. This has been my position for 
the last 10 years, and I don't see any reason to change it.


One reason is that we already have it, although it's well hidden in the 
manual and described in a way that will scare most people

from even trying to use it, even though it in fact is very easy
and powerful.

   /Mats



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


Re: Macro pre-processing?

2006-05-02 Thread Mats Bengtsson

Quoting Han-Wen Nienhuys [EMAIL PROTECTED]:


Graham Percival schreef:
In all honesty, I'm with Geoff on this one.  All the #() stuff looks 
scary, and having the parser location non-arguments (I mean, 
they're never referenced in the actual code) was the straw that 
broke my


They are if you do real-world stuff. In particular, the location 
argument is there so you give a warning message with the correct line 
numbers, using


  (ly:input-message location this is an error)

the parser argument is there so you can access parser state (eg. 
for defining new variables).


Another issue is that real-world stuff for you is something 
completely different than doing real-world stuff for most
users. They want to be able to typeset music in an efficient way, you 
want to make a beautiful flexible program.


With all respect

  /Mats



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


Betweensystemspace

2006-05-02 Thread Jeffrey Philpott

Hallo,

I'm trying to put together several pieces of music using lilypond-book
and Latex.
Whenever a piece has several voices, then the default betweensystemspace
doesn't get taken over into the output, and the systems are very (too)
close together.
Setting betweensystemspace or padding explicitly in \paper also doesn't 
make any

difference. Is there any way of getting around this?

Debian (Kanotix) Kernel 2.6.16. Lilypond 2.6.3

Thanks.
--
Jeffrey Philpott




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


Re: Betweensystemspace

2006-05-02 Thread Mats Bengtsson

It's very hard to guess exactly what you tried without seeing
the actual files.

Also, you will get much better assistance from the mailing
list if you clarify the following:

- Have you verified that it's anything particular for lilypond-book
 or do you see the same in scores typeset directly with lilypond?

- Do you mean several staves, when you say several voices?

I hope you have realized that betweensystemspace only determines
the distance between the systems (score lines) not between the staves 
within the same line of the score.


  /Mats

Quoting Jeffrey Philpott [EMAIL PROTECTED]:


Hallo,

I'm trying to put together several pieces of music using lilypond-book
and Latex.
Whenever a piece has several voices, then the default betweensystemspace
doesn't get taken over into the output, and the systems are very (too)
close together.
Setting betweensystemspace or padding explicitly in \paper also 
doesn't make any

difference. Is there any way of getting around this?

Debian (Kanotix) Kernel 2.6.16. Lilypond 2.6.3

Thanks.
--
Jeffrey Philpott




___
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: Staff: vertical spacing, reduce chord name distance

2006-05-02 Thread Mats Bengtsson

Quoting Daniel Johnson [EMAIL PROTECTED]:


Thomas Scharkowski wrote:
IIRC in previous versions I could reduce the distance between a 
staff and chord symbols by this command:


\set Staff.minimumVerticalExtent = #'(-4 . 1)

In 2.8.1 this is:
\override Staff.VerticalAxisGroup #'minimum-Y-extent = #'(-4 . 1)

or did I get something wrong?
Reducing the space this way dos not work here, increasing does work.
Can anyone point me in the right direction?

Thank you
Thomas
Windows XP

You can see what the required code is here; you can also see a bug 
related to it:

http://www.mail-archive.com/bug-lilypond%40gnu.org/msg07067.html

In short, you need to set minimum-Y-extent to false, and then set 
Y-extent to an absolute value instead.  But you may encounter 
stem-length errors on beamed notes.  As far as I can tell, this 
problem has not yet been addressed, even in CVS.  The bug was 
introduced when the VerticalAxisGroup interface was added to the 
Staff context about midway through the 2.7 development cycle.


If you try the example in 
http://lists.gnu.org/archive/html/lilypond-user/2006-04/msg00745.html
you will realize why this solution almost never is what you want. Are 
you sure that the reason that you didn't see any difference in the 
example starting this thread was that something in the stave (the G 
clef or a high note or a text script or ...) was placed so high

above the stave that it was more limiting than the minimum-Y-extent
setting?

  /Mats



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


Re: Macro pre-processing?

2006-05-02 Thread Rick Hansen (aka RickH)

Macro pre-processors should generate source code, and stream it in, period. 
Macros have nothing to do with compilation or scheme or c++ or anything else
in lilypond.  They should just provide some logical constructs like
IF/THEN/ELSE, LOOPING, and CASE, and other functions like
concatenation/replacement of strings.  Allowing one to stream unvalidated
strings as source code emerging from a macro, note the macro should not care
if the outputted source is valid or not, the macro should not even know it's
outputting source code for lilypond, for that matter.  Compile time will
tell you your errors and if your macros is generating garbage or not.

I currently have a 10,000 line LP file that I would LOVE to shorten up by
having a flexible macro-pre-processor to generate the source code for me
instead of me copy/pasting every time I want to add something.  (this
particular file is a guitar chords library of fret markups and growing).  It
has about 5 or 6 lines of source per fret diagram, I know I can write a
macro to generate the source code one line per chord in all enharmonic root
spellings.

Currently each chord with all roots across 20 frets means about 150 source
code lines per chord, that could be one source code line with the
availability of a macro processor.  But with the current music function the
compiler keeps getting in my way before I can generate the source code.

I just want to output strings into the input stream dynamically, that goes
beyond \include files and offers concat, replacement of tokens, and some
rudimentary logical constructs, etc. at PRE-compile-time, empasize at
PRE-COMPILE-TIME.


--
View this message in context: 
http://www.nabble.com/Macro-pre-processing--t1406795.html#a4182421
Sent from the Gnu - Lilypond - User forum at Nabble.com.



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


ChoirStaff: system, staff, and measure number spacing

2006-05-02 Thread Benedict Singer

Hi all,

I've been using LilyPond for a while now, and am starting to reach the 
point where I need to tweak things slightly more than the manual makes 
clear. Specifically, I have an SATB vocal piece layed out on a 
ChoirStaff, and I'd like to tweak the following things:


1) Currently LilyPond lays out 2 systems per page, one at the top and 
one at the bottom. I'd prefer them spaced a little more evenly on the 
page (ie about the same amount of space between them as is below the 
second one).


2) I'd like a little more space between lines in the same system; I also 
suspect I'll need this when I start putting dynamics in.


3) I like the look of the ChoirStaff bracketing the parts together, but 
the problem is that the bracket collides with the measure numbers at the 
beginning of each line. This could be solved by tweaking them up a bit, 
but again, not sure how.


I started looking up how to override/tweak properties, but I'm unclear 
on things such as determining the contexts, and exactly where in the 
source file these tweaks should be placed. Even seeing how to do just 
one of these things would probably enable me to get them all. Thanks much!


Benedict


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


Re: Betweensystemspace

2006-05-02 Thread Jeffrey Philpott

Mats Bengtsson schrieb:

It's very hard to guess exactly what you tried without seeing
the actual files.

Also, you will get much better assistance from the mailing
list if you clarify the following:

- Have you verified that it's anything particular for lilypond-book
 or do you see the same in scores typeset directly with lilypond?

- Do you mean several staves, when you say several voices?

I hope you have realized that betweensystemspace only determines
the distance between the systems (score lines) not between the staves 
within the same line of the score.


  /Mats

Quoting Jeffrey Philpott [EMAIL PROTECTED]:


Hallo,

I'm trying to put together several pieces of music using lilypond-book
and Latex.
Whenever a piece has several voices, then the default betweensystemspace
doesn't get taken over into the output, and the systems are very (too)
close together.
Setting betweensystemspace or padding explicitly in \paper also 
doesn't make any

difference. Is there any way of getting around this?

Debian (Kanotix) Kernel 2.6.16. Lilypond 2.6.3

Thanks.
--
Jeffrey Philpott




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







Hallo Mats,

Sorry for not being too clear on the subject, here's another try!

Output of Lilypond itself is perfect, it seems to be lilypond-book.

As long as I have one stave then the distances are good. As soon as I 
use several staves (which I inadvertently called voices), then 
lilypond-book closes the distance between the systems, and this distance 
cannot be changed by any tweaks(?).

Which is my question.
I still have to try to see if I can change the distance between the 
systems when I have only one stave.


--
Jeffrey Philpott



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


Re: Macro pre-processing?

2006-05-02 Thread Erik Sandberg
Citerar Rick Hansen (aka RickH) [EMAIL PROTECTED]:

 
 Macro pre-processors should generate source code, and stream it in, period. 

 I just want to output strings into the input stream dynamically, that goes
 beyond \include files and offers concat, replacement of tokens, and some
 rudimentary logical constructs, etc. at PRE-compile-time, empasize at
 PRE-COMPILE-TIME.

Why don't you use an existing general-purpose preprocessor (m4, cpp, gpp, ..)?

Erik


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


Re: Kile and Lilypond-Book Howto

2006-05-02 Thread Eyolf Ostrem
On Tue 02 May 2006 06:23, Josiah Boothby wrote:
 On 5/1/06, Lothar Schmid [EMAIL PROTECTED] wrote:
   ... For lilypond-book projects, I
   have set Kile up to make things easy. ...
 
   How did you set up Kile? I tried to configure it to produce output with
  lilypond, but gave up after two hours in frustration. A small Howto would
  be really great!

 Go to Settings - Configure Kile... - Build

[etc]

Wonderful instructions! Thanks.

eyolf
-- 
Look, we play the Star Spangled Banner before every game.  You want us
to pay income taxes, too?
-- Bill Veeck, Chicago White Sox


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


Re: Block diagram of LilyPond

2006-05-02 Thread Carrick Patterson
Title: Re: Block diagram of LilyPond



I bet what is meant here is a block diagram of contexts and whatever. I'd find that useful as well.

From: Mats Bengtsson [EMAIL PROTECTED]
Date: Sat, 29 Apr 2006 18:16:05 +0200
To: Tomas Valusek [EMAIL PROTECTED]
Cc: lilypond-user@gnu.org
Subject: Re: Block diagram of LilyPond

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.

/Mats

Quoting Tomas Valusek [EMAIL PROTECTED]:

 Hello,

 has anyone created a block diagram of LilyPond, which would show data 
 flow, relationship between various modules, etc? It would be great 
 help for obtaining global idea what LilyPond's about.

 Tomas Valusek


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






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




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


Re: Macro pre-processing?

2006-05-02 Thread David Feuer

On 5/2/06, Rick Hansen (aka RickH) [EMAIL PROTECTED] wrote:


Macro pre-processors should generate source code, and stream it in, period.
Macros have nothing to do with compilation or scheme or c++ or anything else
in lilypond.


I much prefer the way Scheme handles macros.  It seems somewhat
unlikely, but I wonder if it would be possible to create a macro
system for LilyPond that makes a smooth transition into a macro system
for Scheme.  It would, I think, generally be cool if LilyPond meshed
better with Scheme.  I guess such things will be easier to explore
once music streams are finished.

David


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


Re: Macro pre-processing?

2006-05-02 Thread Rick Hansen (aka RickH)

Probably becasause I'm unaware of them.  I spend my spare time arranging
music and getting ready for gigs.

If there are canned macro processors that can do this then I should look
into learning one of them.  And if thats the case then maybe the developers
time would be better off being spent on core LP enhancements instead of
macros.

I will Google for something that may work for me.

Thanks



Erik Sandberg wrote:
 
 Citerar Rick Hansen (aka RickH) [EMAIL PROTECTED]:
 
 
 Macro pre-processors should generate source code, and stream it in,
 period. 

 I just want to output strings into the input stream dynamically, that
 goes
 beyond \include files and offers concat, replacement of tokens, and some
 rudimentary logical constructs, etc. at PRE-compile-time, empasize at
 PRE-COMPILE-TIME.
 
 Why don't you use an existing general-purpose preprocessor (m4, cpp, gpp,
 ..)?
 
 Erik
 
 
 ___
 lilypond-user mailing list
 lilypond-user@gnu.org
 http://lists.gnu.org/mailman/listinfo/lilypond-user
 
 

--
View this message in context: 
http://www.nabble.com/Macro-pre-processing--t1406795.html#a4197956
Sent from the Gnu - Lilypond - User forum at Nabble.com.



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


Re: Macro pre-processing?

2006-05-02 Thread Rick Hansen (aka RickH)

Thanks, being a musician I was unaware of such a program.  I'll go buy the m4
Windows XP version after I look at a demo version.

I need to generate chord fret markup of each chord form in all enharmonic
spellings at every neck position, as a \include library of diagrams.  This
is 200-300 lines of markup per chord, considering that I will be doing maybe
1000 or so chord forms, thats a big LP file of 200,000 lines or so and over
26,000 variable names (1000 chords times 26 enharmonic root name spellings
at all positions)!  Each markup is assigned to a different variable, then I
just do a \include of this chord library file to have all my chord forms
available when doing arrangements.  I have a naming standard where the
variable names dont get duplicated, I just need a macro processor to
generate each diagram at all fret positions and with all the possible
enharmonic root names.  Having this library will same future time not having
to re-create the diagrams from scratch in each song.


--
View this message in context: 
http://www.nabble.com/Macro-pre-processing--t1406795.html#a4198607
Sent from the Gnu - Lilypond - User forum at Nabble.com.



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


Re: Guitar Chords

2006-05-02 Thread Rick Hansen (aka RickH)

Here is a recent arrangement I did of Danny Boy using only the fretboard
markup commands:

http://www.windcrestsoftware.com/Rick/DannyBoy.pdf

It uses the terse syntax and does the chord names with markup also, it's
working out pretty good so I'll prpbably begin doing all may backlogged
arrangements similarly.  So I have complete control over the chord names. 
I'm a new LP user.  I'll be adding a polyphony staff too once I get the bass
line rhythm worked out, right now it only shows a melody line.



--
View this message in context: 
http://www.nabble.com/Re%3A-Guitar-Chords-t1542083.html#a4198156
Sent from the Gnu - Lilypond - User forum at Nabble.com.



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


Re: Macro pre-processing?

2006-05-02 Thread David Feuer

On 5/2/06, Rick Hansen (aka RickH) [EMAIL PROTECTED] wrote:


Thanks, being a musician I was unaware of such a program.  I'll go buy the m4
Windows XP version after I look at a demo version.


m4 is free for Cygwin.

David


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


Re: Kile and Lilypond-Book Howto

2006-05-02 Thread Lothar Schmid
Thanks very much!

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


Re: Macro pre-processing?

2006-05-02 Thread joe ferguson
I have used M4 as a preprocessor, and it worked quite well.  Then I 
found out the proper construct for what I wanted to do, so I dropped it 
on that little project.  But I wouldn't hesitate to use it again if I 
got stuck like I was at that time.  M4: http://www.gnu.org/software/m4/


Werner LEMBERG wrote:


LilyPond is powerful, and I'd like to see more of that power made
more easily accessible. I'm not asking for changes to the basic
syntax at all--anything I'd come up with would be a totally optional
pre-pass system.
   



Try m4.


   Werner


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

 



--
Joe Ferguson




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


Re: Vertical spacing of lyrics

2006-05-02 Thread Lothar Schmid
On 5/2/06, Eduardo Vieira [EMAIL PROTECTED] wrote:
Hello Lothar,You didn't say the version you're using, but by your example it is too oldto even compile in the latest version (2.8.0). Well, after I removed \notes,it did. My first advice is to upgrade you version.

I'm using version 2.2.6. I'd like to upgrade, but 2.2.6 is the only
version that is supported by my distribution (debian sarge). As far as
I know, there are no .deb - packages available.Addressing your need, I think the easiest way is just remove
 \lyricsto one \new Lyrics {Lu lu lu lu}And add these words to the first lyricsto: La la la la Lu lu lu lu
The problem is that I am working on a larger song, which contains
several double lines, as well as some longer sections with only one
lyrics line. Adding all these lines to one lyrics _expression_
would be very difficult. Isn't there some easier way? 

As to the vertical spacing between lines of lyrics, I'll give you a hint.See in the manual the SATB template, a line that ends with extent.

Thanks, that one worked! 
Good luck!Eduardo Vieira
Thanks for your advice,

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


Re: Macro pre-processing?

2006-05-02 Thread darius
I've used it quite a bit as well, but that was a couple of
years ago. More recently, Han-Wen has shown be how I could
achieve most of what I needed using better integrated constructs.

M4 worked fine, quoting kind of killed me though...

D.

Quoting joe ferguson [EMAIL PROTECTED]:

 I have used M4 as a preprocessor, and it worked quite well.  Then I 
 found out the proper construct for what I wanted to do, so I dropped it 
 on that little project.  But I wouldn't hesitate to use it again if I 
 got stuck like I was at that time.  M4: http://www.gnu.org/software/m4/
 
 Werner LEMBERG wrote:
 
 LilyPond is powerful, and I'd like to see more of that power made
 more easily accessible. I'm not asking for changes to the basic
 syntax at all--anything I'd come up with would be a totally optional
 pre-pass system.
 
 
 
 Try m4.
 
 
 Werner
 
 
 ___
 lilypond-user mailing list
 lilypond-user@gnu.org
 http://lists.gnu.org/mailman/listinfo/lilypond-user
 
   
 
 
 -- 
 Joe Ferguson
 
 
 
 
 ___
 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


Bar numbers collision

2006-05-02 Thread Enrico Licini
Is this bug going to be correct?
A whole month is passed ad this bug is still in the stable release of 
lilypond :-( 


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


Re: Macro pre-processing?

2006-05-02 Thread Paul Scott

David Feuer wrote:
On 5/2/06, Rick Hansen (aka RickH) [EMAIL PROTECTED] 
wrote:


Thanks, being a musician I was unaware of such a program.  I'll go 
buy the m4

Windows XP version after I look at a demo version.


m4 is free for Cygwin.
cygwin isn't even necessary.  A lot of GNU (free) software has been 
ported to MS Windows.  Just Google for 'm4 for Windows'.


Paul Scott



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


rest positioning failure

2006-05-02 Thread Martin Bergande
dear all,

why does b4/rest in the following file.ly position the rest - exactly like
r4 - to f'' (see the attached pdf output), while a4/rest and c4/rest
would work as expected? Is there a special command apart from tweaking to
enforce the b' position?

martin

% start file.ly

\version 2.7.40

\score { 

  \context PianoStaff  

\new Staff  { \override Score.BarNumber #'break-visibility =
#all-invisible  

% Sopran

  { \key f \major \relative c'
{ \partial 4*1 f a g a bes c2 a4\fermata
  d c bes a g a2 \fermata
  b4\rest c d e f e d2 c4\fermata
  a bes a g g f2.\fermata \bar |. } } \\ 

% Alt

  { \relative c' { } } 
  
}

\new Staff {  

% Tenor

  { \clef F \key f \major \relative c 
{ } } \\ 

% Bass

  { \relative c 
{ \hideNotes 

  c4 c c c c c c c 
  c4 c c c c c c c 
  c4 c c c c c c c 
  c4 c c c c c c c \unHideNotes } }

 } 

  

  \layout { 

indent = 00
ragged-right = ##t
ragged-last = ##t

  \context { }
  }

  \midi { 

  \tempo 4 = 92 
  }

}

% end file.ly



-- 
Analog-/ISDN-Nutzer sparen mit GMX SmartSurfer bis zu 70%!
Kostenlos downloaden: http://www.gmx.net/de/go/smartsurfer

choraltest.pdf
Description: Adobe PDF document
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Vertical spacing of lyrics

2006-05-02 Thread Eduardo Vieira
Lothar wrote: 
I'm using version 2.2.6. I'd like to upgrade, but 2.2.6 is the only version 
that is supported by my distribution (debian sarge). As far as I know, there 
are no .deb - packages available. 

Don't those universal installers that Lilypond provides work for your 
system? 

The problem is that  I am working on a larger song, which contains several 
double lines, as well as some longer sections with only one lyrics line. 
Adding all these lines to one  lyrics expression would be very difficult. 
Isn't there some easier way? 

You could try this. I don't know if it will be easier: 

\context Voice = one { ... } \context Voice = two { ... } etc 
then assign lyrics to each Voice that will correspond to a section of your 
score, like: 
\context Lyrics = verseone \lyricsto one { ... } 
\context Lyrics = verseone \lyricsto two { ... } 
\context Lyrics = verseTwo \lyricsto one { ... } 

I hope I didn't confuse you even more:) 

Eduardo Vieira 


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


Hara_kiri_engraver

2006-05-02 Thread Stephen

How do I specifiy a specific Staff?

\remove Axis_group_engraver \consistsHara_kiri_engraver
I don't want this to apply to the PianoStaff.

Stephen


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


Re: Block diagram of LilyPond

2006-05-02 Thread Erik Sandberg
On Saturday 29 April 2006 12:30, Tomas Valusek wrote:
 Hello,

 has anyone created a block diagram of LilyPond, which would show data
 flow, relationship between various modules, etc? It would be great help
 for obtaining global idea what LilyPond's about.

I have a created one in my master thesis, see
home.student.uu.se/ersa9195/report.pdf

it is however incomplete because the thesis is quite unrelated to the back-end 
parts of lily (so it won't help you with grobs, for example).

-- 
Erik



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


Re: Hara_kiri_engraver

2006-05-02 Thread Stephen


- Original Message - 
From: Stephen [EMAIL PROTECTED]

To: lilypond-user@gnu.org
Sent: Wednesday, May 03, 2006 12:14 AM
Subject: Hara_kiri_engraver



How do I specifiy a specific Staff?


I found the answer: use \with to bind a layout command to a specific Staff.
My score block looks like this:

\score { 
 \header { 
   piece = Moderately

 }
 
   \context Staff = Vocal 
 \with { 
   \remove Axis_group_engraver \consists Hara_kiri_engraver
 } \transpose c c' \melody 
   \lyricsto singer \context Lyrics \words
   \context PianoStaff  
 \context Staff = upper \transpose c c' \upper 
 \dynamics

 \context Staff = lower \lower

  
}




\remove Axis_group_engraver \consistsHara_kiri_engraver
I don't want this to apply to the PianoStaff.

Stephen


___
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