Re: Lilypond on MacosX Leopard

2007-11-02 Thread Hans Aberg

On 2 Nov 2007, at 02:30, immanuel litzroth wrote:

I tried to compile lilypond with the help of macports today and I  
don't

have much good news.
1) The guile in macports didn't seem to compile for me due to some  
errors related to open64 and such. A downloaded guile had the same  
problem but I hacked my way around that and got guile to compile.


I tried to compiled latest Guile on Mac OS 10.4.10 some time ago, and  
it failed. I sent in a bug report, but got no reply.


2) I added the required other packages from macports with only  
minor problems.
3) Lilypond compiled ok up to a point where it was trying to run  
sourceforge on a x.pfb in a TTF directory to create a ttf. At that  
point
I did have the lilypond executable and could run it only to  
discover that the guile interpreter was trying to load .so files  
instead of dylibs.


The filename extension '.so' is for dynamic libraries on computers  
using a Linux like kernels. Mac OS X uses the kernel Mach, and  
dynamic libraries have the ending '.dylib'. As long as the libraries  
you try to call have been created on Mac OS X (I haven't found a way  
to call a Linux dynamic library on a Mac), all you have to do is to  
change the file name extension to .dylib; I think:


The dynamic library functions are named the same on Mac OS X:
   dlclose  dlopen  dlsym
See the 'man' pages or search the Apple developer site.

  Hans Åberg




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


Re: typeset lyrics

2007-11-02 Thread Wilbert Berendsen
[resent because i initially sent with a wrong sender address]

Op vrijdag 2 november 2007, schreef Ole Schmidt:
 I'am a bit shy to out my ignorance...

 what I'am missing (maybe I overlooked it) is an overview (maybe a
 sort of tree?) of how the
 all the terms:
 \score
   \new Staff
   \new Voice
   \VoiceOne
   \VoiceTwo
 \oneVoice
 are (hieracial) related 

AFAIK Score, Staff and Voice are nested indeed, but \voiceOne,Two,Three, etc. 
and \oneVoice are simply commands that set some paramaters regarding stem 
direction, horizontal placement etc.

 and how their encapsulation  (   and { }) works

 expr1 expr2 expr3  stacks the expressions vertical and { expr expr } 
horizontal.

 There is also the  {  } \\ {  }  model for polyphony, when to use
 which construction?

See:
http://lilypond.org/doc/v2.11/Documentation/user/lilypond/Explicitly-instantiating-voices

 Another point are the rules of  the \relative mode when you have
 polyphony/chord constructions (how to use , and ' properly)

See: 
http://lilypond.org/doc/v2.11/Documentation/user/lilypond/Relative-octaves

Met vriendelijke groet,
Wilbert Berendsen

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


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


Re: Professional LilyPond users?

2007-11-02 Thread Henning Hraban Ramm
2007/11/1, Dominic Neumann [EMAIL PROTECTED]:
 The reason I use LaTeX is that I know LaTeX very well as a typesetting
 engine for mathematical documents and therefor I´m used to it. However
 LaTeX isn´t too comfortable for this, but it works. I´m very
 interested in trying ConTeXt -- I hope, I´ll find the time to have a
 try.

see http://wiki.contextgarden.net (/LilyPond)

ConTeXt can do everything what LaTeX does WRT math. It just uses a
completely different layout approach - you don't use document classes
but define your layout yourself. Most features that are in usual LaTeX
packages are in ConTeXt's core, and some more in additional modules.
So the interface is much more coherent.
But of course ConTeXt is a moving target (at least WRT newest
features) and lacks printed documentation. At the moment the big move
to LuaTeX binds most of the core developers' time.

 The main strength of using a system like LaTeX compared to a DTP
 software is that one can write scripts to manage the whole creation
 process. I didn´t want to do this with InDesign or something like
 that.

You can also control ID or QXP with scripts, there are several
possibilities, on OSX I use Python with the appscript module (Apple
Events) to remote control ID; on WinXP I used Python with win32com
(COM API); for an other workflow I create text files with ID tags or
XML files and import those into ID. You can do similar stuff with QXP
(XPress tags, perhaps also XML).

Sorry, it gets more and more OT here... ;-)

 Do you know if there is a way to get PDF/X3-compatible files out of
 ConTeXt? With LaTeX, I didn´t manage this. [PDF/X3 is a standard for
 PDF files needed in pre-press.]

