"noteheads-" glyphname.
* lily/parser.yy (Generic_prefix_music): supply parser argument to
music function as well.
+2004-11-28 Han-Wen Nienhuys <hanwen@xs4all.nl>
+
+ * scm/define-markup-commands.scm (note-by-number): add "s" to
+ "noteheads-" glyphname.
+
+ * lily/parser.yy (Generic_prefix_music): supply parser argument to
+ music function as well.
+
2004-11-26 Han-Wen Nienhuys <hanwen@xs4all.nl>
* Documentation/user/changing-defaults.itely (Creating titles):
@unnumbered New features in 2.5 since 2.4
@itemize @bullet
+@item
+Pagebreaks can now be forced or forbidden after title blocks. This is
+achieved by setting @code{breakbefore} in the @code{\header} block to
+true or false.
+
@item
Shaped note heads. This feature has been sponsored by Jonathan Walther.
@node Markup programmer interface
@section Markup programmer interface
-@c Please rewrite the second sentence; I don't unÑ\95erstand its meaning. AS
+@c Please rewrite the second sentence; I don't unÃ\91Â\95erstand its meaning. AS
Markups are implemented as special Scheme functions. When applied with as
arguments an output definition (@code{\layout} or @code{\paper}),
and a list of properties and other arguments, produce a Stencil
the @code{\encoding} command.
When the markup is converted to printable objects (Stencils), the
-raise markup is called as
+@code{raise-markup} function is called as
@example
(apply raise-markup
PACKAGE_NAME=LilyPond
MAJOR_VERSION=2
MINOR_VERSION=5
-PATCH_LEVEL=1
+PATCH_LEVEL=2
MY_PATCH_LEVEL=
bool is_title () const;
Real break_before_penalty () const;
};
-
+//
DECLARE_UNSMOB (Paper_system, paper_system);
#endif /* PAPER_SYSTEM_HH */
if (!define_spots_.is_empty ())
{
- define_spots_.top ().warning (_ ("Braces don't match"));
- error_level_ = 1;
+ if (define_spots_.is_empty()
+ && !error_level_ )
+ programming_error ("Braces don't match, but error_level_ not set.");
}
error_level_ = error_level_ | lexer_->error_level_;
if (last_command_item_ && (mmrest_ || last_rest_))
{
-
if (last_rest_)
{
add_bound_item (last_rest_, last_command_item_);
}
}
-
-
Moment mp(robust_scm2moment (get_property ("measurePosition"), Moment (0)));
-
if (last_rest_)
{
last_rest_ = 0;
SCM m = SCM_EOL;
if (ok)
- m = scm_apply_0 (func, scm_cdr ($1));
+ m = scm_apply_0 (func, scm_cons (THIS->self_scm(),
+ scm_cdr ($1)));
if (unsmob_music (m))
{
\version "2.4.0"
-applymusic = #(def-music-function (location func music) (procedure? ly:music?)
+applymusic = #(def-music-function (parser location func music) (procedure? ly:music?)
(func music))
-oldaddlyrics = #(def-music-function (location music lyrics) (ly:music? ly:music?)
+oldaddlyrics = #(def-music-function (parser location music lyrics) (ly:music? ly:music?)
(make-music 'LyricCombineMusic
'origin location
acciaccatura = #(def-grace-function startAcciaccaturaMusic stopAcciaccaturaMusic)
appoggiatura = #(def-grace-function startAppoggiaturaMusic stopAppoggiaturaMusic)
-partcombine = #(def-music-function (location part1 part2) (ly:music? ly:music?)
+partcombine = #(def-music-function (parser location part1 part2) (ly:music? ly:music?)
(make-part-combine-music (list part1 part2)))
-autochange = #(def-music-function (location music) (ly:music?)
+autochange = #(def-music-function (parser location music) (ly:music?)
(make-autochange-music music))
-applycontext = #(def-music-function (location proc) (procedure?)
+applycontext = #(def-music-function (parser location proc) (procedure?)
(make-music 'ApplyContext
'origin location
'procedure proc))
-displayMusic = #(def-music-function (location music) (ly:music?)
+displayMusic = #(def-music-function (parser location music) (ly:music?)
(display-music music)
music)
-applyoutput = #(def-music-function (location proc) (procedure?)
+applyoutput = #(def-music-function (parser location proc) (procedure?)
(make-music 'ApplyOutputEvent
'origin location
'procedure proc))
-breathe = #(def-music-function (location) ()
+breathe = #(def-music-function (parser location) ()
(make-music 'EventChord
'origin location
'elements (list (make-music 'BreathingSignEvent))))
-unfoldrepeats = #(def-music-function (location music) (ly:music?)
+unfoldrepeats = #(def-music-function (parser location music) (ly:music?)
(unfold-repeats music))
compressmusic = #(def-music-function
- (location fraction music) (number-pair? ly:music?)
+ (parser location fraction music) (number-pair? ly:music?)
(ly:music-compress music (ly:make-moment (car fraction) (cdr fraction))))
makeClusters = #(def-music-function
- (location arg) (ly:music?)
+ (parser location arg) (ly:music?)
(music-map note-to-cluster arg))
removeWithTag =
#(def-music-function
- (location tag music) (symbol? ly:music?)
+ (parser location tag music) (symbol? ly:music?)
(music-filter
(lambda (m)
(let* ((tags (ly:music-property m 'tags))
keepWithTag =
#(def-music-function
- (location tag music) (symbol? ly:music?)
+ (parser location tag music) (symbol? ly:music?)
(music-filter
(lambda (m)
(let* ((tags (ly:music-property m 'tags))
cueDuring =
#(def-music-function
- (location what dir main-music)
+ (parser location what dir main-music)
(string? ly:dir? ly:music?)
(make-music 'QuoteMusic
'element main-music
quoteDuring = #
(def-music-function
- (location what main-music)
+ (parser location what main-music)
(string? ly:music?)
(make-music 'QuoteMusic
'element main-music
killCues =
#(def-music-function
- (location music)
+ (parser location music)
(ly:music?)
(music-map
(lambda (mus)
%
%
+
+fet_beginchar("espr", "espr", "espressivo")
+ set_char_box(.9 staff_space#, .9 staff_space#, .5 staff_space#, .5 staff_space#);
+ save thickness, diminish;
+ thickness = 0.05 staff_space + linethickness;
+ pickup pencircle scaled thickness;
+ t = thickness;
+ diminish = .75;
+ top z1 =(0.2 staff_space,h);
+ rt z3 =(w*2,0);
+ bot y5 =-h;
+ x5 = x1;
+ x2 = .5[x1,x3];
+ x4 = .5[x5,x3];
+ z2 = whatever[z1,z3];
+ z4 = whatever[z5,z3];
+ penpos1(t,90);
+ penpos2(t,90);
+ penpos5(t,90);
+ penpos4(t,90);
+ penpos3(diminish*t,90);
+ draw z1 .. z2;
+ draw z5 .. z4;
+ penstroke z4e .. z3e;
+ penstroke z2e .. z3e;
+ draw (z1 .. z2) xscaled -1;
+ draw (z5 .. z4) xscaled -1;
+ penstroke (z4e .. z3e) xscaled -1;
+ penstroke (z2e .. z3e) xscaled -1;
+ penlabels(1,2,3,4,5);
+ pickup pencircle scaled (diminish* thickness);
+ draw z3;
+ draw z3 xscaled -1;
+
+fet_endchar;
+
+
input feta-bolletjes;
%input feta-banier;
%input feta-slag;
(stem-length (* (magstep size) (max 3 (- log 1))))
(head-glyph (ly:find-glyph-by-name
font
- (string-append "noteheads-" (number->string (min log 2)))))
+ (string-append "noteheads-s" (number->string (min log 2)))))
(stem-thickness 0.13)
(stemy (* dir stem-length))
(attachx (if (> dir 0)
(string-append "%!PS-Adobe-2.0 EPSF-2.0\n"
"%%Creator: creator time-stamp\n"
"%%BoundingBox: "
- (string-join (map number->string bbox) " ") "\n"
+ (string-join (map ly:number->string bbox) " ") "\n"
"%%Orientation: "
(if (eq? (ly:output-def-lookup paper 'landscape) #t)
"Landscape\n"
(map ly:paper-system-stencil
(append titles (list non-title)))))
(xext (ly:stencil-extent dump-me X))
- (yext (ly:stencil-extent dump-me Y)))
+ (yext (ly:stencil-extent dump-me Y))
+ (bbox
+ (map
+ (lambda (x)
+ (if (or (nan? x) (inf? x))
+ 0.0 x))
+ (list (car xext) (car yext)
+ (cdr xext) (cdr yext)))
+ ))
(for-each
(lambda (x)
(lambda (x)
(inexact->exact
(round (* x scale mm-to-bigpoint))))
- (list (car xext) (car yext)
- (cdr xext) (cdr yext))))
+ bbox))
(preamble paper)))
#:penalty total-penalty)
current-best)))
- (if #t ;; debug
+ (if #f ;; debug
(display
(list
"\nuser pen " user-penalty
$(foreach i, $(EXTRA_DOC_FILES),\
cp -r $(i) $(prefix)/doc/$(package) &&) true
-
include $(outdir)/dummy.dep $(wildcard $(outdir)/*.dep) # expect a warning here
$(outdir)/dummy.dep: