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