We should discuss such on TeX-D-L or NTG-Context.
AFAIK that's not a (mis)feature of LaTeX or ConTeXt, but of pdfTeX.
You can convert a TeX PDF into PDF/X with Acrobat Pro, though. Perhaps
it's possible to include the ICC profiles and additional information
with some pdfTeX primitives, but AFAIK nobody yet managed to create a
standards compliant PDF/X-3 yet. In fact, you seldom need one, because
songbooks are normally blackwhite...

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


Re: typeset lyrics

2007-11-02 Thread Graham Percival



Mats Bengtsson wrote:

Ole Schmidt wrote:

I'am a bit shy to out my ignorance...

what I'am missing (maybe I overlooked it) is an overview (maybe a sort 
of tree?) of how the

all the terms:

These issues are described to some extent in the section on Explicitly 
instantiating

voices.


I highly recommend the Learning Manual, chapter 3 Fundamental concepts.


Could you please check the following draft of the new revised manual
and see if it provides the relevant information:


http://kainhofer.com/~lilypond/

Cheers,
- Graham


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


Re: typeset lyrics

2007-11-02 Thread Mats Bengtsson



Ole Schmidt wrote:

I'am a bit shy to out my ignorance...

what I'am missing (maybe I overlooked it) is an overview (maybe a sort 
of tree?) of how the

all the terms:
\score
 \new Staff
 \new Voice
 \VoiceOne
 \VoiceTwo
\oneVoice
are (hieracial) related and how their encapsulation  (   and { }) 
works
There is also the  {  } \\ {  }  model for polyphony, when to use 
which construction?


These issues are described to some extent in the section on Explicitly 
instantiating

voices.
Another point are the rules of  the \relative mode when you have 
polyphony/chord constructions (how to use , and ' properly)

Could you please check the following draft of the new revised manual
and see if it provides the relevant information:
http://kainhofer.com/~lilypond/Documentation/user/lilypond/Relative-octave-entry.html#Relative-octave-entry

   /Mats


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


Re: typeset lyrics

2007-11-02 Thread Eyolf Østrem
On 02.11.2007 (16:26), Wilbert Berendsen wrote:
 Op vrijdag 2 november 2007, schreef Ole Schmidt:

  There is also the  {  } \\ {  }  model for polyphony, when to use
  which construction?

The short answer is that this is used for single-staff polyphony, but since
giving a short answer is cheating, I won't reveal it until you have read
the manual :-)

  Another point are the rules of  the \relative mode when you have
  polyphony/chord constructions (how to use , and ' properly)
 
 See: 
 http://lilypond.org/doc/v2.11/Documentation/user/lilypond/Relative-octaves

Or rather the address that Mats gave, which is in the development manual,
but which concerning this particular section applies to any version of 
Lilypond. 

Eyolf

-- 
The modern child will answer you back before you've said anything.
-- Laurence J. Peter


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


Re: Lilypond on MacosX Leopard

2007-11-02 Thread lorenz schori

Hi Immanuel

I worked around the guile problem by upgrading my portfile to 1.8.3  
and manually adding #undef HAVE_STAT64 in config.h after the  
configure phase. However lilypond will complain about not beeing able  
to dlopen libguile-srfi-srfi-1-v-3.so. I solved this problem by just  
setting DYLD_FALLBACK_LIBRARY_PATH=$DYLD_FALLBACK_LIBRARY_PATH:/opt/ 
local/lib before i launch lilypond. I've hardwired this line in the  
textmate-bundle i'm using currently using. If you use lilyponds own  
GUI you'll have to create some wrapper script or perhaps modify  
environment.plist [1].


Lorenz

1) http://developer.apple.com/qa/qa2001/qa1067.html

