]> git.donarmstrong.com Git - lilypond.git/blob - scm/grob-description.scm
* scm/chord-name.scm (natural-chord-alteration): replace old
[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--2003  Han-Wen Nienhuys <hanwen@cs.uu.nl>
6 ;;;;                 Jan Nieuwenhuizen <janneke@gnu.org>
7
8 ;;;; distances are given in stafflinethickness (thicknesses) and
9 ;;;; staffspace (distances)
10
11 ;;;; WARNING: the meta field should be the last one.
12 ;;;; WARNING: don't use anonymous functions for initialization. 
13
14 ;; TODO: junk the meta field in favor of something more compact?
15 (define-public all-grob-descriptions
16   `(
17     (Accidental
18      . (
19         (molecule-callback . ,Accidental_interface::brew_molecule)
20         (font-family . music)
21         (cautionary-style . parentheses)
22         (after-line-breaking-callback . ,Accidental_interface::after_line_breaking)             (meta . ((interfaces . (item-interface accidental-interface font-interface))))
23         ))
24     (AccidentalPlacement
25      . (
26         (X-extent-callback . ,Axis_group_interface::group_extent_callback)
27         (left-padding . 0.3)
28
29         ;; this is quite small, but it is very ugly to have
30         ;; accs closer to the previous note than to the next one.
31         (right-padding . 0.15)
32         (meta . ((interfaces . (item-interface accidental-placement-interface))))
33         ))
34
35     (Ambitus
36      . (
37        (breakable . #t)
38        (break-align-symbol . ambitus)
39        (molecule-callback . ,Ambitus::brew_molecule)
40        (font-family . music)
41        (note-head-style . "noteheads-2")
42        (visibility-lambda . ,begin-of-line-visible)
43        (join-heads . #t)
44        (space-alist . (
45                        (clef . (extra-space . 0.0))
46                        (key-signature . (extra-space . 0.0))
47                        (staff-bar . (extra-space . 0.0))
48                        (time-signature . (extra-space . 0.0)) 
49                        (first-note . (extra-space . 0.0))
50                        ))
51        (meta . ((interfaces . (ambitus-interface staff-symbol-referencer-interface break-aligned-interface item-interface  font-interface))))
52        ))
53
54     (Arpeggio
55      . (
56         (X-extent-callback . ,Arpeggio::width_callback)
57         (Y-extent-callback . #f)               
58         (molecule-callback . ,Arpeggio::brew_molecule)
59         (Y-offset-callbacks . (,Staff_symbol_referencer::callback))
60         (X-offset-callbacks . (,Side_position_interface::aligned_side))
61         (direction . -1)
62         (staff-position . 0.0)
63         (meta . ((interfaces . (arpeggio-interface staff-symbol-referencer-interface side-position-interface item-interface font-interface))))
64         ))
65
66     (BarLine
67      . (
68         (break-align-symbol . staff-bar)
69         (glyph . "|")
70         (break-glyph-function . ,default-break-barline)
71         (bar-size-procedure . ,Bar_line::get_staff_bar_size)
72         (molecule-callback . ,Bar_line::brew_molecule)     
73         (break-visibility . ,all-visible)
74         (breakable . #t)
75         (before-line-breaking-callback . ,Bar_line::before_line_breaking)
76         (space-alist . (
77                         (time-signature . (extra-space . 0.75)) 
78                         (custos . (minimum-space . 2.0))
79                         (clef .   (minimum-space . 1.0))
80                         (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                         (custos . (minimum-space . 1.0))
200                         (key-signature . (minimum-space . 1.5))
201                         (staff-bar . (minimum-space . 1.5))
202                         (clef . (minimum-space . 2.0))
203                         (first-note . (minimum-space . 1.0))
204                         (right-edge . (extra-space . 0.1))
205                         ))
206         (molecule-callback . ,Breathing_sign::brew_molecule)
207         (lookup . name)
208         (font-family . music)
209         (text . "scripts-rcomma")
210         (Y-offset-callbacks . (,Breathing_sign::offset_callback))
211         (break-visibility . ,begin-of-line-invisible)
212         (meta . ((interfaces . (break-aligned-interface breathing-sign-interface text-interface font-interface item-interface ))))
213         ))
214
215     (Clef
216      . (
217         (molecule-callback . ,Clef::brew_molecule)
218         (before-line-breaking-callback . ,Clef::before_line_breaking)
219         (breakable . #t)
220         (font-family . music)      
221         (break-align-symbol . clef)
222         (break-visibility . ,begin-of-line-visible)
223         (space-alist . (
224                         (ambitus . (extra-space . 2.0))
225                         (staff-bar . (minimum-space .  3.7))
226                         (key-signature . (minimum-space . 4.0))
227                         (time-signature . (minimum-space . 4.2))
228                         (first-note . (minimum-space . 5.0))
229                         (next-note . (extra-space . 0.5))
230                         (right-edge . (extra-space . 0.5))
231                         ))
232         (Y-offset-callbacks  . (,Staff_symbol_referencer::callback)) 
233         (meta . ((interfaces . (clef-interface staff-symbol-referencer-interface font-interface break-aligned-interface item-interface ))))
234         ))
235
236     (Cluster
237      . (
238         (molecule-callback . ,Cluster::brew_molecule)
239         (spacing-procedure . ,Spanner::set_spacing_rods)                
240         (minimum-length . 0.0)
241         (padding . 0.25)
242         (shape . leftsided-stairs)
243         (meta . ((interfaces . (cluster-interface spanner-interface))))
244         ))
245
246     (ChordName
247      . (
248         (molecule-callback . ,new-chord-name-brew-molecule)
249         (after-line-breaking-callback . ,Chord_name::after_line_breaking)
250         (word-space . 1.0)
251         (font-family . roman)
252         (meta . ((interfaces . (font-interface                                                  rhythmic-grob-interface
253                                                                                                 text-interface chord-name-interface item-interface ))))
254         ))
255
256     (Custos
257      . (
258         (break-align-symbol . custos)
259         (breakable . #t)
260         (molecule-callback . ,Custos::brew_molecule)
261         (break-visibility . ,end-of-line-visible)
262         (style . vaticana)
263         (neutral-position . 0)
264         (neutral-direction . -1)
265         (adjust-if-on-staffline . #t)
266         (Y-offset-callbacks . (,Staff_symbol_referencer::callback))
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     (LyricHyphen
458      . (
459         (thickness . 1.0)
460         (height . 0.4)
461         (minimum-length .  0.5) 
462         (maximum-length .  100)
463         (molecule-callback . ,Hyphen_spanner::brew_molecule)
464         (Y-extent-callback . ,Grob::point_dimension_callback)
465         (meta . ((interfaces . (lyric-hyphen-interface spanner-interface))))
466         ))
467
468     (LyricExtender
469      . (
470         (molecule-callback . ,Lyric_extender::brew_molecule)
471         (height . 0.8) ; stafflinethickness;
472         (right-trim-amount . 0.5)
473         (Y-extent-callback . ,Grob::point_dimension_callback)
474         (meta . ((interfaces . (lyric-extender-interface spanner-interface))))
475         ))
476
477     (LyricText
478      . (
479         (molecule-callback . ,Text_item::brew_molecule)
480         (X-offset-callbacks . (,Self_alignment_interface::centered_on_parent
481                                ,Self_alignment_interface::aligned_on_self))
482         (self-alignment-X . 0)
483         (word-space . 0.6)
484         (ignore-length-mismatch . #f)
485         (begin-alignment . 4)
486         (end-alignment . 2)
487         (font-family . roman)
488         (font-shape . upright)
489         
490         ;; duh, side-position-interface?
491         (meta . ((interfaces . (rhythmic-grob-interface lyric-syllable-interface self-alignment-interface text-interface font-interface item-interface ))))
492         ))
493
494     (MensuralLigature
495      . (
496         (thickness . 1.4)
497         (flexa-width . 2.0)
498         (ligature-primitive-callback . ,Mensural_ligature::brew_ligature_primitive)
499         (molecule-callback . ,Mensural_ligature::brew_molecule)
500         (meta . ((interfaces . (mensural-ligature-interface font-interface))))
501         ))
502
503     (RehearsalMark
504      . (
505         (molecule-callback . ,brew-new-markup-molecule)
506         (X-offset-callbacks . (,Self_alignment_interface::aligned_on_self))
507         (Y-offset-callbacks . (,Side_position_interface::aligned_side)) 
508         (self-alignment-X . 0)
509         (break-align-symbol . time-signature)
510         (direction . 1)
511         (breakable . #t)
512         (font-family . roman)
513         (baseline-skip . 2)
514         (break-visibility . ,end-of-line-invisible)
515         (padding . 0.8)
516         (meta . ((interfaces . (text-interface side-position-interface font-interface mark-interface self-alignment-interface item-interface ))))
517         ))
518      (MetronomeMark
519      . (
520         (molecule-callback . ,brew-new-markup-molecule)
521         (Y-offset-callbacks . (,Side_position_interface::aligned_side)) 
522         (direction . 1)
523         (breakable . #t)
524         (font-family . roman)
525         (break-visibility . ,end-of-line-invisible)
526         (padding . 0.8)
527         (meta . ((interfaces . (text-interface side-position-interface font-interface metronome-mark-interface item-interface))))
528         ))
529     (MeasureGrouping
530      . (
531         (Y-offset-callbacks . (,Side_position_interface::out_of_staff 
532                                ,Side_position_interface::aligned_side))
533         (molecule-callback . ,Measure_grouping::brew_molecule)
534         (padding . 2)
535         (direction . 1)
536         (thickness . 1)
537         (height . 2.0)
538         (staff-padding . 3)
539         (meta . ((interfaces . (spanner-interface side-position-interface measure-grouping-interface))))
540         ))
541     (MultiMeasureRest
542      . (
543         (spacing-procedure . ,Multi_measure_rest::set_spacing_rods)
544         (molecule-callback . ,Multi_measure_rest::brew_molecule)
545         (Y-offset-callbacks . (,Staff_symbol_referencer::callback))
546         (staff-position . 0)
547         (expand-limit . 10)
548         (thick-thickness . 6.6)
549         (hair-thickness . 2.0)
550         (padding . 1)
551         (meta . ((interfaces . (multi-measure-rest-interface rest-interface font-interface staff-symbol-referencer-interface))))
552         ))
553     
554     (MultiMeasureRestNumber
555      . (
556         (molecule-callback . ,brew-new-markup-molecule)
557         (X-offset-callbacks . (,Self_alignment_interface::aligned_on_self
558                                ,Self_alignment_interface::centered_on_other_axis_parent))
559         (Y-offset-callbacks . (,Side_position_interface::aligned_side))
560         (self-alignment-X . 0)
561         (direction . 1)
562         (padding . 2)
563         (font-family . number)
564         (meta . ((interfaces . (side-position-interface self-alignment-interface font-interface spanner-interface text-interface))))
565         ))
566     (MultiMeasureRestText
567      . (
568         (molecule-callback . ,brew-new-markup-molecule)
569         (X-offset-callbacks . (,Self_alignment_interface::aligned_on_self
570                                ,Self_alignment_interface::centered_on_other_axis_parent))
571         (Y-offset-callbacks . (,Side_position_interface::aligned_side))
572         (self-alignment-X . 0)
573         (direction . 1)
574         (padding . 2)
575         (font-family . roman)
576         (meta . ((interfaces . (side-position-interface self-alignment-interface font-interface spanner-interface text-interface))))
577         ))
578  (NoteCollision
579      . (
580         (axes . (0 1))
581         ;; Ugh, should not be hard-coded. 
582         (note-width . 1.321)
583         (X-extent-callback . ,Axis_group_interface::group_extent_callback)
584         (Y-extent-callback . ,Axis_group_interface::group_extent_callback)      
585         (meta . ((interfaces . (note-collision-interface axis-group-interface item-interface ))))
586         ))
587
588     (NoteColumn
589      . (
590         (axes . (0 1))
591         (X-extent-callback . ,Axis_group_interface::group_extent_callback)
592         (Y-extent-callback . ,Axis_group_interface::group_extent_callback)      
593         (meta . ((interfaces . (axis-group-interface note-column-interface item-interface ))))
594         ))
595
596     (NoteHead
597      . (
598         (style . default)
599         (molecule-callback . ,Note_head::brew_molecule)
600         (ligature-primitive-callback . ,Note_head::brew_molecule)
601         (glyph-name-procedure . ,find-notehead-symbol)
602         (Y-offset-callbacks  . (,Staff_symbol_referencer::callback))
603         (stem-attachment-function . ,note-head-style->attachment-coordinates)
604         (meta . ((interfaces . (rhythmic-grob-interface rhythmic-head-interface font-interface note-head-interface staff-symbol-referencer-interface item-interface ))))
605         ))
606
607     (Glissando
608      . (
609         (type . line)
610         (gap . 0.5)
611         (zigzag-width . 0.75)
612         (breakable . #t)
613         (X-extent-callback . #f)
614         (Y-extent-callback . #f)                         
615         (molecule-callback . ,Line_spanner::brew_molecule)
616         (meta . ((interfaces . (line-spanner-interface spanner-interface))))
617         ))
618
619     (VoiceFollower
620      . (
621         (type . line)
622         (gap . 0.5)
623         (breakable . #t)
624         (X-extent-callback . #f)
625         (Y-extent-callback . #f)                         
626         (molecule-callback . ,Line_spanner::brew_molecule)
627         (meta . ((interfaces . (line-spanner-interface spanner-interface))))
628         ))
629
630     (NoteName
631      . (
632         (molecule-callback . ,Text_item::brew_molecule)
633         (font-family . roman)
634         (meta . ((interfaces . (note-name-interface text-interface font-interface item-interface ))))
635         ))
636
637     (OctavateEight
638      . (
639         (self-alignment-X . 0)
640         (text . "8")
641         (break-visibility . ,begin-of-line-visible)
642         (X-offset-callbacks . (,Self_alignment_interface::centered_on_parent ,Self_alignment_interface::aligned_on_self))
643         (Y-offset-callbacks . (,Side_position_interface::aligned_side))
644         (molecule-callback . ,Text_item::brew_molecule)
645         (font-shape . italic)
646         (padding . 0.4)
647         (font-relative-size . -2)
648         (font-family . roman)
649         (meta . ((interfaces . (text-interface self-alignment-interface side-position-interface font-interface item-interface ))))
650         ))
651
652     (PaperColumn
653      . (
654         (axes . (0))
655         (before-line-breaking-callback . ,Paper_column::before_line_breaking)
656         (X-extent-callback . ,Axis_group_interface::group_extent_callback)
657
658 ;               (molecule-callback . ,Paper_column::brew_molecule) (font-name . "cmr8") (Y-extent-callback . #f)
659         (meta . ((interfaces . (paper-column-interface axis-group-interface spaceable-grob-interface item-interface ))))
660         ))
661
662     (PhrasingSlur
663      . (
664         (molecule-callback . ,Slur::brew_molecule)
665         (thickness . 1.2)               
666         (spacing-procedure . ,Spanner::set_spacing_rods)                
667         (minimum-length . 1.5)
668         (after-line-breaking-callback . ,Slur::after_line_breaking)
669         (extremity-rules . ,default-slur-extremity-rules)
670         (extremity-offset-alist . ,default-phrasing-slur-extremity-offset-alist)
671         (de-uglify-parameters . (1.5  0.8  -2.0))
672         (Y-extent-callback . ,Slur::height)
673         (height-limit . 2.0)
674         (ratio . 0.333)
675         (beautiful . 0.5)
676         (y-free . 0.75)
677         (attachment . (#f . #f))
678         (attachment-offset . ((0 . 0) . (0 . 0)))
679         (slope-limit . 0.8)
680         (details . ((force-blowfit . 0.5)
681                     (bezier-pct-c0 . -0.2) (bezier-pct-c3 . 0.000006)
682                     (bezier-pct-out-max . 0.8) (bezier-pct-in-max . 1.2)
683                     (bezier-area-steps . 1.0)))
684         (meta . ((interfaces . (slur-interface spanner-interface))))
685         ))
686
687     (NonMusicalPaperColumn
688      . (
689         (axes . (0))
690         (X-extent-callback . ,Axis_group_interface::group_extent_callback)
691         (before-line-breaking-callback . ,Paper_column::before_line_breaking)
692         ;; debugging stuff: print column number.
693 ;       (molecule-callback . ,Paper_column::brew_molecule) (font-name . "cmr8") (Y-extent-callback . #f)
694
695
696         (meta .  ((interfaces . (paper-column-interface axis-group-interface spaceable-grob-interface item-interface ))))
697         ))
698
699     (PercentRepeat
700      . (
701         (spacing-procedure . ,Multi_measure_rest::set_spacing_rods)
702         (molecule-callback . ,Multi_measure_rest::percent)
703         (slope . 1.0)
704         (thickness . 0.48)
705         (minimum-width . 12.5) ; staffspace
706         (font-family . music)
707         (meta . ((interfaces . (multi-measure-rest-interface  spanner-interface font-interface percent-repeat-interface))))
708         ))
709
710     (PianoPedalBracket   ;; an example of a text spanner
711      . (
712         (molecule-callback . ,Text_spanner::brew_molecule)
713         (font-family . roman)
714         (type . line)
715         (if-text-padding . 1.0)
716         (width-correct . 0)
717         (outer . #t)
718         (direction . -1)
719         (edge-widen . (0.5 . 0.5))
720         (edge-height . (1.0 . 1.0))
721         (shorten-pair . (0.0 . 0.0))
722         (thickness .  1.0)
723         (meta . ((interfaces . (text-spanner-interface piano-pedal-interface spanner-interface))))
724         ))
725
726     (RepeatSlash
727      . (
728         (molecule-callback . , Percent_repeat_item_interface::beat_slash)
729         (thickness . 0.48)
730         (slope . 1.7)
731         (meta . ((interfaces . (percent-repeat-interface item-interface ))))
732         ))
733     (Rest
734      . (
735         (after-line-breaking-callback . ,Rest::after_line_breaking)
736         (X-extent-callback . ,Rest::extent_callback)
737         (Y-extent-callback . ,Rest::extent_callback)            
738         (molecule-callback . ,Rest::brew_molecule)
739         (Y-offset-callbacks . (,Staff_symbol_referencer::callback)) 
740         (minimum-beam-collision-distance . 0.75)
741         (meta . (
742                  (interfaces . (font-interface
743                                 rhythmic-head-interface
744                                                                                         rhythmic-grob-interface
745
746                                 staff-symbol-referencer-interface
747                                 rest-interface item-interface ))
748                 ))))
749
750     (RestCollision
751      . (
752         (minimum-distance . 0.75)
753         (meta . ((interfaces . (rest-collision-interface item-interface ))))
754         ))
755
756     (Script
757      . (
758         ;; don't set direction here: it breaks staccato.
759         (molecule-callback . ,Script_interface::brew_molecule)
760
761         ;; This value is sensitive: if too large, staccato dots will move a
762         ;; space a away.
763         (padding . 0.25)
764         ;; (script-priority . 0) priorities for scripts, see script.scm
765         (X-offset-callbacks . (,Self_alignment_interface::centered_on_parent))
766         (before-line-breaking-callback . ,Script_interface::before_line_breaking)
767         (font-family . music)
768         (meta . ((interfaces . (script-interface side-position-interface font-interface item-interface ))))
769         ))
770
771     (ScriptColumn
772      . (
773         (before-line-breaking-callback . ,Script_column::before_line_breaking)
774         (meta . ((interfaces . (script-column-interface item-interface ))))
775         ))
776
777     (Slur
778      . (
779         (molecule-callback . ,Slur::brew_molecule)
780         (thickness . 1.2)               
781         (spacing-procedure . ,Spanner::set_spacing_rods)                
782         (minimum-length . 1.5)
783         (after-line-breaking-callback . ,Slur::after_line_breaking)
784         (extremity-rules . ,default-slur-extremity-rules)
785         (extremity-offset-alist . ,default-slur-extremity-offset-alist)
786         (de-uglify-parameters . (1.5  0.8  -2.0))
787         (Y-extent-callback . ,Slur::height)
788         (height-limit . 2.0)
789         (ratio . 0.333)
790         (beautiful . 0.5)
791         (y-free . 0.75)
792         (attachment . (#f . #f))
793         (attachment-offset . ((0 . 0) . (0 . 0)))
794         (slope-limit . 0.8)
795         (details . ((force-blowfit . 0.5)
796                     (bezier-pct-c0 . -0.2) (bezier-pct-c3 . 0.000006)
797                     (bezier-pct-out-max . 0.8) (bezier-pct-in-max . 1.2)
798                     (bezier-area-steps . 1.0)))
799         (meta . ((interfaces . (slur-interface spanner-interface))))
800         ))
801
802     (SpacingSpanner
803      . (
804         (spacing-procedure .  ,Spacing_spanner::set_springs)
805         (grace-space-factor . 0.6)
806         (shortest-duration-space . 2.0)
807         (spacing-increment . 1.2)
808         (base-shortest-duration . ,(ly:make-moment 1 8))
809         (meta . ((interfaces . (spacing-interface spacing-spanner-interface spanner-interface))))
810         ))
811
812     (SpanBar
813      . (
814         (break-align-symbol . staff-bar)
815         (bar-size-procedure . ,Span_bar::get_bar_size) 
816         (molecule-callback . ,Span_bar::brew_molecule)
817         (break-visibility . ,begin-of-line-invisible)
818         (X-extent-callback . ,Span_bar::width_callback)
819         (Y-extent-callback . ())
820         (breakable . #t)
821         (glyph . "|")
822         (before-line-breaking-callback . ,Span_bar::before_line_breaking)
823         ;; ugh duplication! 
824
825         ;;
826         ;; Ross. page 151 lists other values, we opt for a leaner look
827         ;; 
828         (kern . 3.0)
829         (thin-kern . 3.0)
830         (hair-thickness . 1.6)
831         (thick-thickness . 6.0)
832         (meta . ((interfaces . (span-bar-interface font-interface
833                                                    bar-line-interface item-interface ))))
834         ))
835
836     (StanzaNumber
837      . (
838         (breakable . #t)
839         (molecule-callback . ,Text_item::brew_molecule)         
840         (break-align-symbol . clef)
841         (break-visibility . ,begin-of-line-visible)
842         (font-family . roman)
843         (meta . ((interfaces . (break-aligned-interface text-interface font-interface item-interface ))))               
844         ))
845
846     (StaffSpacing
847      . (
848         (breakable . #t)
849         (stem-spacing-correction . 0.4)
850         (knee-spacing-correction . 0.75)
851         (meta . ((interfaces . (spacing-interface staff-spacing-interface item-interface ))))
852         ))
853     (NoteSpacing
854      . (
855         (stem-spacing-correction . 0.5)
856         (knee-spacing-correction . 0.75)
857         (meta . ((interfaces . (spacing-interface note-spacing-interface item-interface ))))
858         ))
859
860     (StaffSymbol
861      . (
862         (molecule-callback . ,Staff_symbol::brew_molecule)
863         (line-count . 5)
864         (layer . 0)
865         (meta . ((interfaces . (staff-symbol-interface spanner-interface))))
866         ))
867
868     (SostenutoPedal
869      . (
870         (molecule-callback . ,Text_item::brew_molecule)
871         (direction . 1)
872         (X-offset-callbacks . (,Self_alignment_interface::aligned_on_self))
873         (no-spacing-rods . #t)
874         (padding . 0.0) ;; padding relative to SostenutoPedalLineSpanner
875         (pedal-type . mixed)
876         (font-family . roman)
877         (font-shape . italic)
878         (self-alignment-X . 0)
879         (meta . ((interfaces . (text-interface  self-alignment-interface font-interface item-interface))))
880         ))
881
882     (SostenutoPedalLineSpanner 
883      . (
884         (axes . (1))
885         (Y-extent-callback . ,Axis_group_interface::group_extent_callback)      
886         (Y-offset-callbacks . (,Side_position_interface::aligned_side))
887         
888
889         (padding . 1.2)
890         (minimum-space . 1.0)
891         (direction . -1)
892         (meta . ((interfaces . (piano-pedal-interface axis-group-interface side-position-interface  spanner-interface))))
893         ))
894         
895     (Stem
896      . (
897         (before-line-breaking-callback . ,Stem::before_line_breaking)
898         (molecule-callback . ,Stem::brew_molecule)
899         (thickness . 1.3)
900
901         ;; 3.5 (or 3 measured from note head) is standar length
902         ;; 32nd, 64th flagged stems should be longer
903         (lengths . (3.5 3.5 3.5 4.5 5.0))
904         
905         ;; Stems in unnatural (forced) direction should be shortened by
906         ;; one staff space, according to [Roush & Gourlay].
907         ;; Flagged stems we shorten only half a staff space.
908         (stem-shorten . (1.0 0.5))
909
910         ;; default stem direction for note on middle line
911         (neutral-direction . -1)
912         
913         ;; [Wanske]: standard length (but no shorter than minimum).
914         ;; (beamed-lengths . (3.5))
915         
916         ;; FIXME.  3.5 yields too long beams (according to Ross and
917         ;; looking at Baerenreiter examples) for a number of common
918         ;; boundary cases.  Subtracting half a beam thickness fixes
919         ;; this, but the bug may well be somewhere else.
920         (beamed-lengths . (3.26))
921
922         ;; [Wanske] lists three sets of minimum lengths.  One
923         ;; set for the nomal case, and one set for beams with `der
924         ;; Balkenendpunkt weiter "uber bzw. unter die Systemgrenze
925         ;; hinaus (bei Gruppen mit grossem Tonumfang)' and the extreme
926         ;; case.
927
928         ;; Note that Wanske lists numbers lengths starting from top of
929         ;; head, so we must add half a staff space.
930         
931         ;; We use the normal minima as minimum for the ideal lengths,
932         ;; and the extreme minima as abolute minimum length.
933         
934         ;; The 'normal' minima
935         (beamed-minimum-free-lengths . (2.5 2.0 1.5))
936         
937         ;; The 'far outside staff' minima, not used
938         ;(beamed-far-minimum-free-lengths . (1.83))
939         
940         ;; The 'extreme case' minima
941         (beamed-extreme-minimum-free-lengths . (1.83 1.5))
942
943         (X-offset-callbacks . (,Stem::off_callback))
944         (X-extent-callback . ,Stem::dim_callback)       
945         (Y-extent-callback . ,Stem::height)
946         (Y-offset-callbacks . (,Staff_symbol_referencer::callback))
947         (adjust-if-on-staffline . #t)
948         (font-family . music)      
949         (avoid-note-head . #f)
950         (up-to-staff . #f)
951         (meta . ((interfaces . (stem-interface  font-interface item-interface ))))
952         ))
953
954     (StemTremolo
955      . (
956         (molecule-callback . ,Stem_tremolo::brew_molecule)
957         (Y-extent-callback . ,Stem_tremolo::height)
958         (X-extent-callback . #f)
959
960         (beam-width . 1.6) ; staff-space
961         (beam-thickness . 0.48) ; staff-space
962         (meta . ((interfaces . (stem-tremolo-interface item-interface ))))
963         ))
964
965     (SeparationItem
966      . (
967         (meta . ((interfaces . (spacing-interface separation-item-interface item-interface ))))
968         ))
969
970     (SeparatingGroupSpanner
971      . (
972         (spacing-procedure . ,Separating_group_spanner::set_spacing_rods)
973         (meta . ((interfaces . (spacing-interface separation-spanner-interface spanner-interface))))
974         ))
975
976     (SustainPedal
977      . (
978         (no-spacing-rods . #t)
979         (molecule-callback . ,Sustain_pedal::brew_molecule)
980         (self-alignment-X . 0)
981         (direction . 1)
982         (padding . 0.0)  ;; padding relative to SustainPedalLineSpanner
983         (pedal-type . text)
984         (X-offset-callbacks . (,Self_alignment_interface::aligned_on_self))
985         (meta . ((interfaces . (piano-pedal-interface text-spanner-interface text-interface self-alignment-interface font-interface item-interface))))
986         ))
987
988     (SustainPedalLineSpanner 
989      . (
990         (axes . (1))
991         (Y-extent-callback . ,Axis_group_interface::group_extent_callback)
992         (Y-offset-callbacks . (,Side_position_interface::aligned_side))
993         
994         (padding . 1.2)
995         (minimum-space . 1.0)
996         (direction . -1)
997         (meta . ((interfaces . (piano-pedal-interface axis-group-interface side-position-interface spanner-interface))))
998         ))
999
1000     (System
1001      . (
1002         (axes . (0 1))
1003         (X-extent-callback . ,Axis_group_interface::group_extent_callback)
1004         (Y-extent-callback . ,Axis_group_interface::group_extent_callback)      
1005         (meta . ((interfaces . (system-interface axis-group-interface spanner-interface))))
1006         ))
1007
1008     (SystemStartBrace
1009      . (
1010         (glyph . "brace")
1011         (molecule-callback . ,System_start_delimiter::brew_molecule)
1012         (collapse-height . 5.0)
1013         (font-family . braces)
1014         (Y-extent-callback . #f)
1015         (meta . ((interfaces . (system-start-delimiter-interface font-interface))))
1016         ))
1017
1018     (SystemStartBracket
1019      . (
1020         (Y-extent-callback . #f)
1021         (molecule-callback . ,System_start_delimiter::brew_molecule)
1022         (glyph . "bracket")
1023         (arch-height . 1.5)
1024         (arch-angle . 50.0)
1025         (arch-thick . 0.25)
1026         (arch-width . 1.5)
1027         (bracket-collapse-height . 1)
1028         (thickness . 0.25)
1029         (meta . ((interfaces . (system-start-delimiter-interface spanner-interface))))
1030         ))
1031
1032     (SystemStartBar
1033      . (
1034         (Y-extent-callback . #f)
1035         (molecule-callback . ,System_start_delimiter::brew_molecule)
1036         (glyph . "bar-line")
1037         (thickness . 1.6)
1038         (after-line-breaking-callback . ,System_start_delimiter::after_line_breaking)
1039         (meta . ((interfaces . (system-start-delimiter-interface spanner-interface))))
1040         ))
1041
1042     (TextScript
1043      . (
1044         (molecule-callback . ,Text_item::brew_molecule)
1045         (no-spacing-rods . #t)
1046         (X-offset-callbacks . (,Self_alignment_interface::aligned_on_self))
1047         (direction . -1)
1048         (padding . 0.5)
1049         (script-priority . 200)
1050         ;; todo: add X self alignment?
1051         (baseline-skip . 2)
1052         (font-family . roman)
1053         (meta . ((interfaces . (text-script-interface text-interface side-position-interface font-interface item-interface ))))
1054         ))
1055
1056     (TextSpanner
1057      . (
1058         (molecule-callback . ,Text_spanner::brew_molecule)
1059         (font-family . roman)
1060         (type . line)
1061
1062         ;; urg, only for (de)cresc. text spanners
1063         (if-text-padding . 1.0)
1064         (width-correct . -1)
1065
1066         (direction . 1)
1067         (meta . ((interfaces . (text-spanner-interface side-position-interface font-interface spanner-interface))))             
1068         ))
1069     
1070     (TabNoteHead
1071      . (
1072         (font-family . roman)
1073         (style . default)
1074         (molecule-callback . ,tablature-molecule-callback)
1075         (Y-offset-callbacks  . (,Staff_symbol_referencer::callback))
1076         (extra-offset . (0 . -0.65)) ;; UGH! TODO: Clean this up!
1077         (stem-attachment-function . ,tablature-stem-attachment-function)
1078         (meta . ((interfaces
1079                   . (rhythmic-head-interface
1080                      font-interface
1081                      note-head-interface staff-symbol-referencer-interface
1082                      text-interface item-interface ))))
1083         ))
1084
1085
1086     (Tie
1087      . (
1088         (molecule-callback . ,Tie::brew_molecule)
1089         (spacing-procedure . ,Spanner::set_spacing_rods)
1090         (staffline-clearance . 0.35)
1091         (details . ((ratio . 0.333) (height-limit . 1.0)))
1092         (thickness . 1.2)
1093         (x-gap . -0.1)
1094         (y-offset . 0.6)
1095         (minimum-length  . 2.5)
1096         (meta . ((interfaces . (tie-interface spanner-interface))))
1097         ))
1098
1099     (TieColumn
1100      . (
1101         (after-line-breaking-callback . ,Tie_column::after_line_breaking)
1102         (X-extent-callback . ())
1103         (Yoo-extent-callback . ())      
1104         (meta . ((interfaces . (tie-column-interface spanner-interface))))
1105         ))
1106
1107     (TimeSignature
1108      . (
1109         (molecule-callback . ,Time_signature::brew_molecule)
1110         (break-align-symbol . time-signature)
1111         (break-visibility . ,all-visible)
1112         (space-alist . (
1113                         (first-note . (extra-space . 2.0))
1114                         (right-edge . (extra-space . 0.5))
1115                         (staff-bar .  (minimum-space . 2.0))
1116                         ))
1117         (breakable . #t)
1118         (style . C)
1119         (font-family . number)
1120         (meta . ((interfaces . (time-signature-interface break-aligned-interface font-interface item-interface ))))
1121         ))
1122
1123     (TupletBracket
1124      . (
1125         (gap . 2.0)
1126         (padding . 0.9)
1127         (thickness . 1.6)
1128         (edge-widen . (0.0 . 0.0))
1129         (edge-height . (0.7 . 0.7))
1130         (shorten-pair . (-0.2 . -0.2))
1131         (before-line-breaking-callback . ,Tuplet_bracket::before_line_breaking)
1132         (after-line-breaking-callback . ,Tuplet_bracket::after_line_breaking)
1133         (molecule-callback . ,Tuplet_bracket::brew_molecule)
1134         (font-family . roman)
1135         (font-shape . italic)
1136
1137         (font-relative-size . -1)
1138         (meta .  ((interfaces . (text-interface tuplet-bracket-interface font-interface spanner-interface))))
1139         ))
1140
1141     (UnaCordaPedal
1142      . (
1143         (molecule-callback . ,Text_item::brew_molecule)
1144         (font-family . roman)
1145         (font-shape . italic)
1146         (no-spacing-rods . #t)
1147         (self-alignment-X . 0)
1148         (direction . 1)
1149         (pedal-type . text)
1150         (padding . 0.0)  ;; padding relative to UnaCordaPedalLineSpanner
1151         (X-offset-callbacks . (,Self_alignment_interface::aligned_on_self))
1152         (meta . ((interfaces . (text-interface self-alignment-interface font-interface item-interface ))))
1153         ))
1154
1155     (UnaCordaPedalLineSpanner 
1156      . (
1157         (axes . (1))
1158         (Y-extent-callback . ,Axis_group_interface::group_extent_callback)      
1159         (Y-offset-callbacks . (,Side_position_interface::aligned_side))
1160         
1161         (padding . 1.2)
1162         (minimum-space . 1.0)
1163         (direction . -1)
1164         (meta . ((interfaces . (piano-pedal-interface axis-group-interface side-position-interface spanner-interface))))
1165         ))
1166
1167     (VaticanaLigature
1168      . (
1169         (thickness . 1.0)
1170         (flexa-width . 2.0)
1171         (ligature-primitive-callback . ,Vaticana_ligature::brew_ligature_primitive)
1172         (molecule-callback . ,Vaticana_ligature::brew_molecule)
1173         (meta . ((interfaces . (vaticana-ligature-interface font-interface))))
1174         ))
1175
1176     (VoltaBracket
1177      . (
1178         (molecule-callback . ,Volta_bracket_interface::brew_molecule)
1179         (direction . 1)
1180         (padding . 1)
1181         (font-style . volta)
1182         (Y-offset-callbacks . (,Side_position_interface::aligned_side))
1183         (thickness . 1.6)  ;  stafflinethickness
1184         (height . 2.0) ; staffspace;
1185         (minimum-space . 5)
1186         (font-family . number)
1187         (font-relative-size . -2)
1188         (meta . ((interfaces . (volta-bracket-interface text-interface side-position-interface font-interface spanner-interface))))
1189         ))
1190     
1191     (VerticalAlignment
1192      . (
1193         (axes . (1))
1194         (Y-extent-callback . ,Axis_group_interface::group_extent_callback)
1195         (stacking-dir . -1)
1196         (meta . ((interfaces . (align-interface axis-group-interface spanner-interface))))
1197         ))
1198
1199     (VerticalAxisGroup
1200      . (
1201         (axes . (1))
1202         (Y-extent-callback . ,Axis_group_interface::group_extent_callback)      
1203         
1204         (meta . ((interfaces . (axis-group-interface spanner-interface))))
1205         ))
1206    )
1207  )
1208
1209
1210
1211
1212 (define (completize-grob-entry x)
1213   "transplant assoc key into 'name entry of 'meta of X
1214 "
1215   (let* ((name-sym  (car x))
1216          (grob-entry (cdr x))
1217          (metaentry (cdr (assoc 'meta grob-entry)))
1218          (ifaces-entry
1219           (cdr (assoc 'interfaces metaentry)))
1220
1221         )
1222     (set! metaentry (assoc-set! metaentry 'name name-sym))
1223     (set! metaentry (assoc-set! metaentry 'interfaces
1224                                 (cons 'grob-interface ifaces-entry)))
1225     (set! grob-entry (assoc-set! grob-entry 'meta metaentry))
1226     (cons name-sym grob-entry)))
1227
1228 (set! all-grob-descriptions (map completize-grob-entry all-grob-descriptions))
1229
1230
1231
1232                                         ;  (display  (map pair? all-grob-descriptions))
1233
1234
1235 ;; make sure that \property Foo.Bar =\turnOff doesn't complain
1236
1237 (map (lambda (x)
1238                                         ; (display (car x)) (newline)
1239
1240        (set-object-property! (car x) 'translation-type? list?)
1241        (set-object-property! (car x) 'is-grob? #t))
1242      all-grob-descriptions)
1243
1244
1245 (set! all-grob-descriptions (sort all-grob-descriptions alist<?))