lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: Lilypond sensitivity to whitespace


From: Mats Bengtsson
Subject: RE: Lilypond sensitivity to whitespace
Date: Thu, 11 Jun 2009 23:32:09 +0200
User-agent: Internet Messaging Program (IMP) H3 (4.0.5)

Quoting Nick Payne <address@hidden>:

The two situations that I know of that require a space are:

1. Explicit beaming closing square bracket followed by brace: eg {g8[ g g g
g g] }

2. Closing angle bracket following a stroke finger indication: eg
<c-\rightHandFinger #2 >

It sounds as though there are more but I haven't encountered them yet...

It sounds as if you never have written any lyrics. That's the situation that started this thread if I'm not mistaken. In lyrics mode, you even need spaces around the dots when doing settings like \override Score . LyricText #'font-size = #5 (since a dot in lyrics normally is a punctuation that belongs to the preceding syllable) and you need a space before every closing bracket (again since a bracket also may be part of a syllable).

A generalization of your second item is that you need a space after every expression that's interpreted as a Scheme expression, i.e. that begins with a # sign.

  /Mats

Nick

-----Original Message-----
From: Graham Percival [mailto:address@hidden On Behalf Of Graham
Percival
Sent: Thursday, 11 June 2009 10:01 AM
To: Jonathan Kulp
Cc: Nick Payne; address@hidden
Subject: Re: Lilypond sensitivity to whitespace

On Wed, Jun 10, 2009 at 06:56:36PM -0500, Jonathan Kulp wrote:
> Graham Percival wrote:
>> On Thu, Jun 11, 2009 at 08:55:25AM +1000, Nick Payne wrote:
>>> Is there anywhere in the documentation that states where whitespace
*is*
>>> required?
>>
>> No, but that would be nice.  It should go somewhere in NR 3.  If
>> you could come up with anything -- frankly, even just a stub with
>> a "FIXME: find out later", that would be a good start.  :)
>>
>
> There's at least one place where this is mentioned, in Fretted
Strings
> "right hand fingerings," because I put a @warning about it after
finding
> out the hard way when I was rewriting that section.

It's also mentioned in Vocal.  The issue is that we should have a
general section that lays out the general rules -- then it'll make
sense when we mention specific cases in the NR.



_______________________________________________
lilypond-user mailing list
address@hidden
http://lists.gnu.org/mailman/listinfo/lilypond-user








reply via email to

[Prev in Thread] Current Thread [Next in Thread]