On Nov 2, 2007, at 2:30 AM, immanuel litzroth wrote:

I tried to compile lilypond with the help of macports today and I  
don't

have much good news.
1) The guile in macports didn't seem to compile for me due to some  
errors related to open64 and such. A downloaded guile had the same  
problem but I hacked my way around that and got guile to compile.
2) I added the required other packages from macports with only minor  
problems.
3) Lilypond compiled ok up to a point where it was trying to run  
sourceforge on a x.pfb in a TTF directory to create a ttf. At that  
point
I did have the lilypond executable and could run it only to discover  
that the guile interpreter was trying to load .so files instead of  
dylibs.


Seems there is some work to be done, I'll log some bugs with the  
macports guys, but I don't have the time to look into this any  
deeper now. I'll try again if the supporting software is in better  
shape.

Greets
Immanuel



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


Re: Horizontal (I mean vertical) Lyric spacing in 2.11

2007-11-02 Thread Monk Panteleimon
On Fri, Nov 02, 2007 at 06:44:46AM +1000, Joe Neeman wrote:
 
 OK, I will set VerticalAlignment #'max-stretch = 0 by default. This has the 
 disadvantage that it will sometimes put lots of whitespace between systems, 
 but that was the default in 2.10 anyway.

Thank you. I take it that's the same as setting
keep-fixed-while-stretching. The white space between systems is better
than inside them, in this case, even if we have to end up with single systems
on a page. I don't think there's a better option without having a special
way to space lyrics that are being read by more than one staff.

In fact, I think that having ChoirStaff
fixed while others are not is demonstrated in
Nicolas Sceaux's example here:
http://nicolas.sceaux.free.fr/tmp/choirstaff001.png

All the choir staves are evenly spaced while the bass staff (not a vocal
part) is lower. It looks the rest of the system is spaced differently
above.
It also doesn't have a big funky white space like in
untweaked LP 2.11 with stretched systems:

http://www.tcgalaska.com/kliros/images/funkyWhite.png

[8^)

-- 
Monk Panteleimon
Hermitage of the Holy Cross
Wayne, WV, USA
[EMAIL PROTECTED]

+
 IC + XC
+ + + + +
 NI + KA
+


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


Re: typeset lyrics

2007-11-02 Thread Ole Schmidt

Am 02.11.2007 um 15:13 schrieb Mats Bengtsson:

