bug-lilypond
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Compression when it is not needed in optimal-breaking and minimal-breaki


From: Arkhipenko Alexey
Subject: Compression when it is not needed in optimal-breaking and minimal-breaking algorithms
Date: Sat, 9 Feb 2019 11:44:01 +0300

% SORRY FOR LONG BUG REPORT! Many elements are needed so that one page is
not enough any more
%
% First page is over-compressed with optimal-breaking:
%
https://github.com/rualark/MGen/blob/master/MGen/configs/ly2/debug/compressing/compressed2.ly
%
https://github.com/rualark/MGen/blob/master/MGen/configs/ly2/debug/compressing/compressed2.pdf
%
% Can be fixed by switching to page-turn-breaking:
%
https://github.com/rualark/MGen/blob/master/MGen/configs/ly2/debug/compressing/uncompressed2.ly
%
https://github.com/rualark/MGen/blob/master/MGen/configs/ly2/debug/compressing/uncompressed2.pdf
%
% But page-turn breaking creates too sparse scores in some situations (see
page 1):
%
https://github.com/rualark/MGen/blob/master/MGen/configs/ly2/debug/compressing/2019-02-08_23-48-55_Erreurs%20TP04-mod.ly
%
https://github.com/rualark/MGen/blob/master/MGen/configs/ly2/debug/compressing/2019-02-08_23-48-55_Erreurs%20TP04-mod.pdf
%
% This example looks much better (more dense) with minimal-breaking:
%
https://github.com/rualark/MGen/blob/master/MGen/configs/ly2/debug/compressing/2019-02-09_00-07-31_Erreurs%20TP04-mod.ly
%
https://github.com/rualark/MGen/blob/master/MGen/configs/ly2/debug/compressing/2019-02-09_00-07-31_Erreurs%20TP04-mod.pdf
%
% This can be easily fixed by manually adding \pageBreak , but sometimes an
automatic solution is needed.
% In my situation lilypond script is generated by MusicXML analysis program
and no manual tweaking of positions or pagebreaks is possible, because we
do not know what music user can upload.
% How can compression be totally disabled or limited, so that Lilypond
would have to add page breaks? Automatic solution is required, which does
not include manually tweaking positions of elements and pagebreaks.

Best regards,
Alexey Arkhipenko.
http://arkhipenko.weebly.com


reply via email to

[Prev in Thread] Current Thread [Next in Thread]