3 title = "Puer natus est nobis"
4 subtitle = "Antiphona ad introitum VII"
5 texidoc = "This file pretty nicely demonstrates what still does
6 not work among ligatures: (i) horozontal spacing is totally broken as
7 soon as raggedright mode is on (say \"raggedright = ##f\" in the paper
8 block to see); (ii) the clef does not show on each line; (iii) lily
9 crashes when removing Stem_engraver, but still using Slur_engraver
10 (this is useful needed for the \addlyrics feature when no slurs are to
11 be typeset); (iv) episem causes a syntax error when applied inside of
12 ligatures (but they are useful only inside...); (v) support for
13 augmentum dots is missing; (vi) accidentals must be placed before the
14 ligature (not demonstrated in this example)"
19 \include "gregorian-init.ly"
21 cantus = \notes \transpose c c {
123 \flexa a c' \flexa b \virga c'
124 \inclinatum \deminutum b \inclinatum \deminutum
167 d' \flexa b \virga c'
168 \inclinatum \deminutum b \inclinatum \deminutum
188 \pes \semivocalis % epiphonus
200 \[ %{ FIXME: \episemInitium%} a
202 \pes c' \flexa %{ FIXME: \episemFinis%} a \quilisma b
216 verba = \context Lyrics = verba \lyrics {
217 Pu- er na- tus est no- bis,
218 et fi- li- us da- tus est no- bis:
219 cu- ius im- pe- ri- um
220 su- per hu- me- rum e- ius:
221 et vo- ca- bi- tur no- men e- ius,
222 mag- ni con- si- li- i An- ge- lus.
223 Can- ta- te Do- mi- no can- ti- cum no- vum:
224 qui- a mi- ra- bi- li- a fe- cit.
228 \context StaffGroup <
229 \context VaticanaStaff <
230 \context VaticanaVoice <
241 stafflinethickness = \staffspace / 5.0
248 % width = 15.0 \cm %%% no effect?
249 % gourlay_maxmeasures = 30.
250 % gourlay_maxmeasures = 1. %%% no effect?
251 % arithmetic_basicspace = 3.8
252 % arithmetic_basicspace = 0.0 %%% no effect?
253 % arithmetic_multiplier = 8.\pt
254 % arithmetic_multiplier = 0.\pt %%% no effect?
261 % Can not `\remove "Slur_engraver"', since \addlyrics needs
262 % slurs working. Hence, set slurs transparent instead.
263 Slur \override #'transparent = ##t
265 % N.B.: Warnings of the type "Degenerate bow: infinite steepness
266 % reqd" arise from the fact that all noteheads of a ligature are
267 % in the same paper column. Therefore, the (transparent) slurs
268 % often start and end in the same column, producing the above
269 % warning. TODO: supress this warning; we need slurs only for
270 % \addlyrics, not for printing.
272 % `\remove "Stem_engraver"' currently produces a crash (see
273 % below). Hence, set stems transparent instead.
274 Stem \set #'transparent = ##t
280 When removing Stem_engraver from VoiceContext (but still using
281 Slur_engraver), lily will crash while trying to typeset slurs, since
282 `()' is not a valid stem:
285 ?: 0* [Slur::after_line_breaking #<Grob Slur >]
286 ?: 1* [#<procedure #f (slur dir)> #<Grob Slur > -1]
287 In /home/reuter/project/lilypond-1.7/share/lilypond/scm/slur.scm:
289 43: 3* [attached-to-stem #<Grob Slur > -1]
290 10: 4 (let* ((note-columns #) (col #) (stem #)) (and (eq? col #) stem ...))
292 16: 5 [ly:get-grob-property () heads]
294 /home/reuter/project/lilypond-1.7/share/lilypond/scm/slur.scm:16:6: In procedure ly_get_grob_property in expression (ly:get-grob-property stem (quote heads)):
295 /home/reuter/project/lilypond-1.7/share/lilypond/scm/slur.scm:16:6: Wrong type argument in position 1 (expecting grob): ()
299 \remove Ligature_bracket_engraver
300 \consists Vaticana_ligature_engraver
301 NoteHead \set #'style = #'vaticana_punctum
302 Script \set #'padding = #0.0
304 % prepare TextSpanner for \episem{Initium|Finis} use
305 TextSpanner \set #'type = #'line
306 TextSpanner \set #'edge-height = #'(0 . 0)
307 TextSpanner \set #'padding = #0.5
308 TextSpanner \set #'edge-text = #'("" . "")
312 \name GregorianTransciptionVoice
314 Stem \set #'transparent = ##t
315 % \remove "Stem_engraver"
316 % Slur \override #'transparent = ##t
317 \remove "Slur_engraver"
321 \name GregorianTranscriptionStaff
323 \accepts GregorianTranscriptionVoice
324 BarLine \override #'transparent = ##t
330 \accepts VaticanaVoice
332 \consists Custos_engraver
333 clefGlyph = #"clefs-vaticana_do"
334 centralCPosition = #0
337 StaffSymbol \set #'line-count = #4
338 StaffSymbol \set #'width = #60.0 % FIXME: unit should be \linewidth
339 TimeSignature \set #'transparent = ##t
340 KeySignature \set #'style = #'vaticana
341 Accidental \set #'style = #'vaticana
342 Custos \set #'style = #'vaticana
343 Custos \set #'neutral-position = #3
344 Custos \set #'neutral-direction = #-1
345 Custos \set #'adjust-if-on-staffline = ##t
348 \HaraKiriStaffContext
349 \accepts VaticanaVoice
350 \accepts GregorianTranscriptionVoice
354 \accepts VaticanaStaff
355 \accepts GregorianTranscriptionStaff
356 \remove Bar_number_engraver
357 % SpacingSpanner \set #'spacing-increment = #0.5
360 % Don't do this exception for transcription -- it will produce