skip to main content
10.1145/3342558.3345405acmconferencesArticle/Chapter ViewAbstractPublication PagesdocengConference Proceedingsconference-collections
short-paper

Globally optimal page breaking with column balancing: a case study

Published: 23 September 2019 Publication History

Abstract

The paper presents a dynamic programming algorithm that finds the globally optimal sequence of page breaks for a book avoiding widows and orphans when the only source of variation is the possibility to break selected paragraphs into varying number of lines by skillful selection of line breaks. The text is set in two-columns, on each last page of a chapter the columns must be balanced. We show how the balancing process can be included in the global optimization.
The algorithm is applied to a real-life problem of typesetting a small-format two-column 800 pages long dictionary. We analyze the typesetting process including the proofing phase where local changes in the text can globally influence page breaks.
This problem provides an ideal test-bed for global optimization since the typographic model involved is relatively easy - the material processed is merely a stream of paragraphs. On the other hand, breaking the book under these conditions is a very tedious and frustrating job for a human typesetter, as it typically requires hours of trial and error.

References

[1]
Paolo Ciancarini, Angelo Di Iorio, Luca Furini, and Fabio Vitali. 2012. High-quality Pagination for Publishing. Software Prac. Experience 42, 6 (June 2012), 733--751. https://doi.org/10.1002/spe.1096
[2]
Nathan Hurst, Wilmot Li, and Kim Marriott. 2009. Review of Automatic Document Formatting. In Proceedings of the 9th ACM Symposium on Document Engineering (DocEng '09). ACM, New York, NY, USA, 99--108. https://doi.org/10.1145/1600193.1600217
[3]
Donald E. Knuth. 1984. The TEXbook. Addison-Wesley, Reading, Massachusetts.
[4]
Donald E. Knuth and Michael F. Plass. 1981. Breaking Paragraphs into Lines. Software--Practice and Experience 11 (1981), 1119--1184.
[5]
Frank Mittelbach. 2016. A General Framework for Globally Optimized Pagination. In Proceedings of the 2016 ACM Symposium on Document Engineering (DocEng '16). ACM, New York, NY, USA, 11--20. https://doi.org/10.1145/2960811.2960820
[6]
Tadeusz Piotrowski and Zygmunt Saloni. 2002. New English-Polish and Polish-English dictionary. Wilga, Warszawa.
[7]
Michael Frederick Plass. 1981. Optimal Pagination Techniques for Automatic Typesetting Systems. Ph.D. Dissertation. Stanford University.

Index Terms

  1. Globally optimal page breaking with column balancing: a case study

    Recommendations

    Comments

    Information & Contributors

    Information

    Published In

    cover image ACM Conferences
    DocEng '19: Proceedings of the ACM Symposium on Document Engineering 2019
    September 2019
    254 pages
    ISBN:9781450368872
    DOI:10.1145/3342558
    Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than the author(s) must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected].

    Sponsors

    In-Cooperation

    Publisher

    Association for Computing Machinery

    New York, NY, United States

    Publication History

    Published: 23 September 2019

    Permissions

    Request permissions for this article.

    Check for updates

    Author Tags

    1. automatic layout
    2. global optimization
    3. page breaking
    4. typesetting

    Qualifiers

    • Short-paper
    • Research
    • Refereed limited

    Conference

    DocEng '19
    Sponsor:
    DocEng '19: ACM Symposium on Document Engineering 2019
    September 23 - 26, 2019
    Berlin, Germany

    Acceptance Rates

    DocEng '19 Paper Acceptance Rate 30 of 77 submissions, 39%;
    Overall Acceptance Rate 194 of 564 submissions, 34%

    Contributors

    Other Metrics

    Bibliometrics & Citations

    Bibliometrics

    Article Metrics

    • 0
      Total Citations
    • 73
      Total Downloads
    • Downloads (Last 12 months)3
    • Downloads (Last 6 weeks)0
    Reflects downloads up to 03 Mar 2025

    Other Metrics

    Citations

    View Options

    Login options

    View options

    PDF

    View or Download as a PDF file.

    PDF

    eReader

    View online with eReader.

    eReader

    Figures

    Tables

    Media

    Share

    Share

    Share this Publication link

    Share on social media