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