[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
rendering-order (Scheme) and lilypond-book
From: |
Phil Hézaine |
Subject: |
rendering-order (Scheme) and lilypond-book |
Date: |
Thu, 13 Jan 2011 18:55:48 +0100 |
User-agent: |
Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.13) Gecko/20101218 Lightning/1.0b3pre Thunderbird/3.1.7 |
Hi,
Quoted from a previous post on this list:
> \version "2.13.45"
>
> #(define sequence-number 0)
> #(define-markup-command (score-sequence layout props sequence-number)
> (number?)
> (interpret-markup layout props
> (markup #:bold #:huge (number->string sequence-number)#:fontsize 6
".")))
>
Is there a way to use this function when i compile with lilypond-book?
I use 12.13.45
Currently I have an
\include "rendering-order.ly"
in my separate files of the Chorales by Bach
and
\new PianoStaff <<
#(set! sequence-number (1+ sequence-number))
\set PianoStaff.instrumentName = \markup { \score-sequence
#sequence-number }
...
but each choral is written with the number 1. (only with lilypond-book)
I have the intuition of the explanation but if someone has a solution
you're welcome.
By the way I have slightly and clumsily tweaked this function but the
dot after the digit seems to be a bit far away, I think.
Any help will be much appreciated.
Phil.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- rendering-order (Scheme) and lilypond-book,
Phil Hézaine <=