Another point are the rules of  the \relative mode when you have  
polyphony/chord constructions (how to use , and ' properly)

Could you please check the following draft of the new revised manual
and see if it provides the relevant information:
http://kainhofer.com/~lilypond/Documentation/user/lilypond/Relative- 
octave-entry.html#Relative-octave-entry



here I find immediatly:

If the preceding item is a chord, the first note of the chord is used  
as the reference point for the octave placement of a following note  
or chord:


but because I mixed up chords and polyphony I also need:

Polyphony does not change the relationship of notes within a  
\relative { } block. Each note is calculated relative to the note  
immediately preceding it.


\relative { noteA  noteB \\ noteC  noteD }

noteC is relative to noteB, not noteA; noteD is relative to noteC,  
not noteB or noteA.


(from the new manual 3.2.1 I'm seeing Voices)


These issues are described to some extent in the section on  
Explicitly instantiating

voices.

this chapter indeed answers my questions

thank you for the help

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


Re: Horizontal Lyric spacing in 2.11

2007-11-02 Thread Reinhold Kainhofer
Am Donnerstag, 1. November 2007 schrieb Joe Neeman:
 OK, I will set VerticalAlignment #'max-stretch = 0 by default. 

Great!


 This has the 
 disadvantage that it will sometimes put lots of whitespace between systems,
 but that was the default in 2.10 anyway.

If you look at the attached file (which worked just fine in 2.10, of course 
with lots of space **between** the systems, but still. I just let it run 
through 2.11 and got these terrible results), you'll see that putting lots of 
whitespace between the systems is far better than putting the whitspace 
between the staves of each system...

Cheers,
Reinhold

PS: In that score, the tenors start one measure later, and their lyrics *ARE* 
attached to the tenor voice, still there is lots of spacing between the 
lyrics and their corresponding staff...

PS2: Sorry that I'm attaching the example as gif and not as pdf, but the pdf 
is too large (100kB) to be accepted by the mailing list...

PS3: Sigh, gnu.org won't let me send gif images, so attached is the example as 
png (the jpg would be too large, again).
-- 
--
Reinhold Kainhofer, Vienna University of Technology, Austria
email: [EMAIL PROTECTED], http://reinhold.kainhofer.com/
 * Financial and Actuarial Mathematics, TU Wien, http://www.fam.tuwien.ac.at/
 * K Desktop Environment, http://www.kde.org, KOrganizer maintainer
 * Chorvereinigung Jung-Wien, http://www.jung-wien.at/
attachment: a.png___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


RE: Measure runs off PDF file after 5 8th notes in 4/4 time

2007-11-02 Thread Trevor Daniels

John

The usual cause of this behaviour is because LilyPond cannot
find a suitable place to break the line.  Line breaks can
occur only at 'complete' bars, ie where the last note(s) in
the bar in all staves end(s) at the automatically inserted
barline.  If any note carries over no break can take place.
A single wrongly inserted duration can progagate this
condition though many bars.  A bar check will generate a
warning at each check where a carry-over of duration occurs.
If carry-overs are intended, a manually inserted bar can
indicate to LP that a break may occur.  Other things that
can prevent a line break are a sequence of manually inserted
beams or tuplets which straddle barlines.

Trevor D

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:lilypond-user-bounces+t.daniels=treda.co.u
 [EMAIL PROTECTED] Behalf Of
 John J
 Sent: 02 November 2007 00:48
 To: lilypond-user@gnu.org
 Subject: Measure runs off PDF file after 5 8th
 notes in 4/4 time


 It isn't easy to search the archive for this bizarre
 problem. Everything was
 working fine until the moment it stopped working.
 Before, everything lived up
 to the hype and I was happy, after, I just keep trying
 things without anything
 working.  The first line of this piece, lilypond
 prints 5 measures.  The second
 line has 14.5 measures and they are crammed with
 notes. The last line has 6 measures
 of notes followed by an empty measure in all three
 parts and then pianoRH has continuing
 staff lines.  I have measure checks in the piece and
 all pass even at the final
 measure of 32 bars. I tried adding empty measures to
 pianoLH and clarinet but that shortened
 pianoRH by an empty measure.  I am using 2.11.33 now
 after using 2.10.33 with no change.
 I have specified the paper size with no change in the
 output.  If anyone has seen anything
 like this, I would be happy to know how to work around
 it. FYI, the midi plays correctly and the PS version
 is
 identically messed up.  I am running Ubuntu linux and
 both 704 and 710 work the same.

 --
 regards,
 Jack

 __
 Do You Yahoo!?
 Tired of spam?  Yahoo! Mail has the best spam
 protection around
 http://mail.yahoo.com


 ___
 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: typeset lyrics

2007-11-02 Thread Ole Schmidt

I'am a bit shy to out my ignorance...

what I'am missing (maybe I overlooked it) is an overview (maybe a  
sort of tree?) of how the

all the terms:
\score
 \new Staff
 \new Voice
 \VoiceOne
 \VoiceTwo
\oneVoice
are (hieracial) related and how their encapsulation  (   and { })  
works
There is also the  {  } \\ {  }  model for polyphony, when to use  
which construction?


Another point are the rules of  the \relative mode when you have  
polyphony/chord constructions (how to use , and ' properly)


I work partly by trialerror which can be very time-consuming.

I always use the search function of the lilypond.pdf and most of the  
times I found an example that covers what I'am after. I find this  
most convenient (to work with examples) e.g. I immediatly understood  
the example Mats mailed me so maybe it would be a good idea to  
include it to the manual...


I hope this answers your question somehow...

best

ole

Am 02.11.2007 um 00:23 schrieb Werner LEMBERG:


Now that you know how it works it would be a great help for us if you
tell us what exactly have missed in the docs which prevented you from
understanding it.


Werner




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


Great documentation was: Re: typeset lyrics

2007-11-02 Thread Paul Scott

Graham Percival wrote:



Mats Bengtsson wrote:

Ole Schmidt wrote:

I'am a bit shy to out my ignorance...

what I'am missing (maybe I overlooked it) is an overview (maybe a 
sort of tree?) of how the

all the terms:

These issues are described to some extent in the section on 
Explicitly instantiating

voices.


I highly recommend the Learning Manual, chapter 3 Fundamental concepts.


Could you please check the following draft of the new revised manual
and see if it provides the relevant information:


http://kainhofer.com/~lilypond/
I haven't needed to look at the tutorial in a while.  This is great!!  
Thanks to everyone improving the documentation!!!


Paul Scott



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


Re: Horizontal (I mean vertical) Lyric spacing in 2.11

2007-11-02 Thread Nicolas Sceaux


Le 2 nov. 07 à 18:09, Monk Panteleimon a écrit :


On Fri, Nov 02, 2007 at 06:44:46AM +1000, Joe Neeman wrote:


OK, I will set VerticalAlignment #'max-stretch = 0 by default. This  
has the
disadvantage that it will sometimes put lots of whitespace between  
systems,

but that was the default in 2.10 anyway.


Thank you. I take it that's the same as setting
keep-fixed-while-stretching. The white space between systems is better
than inside them


Note that you can also limit the amount of space added between systems  
(in which

case the extra space is left at the bottom of the page). See
http://lilypond.org/doc/v2.11/Documentation/user/lilypond/Vertical-spacing-between-systems 





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


Re: Snap-pizzicato in Liliypond?

2007-11-02 Thread Wilbert Berendsen
[resent because i initially sent with a wrong sender address]

Op woensdag 31 oktober 2007, schreef Reinhold Kainhofer:
 Hi,
 How can I create a snap-pizzicato (aka. Bartok-pizzicato) in lilypond?
 The articulation should look like the one shown in Wikipedia:
 http://en.wikipedia.org/wiki/Modern_musical_symbols#Articulation_marks

See: http://www.mail-archive.com/lilypond-user%40gnu.org/msg30785.html

Met vriendelijke groet,
Wilbert Berendsen

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


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


Re: Great documentation was: Re: typeset lyrics

2007-11-02 Thread Eyolf Østrem
On 02.11.2007 (11:05), Paul Scott wrote:

 I haven't needed to look at the tutorial in a while.  This is great!!  
 Thanks to everyone improving the documentation!!!

there's always room for one more to look at it, if you discover that your
new enthusiasm becomes too overwhelming :)

