X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=Documentation%2Fuser%2Fprogramming-interface.itely;h=da2960fd66dd4e5ad4df334e58e8b2d7044a2d69;hb=4ef9b950a09e2b8e073017a8e427ab48c8ed1d0b;hp=620c698d2c56acb147e15e16cb1a6afde395c472;hpb=e28b6d81bd922bffa65efc1058bcb55a0ec8857e;p=lilypond.git diff --git a/Documentation/user/programming-interface.itely b/Documentation/user/programming-interface.itely index 620c698d2c..da2960fd66 100644 --- a/Documentation/user/programming-interface.itely +++ b/Documentation/user/programming-interface.itely @@ -263,13 +263,13 @@ without arguments, @example displayBarNum = #(define-music-function (parser location) () - (if (eq? #t (ly:get-option display-bar-numbers)) + (if (eq? #t (ly:get-option 'display-bar-numbers)) #@{ \once \override Score.BarNumber #'break-visibility = ##f #@} #@{#@})) @end example To actually display bar numbers where this function is called, -invoke lilypond with +invoke @command{lilypond} with @example lilypond -d display-bar-numbers FILENAME.ly @@ -389,7 +389,7 @@ define some Scheme code in a macro (to be called later), use @end example -@refbugs +@knownissues Mixing Scheme and LilyPond variables is not possible with the @code{--safe} option. @@ -589,7 +589,7 @@ d' @subsection Doubling a note with slurs (example) Suppose we want to create a function which translates -input like @samp{a} into @samp{a( a)}. We begin +input like @code{a} into @code{a( a)}. We begin by examining the internal representation of the music we want to end up with. @@ -895,7 +895,7 @@ useful when defining new markup commands (see @ref{New markup command definition}). -@refbugs +@knownissues The markup-list argument of commands such as @code{#:line}, @code{#:center}, and @code{#:column} cannot be a variable or @@ -1112,7 +1112,7 @@ to the @code{interpret-markup} function, with the @code{layout} and Note: there is now an internal command @code{\smallCaps} which can be used to set text in small caps. See -@ref{Overview of text markup commands}, for details. +@ref{Text markup commands}, for details. @node New markup list command definition @@ -1144,7 +1144,7 @@ is not found, the default value is @code{2}. Then, a list of justified lines is made using the @code{make-justified-lines-markup-list} function, which is related to the @code{\justified-lines} built-in markup list command. An horizontal space is added at the -begining using the @code{make-hspace-markup} function. Finally, the +beginning using the @code{make-hspace-markup} function. Finally, the markup list is interpreted using the @code{interpret-markup-list} function.