lilypond-devel
[Top][All Lists]
Advanced

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

Re: Doc of 'style ?


From: Bertalan Fodor (LilyPondTool)
Subject: Re: Doc of 'style ?
Date: Fri, 07 Mar 2008 12:59:19 +0100
User-agent: Thunderbird 2.0.0.12 (Windows/20080213)

As I know the stencil callback is unfortunately C code. So the valid styles are only present in the C sources.
That's a drawback of the current documentation system.

Bert

Valentin Villenave wrote:
An additional question: are the spanner styles documented anywhere?

When I tried to answer Haipeng on -user, I browsed the Internals
Reference but couldn't find anything else than:


style (symbol):
    'line

    This setting determines in what style a grob is typeset. Valid
choices depend on the stencil callback reading this property.


So I browsed the source files, trying to get a list of possible
stencil callbacks; I found these in  define-sencil-commands.scm:


(map ly:register-stencil-expression
     '(beam
       bezier-sandwich
       blank
       bracket
       char
       circle
       dashed-line
       dashed-slur
       dot
       draw-line
       embedded-ps
       glyph-string
       named-glyph
       path
       polygon
       repeat-slash
       resetcolor
       round-filled-box
       setcolor
       text
       url-link
       utf-8-string
       white-dot
       white-text
       zigzag-line

       grob-cause
       no-origin
       placebox
       unknown

       delay-stencil-evaluation
       ))

I can't say I have any idea of to use them. I looked in output-ps.scm,
but that didn't really help. Can anyone help me to document it? I
can't wait to see how a "bezier-sandwich" looks like! :)

Cheers,
Valentin


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



--
LilyPondTool is the editor for LilyPond files.
See http://lilypondtool.organum.hu





reply via email to

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