Eyolf

-- 
Robustness, adj.:
Never having to say you're sorry.


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


moving rehearsal marks down

2007-11-02 Thread Paul Scott
With 2.11.34 rehearsal marks seem to sit on top of the skyline.  This 
places them closer to the system above than the one they belong to.  Is 
there a way to allow them to move closer to the system?


I have tried 0 padding and both outside-staff settings and Googled and 
read the Rehearsal Mark and Vertical Spacing sections of the manual.


TIA for any ideas or references to previous discussions,

Paul Scott



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


Re: moving rehearsal marks down

2007-11-02 Thread Paul Scott

Moved back to list:

Steven Weber wrote:

I always use extra-offset:  \once \override Score.RehearsalMark
#'extra-offset = #'( 0 . -2 )

It's not optimal, since it removes the rehearsal mark from future collision
detection, but if you're just moving it vertically, it should be fine.
  
Thanks!  I used to use padding for that.  I will add another shorthand 
version of that to my collection of Scheme functions.


The downside of this is that it takes us back to before all the great 
work that has been done on collision avoidance and requires each 
rehearsal mark to be tweaked separately.  There should be a way to allow 
the rehearsal marks to fall in the valleys automatically possibly with 
some existing parameter.


Paul


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


Re: Snap-pizzicato in Liliypond?

