Re: LilyPond strings and \markup

2009-08-17 Thread Mark Polesky
Carl Sorensen wrote: Because \[alphanum]+ is a STRING_IDENTIFIER. Not always: num = 1 sym = #'symbol % error: syntax error, unexpected NUMBER_IDENTIFIER (\num) % \num % error: syntax error, unexpected SCM_IDENTIFIER (\sym) % \markup \sym Remember, these are *parser* error messages. They

Indentation parser.yy

2009-08-17 Thread Michael Käppler
Hi all, just a minor nitpick: What is the reason that the indentation in parser.yy seems to be different than in other C++ files? I found it a little confusing to see that e.g. if-constructs in the parser are indented this way: if { foo; } And in normal files that way: if { foo; }

Re: LilyPond strings and \markup

2009-08-17 Thread Trevor Daniels
Mark I'm top-posting as I'm not answering any of your specific questions. If you really want to understand how data types are defined you will need to understand how lexers and parsers work first. To help, I've just added a few more clues to the Technical glossary. Then you will find all

Re: Creating books with Scheme

2009-08-17 Thread Nicolas Sceaux
Le 17 août 09 à 09:23, Nicolas Sceaux a écrit : Le 17 août 09 à 02:41, Reinhold Kainhofer a écrit : Hmm, to me it seems that you are effectively calling the parser to interpret \include file.ly. That is a nice way around my problem, where only the parser seems to have a pointer to the

Re: LilyPond strings and \markup

2009-08-17 Thread Joe Neeman
On Mon, 2009-08-17 at 00:59 -0700, Mark Polesky wrote: Carl Sorensen wrote: Because \[alphanum]+ is a STRING_IDENTIFIER. Not always: num = 1 sym = #'symbol % error: syntax error, unexpected NUMBER_IDENTIFIER (\num) % \num % error: syntax error, unexpected SCM_IDENTIFIER (\sym) %

Re: [PATCH] Re: feature-request / doc-actualization (right-margin)

2009-08-17 Thread Michael Käppler
Joe Neeman wrote: I think the concatenation happens in parser.yy:847. Rather than creating a new paper block every time \paper is seen, we just make a clone of the most recent \paper block and start appending stuff to it. I don't think there's a way (in the parser, at least) to tell when we've

Automatically checking regtests (was: Re: Minor releases?)

