Line_division ideal_line_division = current_configuration (0);
Line_division best_division = ideal_line_division;
vsize min_sys_count = 1;
Line_division ideal_line_division = current_configuration (0);
Line_division best_division = ideal_line_division;
vsize min_sys_count = 1;
best = space_systems_on_best_pages (0, first_page_num);
page_count = best.systems_per_page_.size ();
best = space_systems_on_best_pages (0, first_page_num);
page_count = best.systems_per_page_.size ();
min_sys_count = ideal_sys_count - best.systems_per_page_.back ();
if (page_count > 1 && best.systems_per_page_[page_count - 2] > 1)
min_sys_count = ideal_sys_count - best.systems_per_page_.back ();
if (page_count > 1 && best.systems_per_page_[page_count - 2] > 1)
|| ideal_sys_count < min_system_count (0, end))
{
warning (_ ("could not satisfy systems-per-page and page-count at the same time, ignoring systems-per-page"));
|| ideal_sys_count < min_system_count (0, end))
{
warning (_ ("could not satisfy systems-per-page and page-count at the same time, ignoring systems-per-page"));