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