2009-08-17 Thread Michael Käppler
[CC to -devel] (nobody checks the regression tests for each release, for example -- and that's trivially done with a web browser!) That reminds me of an idea I recently had: Wouldn't it be possible to automatically generate a sort of checksum for each regression-test output-file and compare

Re: Automatically checking regtests (was: Re: Minor releases?)

2009-08-17 Thread Reinhold Kainhofer
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Am Montag, 17. August 2009 16:08:36 schrieb Michael Käppler: [CC to -devel] (nobody checks the regression tests for each release, for example -- and that's trivially done with a web browser!) That reminds me of an idea I recently had: Wouldn't

Re: music-function type-check options

2009-08-17 Thread Mark Polesky
- Original Message From: Neil Puttock n.putt...@gmail.com To: Mark Polesky markpole...@yahoo.com Cc: lilypond-devel lilypond-devel@gnu.org Sent: Sunday, August 16, 2009 2:36:39 PM Subject: Re: music-function type-check options 2009/8/16 Mark Polesky : I didn't really ask

`installed files' issues

2009-08-17 Thread Werner LEMBERG
Folks, I've just seen this change in a recent commit: +...@seealso + +Installed Files: +...@file{lily/parser.yy} IMHO, this is not correct: lily/parser.yy does *not* get installed at all! Either we introduce a special macro which points to the source tarball, or we omit references

Re: Automatically checking regtests

2009-08-17 Thread Michael Käppler
Reinhold Kainhofer wrote: Isn't this exactly what we already have (make test-baseline to create the Argh, how embarrassing! Sorry for the noise. Regards, Michael ___ lilypond-devel mailing list lilypond-devel@gnu.org

Re: `installed files' issues

2009-08-17 Thread Trevor Daniels
Werner LEMBERG wrote Monday, August 17, 2009 6:42 PM I've just seen this change in a recent commit: +...@seealso + +Installed Files: +...@file{lily/parser.yy} IMHO, this is not correct: lily/parser.yy does *not* get installed at all! Either we introduce a special macro which points to

Re: Widening one measure so that dynamics don't overlap

2009-08-17 Thread Reinhold Kainhofer
Am Montag, 17. August 2009 19:56:04 schrieb Kieren MacMillan: Hi Reinhold, How can I make that one measure wider, while all other measures are spaced normally? Here are a couple of ideas: 1. \override the NoteColumn #'X-extent It seems I can't get this to work at all. 2.

Re: Widening one measure so that dynamics don't overlap

2009-08-17 Thread Reinhold Kainhofer
Am Montag, 17. August 2009 21:18:56 schrieb Reinhold Kainhofer: Am Montag, 17. August 2009 19:56:04 schrieb Kieren MacMillan: 4. add a hidden voice with a MultiMeasureRest, and adjust the #'minimum-length. Ah, thats a nice idea. I had tried a hidden voice with normal notes (like in

Re: Widening one measure so that dynamics don't overlap

2009-08-17 Thread Kieren MacMillan
Hi Reinhold, Grr, it doesn't work so well, though: This will not work in the first measure of a line or immediately after a time signature change! Something like this would work anywhere, yes? \version 2.13.3 \paper { line-width = 9\cm } makeSpace = { \once \override Score.BarLine

Re: Widening one measure so that dynamics don't overlap

2009-08-17 Thread Werner LEMBERG
Grr, it doesn't work so well, though: This will not work in the first measure of a line or immediately after a time signature change! What about attaching a markup text consisting of \hspace only, together with \textLengthOn? Werner ___

Re: LilyPond strings and \markup

2009-08-17 Thread Graham Percival
On Mon, Aug 17, 2009 at 08:47:40PM +1000, Joe Neeman wrote: On Mon, 2009-08-17 at 00:59 -0700, Mark Polesky wrote: Come on, you have to admit that this is terribly confusing! And as far as I can tell, none of this is satisfactorily documented. I'm trying to do something about it, but my

Re: bad links @website:

2009-08-17 Thread Graham Percival
Thanks for the report! The links are fixed in the new website. Since the new website should be going online in a few weeks, I won't bother changing the old website. Cheers, - Graham On Sat, Aug 15, 2009 at 12:53:18PM +0300, Yotam Medini wrote: In http://lilypond.org/web/switch/testimonials

Re: LilyPond strings and \markup

2009-08-17 Thread Neil Puttock
2009/8/17 Graham Percival gra...@percival-music.ca: Alternately, we could be stricter about this -- I wouldn't mind if we insisted that people use  \override foo #'bar = #5 instead of allowing the non-# form, if then we could state as a general rule that overrides required a # after the =

Re: LilyPond strings and \markup

2009-08-17 Thread Graham Percival
On Mon, Aug 17, 2009 at 10:18:56PM +0100, Neil Puttock wrote: 2009/8/17 Graham Percival gra...@percival-music.ca: Alternately, we could be stricter about this -- I wouldn't mind if we insisted that people use  \override foo #'bar = #5 instead of allowing the non-# form, if then we could

Re: music-function type-check options

2009-08-17 Thread Neil Puttock
2009/8/17 Mark Polesky markpole...@yahoo.com: I might tweak it a little (remove ? if it's the last character etc.) Ha, I knew you'd say that. :) Regards, Neil ___ lilypond-devel mailing list lilypond-devel@gnu.org

Re: Automatically checking regtests (was: Re: Minor releases?)

2009-08-17 Thread Graham Percival
On Mon, Aug 17, 2009 at 05:17:08PM +0200, Reinhold Kainhofer wrote: Am Montag, 17. August 2009 16:08:36 schrieb Michael Käppler: (nobody checks the regression tests for each release, for example -- and that's trivially done with a web browser!) That reminds me of an idea I recently

Re: Move `easy notation' print callback to scheme.

2009-08-17 Thread n . puttock
Reviewers: hanwenn, Message: On 2009/08/17 02:57:15, hanwenn wrote: http://codereview.appspot.com/107046/diff/1/3 File lily/staff-symbol-referencer-scheme.cc (right): http://codereview.appspot.com/107046/diff/1/3#newcode45 Line 45: with @var{grob}.) fix indents Which ones? I've

Re: 2.13.4 release soon?

2009-08-17 Thread Dan Eble
On 7 Aug 2009, at 03:37, Trevor Daniels wrote: Graham wrote Thursday, August 06, 2009 11:53 PM Sorry, not this time. The purpose of the unstable releases is to aid the development effort; it doesn't make sense to hold Trevor and Mark back just because the doc build is in flux. The MinGW

Re: Automatically checking regtests (was: Re: Minor releases?)

2009-08-17 Thread Trevor Daniels
Graham Percival wrote Monday, August 17, 2009 10:35 PM On Mon, Aug 17, 2009 at 05:17:08PM +0200, Reinhold Kainhofer wrote: Am Montag, 17. August 2009 16:08:36 schrieb Michael Käppler: (nobody checks the regression tests for each release, for example -- and that's trivially done with

Re: Automatically checking regtests (was: Re: Minor releases?)

2009-08-17 Thread Neil Puttock
2009/8/17 Graham Percival gra...@percival-music.ca: Yes.  All it takes is bookmarking the site, checking it whenever there's a release, and reporting any broken examples.  However, nobody is willing to commit to do this.  15 minutes whenever there's a release, which happens at most once every

Re: 2.13.4 release soon?

2009-08-17 Thread Graham Percival
On Mon, Aug 17, 2009 at 05:42:31PM -0400, Dan Eble wrote: On 7 Aug 2009, at 03:37, Trevor Daniels wrote: Graham wrote Thursday, August 06, 2009 11:53 PM Sorry, not this time. The purpose of the unstable releases is to aid the development effort; it doesn't make sense to hold Trevor and

Re: Automatically checking regtests (was: Re: Minor releases?)

2009-08-17 Thread Graham Percival
On Mon, Aug 17, 2009 at 10:55:37PM +0100, Neil Puttock wrote: 2009/8/17 Graham Percival gra...@percival-music.ca: Yes.  All it takes is bookmarking the site, checking it whenever there's a release, and reporting any broken examples.  However, nobody is willing to commit to do this.  15

Re: Move `easy notation' print callback to scheme.

2009-08-17 Thread pnorcks
On 2009/08/17 21:40:16, Neil Puttock wrote: On 2009/08/17 02:57:15, hanwenn wrote: http://codereview.appspot.com/107046/diff/1/3 File lily/staff-symbol-referencer-scheme.cc (right): http://codereview.appspot.com/107046/diff/1/3#newcode45 Line 45: with @var{grob}.) fix indents Which

Re: * Don't add ps to intermediate formats when using eps backend.

2009-08-17 Thread pnorcks
On 2008/10/09 21:25:50, Neil Puttock wrote: On 2008/10/08 03:37:15, hanwenn wrote: LGTM, but I don't understand what this has to do with the error messages you mention. Apologies, it is a bit vague. Using -ddelete-intermediate-files with -dbackend=eps generates an error: In

Re: * Don't add ps to intermediate formats when using eps backend.

2009-08-17 Thread Neil Puttock
2009/8/17 pnor...@gmail.com: Neil, I think Jan recently fixed this issue in commit 72f03ab0b. Can you verify? Yep, works fine here and is a better fix. :) Regards, Neil ___ lilypond-devel mailing list lilypond-devel@gnu.org

Re: Automatically checking regtests (was: Re: Minor releases?)

2009-08-17 Thread Han-Wen Nienhuys
On Mon, Aug 17, 2009 at 6:35 PM, Graham Percivalgra...@percival-music.ca wrote: Graham was referring to the fact that nobody seem to bother about looking at those automatically-created regression results before or after a release. Yes.  All it takes is bookmarking the site, checking it

Re: Automatically checking regtests (was: Re: Minor releases?)

2009-08-17 Thread Han-Wen Nienhuys
On Mon, Aug 17, 2009 at 7:58 PM, Han-Wen Nienhuyshanw...@gmail.com wrote: Yes.  All it takes is bookmarking the site, checking it whenever there's a release, and reporting any broken examples.  However, nobody is willing to commit to do this.  15 minutes whenever there's a release, which

Re: Automatically checking regtests (was: Re: Minor releases?)

2009-08-17 Thread Reinhold Kainhofer
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Am Montag, 17. August 2009 23:49:28 schrieb Trevor Daniels: Graham Percival wrote Monday, August 17, 2009 10:35 PM On Mon, Aug 17, 2009 at 05:17:08PM +0200, Reinhold Kainhofer wrote: The 2.13.3 results are at:

Re: Move `easy notation' print callback to scheme.

2009-08-17 Thread Neil Puttock
2009/8/17 pnor...@gmail.com: I can see them on the unified diff page: Ah, I noticed this when I previewed the changes in git gui, but thought nothing of it since the indentation looked OK when I was working on the file. Looks like emacs has lost the default setting for soft tabs somehow; I

Re: Widening one measure so that dynamics don't overlap

2009-08-17 Thread Reinhold Kainhofer
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Am Montag, 17. August 2009 22:06:46 schrieb Kieren MacMillan: Hi Reinhold, Grr, it doesn't work so well, though: This will not work in the first measure of a line or immediately after a time signature change! Something like this would work

identifiers with numbers? (was Re: hash/backslash confusion)

2009-08-17 Thread Mark Polesky
Neil Puttock wrote: You can also use quoted strings, music-expression = \relative e' { e8 f g g e2 } but they can't be used in music blocks since the lexer will only recognize letters: 143 NOTECOMMAND \\{A}+ The lexer allows hyphens (and underscores) in markup command strings:

new website integrated, remaining problems

2009-08-17 Thread Graham Percival
I'm tentatively declaring the web-gop/ branch to be dead; I think all the changes have made it into master. However, there's a few remaining problems. #1 and #2 are important, and stop us from having another website draft. Could somebody investigate? These problems show up with texi2html 1.82

unclear code comment

2009-08-17 Thread Mark Polesky
What does this mean? ly/music-functions-init.ly 476 %% Todo: 477 %% doing 478 %% define-music-function in a .scm causes crash. ___ lilypond-devel mailing list lilypond-devel@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-devel

Re: unclear code comment

2009-08-17 Thread Mark Polesky
Mark Polesky wrote: What does this mean? ly/music-functions-init.ly 476 %% Todo: 477 %% doing 478 %% define-music-function in a .scm causes crash. Nevermind. I'm an idiot. I get it. - Mark ___ lilypond-devel mailing list

Re: unclear code comment

2009-08-17 Thread Mark Polesky
Mark Polesky wrote: What does this mean? ly/music-functions-init.ly 476 %% Todo: 477 %% doing 478 %% define-music-function in a .scm causes crash. Nevermind. I'm an idiot. I get it. Actually, strike that. What does this comment mean? The 2 files below work just fine, so what's