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