2007-11-02 Thread Reinhold Kainhofer
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Am Freitag, 2. November 2007 schrieb Wilbert Berendsen:
 Op woensdag 31 oktober 2007, schreef Reinhold Kainhofer:
  Hi,
  How can I create a snap-pizzicato (aka. Bartok-pizzicato) in lilypond?
  The articulation should look like the one shown in Wikipedia:
  http://en.wikipedia.org/wiki/Modern_musical_symbols#Articulation_marks

 See: http://www.mail-archive.com/lilypond-user%40gnu.org/msg30785.html

Thanks a lot for the link! I added that code to the LSR 
(http://lsr.dsi.unimi.it/LSR/Item?id=335) and also implemented it in 
musicxml2ly (since snap-pizzicato is one of the articulation commands defined 
in MusicXML).

Cheers,
Reinhold
- -- 
- --
Reinhold Kainhofer, Vienna University of Technology, Austria
email: [EMAIL PROTECTED], http://reinhold.kainhofer.com/
 * Financial and Actuarial Mathematics, TU Wien, http://www.fam.tuwien.ac.at/
 * K Desktop Environment, http://www.kde.org, KOrganizer maintainer
 * Chorvereinigung Jung-Wien, http://www.jung-wien.at/
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFHK4s+TqjEwhXvPN0RAvJkAJ98yvtNagBzfjGTWOkJM3YPneX6pQCfXLc1
lYYun0ADLWX/ymAjLcEoGFM=
=/5ao
-END PGP SIGNATURE-


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


Scheme question

2007-11-02 Thread Steven Weber
Hey everyone!

 

I'm hoping one of the Scheme gods on the list can tell me what I'm doing
wrong here.  I'm trying to create  a markup function that will draw harp
pedal diagrams.  To do that, I need a function that takes 7 parameters.  My
function works fine as long as there are only 3 parameters - as soon as I
add the fourth, everything blows up, with the following error:

 

programming error: no parser tag defined for this markup signature

continuing, cross fingers

(#procedure baseHarpPedal-markup (layout props dpedal cpedal bpedal
epedal) . scheme0-scheme1-scheme2-scheme3)

 

Here's what I've got:

 

\version 2.11.34

 

#(define (pedalFlat location)

   (string-append location  -0.75 moveto  location  -1.75 lineto ))

#(define (pedalNatural location)

   (string-append location  -1.75 moveto  location  -3.25 lineto ))

#(define (pedalSharp location)

   (string-append location  -3.25 moveto  location  -4.25 lineto ))

 

% This block works

