]> git.donarmstrong.com Git - lilypond.git/blob - scm/define-grobs.scm
* input/regression/clef-oct.ly: new file.
[lilypond.git] / scm / define-grobs.scm
1 ;;;; grob-description.scm -- part of generated backend documentation
2 ;;;;
3 ;;;;  source file of the GNU LilyPond music typesetter
4 ;;;; 
5 ;;;; (c)  1998--2003  Han-Wen Nienhuys <hanwen@cs.uu.nl>
6 ;;;;                 Jan Nieuwenhuizen <janneke@gnu.org>
7
8 ;;;; distances are given in stafflinethickness (thicknesses) and
9 ;;;; staffspace (distances)
10
11 ;;;; WARNING: the meta field should be the last one.
12 ;;;; WARNING: don't use anonymous functions for initialization. 
13
14 ;; TODO: junk the meta field in favor of something more compact?
15 (define-public all-grob-descriptions
16   `(
17     (Accidental
18      . (
19         (molecule-callback . ,Accidental_interface::brew_molecule)
20         (font-family . music)
21         (cautionary-style . parentheses)
22         (after-line-breaking-callback . ,Accidental_interface::after_line_breaking)             (meta . ((interfaces . (item-interface accidental-interface font-interface))))
23         ))
24     (AccidentalPlacement
25      . (
26         (X-extent-callback . ,Axis_group_interface::group_extent_callback)
27         (left-padding . 0.3)
28
29         ;; this is quite small, but it is very ugly to have
30         ;; accs closer to the previous note than to the next one.
31         (right-padding . 0.15)
32         (meta . ((interfaces . (item-interface accidental-placement-interface))))
33         ))
34
35     (Ambitus
36      . (
37        (breakable . #t)
38        (break-align-symbol . ambitus)
39        (molecule-callback . ,Ambitus::brew_molecule)
40        (font-family . music)
41        (note-head-style . "noteheads-2")
42        (visibility-lambda . ,begin-of-line-visible)
43        (join-heads . #t)
44        (space-alist . (
45                        (clef . (extra-space . 0.0))
46                        (key-signature . (extra-space . 0.0))
47                        (staff-bar . (extra-space . 0.0))
48                        (time-signature . (extra-space . 0.0)) 
49                        (first-note . (extra-space . 0.0))
50                        ))
51        (meta . ((interfaces . (ambitus-interface staff-symbol-referencer-interface break-aligned-interface item-interface  font-interface))))
52        ))
53
54     (Arpeggio
55      . (
56         (X-extent-callback . ,Arpeggio::width_callback)
57         (Y-extent-callback . #f)               
58         (molecule-callback . ,Arpeggio::brew_molecule)
59         (Y-offset-callbacks . (,Staff_symbol_referencer::callback))
60         (X-offset-callbacks . (,Side_position_interface::aligned_side))
61         (direction . -1)
62         (staff-position . 0.0)
63         (meta . ((interfaces . (arpeggio-interface staff-symbol-referencer-interface side-position-interface item-interface font-interface))))
64         ))
65
66     (BarLine
67      . (
68         (break-align-symbol . staff-bar)
69         (glyph . "|")
70         (break-glyph-function . ,default-break-barline)
71         (bar-size-procedure . ,Bar_line::get_staff_bar_size)
72         (molecule-callback . ,Bar_line::brew_molecule)     
73         (break-visibility . ,all-visible)
74         (breakable . #t)
75         (before-line-breaking-callback . ,Bar_line::before_line_breaking)
76         (space-alist . (
77                         (time-signature . (extra-space . 0.75)) 
78                         (custos . (minimum-space . 2.0))
79                         (clef .   (minimum-space . 1.0))
80                         (key-signature . (extra-space . 1.0))
81                         (first-note . (extra-space . 1.3))
82                         (right-edge . (extra-space . 0.0))
83                         ))
84
85         ;;
86         ;; Ross. page 151 lists other values, we opt for a leaner look
87         ;; 
88         (kern . 3.0)
89         (thin-kern . 3.0)
90         (hair-thickness . 1.6)
91         (thick-thickness . 6.0)
92         (meta . ((interfaces . (bar-line-interface item-interface   break-aligned-interface font-interface))))
93         ))
94
95     
96     (BarNumber
97      . (
98         (molecule-callback . ,Text_item::brew_molecule)
99         (breakable . #t)
100         (break-visibility . ,begin-of-line-visible)
101         (padding . 1.0)
102         (direction . 1)
103         (font-family . roman)
104         (font-relative-size . -1)
105         (Y-offset-callbacks . (,Side_position_interface::aligned_side))
106         (X-offset-callbacks . (,Self_alignment_interface::aligned_on_self))
107         (self-alignment-X . 1)
108         (extra-offset . (1.3 . 0))
109         (meta .
110               ((interfaces . (side-position-interface
111                               text-interface
112                               self-alignment-interface
113                               font-interface item-interface  break-aligned-interface))))
114
115              ))
116
117     (BassFigure
118      . (
119         (molecule-callback . ,Text_item::brew_molecule)
120         (Y-offset-callbacks . (,Self_alignment_interface::aligned_on_self))
121         (direction . 1)
122         (font-family . number)
123         (font-relative-size . -3)
124         (kern . 0.2)
125         (meta . ((interfaces . (text-interface                                                  rhythmic-grob-interface
126                                                                                                 bass-figure-interface item-interface
127                                                                                                 self-alignment-interface font-interface))))
128         ))
129     (Beam
130      . (
131         ;; todo: clean this up a bit: the list is getting
132         ;; rather long.
133         (molecule-callback . ,Beam::brew_molecule)
134         (concaveness-gap . 2.0)
135         (concaveness-threshold . 0.08)
136         
137         (positions . (#f . #f))
138         (position-callbacks . (,Beam::least_squares
139                                ,Beam::check_concave
140                                ,Beam::slope_damping
141                                ,Beam::shift_region_to_valid
142                                ,Beam::quanting
143                               ))
144
145         ;; TODO: should be in SLT.
146         (thickness . 0.48) ; in staff-space
147         (before-line-breaking-callback . ,Beam::before_line_breaking)
148         (after-line-breaking-callback . ,Beam::after_line_breaking)
149         (neutral-direction . -1)
150         (dir-function . ,beam-dir-majority-median)
151         
152         ;; Whe have some unreferenced problems here.
153         ;;
154         ;; If we shorten beamed stems less than normal stems (1 staffspace),
155         ;; or high order less than 8th beams, patterns like
156         ;;     c''4 [c''8 c''] c''4 [c''16 c]
157         ;; are ugly (different stem lengths).
158         ;;
159         ;; But if we shorten 16th beams as much as 8th beams, a single
160         ;; forced 16th beam looks *very* short.
161
162         ;; We choose to shorten 8th beams the same as single stems,
163         ;; and high order beams less than 8th beams, so that all
164         ;; isolated shortened beams look nice and a bit shortened,
165         ;; sadly possibly breaking patterns with high order beams.
166         (beamed-stem-shorten . (1.0 0.5 0.25))
167         
168         (outer-stem-length-limit . 0.2)
169         (slope-limit . 0.2)
170         (flag-width-function . ,beam-flag-width-function)
171         (damping . 1)
172         (auto-knee-gap . 5.5)
173
174         ;; only for debugging.
175 ;       (font-name . "cmr10")
176         
177         (space-function . ,Beam::space_function)
178         (meta . ((interfaces . (staff-symbol-referencer-interface beam-interface spanner-interface))))
179         ))
180
181     (BreakAlignment
182      . (
183         (breakable . #t)
184         (stacking-dir . 1)
185         (axes . (0))
186         (X-extent-callback . ,Axis_group_interface::group_extent_callback)
187         (meta . ((interfaces . (break-alignment-interface item-interface axis-group-interface)))))
188         )
189
190     (BreakAlignGroup
191      . (
192         (axes  . (0))
193         (X-offset-callbacks . (,Break_align_interface::alignment_callback))
194         (X-extent-callback . ,Axis_group_interface::group_extent_callback)
195         (meta . ((interfaces . (break-aligned-interface item-interface axis-group-interface item-interface ))))
196         ))
197
198     (BreathingSign
199      . (
200         (break-align-symbol . breathing-sign)
201         (breakable . #t)
202         (space-alist . (
203                         (ambitus . (extra-space . 2.0))
204                         (custos . (minimum-space . 1.0))
205                         (key-signature . (minimum-space . 1.5))
206                         (staff-bar . (minimum-space . 1.5))
207                         (clef . (minimum-space . 2.0))
208                         (first-note . (minimum-space . 1.0))
209                         (right-edge . (extra-space . 0.1))
210                         ))
211         (molecule-callback . ,Text_item::brew_molecule)
212         (text . ,(make-musicglyph-markup "scripts-rcomma"))
213         (Y-offset-callbacks . (,Breathing_sign::offset_callback))
214         (break-visibility . ,begin-of-line-invisible)
215         (meta . ((interfaces . (break-aligned-interface breathing-sign-interface text-interface font-interface item-interface ))))
216         ))
217
218     (Clef
219      . (
220         (molecule-callback . ,Clef::brew_molecule)
221         (before-line-breaking-callback . ,Clef::before_line_breaking)
222         (breakable . #t)
223         (font-family . music)      
224         (break-align-symbol . clef)
225         (break-visibility . ,begin-of-line-visible)
226         (space-alist . (
227                         (ambitus . (extra-space . 2.0))
228                         (staff-bar . (minimum-space .  3.7))
229                         (key-signature . (minimum-space . 4.0))
230                         (time-signature . (minimum-space . 4.2))
231                         (first-note . (minimum-space . 5.0))
232                         (next-note . (extra-space . 0.5))
233                         (right-edge . (extra-space . 0.5))
234                         ))
235         (Y-offset-callbacks  . (,Staff_symbol_referencer::callback)) 
236         (meta . ((interfaces . (clef-interface staff-symbol-referencer-interface font-interface break-aligned-interface item-interface ))))
237         ))
238     
239     (ClusterSpannerBeacon
240      . (
241         (molecule-callback . #f)
242         (meta . ((interfaces . (cluster-beacon-interface item-interface))))
243         ))
244     
245     (ClusterSpanner
246      . (
247         (molecule-callback . ,Cluster::brew_molecule)
248         (spacing-procedure . ,Spanner::set_spacing_rods)                
249         (minimum-length . 0.0)
250         (padding . 0.25)
251         (style . ramp)
252         (meta . ((interfaces . (cluster-interface spanner-interface))))
253         ))
254
255     (ChordName
256      . (
257         (molecule-callback . ,Text_item::brew_molecule)
258         (after-line-breaking-callback . ,Chord_name::after_line_breaking)
259         (word-space . 0.0)
260         (font-family . roman)
261         (meta . ((interfaces . (font-interface                                                  rhythmic-grob-interface
262                                                                                                 text-interface chord-name-interface item-interface ))))
263         ))
264
265     (Custos
266      . (
267         (break-align-symbol . custos)
268         (breakable . #t)
269         (molecule-callback . ,Custos::brew_molecule)
270         (break-visibility . ,end-of-line-visible)
271         (style . vaticana)
272         (neutral-position . 0)
273         (neutral-direction . -1)
274         (adjust-if-on-staffline . #t)
275         (Y-offset-callbacks . (,Staff_symbol_referencer::callback))
276         (space-alist . (
277                         (first-note . (minimum-space . 0.0))
278                         (right-edge . (extra-space . 0.1))
279                         ))
280         (meta . ((interfaces
281                   . (custos-interface staff-symbol-referencer-interface
282                                       font-interface
283                                       break-aligned-interface item-interface ))))
284         ))
285
286
287     (DotColumn
288      . (
289         (axes . (0))
290         (direction . 1)
291         (X-extent-callback . ,Axis_group_interface::group_extent_callback)
292         (X-offset-callbacks . (,Dot_column::side_position))
293         (meta . ((interfaces . (dot-column-interface axis-group-interface item-interface ))))
294         ))
295
296     (Dots
297      . (
298         (molecule-callback . ,Dots::brew_molecule)
299         (dot-count . 1)
300         (Y-offset-callbacks  . (,Dots::quantised_position_callback ,Staff_symbol_referencer::callback))
301         (meta . ((interfaces . (font-interface staff-symbol-referencer-interface dots-interface item-interface ))))
302         ))
303
304     (DoublePercentRepeat .
305                          (
306                           (molecule-callback . ,Percent_repeat_item_interface::double_percent)
307                           (breakable . #t)
308                           (slope . 1.0)
309                           (font-family . music)
310                           (width . 2.0)
311                           (thickness . 0.48)
312                           (break-align-symbol . staff-bar)
313                           (break-visibility . ,begin-of-line-invisible)
314                           (meta . ((interfaces . (font-interface
315                                                   break-aligned-interface
316                                                   percent-repeat-interface item-interface ))))
317                          ))
318
319     (DynamicText
320      . (
321         (Y-offset-callbacks . (,Self_alignment_interface::aligned_on_self))
322         (molecule-callback . ,Text_item::brew_molecule)
323         (X-offset-callbacks . (,Self_alignment_interface::aligned_on_self
324                                ,Self_alignment_interface::centered_on_parent))
325         (self-alignment-X . 0)
326         (no-spacing-rods . #t)
327         (script-priority . 100)
328         (font-series . bold)
329         (font-family . dynamic)
330         (font-shape . italic)
331         (self-alignment-Y . 0)
332         (meta . ((interfaces . (font-interface text-interface self-alignment-interface  dynamic-interface script-interface item-interface ))))
333         ))
334
335     (DynamicLineSpanner
336      . (
337         (axes . (1))
338         (Y-extent-callback . ,Axis_group_interface::group_extent_callback)      
339         (Y-offset-callbacks . (,Side_position_interface::aligned_side))
340         (padding . 0.6)
341         (minimum-space . 1.2)
342         (direction . -1)
343         (meta . ((interfaces . (dynamic-interface axis-group-interface side-position-interface spanner-interface))))
344         ))
345
346     (LeftEdge
347      . (
348         (break-align-symbol . left-edge)
349         (X-extent-callback . ,Grob::point_dimension_callback)
350         (breakable . #t)
351         (space-alist . (
352                         (custos . (extra-space . 0.0))
353                         (ambitus . (extra-space . 2.0))
354                         (time-signature . (extra-space . 0.0)) 
355                         (staff-bar . (extra-space . 0.0))
356                         (breathing-sign . (minimum-space  . 0.0))
357                         (clef . (extra-space . 0.85))
358                         (first-note . (extra-space . 1.0))
359                         (right-edge . (extra-space . 0.0))
360                         (key-signature . (extra-space . 0.0))
361                         ))
362         (meta . ((interfaces . (break-aligned-interface item-interface ))))
363         ))
364
365     (Fingering
366      . (
367         (molecule-callback . ,Text_item::brew_molecule)
368         (padding . 0.6)
369         ;;              (direction . -1)
370         (self-alignment-X . 0)
371         (self-alignment-Y . 0)
372         (script-priority . 100)
373         (font-family . number)
374         (font-relative-size . -3)
375         (font-shape . upright)
376         (meta . ((interfaces . (finger-interface font-interface text-script-interface text-interface side-position-interface self-alignment-interface item-interface ))))
377         ))
378
379
380     (RemoveEmptyVerticalGroup
381      . (
382         (Y-offset-callbacks . (,Hara_kiri_group_spanner::force_hara_kiri_callback))
383         (Y-extent-callback . ,Hara_kiri_group_spanner::y_extent)
384         (remove-first . #t)
385         (axes . (1))
386         (meta . ((interfaces . (axis-group-interface hara-kiri-group-interface item-interface  spanner-interface))))
387         ))
388
389     (Hairpin
390      . (
391         (molecule-callback . ,Hairpin::brew_molecule)
392         (thickness . 1.0)
393         (height . 0.6666)
394         (spacing-procedure . ,Spanner::set_spacing_rods)
395         (minimum-length . 2.0)
396         (if-text-padding . 1.0)
397         (width-correct . -1.0)
398
399         (dash-thickness . 1.2)
400         (dash-length . 4.0)
401         (self-alignment-Y . 0)
402         (Y-offset-callbacks . (,Self_alignment_interface::aligned_on_self))
403         (meta . ((interfaces . (hairpin-interface self-alignment-interface dynamic-interface spanner-interface))))
404         ))
405
406     (HorizontalBracket
407      . (
408         (thickness . 1.0)
409         (molecule-callback . ,Horizontal_bracket::brew_molecule)
410         (Y-offset-callbacks . (,Side_position_interface::aligned_side))
411         (padding . 0.2)
412         (direction . -1)
413         (meta . ((interfaces . (horizontal-bracket-interface side-position-interface spanner-interface))))
414         ))
415     (InstrumentName
416      . (
417         (breakable . #t)
418         (Y-offset-callbacks . (,Self_alignment_interface::aligned_on_self
419                                ,Side_position_interface::aligned_on_support_refpoints))
420         ;; This direction is for aligned_on_support_refpoints
421         ;; (?) --hwn
422         (direction . 0)
423         (space-alist . (
424                         (left-edge . (extra-space . 1.0))
425                         ))
426
427         (self-alignment-Y . 0)
428         (molecule-callback . ,Text_item::brew_molecule)         
429         (break-align-symbol . instrument-name)
430         (break-visibility . ,begin-of-line-visible)
431         (baseline-skip . 2)
432         (font-family . roman)
433         (meta . ((interfaces . (font-interface self-alignment-interface side-position-interface text-interface break-aligned-interface item-interface ))))
434         ))
435
436     (KeySignature
437      . (
438         (molecule-callback . ,Key_signature_interface::brew_molecule)
439         (space-alist . (
440                         (time-signature . (extra-space . 1.25))
441                         (staff-bar .  (extra-space . 1.1))
442                         (right-edge . (extra-space . 0.5))
443                         (first-note . (extra-space . 2.5))
444                         ))
445         (Y-offset-callbacks . (,Staff_symbol_referencer::callback))
446         (break-align-symbol . key-signature)
447         (break-visibility . ,begin-of-line-visible)
448         (breakable . #t)
449         (meta . ((interfaces . (key-signature-interface  font-interface  break-aligned-interface item-interface ))))
450         ))
451
452     (LigatureBracket
453      . (
454         (ligature-primitive-callback . ,Note_head::brew_molecule)
455         (direction . 1)
456         (gap . 0.0)
457         (padding . 2.0)
458         (thickness . 1.6)
459         (edge-height . (0.7 . 0.7))
460         (shorten-pair . (-0.2 . -0.2))
461         (before-line-breaking-callback . ,Tuplet_bracket::before_line_breaking)
462         (after-line-breaking-callback . ,Tuplet_bracket::after_line_breaking)
463         (molecule-callback . ,Tuplet_bracket::brew_molecule)
464         (meta .  ((interfaces . (tuplet-bracket-interface spanner-interface))))
465         ))
466
467     (LyricHyphen
468      . (
469         (thickness . 1.0)
470         (height . 0.4)
471         (minimum-length .  0.5) 
472         (maximum-length .  100)
473         (spacing-procedure . ,Hyphen_spanner::set_spacing_rods)
474         (molecule-callback . ,Hyphen_spanner::brew_molecule)
475         (Y-extent-callback . ,Grob::point_dimension_callback)
476         (meta . ((interfaces . (lyric-hyphen-interface spanner-interface))))
477         ))
478
479     (LyricExtender
480      . (
481         (molecule-callback . ,Lyric_extender::brew_molecule)
482         (height . 0.8) ; stafflinethickness;
483         (right-trim-amount . 0.5)
484         (Y-extent-callback . ,Grob::point_dimension_callback)
485         (meta . ((interfaces . (lyric-extender-interface spanner-interface))))
486         ))
487
488     (LyricText
489      . (
490         (molecule-callback . ,Text_item::brew_molecule)
491         (X-offset-callbacks . (,Self_alignment_interface::centered_on_parent
492                                ,Self_alignment_interface::aligned_on_self))
493         (self-alignment-X . 0)
494         (word-space . 0.6)
495         (ignore-length-mismatch . #f)
496         (begin-alignment . 4)
497         (end-alignment . 2)
498         (font-family . roman)
499         (font-shape . upright)
500         
501         (meta . ((interfaces . (rhythmic-grob-interface lyric-syllable-interface self-alignment-interface text-interface font-interface item-interface ))))
502         ))
503
504     (MensuralLigature
505      . (
506         (thickness . 1.4)
507         (flexa-width . 2.0)
508         (ligature-primitive-callback . ,Mensural_ligature::brew_ligature_primitive)
509         (molecule-callback . ,Mensural_ligature::brew_molecule)
510         (meta . ((interfaces . (mensural-ligature-interface font-interface))))
511         ))
512
513     (RehearsalMark
514      . (
515         (molecule-callback . ,Text_item::brew_molecule)
516         (X-offset-callbacks . (,Self_alignment_interface::aligned_on_self))
517         (Y-offset-callbacks . (,Side_position_interface::aligned_side)) 
518         (self-alignment-X . 0)
519         (break-align-symbol . time-signature)
520         (direction . 1)
521         (breakable . #t)
522         (font-relative-size . 1)
523         (font-family . roman)
524         (baseline-skip . 2)
525         (break-visibility . ,end-of-line-invisible)
526         (padding . 0.8)
527         (meta . ((interfaces . (text-interface side-position-interface font-interface mark-interface self-alignment-interface item-interface ))))
528         ))
529      (MetronomeMark
530      . (
531         (molecule-callback . ,Text_item::brew_molecule)
532         (Y-offset-callbacks . (,Side_position_interface::aligned_side)) 
533         (direction . 1)
534         (breakable . #t)
535         (font-family . roman)
536         (break-visibility . ,end-of-line-invisible)
537         (padding . 0.8)
538         (meta . ((interfaces . (text-interface side-position-interface font-interface metronome-mark-interface item-interface))))
539         ))
540     (MeasureGrouping
541      . (
542         (Y-offset-callbacks . (,Side_position_interface::out_of_staff 
543                                ,Side_position_interface::aligned_side))
544         (molecule-callback . ,Measure_grouping::brew_molecule)
545         (padding . 2)
546         (direction . 1)
547         (thickness . 1)
548         (height . 2.0)
549         (staff-padding . 3)
550         (meta . ((interfaces . (spanner-interface side-position-interface measure-grouping-interface))))
551         ))
552     (MultiMeasureRest
553      . (
554         (spacing-procedure . ,Multi_measure_rest::set_spacing_rods)
555         (molecule-callback . ,Multi_measure_rest::brew_molecule)
556         (Y-offset-callbacks . (,Staff_symbol_referencer::callback))
557         (staff-position . 0)
558         (expand-limit . 10)
559         (thick-thickness . 6.6)
560         (hair-thickness . 2.0)
561         (padding . 1)
562         (meta . ((interfaces . (multi-measure-rest-interface rest-interface font-interface staff-symbol-referencer-interface))))
563         ))
564     
565     (MultiMeasureRestNumber
566      . (
567         (molecule-callback . ,Text_item::brew_molecule)
568         (X-offset-callbacks . (,Self_alignment_interface::aligned_on_self
569                                ,Self_alignment_interface::centered_on_other_axis_parent))
570         (Y-offset-callbacks . (,Side_position_interface::aligned_side))
571         (self-alignment-X . 0)
572         (direction . 1)
573         (padding . 2)
574         (font-family . number)
575         (meta . ((interfaces . (side-position-interface self-alignment-interface font-interface spanner-interface text-interface))))
576         ))
577     (MultiMeasureRestText
578      . (
579         (molecule-callback . ,Text_item::brew_molecule)
580         (X-offset-callbacks . (,Self_alignment_interface::aligned_on_self
581                                ,Self_alignment_interface::centered_on_other_axis_parent))
582         (Y-offset-callbacks . (,Side_position_interface::aligned_side))
583         (self-alignment-X . 0)
584         (direction . 1)
585         (padding . 2)
586         (font-family . roman)
587         (meta . ((interfaces . (side-position-interface self-alignment-interface font-interface spanner-interface text-interface))))
588         ))
589  (NoteCollision
590      . (
591         (axes . (0 1))
592         ;; Ugh, should not be hard-coded. 
593         (note-width . 1.321)
594         (X-extent-callback . ,Axis_group_interface::group_extent_callback)
595         (Y-extent-callback . ,Axis_group_interface::group_extent_callback)      
596         (meta . ((interfaces . (note-collision-interface axis-group-interface item-interface ))))
597         ))
598
599     (NoteColumn
600      . (
601         (axes . (0 1))
602         (X-extent-callback . ,Axis_group_interface::group_extent_callback)
603         (Y-extent-callback . ,Axis_group_interface::group_extent_callback)      
604         (meta . ((interfaces . (axis-group-interface note-column-interface item-interface ))))
605         ))
606
607     (NoteHead
608      . (
609         (style . default)
610         (molecule-callback . ,Note_head::brew_molecule)
611         (ligature-primitive-callback . ,Note_head::brew_molecule)
612         (glyph-name-procedure . ,find-notehead-symbol)
613         (Y-offset-callbacks  . (,Staff_symbol_referencer::callback))
614         (stem-attachment-function . ,note-head-style->attachment-coordinates)
615         (meta . ((interfaces . (rhythmic-grob-interface rhythmic-head-interface font-interface note-head-interface staff-symbol-referencer-interface item-interface ))))
616         ))
617
618     (Glissando
619      . (
620         (style . line)
621         (gap . 0.5)
622         (zigzag-width . 0.75)
623         (breakable . #t)
624         (X-extent-callback . #f)
625         (Y-extent-callback . #f)                         
626         (after-line-breaking-callback . ,Line_spanner::after_line_breaking)
627         (molecule-callback . ,Line_spanner::brew_molecule)
628         (meta . ((interfaces . (line-spanner-interface spanner-interface))))
629         ))
630
631     (VoiceFollower
632      . (
633         (style . line)
634         (gap . 0.5)
635         (breakable . #t)
636         (X-extent-callback . #f)
637         (Y-extent-callback . #f)                         
638         (molecule-callback . ,Line_spanner::brew_molecule)
639         (after-line-breaking-callback . ,Line_spanner::after_line_breaking)
640         (meta . ((interfaces . (line-spanner-interface spanner-interface))))
641         ))
642
643     (NoteName
644      . (
645         (molecule-callback . ,Text_item::brew_molecule)
646         (font-family . roman)
647         (meta . ((interfaces . (note-name-interface text-interface font-interface item-interface ))))
648         ))
649
650     (OctavateEight
651      . (
652         (self-alignment-X . 0)
653         (break-visibility . ,begin-of-line-visible)
654         (X-offset-callbacks . (,Self_alignment_interface::centered_on_parent ,Self_alignment_interface::aligned_on_self))
655         (Y-offset-callbacks . (,Side_position_interface::aligned_side))
656         (molecule-callback . ,Text_item::brew_molecule)
657         (font-shape . italic)
658         (padding . 0.4)
659         (font-relative-size . -2)
660         (font-family . roman)
661         (meta . ((interfaces . (text-interface self-alignment-interface side-position-interface font-interface item-interface ))))
662         ))
663
664     (PaperColumn
665      . (
666         (axes . (0))
667         (before-line-breaking-callback . ,Paper_column::before_line_breaking)
668         (X-extent-callback . ,Axis_group_interface::group_extent_callback)
669
670 ;               (molecule-callback . ,Paper_column::brew_molecule) (font-name . "cmr8") (Y-extent-callback . #f)
671         (meta . ((interfaces . (paper-column-interface axis-group-interface spaceable-grob-interface item-interface ))))
672         ))
673
674     (PhrasingSlur
675      . (
676         (molecule-callback . ,Slur::brew_molecule)
677         (thickness . 1.2)               
678         (spacing-procedure . ,Spanner::set_spacing_rods)                
679         (minimum-length . 1.5)
680         (after-line-breaking-callback . ,Slur::after_line_breaking)
681         (extremity-rules . ,default-slur-extremity-rules)
682         (extremity-offset-alist . ,default-phrasing-slur-extremity-offset-alist)
683         (de-uglify-parameters . (1.5  0.8  -2.0))
684         (Y-extent-callback . ,Slur::height)
685         (height-limit . 2.0)
686         (ratio . 0.333)
687         (beautiful . 0.5)
688         (y-free . 0.75)
689         (attachment . (#f . #f))
690         (attachment-offset . ((0 . 0) . (0 . 0)))
691         (slope-limit . 0.8)
692         (details . ((force-blowfit . 0.5)
693                     (bezier-pct-c0 . -0.2) (bezier-pct-c3 . 0.000006)
694                     (bezier-pct-out-max . 0.8) (bezier-pct-in-max . 1.2)
695                     (bezier-area-steps . 1.0)))
696         (meta . ((interfaces . (slur-interface spanner-interface))))
697         ))
698
699     (NonMusicalPaperColumn
700      . (
701         (axes . (0))
702         (X-extent-callback . ,Axis_group_interface::group_extent_callback)
703         (before-line-breaking-callback . ,Paper_column::before_line_breaking)
704         ;; debugging stuff: print column number.
705 ;       (molecule-callback . ,Paper_column::brew_molecule) (font-name . "cmr8") (Y-extent-callback . #f)
706
707
708         (meta .  ((interfaces . (paper-column-interface axis-group-interface spaceable-grob-interface item-interface ))))
709         ))
710
711     (PercentRepeat
712      . (
713         (spacing-procedure . ,Multi_measure_rest::set_spacing_rods)
714         (molecule-callback . ,Multi_measure_rest::percent)
715         (slope . 1.0)
716         (thickness . 0.48)
717         (minimum-width . 12.5) ; staffspace
718         (font-family . music)
719         (meta . ((interfaces . (multi-measure-rest-interface  spanner-interface font-interface percent-repeat-interface))))
720         ))
721
722     (PianoPedalBracket   ;; an example of a text spanner
723      . (
724         (molecule-callback . ,Text_spanner::brew_molecule)
725         (after-line-breaking-callback . ,Piano_pedal_bracket::after_line_breaking)
726         (font-family . roman)
727         (style . line)
728         (if-text-padding . 1.0)
729         (width-correct . 0)
730         (enclose-bounds . #t)
731         (direction . -1)
732         (bracket-flare . (0.5 . 0.5))
733         (edge-height . (1.0 . 1.0))
734         (shorten-pair . (0.0 . 0.0))
735         (thickness .  1.0)
736         (meta . ((interfaces . (text-spanner-interface piano-pedal-interface piano-pedal-bracket-interface spanner-interface))))
737         ))
738
739     (RepeatSlash
740      . (
741         (molecule-callback . , Percent_repeat_item_interface::beat_slash)
742         (thickness . 0.48)
743         (slope . 1.7)
744         (meta . ((interfaces . (percent-repeat-interface item-interface ))))
745         ))
746     (Rest
747      . (
748         (after-line-breaking-callback . ,Rest::after_line_breaking)
749         (X-extent-callback . ,Rest::extent_callback)
750         (Y-extent-callback . ,Rest::extent_callback)            
751         (molecule-callback . ,Rest::brew_molecule)
752         (Y-offset-callbacks . (,Staff_symbol_referencer::callback)) 
753         (minimum-beam-collision-distance . 0.75)
754         (meta . (
755                  (interfaces . (font-interface
756                                 rhythmic-head-interface
757                                                                                         rhythmic-grob-interface
758
759                                 staff-symbol-referencer-interface
760                                 rest-interface item-interface ))
761                 ))))
762
763     (RestCollision
764      . (
765         (minimum-distance . 0.75)
766         (meta . ((interfaces . (rest-collision-interface item-interface ))))
767         ))
768
769     (Script
770      . (
771         ;; don't set direction here: it breaks staccato.
772         (molecule-callback . ,Script_interface::brew_molecule)
773
774         ;; This value is sensitive: if too large, staccato dots will move a
775         ;; space a away.
776         (padding . 0.25)
777         ;; (script-priority . 0) priorities for scripts, see script.scm
778         (X-offset-callbacks . (,Self_alignment_interface::centered_on_parent))
779         (before-line-breaking-callback . ,Script_interface::before_line_breaking)
780         (font-family . music)
781         (meta . ((interfaces . (script-interface side-position-interface font-interface item-interface ))))
782         ))
783
784     (ScriptColumn
785      . (
786         (before-line-breaking-callback . ,Script_column::before_line_breaking)
787         (meta . ((interfaces . (script-column-interface item-interface ))))
788         ))
789
790     (Slur
791      . (
792         (molecule-callback . ,Slur::brew_molecule)
793         (thickness . 1.2)               
794         (spacing-procedure . ,Spanner::set_spacing_rods)                
795         (minimum-length . 1.5)
796         (after-line-breaking-callback . ,Slur::after_line_breaking)
797         (extremity-rules . ,default-slur-extremity-rules)
798         (extremity-offset-alist . ,default-slur-extremity-offset-alist)
799         (de-uglify-parameters . (1.5  0.8  -2.0))
800         (Y-extent-callback . ,Slur::height)
801         (height-limit . 2.0)
802         (ratio . 0.333)
803         (beautiful . 0.5)
804         (y-free . 0.75)
805         (attachment . (#f . #f))
806         (attachment-offset . ((0 . 0) . (0 . 0)))
807         (slope-limit . 0.8)
808         (details . ((force-blowfit . 0.5)
809                     (bezier-pct-c0 . -0.2) (bezier-pct-c3 . 0.000006)
810                     (bezier-pct-out-max . 0.8) (bezier-pct-in-max . 1.2)
811                     (bezier-area-steps . 1.0)))
812         (meta . ((interfaces . (slur-interface spanner-interface))))
813         ))
814
815     (SpacingSpanner
816      . (
817         (spacing-procedure .  ,Spacing_spanner::set_springs)
818         (grace-space-factor . 0.6)
819         (shortest-duration-space . 2.0)
820         (spacing-increment . 1.2)
821         (base-shortest-duration . ,(ly:make-moment 1 8))
822         (meta . ((interfaces . (spacing-interface spacing-spanner-interface spanner-interface))))
823         ))
824
825     (SpanBar
826      . (
827         (break-align-symbol . staff-bar)
828         (bar-size-procedure . ,Span_bar::get_bar_size) 
829         (molecule-callback . ,Span_bar::brew_molecule)
830         (break-visibility . ,begin-of-line-invisible)
831         (X-extent-callback . ,Span_bar::width_callback)
832         (Y-extent-callback . ())
833         (breakable . #t)
834         (glyph . "|")
835         (before-line-breaking-callback . ,Span_bar::before_line_breaking)
836         ;; ugh duplication! 
837
838         ;;
839         ;; Ross. page 151 lists other values, we opt for a leaner look
840         ;; 
841         (kern . 3.0)
842         (thin-kern . 3.0)
843         (hair-thickness . 1.6)
844         (thick-thickness . 6.0)
845         (meta . ((interfaces . (span-bar-interface font-interface
846                                                    bar-line-interface item-interface ))))
847         ))
848
849     (StanzaNumber
850      . (
851         (breakable . #t)
852         (molecule-callback . ,Text_item::brew_molecule)         
853         (break-align-symbol . clef)
854         (break-visibility . ,begin-of-line-visible)
855         (font-family . roman)
856         (meta . ((interfaces . (break-aligned-interface text-interface font-interface item-interface ))))               
857         ))
858
859     (StaffSpacing
860      . (
861         (breakable . #t)
862         (stem-spacing-correction . 0.4)
863
864         (meta . ((interfaces . (spacing-interface staff-spacing-interface item-interface ))))
865         ))
866     (NoteSpacing
867      . (
868         (stem-spacing-correction . 0.5)
869
870         ;; Changed this from 0.75.
871         ;; If you ever change this back, please document! --hwn
872         (knee-spacing-correction . 1.0)
873         
874         (meta . ((interfaces . (spacing-interface note-spacing-interface item-interface ))))
875         ))
876
877     (StaffSymbol
878      . (
879         (molecule-callback . ,Staff_symbol::brew_molecule)
880         (line-count . 5)
881         (layer . 0)
882         (meta . ((interfaces . (staff-symbol-interface spanner-interface))))
883         ))
884
885     (SostenutoPedal
886      . (
887         (molecule-callback . ,Text_item::brew_molecule)
888         (direction . 1)
889         (X-offset-callbacks . (,Self_alignment_interface::aligned_on_self))
890         (no-spacing-rods . #t)
891         (padding . 0.0) ;; padding relative to SostenutoPedalLineSpanner
892         (font-family . roman)
893         (font-shape . italic)
894         (self-alignment-X . 0)
895         (meta . ((interfaces . (text-interface  self-alignment-interface font-interface item-interface))))
896         ))
897
898     (SostenutoPedalLineSpanner 
899      . (
900         (axes . (1))
901         (Y-extent-callback . ,Axis_group_interface::group_extent_callback)      
902         (Y-offset-callbacks . (,Side_position_interface::aligned_side))
903         
904
905         (padding . 1.2)
906         (minimum-space . 1.0)
907         (direction . -1)
908         (meta . ((interfaces . (piano-pedal-interface axis-group-interface side-position-interface  spanner-interface))))
909         ))
910         
911     (Stem
912      . (
913
914         ;; this list is rather long. Trim --hwn
915         (before-line-breaking-callback . ,Stem::before_line_breaking)
916         (molecule-callback . ,Stem::brew_molecule)
917         (thickness . 1.3)
918
919         ;; 3.5 (or 3 measured from note head) is standar length
920         ;; 32nd, 64th flagged stems should be longer
921         (lengths . (3.5 3.5 3.5 4.5 5.0))
922         
923         ;; Stems in unnatural (forced) direction should be shortened by
924         ;; one staff space, according to [Roush & Gourlay].
925         ;; Flagged stems we shorten only half a staff space.
926         (stem-shorten . (1.0 0.5))
927
928         ;; default stem direction for note on middle line
929         (neutral-direction . -1)
930         
931         ;; [Wanske]: standard length (but no shorter than minimum).
932         ;; (beamed-lengths . (3.5))
933         
934         ;; FIXME.  3.5 yields too long beams (according to Ross and
935         ;; looking at Baerenreiter examples) for a number of common
936         ;; boundary cases.  Subtracting half a beam thickness fixes
937         ;; this, but the bug may well be somewhere else.
938         (beamed-lengths . (3.26 3.26 1.5))
939         
940         ;; [Wanske] lists three sets of minimum lengths.  One
941         ;; set for the nomal case, and one set for beams with `der
942         ;; Balkenendpunkt weiter "uber bzw. unter die Systemgrenze
943         ;; hinaus (bei Gruppen mit grossem Tonumfang)' and the extreme
944         ;; case.
945
946         ;; Note that Wanske lists numbers lengths starting from top of
947         ;; head, so we must add half a staff space.
948         
949         ;; We use the normal minima as minimum for the ideal lengths,
950         ;; and the extreme minima as abolute minimum length.
951         
952         ;; The 'normal' minima
953         (beamed-minimum-free-lengths . (2.5 2.0 1.0))
954         
955         ;; The 'extreme case' minima
956         (beamed-extreme-minimum-free-lengths . (1.83 1.5 1.25))
957
958         (X-offset-callbacks . (,Stem::off_callback))
959         (X-extent-callback . ,Stem::dim_callback)       
960         (Y-extent-callback . ,Stem::height)
961         (Y-offset-callbacks . (,Staff_symbol_referencer::callback))
962         (adjust-if-on-staffline . #t)
963         (font-family . music)      
964         (avoid-note-head . #f)
965         (up-to-staff . #f)
966         (meta . ((interfaces . (stem-interface  font-interface item-interface ))))
967         ))
968
969     (StemTremolo
970      . (
971         (molecule-callback . ,Stem_tremolo::brew_molecule)
972         (Y-extent-callback . ,Stem_tremolo::height)
973         (X-extent-callback . #f)
974
975         (beam-width . 1.6) ; staff-space
976         (beam-thickness . 0.48) ; staff-space
977         (meta . ((interfaces . (stem-tremolo-interface item-interface ))))
978         ))
979
980     (SeparationItem
981      . (
982         (meta . ((interfaces . (spacing-interface separation-item-interface item-interface ))))
983         ))
984
985     (SeparatingGroupSpanner
986      . (
987         (spacing-procedure . ,Separating_group_spanner::set_spacing_rods)
988         (meta . ((interfaces . (spacing-interface separation-spanner-interface spanner-interface))))
989         ))
990
991     (SustainPedal
992      . (
993         (no-spacing-rods . #t)
994         (molecule-callback . ,Sustain_pedal::brew_molecule)
995         (self-alignment-X . 0)
996         (direction . 1)
997         (padding . 0.0)  ;; padding relative to SustainPedalLineSpanner
998         (X-offset-callbacks . (,Self_alignment_interface::aligned_on_self))
999         (meta . ((interfaces . (piano-pedal-interface text-spanner-interface text-interface self-alignment-interface font-interface item-interface))))
1000         ))
1001
1002     (SustainPedalLineSpanner 
1003      . (
1004         (axes . (1))
1005         (Y-extent-callback . ,Axis_group_interface::group_extent_callback)
1006         (Y-offset-callbacks . (,Side_position_interface::aligned_side))
1007         
1008         (padding . 1.2)
1009         (minimum-space . 1.0)
1010         (direction . -1)
1011         (meta . ((interfaces . (piano-pedal-interface axis-group-interface side-position-interface spanner-interface))))
1012         ))
1013
1014     (System
1015      . (
1016         (axes . (0 1))
1017         (X-extent-callback . ,Axis_group_interface::group_extent_callback)
1018         (Y-extent-callback . ,Axis_group_interface::group_extent_callback)      
1019         (meta . ((interfaces . (system-interface axis-group-interface spanner-interface))))
1020         ))
1021
1022     (SystemStartBrace
1023      . (
1024         (glyph . "brace")
1025         (molecule-callback . ,System_start_delimiter::brew_molecule)
1026         (collapse-height . 5.0)
1027         (font-family . braces)
1028         (Y-extent-callback . #f)
1029         (meta . ((interfaces . (system-start-delimiter-interface font-interface))))
1030         ))
1031
1032     (SystemStartBracket
1033      . (
1034         (Y-extent-callback . #f)
1035         (molecule-callback . ,System_start_delimiter::brew_molecule)
1036         (glyph . "bracket")
1037         (arch-height . 1.5)
1038         (arch-angle . 50.0)
1039         (arch-thick . 0.25)
1040         (arch-width . 1.5)
1041         (bracket-collapse-height . 1)
1042         (thickness . 0.25)
1043         (meta . ((interfaces . (system-start-delimiter-interface spanner-interface))))
1044         ))
1045
1046     (SystemStartBar
1047      . (
1048         (Y-extent-callback . #f)
1049         (molecule-callback . ,System_start_delimiter::brew_molecule)
1050         (glyph . "bar-line")
1051         (thickness . 1.6)
1052         (after-line-breaking-callback . ,System_start_delimiter::after_line_breaking)
1053         (meta . ((interfaces . (system-start-delimiter-interface spanner-interface))))
1054         ))
1055
1056     (TextScript
1057      . (
1058         (molecule-callback . ,Text_item::brew_molecule)
1059         (no-spacing-rods . #t)
1060         (X-offset-callbacks . (,Self_alignment_interface::aligned_on_self))
1061         (direction . -1)
1062         (padding . 0.5)
1063         (script-priority . 200)
1064         ;; todo: add X self alignment?
1065         (baseline-skip . 2)
1066         (font-family . roman)
1067         (meta . ((interfaces . (text-script-interface text-interface side-position-interface font-interface item-interface ))))
1068         ))
1069
1070     (TextSpanner
1071      . (
1072         (molecule-callback . ,Text_spanner::brew_molecule)
1073         (font-family . roman)
1074         (style . line)
1075
1076         ;; urg, only for (de)cresc. text spanners
1077         (if-text-padding . 1.0)
1078         (width-correct . -1)
1079         (direction . 1)
1080         (meta . ((interfaces . (text-spanner-interface side-position-interface font-interface spanner-interface))))             
1081         ))
1082     
1083     (OttavaSpanner
1084      . (
1085         (Y-offset-callbacks . (,Side_position_interface::aligned_side))
1086         (molecule-callback . ,Text_spanner::brew_molecule)
1087         (font-family . roman)
1088         (enclose-bounds . #t)
1089         (width-correct . 0.0)
1090         (style . dashed-line)
1091         (edge-height . (0 . 1.5))
1092         (direction . 1)
1093         (meta . ((interfaces . (text-spanner-interface side-position-interface font-interface spanner-interface))))             
1094         ))
1095     
1096     (TabNoteHead
1097      . (
1098         (font-family . roman)
1099         (style . default)
1100         (molecule-callback . ,tablature-molecule-callback)
1101         (Y-offset-callbacks  . (,Staff_symbol_referencer::callback))
1102         (extra-offset . (0 . -0.65)) ;; UGH! TODO: Clean this up!
1103         (stem-attachment-function . ,tablature-stem-attachment-function)
1104         (meta . ((interfaces
1105                   . (rhythmic-head-interface
1106                      font-interface
1107                      note-head-interface staff-symbol-referencer-interface
1108                      text-interface item-interface ))))
1109         ))
1110
1111
1112     (Tie
1113      . (
1114         (molecule-callback . ,Tie::brew_molecule)
1115         (spacing-procedure . ,Spanner::set_spacing_rods)
1116         (staffline-clearance . 0.35)
1117         (details . ((ratio . 0.333) (height-limit . 1.0)))
1118         (thickness . 1.2)
1119         (x-gap . -0.1)
1120         (y-offset . 0.6)
1121         (minimum-length  . 2.5)
1122         (meta . ((interfaces . (tie-interface spanner-interface))))
1123         ))
1124
1125     (TieColumn
1126      . (
1127         (after-line-breaking-callback . ,Tie_column::after_line_breaking)
1128         (X-extent-callback . ())
1129         (Yoo-extent-callback . ())      
1130         (meta . ((interfaces . (tie-column-interface spanner-interface))))
1131         ))
1132
1133     (TimeSignature
1134      . (
1135         (molecule-callback . ,Time_signature::brew_molecule)
1136 ;       (molecule-callback . ,Text_item::brew_molecule) 
1137         (break-align-symbol . time-signature)
1138         (break-visibility . ,all-visible)
1139         (space-alist . (
1140                         (first-note . (extra-space . 2.0))
1141                         (right-edge . (extra-space . 0.5))
1142                         (staff-bar .  (minimum-space . 2.0))
1143                         ))
1144         (breakable . #t)
1145         (style . C)
1146 ;       (text . (,time-signature-glue-markup)) 
1147         (font-family . number)
1148         (meta . ((interfaces . (time-signature-interface break-aligned-interface font-interface item-interface ))))
1149         ))
1150
1151     (TupletBracket
1152      . (
1153         (gap . 2.0)
1154         (padding . 0.9)
1155         (thickness . 1.6)
1156         (edge-height . (0.7 . 0.7))
1157         (shorten-pair . (-0.2 . -0.2))
1158         (before-line-breaking-callback . ,Tuplet_bracket::before_line_breaking)
1159         (after-line-breaking-callback . ,Tuplet_bracket::after_line_breaking)
1160         (molecule-callback . ,Tuplet_bracket::brew_molecule)
1161         (font-family . roman)
1162         (font-shape . italic)
1163         (font-series . bold)
1164
1165         (font-relative-size . -1)
1166         (meta .  ((interfaces . (text-interface tuplet-bracket-interface font-interface spanner-interface))))
1167         ))
1168
1169     (UnaCordaPedal
1170      . (
1171         (molecule-callback . ,Text_item::brew_molecule)
1172         (font-family . roman)
1173         (font-shape . italic)
1174         (no-spacing-rods . #t)
1175         (self-alignment-X . 0)
1176         (direction . 1)
1177         (padding . 0.0)  ;; padding relative to UnaCordaPedalLineSpanner
1178         (X-offset-callbacks . (,Self_alignment_interface::aligned_on_self))
1179         (meta . ((interfaces . (text-interface self-alignment-interface font-interface item-interface ))))
1180         ))
1181
1182     (UnaCordaPedalLineSpanner 
1183      . (
1184         (axes . (1))
1185         (Y-extent-callback . ,Axis_group_interface::group_extent_callback)      
1186         (Y-offset-callbacks . (,Side_position_interface::aligned_side))
1187         
1188         (padding . 1.2)
1189         (minimum-space . 1.0)
1190         (direction . -1)
1191         (meta . ((interfaces . (piano-pedal-interface axis-group-interface side-position-interface spanner-interface))))
1192         ))
1193
1194     (VaticanaLigature
1195      . (
1196         (thickness . 0.6)
1197         (flexa-width . 2.0)
1198         (ligature-primitive-callback . ,Vaticana_ligature::brew_ligature_primitive)
1199         (molecule-callback . ,Vaticana_ligature::brew_molecule)
1200         (meta . ((interfaces . (vaticana-ligature-interface font-interface))))
1201         ))
1202
1203     (VoltaBracket
1204      . (
1205         (molecule-callback . ,Volta_bracket_interface::brew_molecule)
1206         (direction . 1)
1207         (padding . 1)
1208         (font-family . number)
1209         (Y-offset-callbacks . (,Side_position_interface::aligned_side))
1210         (thickness . 1.6)  ;  stafflinethickness
1211         (height . 2.0) ; staffspace;
1212         (minimum-space . 5)
1213         (font-family . number)
1214         (font-relative-size . -2)
1215         (meta . ((interfaces . (volta-bracket-interface text-interface side-position-interface font-interface spanner-interface))))
1216         ))
1217     
1218     (VerticalAlignment
1219      . (
1220         (axes . (1))
1221         (Y-extent-callback . ,Axis_group_interface::group_extent_callback)
1222         (stacking-dir . -1)
1223         (meta . ((interfaces . (align-interface axis-group-interface spanner-interface))))
1224         ))
1225
1226     (VerticalAxisGroup
1227      . (
1228         (axes . (1))
1229         (Y-extent-callback . ,Axis_group_interface::group_extent_callback)      
1230         
1231         (meta . ((interfaces . (axis-group-interface spanner-interface))))
1232         ))
1233    )
1234  )
1235
1236
1237
1238
1239 (define (completize-grob-entry x)
1240   "transplant assoc key into 'name entry of 'meta of X
1241 "
1242   (let* ((name-sym  (car x))
1243          (grob-entry (cdr x))
1244          (metaentry (cdr (assoc 'meta grob-entry)))
1245          (ifaces-entry
1246           (cdr (assoc 'interfaces metaentry)))
1247
1248         )
1249     (set! metaentry (assoc-set! metaentry 'name name-sym))
1250     (set! metaentry (assoc-set! metaentry 'interfaces
1251                                 (cons 'grob-interface ifaces-entry)))
1252     (set! grob-entry (assoc-set! grob-entry 'meta metaentry))
1253     (cons name-sym grob-entry)))
1254
1255 (set! all-grob-descriptions (map completize-grob-entry all-grob-descriptions))
1256
1257
1258
1259                                         ;  (display  (map pair? all-grob-descriptions))
1260
1261
1262 ;; make sure that \property Foo.Bar =\turnOff doesn't complain
1263
1264 (map (lambda (x)
1265                                         ; (display (car x)) (newline)
1266
1267        (set-object-property! (car x) 'translation-type? list?)
1268        (set-object-property! (car x) 'is-grob? #t))
1269      all-grob-descriptions)
1270
1271
1272 (set! all-grob-descriptions (sort all-grob-descriptions alist<?))