to bookpaper.
* make/mutopia-rules.make ($(outdir)/%.png $(outdir)/%.pdf
$(outdir)/%.ly $(outdir)/%.ps): do all targets from lilypond binary.
* lily/paper-book.cc (output): call output-preview-framework
(post_processing): new function. Do PDF/PNG conversion.
2004-07-24 Han-Wen Nienhuys <hanwen@xs4all.nl>
+ * scm/page-layout.scm (plain-header): add printpagenumber boolean
+ to bookpaper.
+
+ * make/mutopia-rules.make ($(outdir)/%.png $(outdir)/%.pdf
+ $(outdir)/%.ly $(outdir)/%.ps): do all targets from lilypond binary.
+
* scripts/lilypond-latex.py (run_dvips): remove -bin everywhere.
* lily/GNUmakefile (NAME): create lilypond, not lilypond-bin
The default page header puts the page number and the @code{instrument}
field from the @code{\header} block on a line.
+
+
+
@cindex copyright
@cindex tagline
and @code{make-header}, defined in @code{\bookpaper}. The default
implementations are in @file{scm/page-layout.scm}.
+The following settings influence the header and footer layout.
+
+@table @code
+@item printpagenumber
+ this boolean controls whether a pagenumber is printed.
+@end table
+
+
+
The page layout itself is done by two functions:
@code{page-music-height} and @code{page-make-stencil}. The former
tells the line-breaking algorithm how much space can be spent on a
@item --pdf
Generate PDF. This implies @code{--ps}.
@item --preview
- Also generate a picture of the first system of the score.
+ Generate an output file containing the titles and the first system
+of the score.
@item -s,--safe
Do not trust the @code{.ly} input.
PACKAGE_NAME=LilyPond
MAJOR_VERSION=2
MINOR_VERSION=3
-PATCH_LEVEL=8
+PATCH_LEVEL=9
MY_PATCH_LEVEL=
s.grob_);
}
ENTER_DESCRIPTION (Ledger_line_engraver,
- "Creates spanner to draw ledger lines",
+ "Creates the spanner to draw ledger lines, and notices objects that need ledger lines",
/* creats*/ "LedgerLineSpanner",
/* accepts */ "",
/* acks */ "custos-interface note-head-interface", // ledgered-interface?
ADD_INTERFACE (Ledger_line_spanner,
"ledger-line-interface",
- "This spanner draws the ledger lines of a staff on note heads. ",
+ "This spanner draws the ledger lines of a staff, for note heads that stick out. ",
"note-heads thickness gap length minimum-length")
Real
Staff_symbol::staff_space (Grob*me)
{
- return robust_scm2double ( me->get_property ("staff-space"), 1.0);
+ return robust_scm2double (me->get_property ("staff-space"), 1.0);
}
Real
cm = #(* 10 mm)
inputencoding = #"TeX"
-
+ printpagenumber = ##t
%
% 20pt staff, 5 pt = 1.75 mm
%
$(outdir)/%.ly: %.abc
$(PYTHON) $(ABC2LY) --strict -o $@ $<
-$(outdir)/%.png $(outdir)/%.pdf $(outdir)/%.ly $(outdir)/%.ps: $(outdir)/%.ly
# hmm. notdir builds srcdir builds?
- cd $(outdir); $(LILYPOND) --pdf --ps --png $(notdir $<)
+$(outdir)/%.png $(outdir)/%.pdf $(outdir)/%.ly $(outdir)/%.ps: $(outdir)/%.ly
+ cd $(outdir); $(LILYPOND) --pdf --ps --png -I $(shell pwd)/ $(notdir $<)
+ touch $(outdir)/$(basename $(notdir $<)).png
$(outdir)/%.ly: %.ly
cp $< $@
(define-public (plain-header paper scopes page-number last?)
"Standard header for a part: page number --outside-- and instrument--centered."
- (let* ((props (page-properties paper) )
- (pnum (markup #:bold (number->string page-number)))
+ (let* ((props (page-properties paper))
+ (pnum
+ (if (ly:output-def-lookup paper 'printpagenumber)
+ (markup #:bold (number->string page-number))
+ ""
+ ))
(instr (ly:modules-lookup scopes 'instrument))
+
(line (list "" (if (markup? instr) instr "") pnum)))
(if (even? page-number)