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