GDP: renaming Program {usage, reference}

2007-11-03 Thread Graham Percival


There are four manuals about LilyPond: the @emph{Learning Manual},
the @emph{Notation Reference}, the @emph{Program Usage}, and the
@emph{Program Reference}.


This is somewhat confusing, since there are two very different manuals 
whose name both begins with Program.


Does anybody object if I rename Program Reference to Internals 
Reference?  or maybe Tweak Reference?  or... ?  (renaming Program Usage 
is also an option)


Cheers,
- Graham


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


Re: Scheme question

2007-11-03 Thread Nicolas Sceaux


Le 3 nov. 07 à 00:00, Steven Weber a écrit :

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)




The number and type of arguments that a markup command can have is  
hardcoded

in the parser (see source file lily/lexer.ll). Possible arguments are:
 - no argument
 - markup
 - markup markup
 - markup-list
 - scm
 - scm scm
 - scm markup
 - scm scm markup
 - scm markup markup
 - scm scm scm

To workaround this limitation, you can group several scheme arguments  
into a

single one:

#(define-mmarkup-command (baseHarpPedal layout props pedal-settings)  
(list?)


The command would be call for instance that way:
  \markup \baseHarpPedal #'(10 20 30 40)
instead of:
  \markup \baseHarpPedal #10 #20 #30 #40

nicolas



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


RE: renaming Program {usage, reference}

2007-11-03 Thread Trevor Daniels


Graham Percival asked on 03 November 2007 07:42
 There are four manuals about LilyPond: the 
 @emph{Learning Manual},
 the @emph{Notation Reference}, the @emph{Program 
 Usage}, and the
 @emph{Program Reference}.
 
 This is somewhat confusing, since there are two 
 very different manuals 
 whose name both begins with Program.
 
 Does anybody object if I rename Program Reference 
 to Internals 
 Reference?  or maybe Tweak Reference?  or... ?  
 (renaming Program Usage 
 is also an option)

I prefer Internals Reference to Tweak Reference,
and, yes, the change would be an improvement. 
 
 Cheers,
 - Graham
 
Trevor D
 
 ___
 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: text first draft

2007-11-03 Thread Trevor Daniels


Graham Percival asked on 03 November 2007 06:57

 Text

 REWRITE
 - overview of text entry: rename?  Also, fill in.
   - or possibly delete it?

A real-life example would be good to encourage the
reader to go further, and convince him the solution
to his particular problem will be found here.
It is a difficult section, and encouragement is
needed.

 - text scripts: for the love of $DEITY, change
 the first example.

Yes, see comment above

\fatText goes into @commonprop

There should be a distinction between simple
commands like this and the more arcane overrides
which expose scheme and LP internals.  The former
are fine in the main text; the latter should be
in @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.

Agreed.  Should be oriented to musical requirements.

 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?!

Yes; move it.


 Cheers,
 - Graham

Trevor D





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


Re: GDP: renaming Program {usage, reference}

2007-11-03 Thread Valentin Villenave
2007/11/3, [EMAIL PROTECTED] [EMAIL PROTECTED]:
 Quoting Graham Percival [EMAIL PROTECTED]:

  Does anybody object if I rename Program Reference to Internals
  Reference?  or maybe Tweak Reference?  or... ?  (renaming Program Usage
  is also an option)

 ... or merging it with Notation Reference, where it belongs :-)

Not at all! The notation Reference is here to help users produce
scores using predefined commands and interface, whereas the Internals
Reference describes the way LilyPond *internally* works, to possibly
allow them to change the interface itself.

I vote for Internals Reference (by the way, I'm not sure if we have
to say Internals or Internal Reference -- as a French guy, I'd
prefer the adjective). Besides, this is already how we used to call it
in the Documentation sources, with @internalsref{} links.

Valentin


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


Re: GDP: renaming Program {usage, reference}

2007-11-03 Thread Graham Percival

Valentin Villenave wrote:

2007/11/3, [EMAIL PROTECTED] [EMAIL PROTECTED]:

Quoting Graham Percival [EMAIL PROTECTED]:



Does anybody object if I rename Program Reference to Internals
Reference?  or maybe Tweak Reference?  or... ?  (renaming Program Usage
is also an option)

