]> git.donarmstrong.com Git - lilypond.git/blob - scm/define-grobs.scm
* lily/text-spanner.cc (brew_molecule): use bracket-flare
[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 . ,brew-new-markup-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 . ,brew-new-markup-molecule)
120         (Y-offset-callbacks . (,Self_alignment_interface::aligned_on_self))
121         (direction . 1)
122         (font-family . number)
123         (font-relative-size . -1)
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 . ,Breathing_sign::brew_molecule)
212         (lookup . name)
213         (font-family . music)
214         (text . "scripts-rcomma")
215         (Y-offset-callbacks . (,Breathing_sign::offset_callback))
216         (break-visibility . ,begin-of-line-invisible)
217         (meta . ((interfaces . (break-aligned-interface breathing-sign-interface text-interface font-interface item-interface ))))
218         ))
219
220     (Clef
221      . (
222         (molecule-callback . ,Clef::brew_molecule)
223         (before-line-breaking-callback . ,Clef::before_line_breaking)
224         (breakable . #t)
225         (font-family . music)      
226         (break-align-symbol . clef)
227         (break-visibility . ,begin-of-line-visible)
228         (space-alist . (
229                         (ambitus . (extra-space . 2.0))
230                         (staff-bar . (minimum-space .  3.7))
231                         (key-signature . (minimum-space . 4.0))
232                         (time-signature . (minimum-space . 4.2))
233                         (first-note . (minimum-space . 5.0))
234                         (next-note . (extra-space . 0.5))
235                         (right-edge . (extra-space . 0.5))
236                         ))
237         (Y-offset-callbacks  . (,Staff_symbol_referencer::callback)) 
238         (meta . ((interfaces . (clef-interface staff-symbol-referencer-interface font-interface break-aligned-interface item-interface ))))
239         ))
240     
241     (ClusterSpannerBeacon
242      . (
243         (molecule-callback . #f)
244         (meta . ((interfaces . (cluster-beacon-interface item-interface))))
245         ))
246     
247     (ClusterSpanner
248      . (
249         (molecule-callback . ,Cluster::brew_molecule)
250         (spacing-procedure . ,Spanner::set_spacing_rods)                
251         (minimum-length . 0.0)
252         (padding . 0.25)
253         (style . ramp)
254         (meta . ((interfaces . (cluster-interface spanner-interface))))
255         ))
256
257     (ChordName
258      . (
259         (molecule-callback . ,new-chord-name-brew-molecule)
260         (after-line-breaking-callback . ,Chord_name::after_line_breaking)
261         (word-space . 1.0)
262         (font-family . roman)
263         (meta . ((interfaces . (font-interface                                                  rhythmic-grob-interface
264                                                                                                 text-interface chord-name-interface item-interface ))))
265         ))
266
267     (Custos
268      . (
269         (break-align-symbol . custos)
270         (breakable . #t)
271         (molecule-callback . ,Custos::brew_molecule)
272         (break-visibility . ,end-of-line-visible)
273         (style . vaticana)
274         (neutral-position . 0)
275         (neutral-direction . -1)
276         (adjust-if-on-staffline . #t)
277         (Y-offset-callbacks . (,Staff_symbol_referencer::callback))
278         (space-alist . (
279                         (first-note . (minimum-space . 0.0))
280                         (right-edge . (extra-space . 0.1))
281                         ))
282         (meta . ((interfaces
283                   . (custos-interface staff-symbol-referencer-interface
284                                       font-interface
285                                       break-aligned-interface item-interface ))))
286         ))
287
288
289     (DotColumn
290      . (
291         (axes . (0))
292         (direction . 1)
293         (X-extent-callback . ,Axis_group_interface::group_extent_callback)
294         (X-offset-callbacks . (,Dot_column::side_position))
295         (meta . ((interfaces . (dot-column-interface axis-group-interface item-interface ))))
296         ))
297
298     (Dots
299      . (
300         (molecule-callback . ,Dots::brew_molecule)
301         (dot-count . 1)
302         (Y-offset-callbacks  . (,Dots::quantised_position_callback ,Staff_symbol_referencer::callback))
303         (meta . ((interfaces . (font-interface staff-symbol-referencer-interface dots-interface item-interface ))))
304         ))
305
306     (DoublePercentRepeat .
307                          (
308                           (molecule-callback . ,Percent_repeat_item_interface::double_percent)
309                           (breakable . #t)
310                           (slope . 1.0)
311                           (font-family . music)
312                           (width . 2.0)
313                           (thickness . 0.48)
314                           (break-align-symbol . staff-bar)
315                           (break-visibility . ,begin-of-line-invisible)
316                           (meta . ((interfaces . (font-interface
317                                                   break-aligned-interface
318                                                   percent-repeat-interface item-interface ))))
319                          ))
320
321     (DynamicText
322      . (
323         (Y-offset-callbacks . (,Self_alignment_interface::aligned_on_self))
324         (molecule-callback . ,brew-new-markup-molecule)
325         (X-offset-callbacks . (,Self_alignment_interface::aligned_on_self
326                                ,Self_alignment_interface::centered_on_parent))
327         (self-alignment-X . 0)
328         (no-spacing-rods . #t)
329         (script-priority . 100)
330         (font-series . bold)
331         (font-family . dynamic)
332         (font-shape . italic)
333         (self-alignment-Y . 0)
334         (meta . ((interfaces . (font-interface text-interface self-alignment-interface  dynamic-interface script-interface item-interface ))))
335         ))
336
337     (DynamicLineSpanner
338      . (
339         (axes . (1))
340         (Y-extent-callback . ,Axis_group_interface::group_extent_callback)      
341         (Y-offset-callbacks . (,Side_position_interface::aligned_side))
342         (padding . 0.6)
343         (minimum-space . 1.2)
344         (direction . -1)
345         (meta . ((interfaces . (dynamic-interface axis-group-interface side-position-interface spanner-interface))))
346         ))
347
348     (LeftEdge
349      . (
350         (break-align-symbol . left-edge)
351         (X-extent-callback . ,Grob::point_dimension_callback)
352         (breakable . #t)
353         (space-alist . (
354                         (custos . (extra-space . 0.0))
355                         (ambitus . (extra-space . 2.0))
356                         (time-signature . (extra-space . 0.0)) 
357                         (staff-bar . (extra-space . 0.0))
358                         (breathing-sign . (minimum-space  . 0.0))
359                         (clef . (extra-space . 1.0))
360                         (first-note . (extra-space . 1.0))
361                         (right-edge . (extra-space . 0.0))
362                         (key-signature . (extra-space . 0.0))
363                         ))
364         (meta . ((interfaces . (break-aligned-interface item-interface ))))
365         ))
366
367     (Fingering
368      . (
369         (molecule-callback . ,brew-new-markup-molecule)
370         (padding . 0.6)
371         ;;              (direction . -1)
372         (self-alignment-X . 0)
373         (self-alignment-Y . 0)
374         (script-priority . 100)
375         (font-family . number)
376         (font-relative-size . -3)
377         (font-shape . upright)
378         (meta . ((interfaces . (finger-interface font-interface text-script-interface text-interface side-position-interface self-alignment-interface item-interface ))))
379         ))
380
381
382     (HaraKiriVerticalGroup
383      . (
384         (Y-offset-callbacks . (,Hara_kiri_group_spanner::force_hara_kiri_callback))
385         (Y-extent-callback . ,Hara_kiri_group_spanner::y_extent)
386         (axes . (1))
387         (meta . ((interfaces . (axis-group-interface hara-kiri-group-interface item-interface  spanner-interface))))
388         ))
389
390     (Hairpin
391      . (
392         (molecule-callback . ,Hairpin::brew_molecule)
393         (thickness . 1.0)
394         (height . 0.6666)
395         (spacing-procedure . ,Spanner::set_spacing_rods)
396         (minimum-length . 2.0)
397         (if-text-padding . 1.0)
398         (width-correct . -1.0)
399
400         (dash-thickness . 1.2)
401         (dash-length . 4.0)
402         (self-alignment-Y . 0)
403         (Y-offset-callbacks . (,Self_alignment_interface::aligned_on_self))
404         (meta . ((interfaces . (hairpin-interface self-alignment-interface dynamic-interface spanner-interface))))
405         ))
406
407     (HorizontalBracket
408      . (
409         (thickness . 1.0)
410         (molecule-callback . ,Horizontal_bracket::brew_molecule)
411         (Y-offset-callbacks . (,Side_position_interface::aligned_side))
412         (padding . 0.2)
413         (direction . -1)
414         (meta . ((interfaces . (horizontal-bracket-interface side-position-interface spanner-interface))))
415         ))
416     (InstrumentName
417      . (
418         (breakable . #t)
419         (Y-offset-callbacks . (,Self_alignment_interface::aligned_on_self
420                                ,Side_position_interface::aligned_on_support_refpoints))
421         ;; huh? what's this for?
422         (direction . 0)
423         (space-alist . (
424                         (left-edge . (extra-space . 1.0))
425                         ))
426
427         (self-alignment-Y . 0)
428         (molecule-callback . ,brew-new-markup-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 . ,brew-new-markup-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         ;; duh, side-position-interface?
502         (meta . ((interfaces . (rhythmic-grob-interface lyric-syllable-interface self-alignment-interface text-interface font-interface item-interface ))))
503         ))
504
505     (MensuralLigature
506      . (
507         (thickness . 1.4)
508         (flexa-width . 2.0)
509         (ligature-primitive-callback . ,Mensural_ligature::brew_ligature_primitive)
510         (molecule-callback . ,Mensural_ligature::brew_molecule)
511         (meta . ((interfaces . (mensural-ligature-interface font-interface))))
512         ))
513
514     (RehearsalMark
515      . (
516         (molecule-callback . ,brew-new-markup-molecule)
517         (X-offset-callbacks . (,Self_alignment_interface::aligned_on_self))
518         (Y-offset-callbacks . (,Side_position_interface::aligned_side)) 
519         (self-alignment-X . 0)
520         (break-align-symbol . time-signature)
521         (direction . 1)
522         (breakable . #t)
523         (font-relative-size . 1)
524         (font-family . roman)
525         (baseline-skip . 2)
526         (break-visibility . ,end-of-line-invisible)
527         (padding . 0.8)
528         (meta . ((interfaces . (text-interface side-position-interface font-interface mark-interface self-alignment-interface item-interface ))))
529         ))
530      (MetronomeMark
531      . (
532         (molecule-callback . ,brew-new-markup-molecule)
533         (Y-offset-callbacks . (,Side_position_interface::aligned_side)) 
534         (direction . 1)
535         (breakable . #t)
536         (font-family . roman)
537         (break-visibility . ,end-of-line-invisible)
538         (padding . 0.8)
539         (meta . ((interfaces . (text-interface side-position-interface font-interface metronome-mark-interface item-interface))))
540         ))
541     (MeasureGrouping
542      . (
543         (Y-offset-callbacks . (,Side_position_interface::out_of_staff 
544                                ,Side_position_interface::aligned_side))
545         (molecule-callback . ,Measure_grouping::brew_molecule)
546         (padding . 2)
547         (direction . 1)
548         (thickness . 1)
549         (height . 2.0)
550         (staff-padding . 3)
551         (meta . ((interfaces . (spanner-interface side-position-interface measure-grouping-interface))))
552         ))
553     (MultiMeasureRest
554      . (
555         (spacing-procedure . ,Multi_measure_rest::set_spacing_rods)
556         (molecule-callback . ,Multi_measure_rest::brew_molecule)
557         (Y-offset-callbacks . (,Staff_symbol_referencer::callback))
558         (staff-position . 0)
559         (expand-limit . 10)
560         (thick-thickness . 6.6)
561         (hair-thickness . 2.0)
562         (padding . 1)
563         (meta . ((interfaces . (multi-measure-rest-interface rest-interface font-interface staff-symbol-referencer-interface))))
564         ))
565     
566     (MultiMeasureRestNumber
567      . (
568         (molecule-callback . ,brew-new-markup-molecule)
569         (X-offset-callbacks . (,Self_alignment_interface::aligned_on_self
570                                ,Self_alignment_interface::centered_on_other_axis_parent))
571         (Y-offset-callbacks . (,Side_position_interface::aligned_side))
572         (self-alignment-X . 0)
573         (direction . 1)
574         (padding . 2)
575         (font-family . number)
576         (meta . ((interfaces . (side-position-interface self-alignment-interface font-interface spanner-interface text-interface))))
577         ))
578     (MultiMeasureRestText
579      . (
580         (molecule-callback . ,brew-new-markup-molecule)
581         (X-offset-callbacks . (,Self_alignment_interface::aligned_on_self
582                                ,Self_alignment_interface::centered_on_other_axis_parent))
583         (Y-offset-callbacks . (,Side_position_interface::aligned_side))
584         (self-alignment-X . 0)
585         (direction . 1)
586         (padding . 2)
587         (font-family . roman)
588         (meta . ((interfaces . (side-position-interface self-alignment-interface font-interface spanner-interface text-interface))))
589         ))
590  (NoteCollision
591      . (
592         (axes . (0 1))
593         ;; Ugh, should not be hard-coded. 
594         (note-width . 1.321)
595         (X-extent-callback . ,Axis_group_interface::group_extent_callback)
596         (Y-extent-callback . ,Axis_group_interface::group_extent_callback)      
597         (meta . ((interfaces . (note-collision-interface axis-group-interface item-interface ))))
598         ))
599
600     (NoteColumn
601      . (
602         (axes . (0 1))
603         (X-extent-callback . ,Axis_group_interface::group_extent_callback)
604         (Y-extent-callback . ,Axis_group_interface::group_extent_callback)      
605         (meta . ((interfaces . (axis-group-interface note-column-interface item-interface ))))
606         ))
607
608     (NoteHead
609      . (
610         (style . default)
611         (molecule-callback . ,Note_head::brew_molecule)
612         (ligature-primitive-callback . ,Note_head::brew_molecule)
613         (glyph-name-procedure . ,find-notehead-symbol)
614         (Y-offset-callbacks  . (,Staff_symbol_referencer::callback))
615         (stem-attachment-function . ,note-head-style->attachment-coordinates)
616         (meta . ((interfaces . (rhythmic-grob-interface rhythmic-head-interface font-interface note-head-interface staff-symbol-referencer-interface item-interface ))))
617         ))
618
619     (Glissando
620      . (
621         (style . line)
622         (gap . 0.5)
623         (zigzag-width . 0.75)
624         (breakable . #t)
625         (X-extent-callback . #f)
626         (Y-extent-callback . #f)                         
627         (after-line-breaking-callback . ,Line_spanner::after_line_breaking)
628         (molecule-callback . ,Line_spanner::brew_molecule)
629         (meta . ((interfaces . (line-spanner-interface spanner-interface))))
630         ))
631
632     (VoiceFollower
633      . (
634         (style . line)
635         (gap . 0.5)
636         (breakable . #t)
637         (X-extent-callback . #f)
638         (Y-extent-callback . #f)                         
639         (molecule-callback . ,Line_spanner::brew_molecule)
640         (after-line-breaking-callback . ,Line_spanner::after_line_breaking)
641         (meta . ((interfaces . (line-spanner-interface spanner-interface))))
642         ))
643
644     (NoteName
645      . (
646         (molecule-callback . ,brew-new-markup-molecule)
647         (font-family . roman)
648         (meta . ((interfaces . (note-name-interface text-interface font-interface item-interface ))))
649         ))
650
651     (OctavateEight
652      . (
653         (self-alignment-X . 0)
654         (text . "8")
655         (break-visibility . ,begin-of-line-visible)
656         (X-offset-callbacks . (,Self_alignment_interface::centered_on_parent ,Self_alignment_interface::aligned_on_self))
657         (Y-offset-callbacks . (,Side_position_interface::aligned_side))
658         (molecule-callback . ,brew-new-markup-molecule)
659         (font-shape . italic)
660         (padding . 0.4)
661         (font-relative-size . -2)
662         (font-family . roman)
663         (meta . ((interfaces . (text-interface self-alignment-interface side-position-interface font-interface item-interface ))))
664         ))
665
666     (PaperColumn
667      . (
668         (axes . (0))
669         (before-line-breaking-callback . ,Paper_column::before_line_breaking)
670         (X-extent-callback . ,Axis_group_interface::group_extent_callback)
671
672 ;               (molecule-callback . ,Paper_column::brew_molecule) (font-name . "cmr8") (Y-extent-callback . #f)
673         (meta . ((interfaces . (paper-column-interface axis-group-interface spaceable-grob-interface item-interface ))))
674         ))
675
676     (PhrasingSlur
677      . (
678         (molecule-callback . ,Slur::brew_molecule)
679         (thickness . 1.2)               
680         (spacing-procedure . ,Spanner::set_spacing_rods)                
681         (minimum-length . 1.5)
682         (after-line-breaking-callback . ,Slur::after_line_breaking)
683         (extremity-rules . ,default-slur-extremity-rules)
684         (extremity-offset-alist . ,default-phrasing-slur-extremity-offset-alist)
685         (de-uglify-parameters . (1.5  0.8  -2.0))
686         (Y-extent-callback . ,Slur::height)
687         (height-limit . 2.0)
688         (ratio . 0.333)
689         (beautiful . 0.5)
690         (y-free . 0.75)
691         (attachment . (#f . #f))
692         (attachment-offset . ((0 . 0) . (0 . 0)))
693         (slope-limit . 0.8)
694         (details . ((force-blowfit . 0.5)
695                     (bezier-pct-c0 . -0.2) (bezier-pct-c3 . 0.000006)
696                     (bezier-pct-out-max . 0.8) (bezier-pct-in-max . 1.2)
697                     (bezier-area-steps . 1.0)))
698         (meta . ((interfaces . (slur-interface spanner-interface))))
699         ))
700
701     (NonMusicalPaperColumn
702      . (
703         (axes . (0))
704         (X-extent-callback . ,Axis_group_interface::group_extent_callback)
705         (before-line-breaking-callback . ,Paper_column::before_line_breaking)
706         ;; debugging stuff: print column number.
707 ;       (molecule-callback . ,Paper_column::brew_molecule) (font-name . "cmr8") (Y-extent-callback . #f)
708
709
710         (meta .  ((interfaces . (paper-column-interface axis-group-interface spaceable-grob-interface item-interface ))))
711         ))
712
713     (PercentRepeat
714      . (
715         (spacing-procedure . ,Multi_measure_rest::set_spacing_rods)
716         (molecule-callback . ,Multi_measure_rest::percent)
717         (slope . 1.0)
718         (thickness . 0.48)
719         (minimum-width . 12.5) ; staffspace
720         (font-family . music)
721         (meta . ((interfaces . (multi-measure-rest-interface  spanner-interface font-interface percent-repeat-interface))))
722         ))
723
724     (PianoPedalBracket   ;; an example of a text spanner
725      . (
726         (molecule-callback . ,Text_spanner::brew_molecule)
727         (after-line-breaking-callback . ,Piano_pedal_bracket::after_line_breaking)
728         (font-family . roman)
729         (style . line)
730         (if-text-padding . 1.0)
731         (width-correct . 0)
732         (enclose-bounds . #t)
733         (direction . -1)
734         (bracket-flare . (0.5 . 0.5))
735         (edge-height . (1.0 . 1.0))
736         (shorten-pair . (0.0 . 0.0))
737         (thickness .  1.0)
738         (meta . ((interfaces . (text-spanner-interface piano-pedal-bracket-interface spanner-interface))))
739         ))
740
741     (RepeatSlash
742      . (
743         (molecule-callback . , Percent_repeat_item_interface::beat_slash)
744         (thickness . 0.48)
745         (slope . 1.7)
746         (meta . ((interfaces . (percent-repeat-interface item-interface ))))
747         ))
748     (Rest
749      . (
750         (after-line-breaking-callback . ,Rest::after_line_breaking)
751         (X-extent-callback . ,Rest::extent_callback)
752         (Y-extent-callback . ,Rest::extent_callback)            
753         (molecule-callback . ,Rest::brew_molecule)
754         (Y-offset-callbacks . (,Staff_symbol_referencer::callback)) 
755         (minimum-beam-collision-distance . 0.75)
756         (meta . (
757                  (interfaces . (font-interface
758                                 rhythmic-head-interface
759                                                                                         rhythmic-grob-interface
760
761                                 staff-symbol-referencer-interface
762                                 rest-interface item-interface ))
763                 ))))
764
765     (RestCollision
766      . (
767         (minimum-distance . 0.75)
768         (meta . ((interfaces . (rest-collision-interface item-interface ))))
769         ))
770
771     (Script
772      . (
773         ;; don't set direction here: it breaks staccato.
774         (molecule-callback . ,Script_interface::brew_molecule)
775
776         ;; This value is sensitive: if too large, staccato dots will move a
777         ;; space a away.
778         (padding . 0.25)
779         ;; (script-priority . 0) priorities for scripts, see script.scm
780         (X-offset-callbacks . (,Self_alignment_interface::centered_on_parent))
781         (before-line-breaking-callback . ,Script_interface::before_line_breaking)
782         (font-family . music)
783         (meta . ((interfaces . (script-interface side-position-interface font-interface item-interface ))))
784         ))
785
786     (ScriptColumn
787      . (
788         (before-line-breaking-callback . ,Script_column::before_line_breaking)
789         (meta . ((interfaces . (script-column-interface item-interface ))))
790         ))
791
792     (Slur
793      . (
794         (molecule-callback . ,Slur::brew_molecule)
795         (thickness . 1.2)               
796         (spacing-procedure . ,Spanner::set_spacing_rods)                
797         (minimum-length . 1.5)
798         (after-line-breaking-callback . ,Slur::after_line_breaking)
799         (extremity-rules . ,default-slur-extremity-rules)
800         (extremity-offset-alist . ,default-slur-extremity-offset-alist)
801         (de-uglify-parameters . (1.5  0.8  -2.0))
802         (Y-extent-callback . ,Slur::height)
803         (height-limit . 2.0)
804         (ratio . 0.333)
805         (beautiful . 0.5)
806         (y-free . 0.75)
807         (attachment . (#f . #f))
808         (attachment-offset . ((0 . 0) . (0 . 0)))
809         (slope-limit . 0.8)
810         (details . ((force-blowfit . 0.5)
811                     (bezier-pct-c0 . -0.2) (bezier-pct-c3 . 0.000006)
812                     (bezier-pct-out-max . 0.8) (bezier-pct-in-max . 1.2)
813                     (bezier-area-steps . 1.0)))
814         (meta . ((interfaces . (slur-interface spanner-interface))))
815         ))
816
817     (SpacingSpanner
818      . (
819         (spacing-procedure .  ,Spacing_spanner::set_springs)
820         (grace-space-factor . 0.6)
821         (shortest-duration-space . 2.0)
822         (spacing-increment . 1.2)
823         (base-shortest-duration . ,(ly:make-moment 1 8))
824         (meta . ((interfaces . (spacing-interface spacing-spanner-interface spanner-interface))))
825         ))
826
827     (SpanBar
828      . (
829         (break-align-symbol . staff-bar)
830         (bar-size-procedure . ,Span_bar::get_bar_size) 
831         (molecule-callback . ,Span_bar::brew_molecule)
832         (break-visibility . ,begin-of-line-invisible)
833         (X-extent-callback . ,Span_bar::width_callback)
834         (Y-extent-callback . ())
835         (breakable . #t)
836         (glyph . "|")
837         (before-line-breaking-callback . ,Span_bar::before_line_breaking)
838         ;; ugh duplication! 
839
840         ;;
841         ;; Ross. page 151 lists other values, we opt for a leaner look
842         ;; 
843         (kern . 3.0)
844         (thin-kern . 3.0)
845         (hair-thickness . 1.6)
846         (thick-thickness . 6.0)
847         (meta . ((interfaces . (span-bar-interface font-interface
848                                                    bar-line-interface item-interface ))))
849         ))
850
851     (StanzaNumber
852      . (
853         (breakable . #t)
854         (molecule-callback . ,brew-new-markup-molecule)         
855         (break-align-symbol . clef)
856         (break-visibility . ,begin-of-line-visible)
857         (font-family . roman)
858         (meta . ((interfaces . (break-aligned-interface text-interface font-interface item-interface ))))               
859         ))
860
861     (StaffSpacing
862      . (
863         (breakable . #t)
864         (stem-spacing-correction . 0.4)
865
866         (meta . ((interfaces . (spacing-interface staff-spacing-interface item-interface ))))
867         ))
868     (NoteSpacing
869      . (
870         (stem-spacing-correction . 0.5)
871
872         ;; Changed this from 0.75.
873         ;; If you ever change this back, please document! --hwn
874         (knee-spacing-correction . 1.0)
875         
876         (meta . ((interfaces . (spacing-interface note-spacing-interface item-interface ))))
877         ))
878
879     (StaffSymbol
880      . (
881         (molecule-callback . ,Staff_symbol::brew_molecule)
882         (line-count . 5)
883         (layer . 0)
884         (meta . ((interfaces . (staff-symbol-interface spanner-interface))))
885         ))
886
887     (SostenutoPedal
888      . (
889         (molecule-callback . ,brew-new-markup-molecule)
890         (direction . 1)
891         (X-offset-callbacks . (,Self_alignment_interface::aligned_on_self))
892         (no-spacing-rods . #t)
893         (padding . 0.0) ;; padding relative to SostenutoPedalLineSpanner
894         (font-family . roman)
895         (font-shape . italic)
896         (self-alignment-X . 0)
897         (meta . ((interfaces . (text-interface  self-alignment-interface font-interface item-interface))))
898         ))
899
900     (SostenutoPedalLineSpanner 
901      . (
902         (axes . (1))
903         (Y-extent-callback . ,Axis_group_interface::group_extent_callback)      
904         (Y-offset-callbacks . (,Side_position_interface::aligned_side))
905         
906
907         (padding . 1.2)
908         (minimum-space . 1.0)
909         (direction . -1)
910         (meta . ((interfaces . (piano-pedal-interface axis-group-interface side-position-interface  spanner-interface))))
911         ))
912         
913     (Stem
914      . (
915
916         ;; this list is rather long. Trim --hwn
917         (before-line-breaking-callback . ,Stem::before_line_breaking)
918         (molecule-callback . ,Stem::brew_molecule)
919         (thickness . 1.3)
920
921         ;; 3.5 (or 3 measured from note head) is standar length
922         ;; 32nd, 64th flagged stems should be longer
923         (lengths . (3.5 3.5 3.5 4.5 5.0))
924         
925         ;; Stems in unnatural (forced) direction should be shortened by
926         ;; one staff space, according to [Roush & Gourlay].
927         ;; Flagged stems we shorten only half a staff space.
928         (stem-shorten . (1.0 0.5))
929
930         ;; default stem direction for note on middle line
931         (neutral-direction . -1)
932         
933         ;; [Wanske]: standard length (but no shorter than minimum).
934         ;; (beamed-lengths . (3.5))
935         
936         ;; FIXME.  3.5 yields too long beams (according to Ross and
937         ;; looking at Baerenreiter examples) for a number of common
938         ;; boundary cases.  Subtracting half a beam thickness fixes
939         ;; this, but the bug may well be somewhere else.
940         (beamed-lengths . (3.26 3.26 1.5))
941         
942         ;; [Wanske] lists three sets of minimum lengths.  One
943         ;; set for the nomal case, and one set for beams with `der
944         ;; Balkenendpunkt weiter "uber bzw. unter die Systemgrenze
945         ;; hinaus (bei Gruppen mit grossem Tonumfang)' and the extreme
946         ;; case.
947
948         ;; Note that Wanske lists numbers lengths starting from top of
949         ;; head, so we must add half a staff space.
950         
951         ;; We use the normal minima as minimum for the ideal lengths,
952         ;; and the extreme minima as abolute minimum length.
953         
954         ;; The 'normal' minima
955         (beamed-minimum-free-lengths . (2.5 2.0 1.0))
956         
957         ;; The 'extreme case' minima
958         (beamed-extreme-minimum-free-lengths . (1.83 1.5 1.25))
959
960         (X-offset-callbacks . (,Stem::off_callback))
961         (X-extent-callback . ,Stem::dim_callback)       
962         (Y-extent-callback . ,Stem::height)
963         (Y-offset-callbacks . (,Staff_symbol_referencer::callback))
964         (adjust-if-on-staffline . #t)
965         (font-family . music)      
966         (avoid-note-head . #f)
967         (up-to-staff . #f)
968         (meta . ((interfaces . (stem-interface  font-interface item-interface ))))
969         ))
970
971     (StemTremolo
972      . (
973         (molecule-callback . ,Stem_tremolo::brew_molecule)
974         (Y-extent-callback . ,Stem_tremolo::height)
975         (X-extent-callback . #f)
976
977         (beam-width . 1.6) ; staff-space
978         (beam-thickness . 0.48) ; staff-space
979         (meta . ((interfaces . (stem-tremolo-interface item-interface ))))
980         ))
981
982     (SeparationItem
983      . (
984         (meta . ((interfaces . (spacing-interface separation-item-interface item-interface ))))
985         ))
986
987     (SeparatingGroupSpanner
988      . (
989         (spacing-procedure . ,Separating_group_spanner::set_spacing_rods)
990         (meta . ((interfaces . (spacing-interface separation-spanner-interface spanner-interface))))
991         ))
992
993     (SustainPedal
994      . (
995         (no-spacing-rods . #t)
996         (molecule-callback . ,Sustain_pedal::brew_molecule)
997         (self-alignment-X . 0)
998         (direction . 1)
999         (padding . 0.0)  ;; padding relative to SustainPedalLineSpanner
1000         (X-offset-callbacks . (,Self_alignment_interface::aligned_on_self))
1001         (meta . ((interfaces . (piano-pedal-interface text-spanner-interface text-interface self-alignment-interface font-interface item-interface))))
1002         ))
1003
1004     (SustainPedalLineSpanner 
1005      . (
1006         (axes . (1))
1007         (Y-extent-callback . ,Axis_group_interface::group_extent_callback)
1008         (Y-offset-callbacks . (,Side_position_interface::aligned_side))
1009         
1010         (padding . 1.2)
1011         (minimum-space . 1.0)
1012         (direction . -1)
1013         (meta . ((interfaces . (piano-pedal-interface axis-group-interface side-position-interface spanner-interface))))
1014         ))
1015
1016     (System
1017      . (
1018         (axes . (0 1))
1019         (X-extent-callback . ,Axis_group_interface::group_extent_callback)
1020         (Y-extent-callback . ,Axis_group_interface::group_extent_callback)      
1021         (meta . ((interfaces . (system-interface axis-group-interface spanner-interface))))
1022         ))
1023
1024     (SystemStartBrace
1025      . (
1026         (glyph . "brace")
1027         (molecule-callback . ,System_start_delimiter::brew_molecule)
1028         (collapse-height . 5.0)
1029         (font-family . braces)
1030         (Y-extent-callback . #f)
1031         (meta . ((interfaces . (system-start-delimiter-interface font-interface))))
1032         ))
1033
1034     (SystemStartBracket
1035      . (
1036         (Y-extent-callback . #f)
1037         (molecule-callback . ,System_start_delimiter::brew_molecule)
1038         (glyph . "bracket")
1039         (arch-height . 1.5)
1040         (arch-angle . 50.0)
1041         (arch-thick . 0.25)
1042         (arch-width . 1.5)
1043         (bracket-collapse-height . 1)
1044         (thickness . 0.25)
1045         (meta . ((interfaces . (system-start-delimiter-interface spanner-interface))))
1046         ))
1047
1048     (SystemStartBar
1049      . (
1050         (Y-extent-callback . #f)
1051         (molecule-callback . ,System_start_delimiter::brew_molecule)
1052         (glyph . "bar-line")
1053         (thickness . 1.6)
1054         (after-line-breaking-callback . ,System_start_delimiter::after_line_breaking)
1055         (meta . ((interfaces . (system-start-delimiter-interface spanner-interface))))
1056         ))
1057
1058     (TextScript
1059      . (
1060         (molecule-callback . ,brew-new-markup-molecule)
1061         (no-spacing-rods . #t)
1062         (X-offset-callbacks . (,Self_alignment_interface::aligned_on_self))
1063         (direction . -1)
1064         (padding . 0.5)
1065         (script-priority . 200)
1066         ;; todo: add X self alignment?
1067         (baseline-skip . 2)
1068         (font-family . roman)
1069         (meta . ((interfaces . (text-script-interface text-interface side-position-interface font-interface item-interface ))))
1070         ))
1071
1072     (TextSpanner
1073      . (
1074         (molecule-callback . ,Text_spanner::brew_molecule)
1075         (font-family . roman)
1076         (style . line)
1077
1078         ;; urg, only for (de)cresc. text spanners
1079         (if-text-padding . 1.0)
1080         (width-correct . -1)
1081         (direction . 1)
1082         (meta . ((interfaces . (text-spanner-interface side-position-interface font-interface spanner-interface))))             
1083         ))
1084     
1085     (OttavaSpanner
1086      . (
1087         (Y-offset-callbacks . (,Side_position_interface::aligned_side))
1088         (molecule-callback . ,Text_spanner::brew_molecule)
1089         (font-family . roman)
1090         (enclose-bounds . #t)
1091         (width-correct . 0.0)
1092         (style . dashed-line)
1093         (edge-height . (0 . 1.5))
1094         (direction . 1)
1095         (meta . ((interfaces . (text-spanner-interface side-position-interface font-interface spanner-interface))))             
1096         ))
1097     
1098     (TabNoteHead
1099      . (
1100         (font-family . roman)
1101         (style . default)
1102         (molecule-callback . ,tablature-molecule-callback)
1103         (Y-offset-callbacks  . (,Staff_symbol_referencer::callback))
1104         (extra-offset . (0 . -0.65)) ;; UGH! TODO: Clean this up!
1105         (stem-attachment-function . ,tablature-stem-attachment-function)
1106         (meta . ((interfaces
1107                   . (rhythmic-head-interface
1108                      font-interface
1109                      note-head-interface staff-symbol-referencer-interface
1110                      text-interface item-interface ))))
1111         ))
1112
1113
1114     (Tie
1115      . (
1116         (molecule-callback . ,Tie::brew_molecule)
1117         (spacing-procedure . ,Spanner::set_spacing_rods)
1118         (staffline-clearance . 0.35)
1119         (details . ((ratio . 0.333) (height-limit . 1.0)))
1120         (thickness . 1.2)
1121         (x-gap . -0.1)
1122         (y-offset . 0.6)
1123         (minimum-length  . 2.5)
1124         (meta . ((interfaces . (tie-interface spanner-interface))))
1125         ))
1126
1127     (TieColumn
1128      . (
1129         (after-line-breaking-callback . ,Tie_column::after_line_breaking)
1130         (X-extent-callback . ())
1131         (Yoo-extent-callback . ())      
1132         (meta . ((interfaces . (tie-column-interface spanner-interface))))
1133         ))
1134
1135     (TimeSignature
1136      . (
1137         (molecule-callback . ,Time_signature::brew_molecule)
1138         (break-align-symbol . time-signature)
1139         (break-visibility . ,all-visible)
1140         (space-alist . (
1141                         (first-note . (extra-space . 2.0))
1142                         (right-edge . (extra-space . 0.5))
1143                         (staff-bar .  (minimum-space . 2.0))
1144                         ))
1145         (breakable . #t)
1146         (style . C)
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 . ,brew-new-markup-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 . 1.0)
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-style . volta)
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<?))