#(define-markup-command (baseHarpPedal layout props dpedal cpedal bpedal)
(integer? integer? integer?)

  (interpret-markup layout props

   (markup

(#:postscript 

 (string-append 2 setlinecap 0 0 moveto 0 -5 lineto -5.25
-2.50 moveto 6.75 -2.5 lineto stroke 2 setlinecap 0.5 setlinewidth 

(cond((= dpedal 1)  (pedalFlat -4.5))

((= dpedal
-1) (pedalSharp -4.5))

(else
(pedalNatural -4.5))

)

(cond((= cpedal 1)  (pedalFlat -3))

((= cpedal
-1) (pedalSharp -3))

(else
(pedalNatural -3))

)

(cond((= bpedal 1)  (pedalFlat -1.5))

((= bpedal
-1) (pedalSharp -1.5))

(else
(pedalNatural -1.5))

)

stroke )

 

% This block doesn't

%{

#(define-markup-command (baseHarpPedal layout props dpedal cpedal bpedal
epedal) (integer? integer? integer? integer?)

  (interpret-markup layout props

   (markup

(#:postscript 

 (string-append 2 setlinecap 0 0 moveto 0 -5 lineto -5.25
-2.50 moveto 6.75 -2.5 lineto stroke 2 setlinecap 0.5 setlinewidth 

(cond((= dpedal 1)  (pedalFlat -4.5))

((= dpedal
-1) (pedalSharp -4.5))

(else
(pedalNatural -4.5))

)

(cond((= cpedal 1)  (pedalFlat -3))

((= cpedal
-1) (pedalSharp -3))

(else
(pedalNatural -3))

)

(cond((= bpedal 1)  (pedalFlat -1.5))

((= bpedal
-1) (pedalSharp -1.5))

(else
(pedalNatural -1.5))

)

(cond((= epedal 1)  (pedalFlat 1.5))

((= epedal
-1) (pedalSharp 1.5))

(else
(pedalNatural 1.5))

)

stroke )

%}

 

\score

{

% This line works

c''1 _\markup { \baseHarpPedal #0 #1 #-1 }



% This line doesn't

%c''1 _\markup { \baseHarpPedal #0 #1 #-1 #0 }

}

 

Thanks!

 

--Steven

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


GPD: staff first draft

2007-11-02 Thread Graham Percival

As always, see here:
http://web.uvic.ca/~gperciva/


Here's the TODO list for Staff.  If there's anything to add, please 
speak up now.




QUESTIONS

System start delimiters:

The difference between GrandStaff and StaffGroup should be
explained here.  As it now stands, it seems as if the only
difference is a graphical one: brace or bracket. But according to
the prog. reference, StaffGroup can contain most/all other staff
types, whereas GrandStaff only contains FiguredBass and Staff, so
perhaps SG should come first? But this can contain doesn' seem
to mean nesting, because this:

\score {
 \new StaffGroup 
\melody
 \new GrandStaff 
   \melody
   \melody
 
 \melody
 \melody
   

does not contain any GrandStaff at all, only a blank line.
Should be clarified: what does it mean to contain, and how does
one achieve the nested layout?


* I've added a reference to the lsr snippet with use of
InternalStaffGroup, which is much more likely to be useful to most
people. perhaps that reference should be expanded to a full
description with an example, to make it more prominent.

* The lilypond example to the description of the
systemStartDelimiterHierarchy property, is very convoluted.
I don't understand the scheme syntax of this property, which is
said to be a pair, but according to the definition of a pair in
the tutorial, pairs have the form (x . y).  This should be
explained.  What do the letters a, b, and d do, why is there no c?

* the systemStartSquare should be mentioned, incl. a bit of
code to show how to use it.

* should we make a new @unnumberedsubsubsec Nesting staff groups ?


Staff symbol

* rename to Staff appearance ?

* make new @unnumberedsubsubsec Ossia ?

Hiding staves

* if new Ossia, then change ref to Ossia.


Quoting other voices

- general rewrite

Formatting cue notes

- maybe rewrite


CLARIFY
http://code.google.com/p/lilypond/issues/detail?id=365



Cheers,
- Graham


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


GDP: educational first draft

2007-11-02 Thread Graham Percival

I've decided to do the rest of the first drafts right now.
http://web.uvic.ca/~gperciva/

Here's the TODO list.


Educational notation

- Improvisation: link to relevant section of Changing default?
  is this still valid?  introduce \with in LM?

REWRITE
- most is pretty good.
- Blank music sheet: add an example without tab staff.  Check if
  there's a template for this already.  Actually, move this to a
  template, and add this to modifying the templates to LM.


Cheers,
- Graham


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


GDP: text first draft

2007-11-02 Thread Graham Percival

Final first draft.
http://web.uvic.ca/~gperciva/


Here's the current list:

Text

REWRITE
- overview of text entry: rename?  Also, fill in.
- or possibly delete it?
- text scripts: for the love of $DEITY, change the first example.
  \fatText goes into @commonprop
- text spanners: is there any easier way to do this?  Ask about
  making a special scheme command to simply this?
- text and line spanners: too much programmer doc-writing.
  Rewrite the whole thing.  And move to a different section.
  ... actually, what's the point of this section?  Shouldn't it be
  in Text spanners?
  ... actually^2, isn't the first part dealing with glissandi?!


Cheers,
- Graham


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