+1.3.116.mb1
+===========
+
+* Bugfix: convert-ly.py: Correct syntax for inserted \version,
+ \push -> override happened in 1.3.111
+
+* Bugfix: corrected documentation of timeSignatureStyle, removed all
+ `unknown type' in the property documentation.
+
+* Added font family typewriter (cmtt).
+
+* Bugfix: some examples updated
+
1.3.115.jcn2
============
The default value is @code{#f}. Can be set to @code{#t} with
@code{\specialkey} or reset with @code{\normalkey}. [BROKEN]
- @item @code{timeSignatureStyle}@indexcode{timeSignatureStyle} @propertytype{string}
+ @item @code{timeSignatureStyle}@indexcode{timeSignatureStyle} @propertytype{symbol}
Changes the default two-digit layout for time signatures. The
following values are recognized:
typeset with old-style mensuration marks. All other time
signatures are written with two digits.
- @item @code{1}@indexcode{1}
+ @item @code{1xxx}@indexcode{1xxx}
All time signatures are typeset with a single
- digit, e.g. 3/2 is written as 3.
+ digit, e.g. 3/2 is written as 3. (Any symbol starting
+ with the digit @code{1} will do.)
@item @indexcode{CM/N}@code{C}@var{M}@code{/}@var{N},
@indexcode{oldM/N}@code{old}@var{M}@code{/}@var{N} or
@code{old6/8alt}@indexcode{old6/8alt}
- Tells LilyPond to use a specific symbol as time signature.
+ Tells LilyPond to use a specific symbol as time signature,
+ regardless of the actual time signature.
@end table
The different time signature characters are shown below with its
@lilypond[center,verbatim]
- \score {
- \notes\relative c'' {
- \property Voice.textStyle = typewriter
- \property Staff.timeSignatureStyle = "C2/2"
- \time 2/2; a2^"C2/2" a2
- \property Staff.timeSignatureStyle = "C4/4"
- \time 2/2; a2^"C4/4" a2
- \property Staff.timeSignatureStyle = "old2/2"
- \time 2/2; a2^"old2/2" a2
- \property Staff.timeSignatureStyle = "old3/2"
- \time 2/2; a2^"old3/2" a2
- \property Staff.timeSignatureStyle = "old2/4"
- \time 2/2; a2^"old2/4" a2
- \property Staff.timeSignatureStyle = "old4/4"
- \time 2/2; a2^"old4/4" a2
- \property Staff.timeSignatureStyle = "old6/4"
- \time 2/2; a2^"old6/4" a2
- \property Staff.timeSignatureStyle = "old9/4"
- \time 2/2; a2^"old9/4" a2
- \property Staff.timeSignatureStyle = "old4/8"
- \time 2/2; a2^"old4/8" a2
- \property Staff.timeSignatureStyle = "old6/8"
- \time 2/2; a2^"old6/8" a2
- \property Staff.timeSignatureStyle = "old6/8alt"
- \time 2/2; a2^"old6/8alt" a2
- \property Staff.timeSignatureStyle = "old9/8"
- \time 2/2; a2^"old9/8" a2
- }
- \paper {
- linewidth = 4.5 \in;
- }
- }
+ \score {
+ \notes\relative c'' {
+ \property Voice.TextScript \set #'font-shape = #'upright
+ \property Voice.TextScript \set #'font-family = #'typewriter
+ \property Staff.TimeSignature \set #'style = #'C2/2
+ \time 2/2; a2^"C2/2" a2
+ \property Staff.TimeSignature \set #'style = #'C4/4
+ \time 2/2; a2^"C4/4" a2
+ \property Staff.TimeSignature \set #'style = #'old2/2
+ \time 2/2; a2^"old2/2" a2
+ \property Staff.TimeSignature \set #'style = #'old3/2
+ \time 2/2; a2^"old3/2" a2
+ \property Staff.TimeSignature \set #'style = #'old2/4
+ \time 2/2; a2^"old2/4" a2
+ \property Staff.TimeSignature \set #'style = #'old4/4
+ \time 2/2; a2^"old4/4" a2
+ \property Staff.TimeSignature \set #'style = #'old6/4
+ \time 2/2; a2^"old6/4" a2
+ \property Staff.TimeSignature \set #'style = #'old9/4
+ \time 2/2; a2^"old9/4" a2
+ \property Staff.TimeSignature \set #'style = #'old4/8
+ \time 2/2; a2^"old4/8" a2
+ \property Staff.TimeSignature \set #'style = #'old6/8
+ \time 2/2; a2^"old6/8" a2
+ \property Staff.TimeSignature \set #'style = #'old6/8alt
+ \time 2/2; a2^"old6/8alt" a2
+ \property Staff.TimeSignature \set #'style = #'old9/8
+ \time 2/2; a2^"old9/8" a2
+ }
+ \paper {
+ linewidth = 4.5 \in;
+ }
+ }
@end lilypond
MAJOR_VERSION=1
MINOR_VERSION=3
PATCH_LEVEL=116
-MY_PATCH_LEVEL=
+MY_PATCH_LEVEL=mb1
# use the above to send patches: MY_PATCH_LEVEL is always empty for a
# released version.
- \property Voice .tupletBracketVisibility = #'if-no-beam
+ \property Voice.TupletBracket \set #'tuplet-bracket-visibility = #'if-no-beam
\times 2/3 { [c8 c c] }
- \property Voice .tupletDirection = #1
- \property Voice .tupletNumberVisibility = ##f
+ \property Voice.TupletBracket \set #'direction = #1
+ \property Voice.TupletBracket \set #'tuplet-number-visibility = ##f
\times 2/3 { c8 [c c] }
\score {
\notes <
\context GrandStaff < {
- \property GrandStaff . maxVerticalAlign = #12.0
- \property GrandStaff . minVerticalAlign = #7.0
-
c'1 \break c'''''1
}
{ c'1 \break c,,,,1}
>
-\paper{}
+\paper{
+ \translator{\StaffContext
+ VerticalAlignment \override #'threshold = #'(7 . 12)
+ }
+}
}
(grob-property-description 'new-accidentals list? "list of (pitch, accidental) pairs")
(grob-property-description 'no-spacing-rods boolean? "read from grobs: boolean that makes Separation_item ignore this item (MOVE ME TO ITEM)")
(grob-property-description 'non-default boolean? "not set because of existence of a bar?")
-(grob-property-description 'note-width 'number? "unit for horizontal translation, measured in staff-space.")
+(grob-property-description 'note-width number? "unit for horizontal translation, measured in staff-space.")
(grob-property-description 'number-gap number? "")
(grob-property-description 'old-accidentals list? "list of (pitch, accidental) pairs")
(grob-property-description 'origin ly-input-location? "location in input file of the definition")
((-1 bold upright roman cmbx 8) . "cmbx8")
((-2 bold upright roman cmbx 7) . "cmbx7")
+ ((4 medium upright typewriter cmtt 20) . "cmtt20")
+ ((3 medium upright typewriter cmtt 16) . "cmtt16")
+ ((2 medium upright typewriter cmtt 14) . "cmtt14")
+ ((1 medium upright typewriter cmtt 12) . "cmtt12")
+ ((0 medium upright typewriter cmtt 10) . "cmtt10")
+ ((-1 medium upright typewriter cmtt 8) . "cmtt8" )
+ ((-2 medium upright typewriter cmtt 7) . "cmtt7" )
+ ((-3 medium upright typewriter cmtt 6) . "cmtt6" )
+ ((-4 medium upright typewriter cmtt 5) . "cmtt5" )
+ ((-5 medium upright typewriter cmtt 4) . "cmtt4" )
+
;; should use the same brace font every where and fix C++ code.
((2 medium upright braces feta-braces 26) . "feta-braces26")
((1 medium upright braces feta-braces 23) . "feta-braces23")
(and (pair? x) (number? (car x)) (number? (cdr x))))
(define (boolean-or-symbol? x) (or boolean? x) (or symbol? x))
(define (number-or-string? x) (or (number? x) (string? x)))
-(define (list-or-string? x) (or (list? x) (string? x)))
(define markup?
(lambda (x) (or (string? x) (list? x))))
((output-port? obj) "output port")
((vector? obj) "vector")
((procedure? obj) "procedure")
+ ((boolean-or-symbol? obj) "boolean or symbol")
+ ((number-or-string? obj) "number or string")
+ ((markup? obj) "markup (list or string)")
(else "unknown type")
))
((eq? predicate output-port?) "output port")
((eq? predicate vector?) "vector")
((eq? predicate procedure?) "procedure")
+ ((eq? predicate boolean-or-symbol?) "boolean or symbol")
+ ((eq? predicate number-or-string?) "number or string")
+ ((eq? predicate markup?) "markup (list or string)")
(else "unknown type")
))
")
(translator-property-description 'graceAccidentalSpace number? "amount space to alot for an accidental")
(translator-property-description 'graceAlignPosition dir? "put the grace note before or after the main note?")
-(translator-property-description 'instr list-or-string? "see @code{instrument}")
-(translator-property-description 'instrument list-or-string? " If @code{Instrument_name_engraver}
+(translator-property-description 'instr markup? "see @code{instrument}")
+(translator-property-description 'instrument markup? " If @code{Instrument_name_engraver}
@cindex Instrument_name_engraver
is
added to the Staff translator, then the @code{instrument} property
return str
- conversions.append (((1,3,110), conv, '\\push -> \\override, \\pop -> \\revert'))
+ conversions.append (((1,3,111), conv, '\\push -> \\override, \\pop -> \\revert'))
if 1:
def conv (str):
if last_conversion:
sys.stderr.write ('\n')
- new_ver = '\\\\version \"%s\"' % tup_to_str (last_conversion)
+ new_ver = '\\version \"%s\"' % tup_to_str (last_conversion)
if re.search (lilypond_version_re_str, str):
- str = re.sub (lilypond_version_re_str,new_ver , str)
+ str = re.sub (lilypond_version_re_str,'\\'+new_ver , str)
else:
str = new_ver + '\n' + str