Accessing public defines in scheme modules

2011-02-09 Thread Simon Mackenzie
If I use the following to load a scheme module into a lilypond script file I can use any of the public interfaces in this current file. #(load init/credits.scm) #(use-modules (init credits)) %get access to the public defines in credits.scm #(ech 'set-song-number 66.) % ech is a public define

Re: Scheme : compiling text and score sequences

2011-02-09 Thread Xavier Scheuer
On 8 February 2011 23:40, Bertrand Bordage bordage.bertr...@gmail.com wrote: Hello, I'm currently trying to find some solutions to this issue : http://code.google.com/p/lilypond/issues/detail?id=737 I started implementing a solution for endnotes (attached). It is based on this snippet :

Re: PianoStaff can't removeEmpty

2011-02-09 Thread Xavier Scheuer
2011/2/9 胡海鹏 - Hu Haipeng hhpmu...@163.com: Hello, I suddenly discover that in all my scores, the piano staff can't remove empty. Therefore, my harp part is always there throughout my entire piece. How to remove it? IIRC default settings for PianoStaff is to remove either both staves if

Re:Re: PianoStaff can't removeEmpty

2011-02-09 Thread 胡海鹏 - Hu Haipeng
Thanks, but in my situation, both of my harp staves are empty, but the system is always there. See http://www.darajan2.com/douban/Haipeng/Celebration%20Overture.zip Regards Haipeng -原始邮件- 发件人: Xavier Scheuer x.sche...@gmail.com 发送时间: 2011年2月9日 星期三 收件人: 胡海鹏 - Hu Haipeng

Re: Scheme : compiling text and score sequences

2011-02-09 Thread Jan-Peter Voigt
Hello Bertrand, I reworked this snippet a little bit to display asterisks instead of numbers. This is the way we usually see those little footnotes in published notes - but it still faces a similar problem: If you have several staffs, the remarks are ordered first in system- *then* in

Re: Scheme : compiling text and score sequences

2011-02-09 Thread Jan-Peter Voigt
It may be totally unrelated but that reminds me of this: http://lists.gnu.org/archive/html/bug-lilypond/2010-12/msg00425.html Cheers, Xavier Hi Xavier, this is related to the footnote snippet ... if you have footnotes at a pagebreak, the footnote might be on the wrong page. For these

Re: Re: PianoStaff can't removeEmpty

2011-02-09 Thread Xavier Scheuer
2011/2/9 胡海鹏 - Hu Haipeng hhpmu...@163.com: Thanks, but in my situation, both of my harp staves are empty, but the system is always there. See http://www.darajan2.com/douban/Haipeng/Celebration%20Overture.zip Yes but AFAICS you do not use \RemoveEmptyStaves . I tried to compile your file but

Volta bracket not surviving line break

