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