arguments, effectively shortens ledger line.
* Documentation/user/GNUmakefile
($(outdir)/lilypond/lilypond.html): use find to remove files.
* lily/main.cc: --no-pages option.
+2004-10-29 Han-Wen Nienhuys <hanwen@xs4all.nl>
+
+ * lily/ledger-line-spanner.cc (print): swap linear_combination
+ arguments, effectively shortens ledger line.
+
+ * Documentation/user/GNUmakefile
+ ($(outdir)/lilypond/lilypond.html): use find to remove files.
+
+ * lily/main.cc: --no-pages option.
+
2004-10-28 Carl Sorensen <carldsorensen@comcast.net>
* Documentation/user/notation.itely (Fret diagrams): add extra
2004-10-28 Carl Sorensen <carldsorensen@comcast.net>
* Documentation/user/notation.itely (Fret diagrams): add extra
$(MAKEINFO) -I$(outdir) --output=$(outdir)/lilypond --css-include=$(abs-srcdir)/Documentation/texinfo.css --html $<
$(MAKEINFO) -I$(outdir) --output=$@ --css-include=$(abs-srcdir)/Documentation/texinfo.css --html --no-split --no-headers $<
perl -i~ -pe 's!../lilypond-internals!lilypond-internals/!g' $(outdir)/lilypond.html
$(MAKEINFO) -I$(outdir) --output=$(outdir)/lilypond --css-include=$(abs-srcdir)/Documentation/texinfo.css --html $<
$(MAKEINFO) -I$(outdir) --output=$@ --css-include=$(abs-srcdir)/Documentation/texinfo.css --html --no-split --no-headers $<
perl -i~ -pe 's!../lilypond-internals!lilypond-internals/!g' $(outdir)/lilypond.html
- rm -f $(outdir)/lilypond/*.png $(outdir)/lilypond/*.ly
+ find $(outdir)/lilypond/ -name '*'.png -o -name '*'.ly | xargs rm -f
# symbolic links to save space
(cd $(outdir)/lilypond/ ; ln -sf ../*.png ../*.ly . )
# symbolic links to save space
(cd $(outdir)/lilypond/ ; ln -sf ../*.png ../*.ly . )
Generate PDF. This implies @code{--ps}.
@item --preview
Generate an output file containing the titles and the first system
Generate PDF. This implies @code{--ps}.
@item --preview
Generate an output file containing the titles and the first system
+@item --no-pages
+ Do not generate the full pages. Useful in combination with
+@code{--preview}.
@item -s,--safe
Do not trust the @code{.ly} input.
@item -s,--safe
Do not trust the @code{.ly} input.
Replaces: lilypond1.3
Provides: lilypond1.3
Depends: ${shlibs:Depends}, tetex-bin (>= 1.0.5-1), tetex-extra (>= 1.0-1), python, guile-1.6 | guile, ${misc:Depends}, lilypond-data (= ${Source-Version})
Replaces: lilypond1.3
Provides: lilypond1.3
Depends: ${shlibs:Depends}, tetex-bin (>= 1.0.5-1), tetex-extra (>= 1.0-1), python, guile-1.6 | guile, ${misc:Depends}, lilypond-data (= ${Source-Version})
+# , ec-fonts-mftraced (>= 1.0.5-1)
Recommends: lilypond-doc
Conflicts: lilypond1.3 (<= 1.3.132-1), musixtex-fonts
Description: A program for typesetting sheet music
Recommends: lilypond-doc
Conflicts: lilypond1.3 (<= 1.3.132-1), musixtex-fonts
Description: A program for typesetting sheet music
extern bool make_pdf;
extern bool make_tex;
extern bool make_preview;
extern bool make_pdf;
extern bool make_tex;
extern bool make_preview;
/* misc */
extern Array<String> failed_files;
/* misc */
extern Array<String> failed_files;
int pos = Staff_symbol_referencer::get_rounded_position (h);
if (abs (pos) > interspaces + 1)
{
int pos = Staff_symbol_referencer::get_rounded_position (h);
if (abs (pos) > interspaces + 1)
{
- Interval ledger_size = h->extent (common[X_AXIS], X_AXIS);
+ Interval head_size = h->extent (common[X_AXIS], X_AXIS);
+ Interval ledger_size = head_size;
ledger_size.widen (ledger_size.length ()* length_fraction);
Interval max_size = reqs[Paper_column::get_rank (h->get_column ())][Direction (sign(pos))].ledger_extent_;
ledger_size.widen (ledger_size.length ()* length_fraction);
Interval max_size = reqs[Paper_column::get_rank (h->get_column ())][Direction (sign(pos))].ledger_extent_;
Real left_shorten =0.0;
if (Grob * g = unsmob_grob (h->get_property ("accidental-grob")))
{
Real left_shorten =0.0;
if (Grob * g = unsmob_grob (h->get_property ("accidental-grob")))
{
+ Interval accidental_size = g->extent (common[X_AXIS], X_AXIS);
- linear_combination (Drul_array<Real> (h->extent (common[X_AXIS], X_AXIS)[LEFT],
- g->extent (common[X_AXIS], X_AXIS)[RIGHT]),
-
- 0.5);
+ linear_combination (Drul_array<Real> (accidental_size[RIGHT],
+ head_size[LEFT]),
+ 0.0);
left_shorten = (-ledger_size[LEFT] + d) >? 0 ;
left_shorten = (-ledger_size[LEFT] + d) >? 0 ;
bool make_ps = false;
bool make_png = false;
bool make_preview = false;
bool make_ps = false;
bool make_png = false;
bool make_preview = false;
bool make_tex = false;
/*
bool make_tex = false;
/*
{0, "no-layout", 'm', _i ("produce MIDI output only")},
{_i ("FILE"), "output", 'o', _i ("write output to FILE")},
{0, "preview", 'p', _i ("generate a preview")},
{0, "no-layout", 'm', _i ("produce MIDI output only")},
{_i ("FILE"), "output", 'o', _i ("write output to FILE")},
{0, "preview", 'p', _i ("generate a preview")},
+ {0, "no-pages", 0, _i ("don't generate full pages")},
{0, "png", 0, _i ("generate PNG")},
{0, "ps", 0, _i ("generate PostScript")},
{0, "dvi", 0, _i ("generate DVI")},
{0, "png", 0, _i ("generate PNG")},
{0, "ps", 0, _i ("generate PostScript")},
{0, "dvi", 0, _i ("generate DVI")},
make_tex = true;
else if (String (opt->longname_str0_) == "preview")
make_preview = true;
make_tex = true;
else if (String (opt->longname_str0_) == "preview")
make_preview = true;
+ else if (String (opt->longname_str0_) == "no-pages")
+ make_pages = false;
scopes = scm_cons (header_, scopes);
String mod_nm = "scm framework-" + format;
scopes = scm_cons (header_, scopes);
String mod_nm = "scm framework-" + format;
-
- SCM mod = scm_c_resolve_module (mod_nm.to_str0 ());
- SCM func = scm_c_module_lookup (mod, "output-framework");
- func = scm_variable_ref (func);
- scm_apply_0 (func, scm_list_n (out->self_scm (),
- self_scm (),
- scopes,
- dump_fields (),
- scm_makfrom0str (outname.to_str0 ()),
- SCM_UNDEFINED));
- out->close ();
- scm_gc_unprotect_object (out->self_scm ());
+ SCM mod = scm_c_resolve_module (mod_nm.to_str0 ());
+ if (make_pages)
+ {
+ SCM func = scm_c_module_lookup (mod, "output-framework");
- post_processing (mod, scm_makfrom0str (file_name.to_str0 ()));
+ func = scm_variable_ref (func);
+ scm_apply_0 (func, scm_list_n (out->self_scm (),
+ self_scm (),
+ scopes,
+ dump_fields (),
+ scm_makfrom0str (outname.to_str0 ()),
+ SCM_UNDEFINED));
+ out->close ();
+ scm_gc_unprotect_object (out->self_scm ());
+ post_processing (mod, scm_makfrom0str (file_name.to_str0 ()));
+ }
Buildrequires: texinfo >= 4.6
Buildrequires: guile-devel >= 1.6.4-8
Requires: tetex tetex-latex libstdc++ python tetex-dvips tetex-latex
Buildrequires: texinfo >= 4.6
Buildrequires: guile-devel >= 1.6.4-8
Requires: tetex tetex-latex libstdc++ python tetex-dvips tetex-latex
-Requires: guile >= 1.6.4-8 ec-fonts-mftraced >= 1.0.4
+Requires: guile >= 1.6.4-8 ec-fonts-mftraced >= 1.0.5
%description
LilyPond lets you create music notation. It produces
%description
LilyPond lets you create music notation. It produces