fancy-format becomes the name for the ice-9 format function.
format becomes the name for ergonomic-simple-format.
So you can see that format is redefined to be simple-format.
Thanks Carl.
All is clearer.
So, by default, you should use "format" and reserve "fancy-format" for
specific uses (
On 3/17/11 5:04 PM, "Gilles THIBAULT" wrote:
> Just a comment :
> If you use "format" instead of "fancy-format" it works too.
> fancy-format doen't seem to be part of guile, so only a function added by
> Lilypond. I found it in output-svg.scm defined as follow :
> (define fancy-format format)
> So
On 3/17/11 5:04 PM, "Gilles THIBAULT" wrote:
> fancy-format doen't seem to be part of guile, so only a function added by
> Lilypond. I found it in output-svg.scm defined as follow :
> (define fancy-format format)
> So it is exactly the same !
> What the advantage to use fancy-format vs format ?
Right -- markFormatter needs to be a procedure, so you define it as a
lambda procedure:
\set Score.markFormatter = #(lambda (mark) (fancy-format #f "~@r." mark))
Haven't tested, but this is the general idea.
This lambda procedure needs 2 arguments.
With :
\set Score.markFormatter = #(lambda (m
On 3/17/11 9:37 AM, "Adam Good" wrote:
> Another tree to bark up and on a similar note, how to set roman
> numerals in Score.markFormatter as rehearsal marks via \mark \default
> ...
>
> \version "2.12.3"
>
> \relative c' {
> \set Score.markFormatter = #(fancy-format #f "~@r." 1)
>
> \mark
Another tree to bark up and on a similar note, how to set roman
numerals in Score.markFormatter as rehearsal marks via \mark \default
...
\version "2.12.3"
\relative c' {
\set Score.markFormatter = #(fancy-format #f "~@r." 1)
\mark \default
a b c d
\mark \default
a b c d
}
gives:
wa
Completely awesome. Thank you guys so much for your help. Long live
Lilyponders!!
On Thu, Mar 17, 2011 at 9:48 AM, Dmytro O. Redchuk
wrote:
> On Thu 17 Mar 2011, 09:13 Adam Good wrote:
>> Carl thank you for the input! Unfortunately I get an error that I
>> don't know how to do anything with. Belo
On Thu 17 Mar 2011, 09:13 Adam Good wrote:
> Carl thank you for the input! Unfortunately I get an error that I
> don't know how to do anything with. Below is my input and output.
>
> If you or anyone can help this would be a nice help to me. Thanks!
> Adam
>
> @@@
>
> \version "2.12.3"
>
> #(de
Carl thank you for the input! Unfortunately I get an error that I
don't know how to do anything with. Below is my input and output.
If you or anyone can help this would be a nice help to me. Thanks!
Adam
@@@
\version "2.12.3"
#(define sequence-number 0)
#(define-markup-command (score-sequence
On 3/16/11 4:16 PM, "Adam Good" wrote:
> Hello,
> Considering that fretboard diagrams can use (number-type .
> roman-lower) how can I get scheme to print Roman numerals in place of
> Arabic numbers in the following sequence?
>
> Thanks
A quick search of scm/fret-diagrams.scm for roman sh
Hello,
Considering that fretboard diagrams can use (number-type .
roman-lower) how can I get scheme to print Roman numerals in place of
Arabic numbers in the following sequence?
Thanks
Adam
@@@
\version "2.12.3"
#(define sequence-number 0)
#(define-markup-command (score-sequence layout prop
11 matches
Mail list logo