... or merging it with Notation Reference, where it belongs :-)


Not at all! The notation Reference is here to help users produce
scores using predefined commands and interface, whereas the Internals
Reference describes the way LilyPond *internally* works, to possibly
allow them to change the interface itself.


Well, some of the NR -- as well as LM -- discusses the way lilypond 
works internally, in order to facilitate using the PR.


A much better reason (and one which closes the merge discussion, IMO) 
is that the Program Reference is generated automagically from the source 
code.  It lies totally outside the scope of GDP, or any doc work that 
I've ever done in lilypond.


Cheers,
- Graham



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


Re: typeset lyrics

2007-11-03 Thread Wilbert Berendsen
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/


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


Re: Snap-pizzicato in Liliypond?

2007-11-03 Thread 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

Met vriendelijke groet,
Wilbert Berendsen

-- 
http://www.wilbertberendsen.nl/


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


Re: Snap-pizzicato in Liliypond?

2007-11-03 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/


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


Re: GDP: renaming Program {usage, reference}

2007-11-03 Thread Kieren MacMillan

Hi Graham (et al.),


(renaming Program Usage is also an option)


How about Application Usage?

Best regards,
Kieren.


___
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-03 Thread John J
Thanks for the help on this issue without even looking
at the source.  I added measure checks for every
measure until it cleaned up.  As Trevor says there was
a long measure that caused the problem and now I'm
back to working on the music.  I had one other email
that also mentioned this as the likely source and
grateful for the quick and accurate response the I got
from the list. 
regards,
JJ

--- Trevor Daniels [EMAIL PROTECTED] wrote:

 
 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.
 

__
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


Re: GDP: renaming Program {usage, reference}

2007-11-03 Thread Eyolf Østrem
On 03.11.2007 (12:43), Valentin Villenave wrote:
 2007/11/3, [EMAIL PROTECTED] [EMAIL PROTECTED]:
  Quoting Graham Percival [EMAIL PROTECTED]:
 
   Does anybody object if I rename Program Reference to Internals
   Reference?  or maybe Tweak Reference?  or... ?  (renaming Program Usage
   is also an option)
 
  ... or merging it with Notation Reference, where it belongs :-)
 
 Not at all! The notation Reference is here to help users produce
 scores using predefined commands and interface, whereas the Internals
 Reference describes the way LilyPond *internally* works, to possibly
 allow them to change the interface itself.

Sorry - my fault, I was thinking of the Program Usage, which to a large
extent has  to do with how to write code to produce a certain output (the
LP-book part) leaving bits and pieces which not necessarily belongs
together with the notation reference thematically, but which on the other
hand is so few pages, dealing with the fundamentals of how to run the
program, that it seems logical to have it in one place. 

e

-- 
user-friendly adj. 

 Programmer-hostile.  Generally used by
   hackers in a critical tone, to describe systems that hold the
   user's hand so obsessively that they make it painful for the more
   experienced and knowledgeable to get any work done.  See
   menuitis, drool-proof paper, 
user-obsequious.



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


Umm, I'm not sure what to do. Help me!

2007-11-03 Thread alun.scott
Sirs

I have dowloaded your stable version and again with an archive version for XP.

I do not know if something is missing either in my PC or the space between my 
ears. I cannot fully understand the follow up instructions and keep going round 
in circles. Can you clarify what I need to do or am I omitting a vital step.

Thank you

AlunBEGIN:VCARD
VERSION:2.1
N:Scott;Cara
FN:Cara Scott
EMAIL;PREF;INTERNET:[EMAIL PROTECTED]
REV:20071103T164449Z
END:VCARD
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Umm, I'm not sure what to do. Help me!

2007-11-03 Thread Valentin Villenave
2007/11/3, [EMAIL PROTECTED] [EMAIL PROTECTED]:

 I have dowloaded your stable version and again with an archive version for
 XP.

 I do not know if something is missing either in my PC or the space between
 my ears. I cannot fully understand the follow up instructions and keep going
 round in circles. Can you clarify what I need to do or am I omitting a vital
 step.

Hello,

