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