2011-02-09 Thread ornello
Hello, the following (incomplete) example includes a volta bracket which should span from bar 9 to 12. However it stops with the line break after bar 9. Any idea what I am doing wrong? \version 2.12.2 \score { \new Staff \key bes \major \numericTimeSignature \time 4/4 \clef violin \new Voice

RE: Volta bracket not surviving line break

2011-02-09 Thread James Lowe
Hello, -Original Message- From: lilypond-user-bounces+james.lowe=datacore@gnu.org [mailto:lilypond-user-bounces+james.lowe=datacore@gnu.org] On Behalf Of ornello Sent: 09 February 2011 13:47 To: lilypond-user@gnu.org Subject: Volta bracket not surviving line break Hello, the

Re: Volta bracket not surviving line break

2011-02-09 Thread Phil Holmes
- Original Message - From: ornello dominik.hoer...@fun.de To: lilypond-user@gnu.org Sent: Wednesday, February 09, 2011 1:47 PM Subject: Volta bracket not surviving line break Hello, the following (incomplete) example includes a volta bracket which should span from bar 9 to 12.

Re: Volta bracket not surviving line break

2011-02-09 Thread ornello
@James: I think my problem is similar to http://code.google.com/p/lilypond/issues/detail?id=1325 It seems there is some bad hack going on in volta-bracket.cc (Volta_bracket_interface::modify_edge_height). I have not found a workaround... @Phil: I don't agree. Have a look at the following

RE: Volta bracket not surviving line break

2011-02-09 Thread ornello
I think my problem is similar to http://code.google.com/p/lilypond/issues/detail?id=1325 It seems there is some bad hack going on in volta-bracket.cc (Volta_bracket_interface::modify_edge_height). I have not found a workaround... pkx166h wrote: Hello, -Original Message- From:

Re:Re: Re: PianoStaff can't removeEmpty

2011-02-09 Thread 胡海鹏 - Hu Haipeng
Oh, I find the culprit! Since I used the Dynamics context, which has no remove empty setting, the harp part can't be removed. Could anyone add this into the engraver-init.ly? Otherwise I have to keep it in my own def file--I'll try to find the way now. Sorry, the zip file has the def file

score missing accidentals

2011-02-09 Thread Douglas Ridgway
Hi, I'm new to Lilypond, and am taking a look at http://www.mutopiaproject.org/cgibin/piece-info.cgi?id=686 . I've successfully used the convert script to update the source files to 2.12.3, and generated PDFs of the score and parts. However, I noticed that the score is missing accidentals that

Get the pitch as number

2011-02-09 Thread Henrik Frisk
Hi all, I'm trying to write a couple of functions that will attach a given text script to a note depending on the pitch. In the example below I get the first item in the list, as expected if I run (get-text 1). If I run (get-pitch msc) I get ((0)) and if I try to compile the file or run

RE: score missing accidentals

2011-02-09 Thread James Lowe
Doug, Can you give us a samply .ly file (you'll need to include the global file also). Then we can at least compile it to see. I did a quick and dirty compile (with no converting) and I did get accidentals - for example I changed the key in bassoon1.ly to c major and all the accidentals

.ly file into PDF snippets

2011-02-09 Thread Stjepan Horvat
Hello..which is there the easyest way to export a ly file to snippets in PDF format.. Something like eps file..each line a diffrent pdf file.. -- Nesmotren govori kao da mačem probada, a jezik je mudrih iscjeljenje. Izreke 12:18 ___ lilypond-user

RE: .ly file into PDF snippets

2011-02-09 Thread James Lowe
From: lilypond-user-bounces+james.lowe=datacore@gnu.org [mailto:lilypond-user-bounces+james.lowe=datacore@gnu.org] On Behalf Of Stjepan Horvat Sent: 09 February 2011 17:30 To: lilypond-user Mailinglist Subject: .ly file into PDF snippets Hello..which is there the easyest way to export

RE: score missing accidentals

2011-02-09 Thread James Lowe
Douglas -Original Message- From: dridg...@gmail.com [mailto:dridg...@gmail.com] On Behalf Of Douglas Ridgway Sent: 09 February 2011 17:44 To: James Lowe Subject: Re: score missing accidentals Hm - the accidentals showed up in the bassoon-only part, or the complete conductor's score? I

Re: score missing accidentals

2011-02-09 Thread Xavier Scheuer
On 9 February 2011 18:48, James Lowe james.l...@datacore.com wrote: Douglas -Original Message- From: dridg...@gmail.com [mailto:dridg...@gmail.com] On Behalf Of Douglas Ridgway Sent: 09 February 2011 17:44 To: James Lowe Subject: Re: score missing accidentals Hm - the

Re: score missing accidentals

2011-02-09 Thread Douglas Ridgway
On Wed, Feb 9, 2011 at 10:58 AM, Xavier Scheuer x.sche...@gmail.com wrote: On 9 February 2011 18:48, James Lowe james.l...@datacore.com wrote: Douglas -Original Message- From: dridg...@gmail.com [mailto:dridg...@gmail.com] On Behalf Of Douglas Ridgway Sent: 09 February 2011 17:44

Re: score missing accidentals

2011-02-09 Thread Keith OHara
Douglas Ridgway ridgway at dridgway.com writes: Actually, it looks like the score doesn't contain any accidentals at all, at least in the first movement. Is there something simple that I'm missing? I could not resist looking into this. The horn part contains a request to make all

Re: score missing accidentals

2011-02-09 Thread Keith OHara
Douglas Ridgway ridgway at dridgway.com writes: I'm new to Lilypond, and am taking a look at http://www.mutopiaproject.org/cgibin/piece-info.cgi?id=686 . I've successfully used the convert script to update the source files to 2.12.3, and generated PDFs of the score and parts. However, I

Re: Scheme : compiling text and score sequences

2011-02-09 Thread Bertrand Bordage
Thanks Jan-Peter ! I agree with your idea of using asterisks instead of numbers when annotating scores (but for text, numbers seems more elegant). For the moment, I will try to do LaTeX-like footnotes for markuplines. Indeed, this would be a good solution for now : - A column of footnotes on

Use fingering notation for percussion and drum “sticking”

2011-02-09 Thread Ben Finney
Howdy all, Some time ago, there was a discussion about percussion notation: Trevor Daniels t.dani...@treda.co.uk writes: I know nothing of percussion myself, so I'll copy this to -user to elicit some responses from those that do. In particular, how best to indicate sticking, and the

Re: alpha test, horizontal spacing

2011-02-09 Thread Keith OHara
On Mon, 27 Sep 2010 21:30:03 +0100 Gerard McConnell wrote: On Mon, Sep 27, 2010 at 7:56 PM, Keith E OHara k-ohara5...@oco.net wrote: So I favor less aggressive tucking of noteheads under other noteheads and their attached accidentals, if that is an option. Other opinions? I agree that in

Separate voices each on a separate RhythmicStaff

2011-02-09 Thread Ben Finney
Howdy all, My reading of the notation reference suggests that LilyPond can automatically place separate voices onto separate staves, by pitching those voices differently. How can this be done for separate rhythm voices? I want separate voices (sometimes three or more) to appear on a separate

Re: Fretboard positions on staff

2011-02-09 Thread Carl Sorensen
On 2/9/11 6:31 PM, Terrence McNulty tjmcnu...@ymail.com wrote: Hi. Does LilyPond recommend roman numerals to indicated fretboard positioning on the staff? And if so, what is the appropriate method for adding those in my LilyPond engraving? Or where is this discussed in the manual? LilyPond

Crescendo over repeated measures using percents

2011-02-09 Thread Ben Finney
Howdy all, Writing a crescendo requires notation on the beginning note and the ending note of the crescendo. But that doesn't fit well with a crescendo across repeated measures. The piece I'm transcribing has a section with a repeated measure. No problem: \repeat percent 4 { c8.- c16- c8.

Re: Crescendo over repeated measures using percents

2011-02-09 Thread Jay Anderson
On Wed, Feb 9, 2011 at 10:22 PM, Ben Finney ben+lilyp...@benfinney.id.au wrote: The trouble is, I also needs a crescendo from the beginning to the end of those four measures. How can I get that result? \version 2.13.49 \new Staff { \new Voice \relative c' { \repeat percent 4 {

Re: Crescendo over repeated measures using percents

2011-02-09 Thread Ben Finney
Jay Anderson horndud...@gmail.com writes: \new Staff { \new Voice \relative c' { \repeat percent 4 { c8.- c16- c8. c16 c8. c16 c8. c16 } {s1\ s s s s1*0\!} } } That works, thank you. So, let me see if I understand: you've added an extra voice for a section