your questions are legitimate; you're not the first one to ask them on
this list and, being used to it, we tend to not realize anymore how
difficult it can be for new users to install and use LilyPond.

First of all, LilyPond is different from all other softwares you may
know. In a word processor, for instance, you first launch the
application, and *then* begin working with it (creating, opening,
saving documents, etc).

With LilyPond, you have to create a document *before* actually using
the software. Here's how to do it:

- open a text editor (Windows' NotePad, for example)

- type a few notes, enclosed with braces. Example:
{ g g d e d a g g }

- save your document wherever you want, e.g. your Desktop. Let's name
it test.ly

-Beware: the NotePad always wants to add a .txt extension to the
filename (I hope your WindowsXP shows the complete filename
extensions, if it does not, you'll have to go to Folders options in
the Control Panel, and uncheck the hide extensions box). Here we
want the file to be named test.ly, *not* test.txt nor
test.ly.txt (otherwise it won't work). So you may have to rename
your file to change the extension.

- If LilyPond is correctly installed on your computer, the test.ly
file now has a nice note icon. If it does not, verify if LilyPond is
installed (generally in Program Files\LilyPond\usr\bin)

- if the file does have a note icon, just double-click on it. After a
few seconds, you'll see that a bunch of new files have appear near it:
test.log, test.ps and test.pdf -- open test.pdf with your usual PDF
reader, and... Voila! Here's your score!

The test.ly file is what we call the *source* file. Basically,
LilyPond just reads it and produces the score, be it a few notes like
in our example or a 300-pages opera like the one i'm writing. If you
modify the source file, you'll have other notes. You can change the
rhythms as well, by adding numbers:
{ g8 g d4 e2 etc.
... you can have higher or lower notes, by adding such signs as ' and ,
{ g8 g' d,4 e2 etc.
... you can have basically anything you want.

Two important things.

- Read the Documentation : you'll see that LilyPond is powerful and
quite easy to learn, even if it is a bit unusual at the beginning. A
good place to start is
http://lilypond.org/doc/v2.10/Documentation/user/lilypond/Tutorial.html

- The NotePad is not very handy when it comes to writing source files.
I strongly suggest you to install the jEdit editor, and then use its
Plugin Manager to install the LilyPondTool plugin. It colors the
LilyPond code, detects your errors as you type, includes the whole
Documentation, and lots of cool stuff.
The jEdit software is freely available at
http://www.jedit.org/index.php?page=download
(it needs Java to be installed on your computer.)

I hope this will makes things easier for you. You're, of course,
welcome to ask every additional questions you could need on this list;
just remember that it always takes some time to learn how it works and
how to use it. Everybody is ready to help you, as long as you're
patient enough to understand things, and to never give up.

Best Regards,
Valentin


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


Newbie question about variable durations

2007-11-03 Thread Ben
I thought I had this figured out, but now I'm stuck. My program generates midi
notes and converts them to lily variables (ie noteone = {ees'} ). What I need to
do next is add my durations onto them. It seems so simple but I get error after
error.

What do I need to do to combine the strings together so it can be read as
ees'4 from \noteone and 4?



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


Numbered musical notation (Jianpu)

2007-11-03 Thread Silas S . Brown
Would it be feasible to make Lilypond produce the numbered musical notation
described at http://en.wikipedia.org/wiki/Numbered_musical_notation ?

It's very widely used in China, and many Chinese singers and traditional
instrumentalists can't read anything else, so it would be useful to be able to
produce it.

As can be seen from that page, many aspects of numbered notation are borrowed
from standard musical notation (slurs, hairpins, beaming divisions, expression
marks, etc), and some publishers mix the two in the same score, so it would seem
sensible to generate it within Lilypond rather than separately - compare with
Lilypond's current support of guitar tablature.




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


Re: Newbie question about variable durations

2007-11-03 Thread Rune Zedeler

Ben skrev:

I thought I had this figured out, but now I'm stuck. My program generates midi
notes and converts them to lily variables (ie noteone = {ees'} ). What I need to
do next is add my durations onto them. It seems so simple but I get error after
error.


I don't understand what you are using it for.
Why will you put a single notename into a variable?
Could you elaborate a bit more on your project?

-Rune


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