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