2004-03-22 Han-Wen Nienhuys <hanwen@xs4all.nl>
+ * scm/document-backend.scm (interface-doc): sort grob list for interface.
+
+ * scm/define-grobs.scm (all-grob-descriptions): fix ordering of
+ pre/post break align-order.
+
* spelling patch courtesy Edward Sutton.
* Documentation/user/changing-defaults.itely (Changing context
<li>
<a class="title" href="../user/out-www/lilypond-internals/index.html">Program reference</a>
- <br>(for LilyPond hackers)
+ <br>(definitions for tweaking)
<li>
<a class="title" href="../../input/regression/out-www/collated-files.html">Regression tests</a> (in <a class="title" href="../../input/regression/out-www/collated-files.pdf">PDF</a>)
\accepts "ImproVoice"
}}
\score { \notes \relative c'' {
- a4 d8 bes8 \new ImproVoice { c4^"ad lib"
- c4 c^"undress" c c_"while playing :)" }
+ a4 d8 bes8 \new ImproVoice { c4^"ad lib" c
+ c4 c^"undress" c_"while playing :)" c }
a1
}}
@end lilypond
}
@end verbatim
+Putting both into a @code{\paper} block, like
+@example
+ \paper @{
+ \context @{
+ \name ImproVoice
+ @dots{}
+ @}
+ \context @{
+ \StaffContext
+ \accepts "ImproVoice"
+ @}
+@}
+@end example
+
+Then the output at the start of this subsection can be entered as
+
+@verbatim
+\score {
+ \notes \relative c'' {
+ a4 d8 bes8
+ \new ImproVoice {
+ c4^"ad lib" c
+ c4 c^"undress"
+ c c_"while playing :)"
+ }
+ a1
+ }
+}
+@end verbatim
+
@node Which properties to change
spacing breakable items.")
(break-align-orders ,vector? " Defines the order in which
prefatory matter (clefs, key signatures) appears. The format is a
-vector of length 3. Each element is an order for (end-of-line, middle
-of line, and start-of-line). The order is a list of symbols.
-Clefs are put after key signatures by setting
+vector of length 3, where each element is one order for end-of-line,
+middle of line, and start-of-line respectively. An order is a list of
+symbols.
+
+For example, clefs are put after key signatures by setting
@example
- \\property Score.breakAlignOrder = #(make-vector 3
+ \\override Score.BreakAlignment #'break-align-orders = #(make-vector 3
'(span-bar
breathing-sign
staff-bar
(instrument-name left-edge ambitus breathing-sign
clef staff-bar key-signature
time-signature custos)
+
+ ; unbroken
(instrument-name left-edge ambitus breathing-sign
clef staff-bar key-signature
staff
time-signature custos)
+ ; begin of line
(instrument-name left-edge ambitus breathing-sign
clef key-signature staff-bar
time-signature custos)
(human-listify
(map ref-ify
- (map symbol->string
- (hashq-ref iface->grob-table (car interface) '() )))))
+ (sort
+ (map symbol->string
+ (hashq-ref iface->grob-table (car interface) '() ))
+ string<?)
+
+ )))
)))