Abstract
The pagination problem of complex documents is in placing text and floating objects on pages in such a way that each object appears close to, but not before, its text reference. Current electronic formatting systems do not offer the pagination quality provided by human experts in traditional bookprinting. One reason is that a good placement of text and floating objects cannot be achieved in a single pass over the input. We show that this approach works only in a very restricted document model; but in a realistic setting no online algorithm can approximate optimal pagination quality.
Globally computing an optimal pagination critically depends on the measure of quality used. Some measures are known to render the problem NP-hard, others cause unwanted side effects. We propose to use the total number of page turns necessary for reading the document and for looking up all referenced objects. This objective function can be optimized by dynamic programming, in time proportional to the number of text blocks times the number of floating objects. Our implementation takes less than one minute for formatting a chapter of 30 pages. The results compare favorably with layouts obtained by Word, FrameMaker, or LATEX, that were fine-tuned by expert users.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Preview
Unable to display preview. Download preview PDF.
Similar content being viewed by others
References
ASHER, G. 1990. Type & Set: TEX as the Engine of a Friendly Publishing System. Pages 91–100of: CLARK, M. (ed), TEX: Applications, Uses, Methods. Chichester, UK: Ellis Horwood Publishers. Proceedings of the TEX88 Conference.
BELLMAN, RVICHARD. 1957. Dynamic Programming. Princeton, New Jersey: Princeton University Press.
BRÜGGEMANN-KLEIN, A., KLEIN, R., & WOHLFEIL, S. 1996. Pagination Reconsidered. Electronic Publishing-Origination, Dissemination, and Design, 8(2&3), 139–152.
CHI82. 1982. The Chicago Manual of Style. The University of Chicago Press, Chicago.
DYSON, MARY C., & KIPPING, GARY J. 1997. The Legibility of Screen Formats: Are Three Columns Better Than One? Computers & Graphics, 21(6), 703–712.
EFI95. 1995 (July). Wissenschaftliche Information im elektronischen Zeitalter. Stand und Erfordernisse. Bayerisches Staatsministerium für Unterricht, Kultus, Wissenschaft und Kunst, RB-05/95/14. Available on the WWW by the URL http://www11.informatik.tumuenchen. de/EFI/. Bericht der Sachverständigenkommission zur elektronischen Fachinformation (EFI) an den Hochschulen in Bayern.
FIAT, AMOS, & WOEGINGER, GERHARD (eds). 1996. On-line Algorithms: The State of the Art. Springer-Verlag.
FURUTA, RICHARD, SCOFIELD, JEFFREY, & SHAW, ALAN. 1982. Document Formatting Systems: Survey, Concepts and Issues. Pages 133–210 of: NIEVERGELT, J., CORAY, G., NICOUD, J.-D., & SHAW, A.C. (eds), Document Preparation Systems. Amsterdam: North Holland.
GAREY, M. R., & JOHNSON, D. S. 1979. Computers and Intractability: A Guide to the Theory of NP-Completeness. New York, NY: W. H. Freeman.
HANSEN, WILFRED J., & HAAS, CHRISTINA. 1988. Reading andWriting with Computers: A Framework for Explaining Differences in Performance. Communications of the ACM, 31(9), 1080–1089.
KANDERS, MICHAEL. 1996. Schule und Bildung in der öffentlichen Meinung. Beiträge zur Bildungsforschung und Schulentwicklung. Dortmund, Germany: IFS-Verlag.
KERNIGHAN, B. W., & WYK, CH. J. VAN. 1989. Page Makeup by Postprocessing Text Formatter Output. Computing Systems, 2(2), 103–132.
KLEIN, R. 1997. Algorithmische Geometrie. Bonn: Addison-Wesley.
KNUTH, DONALD E. 1986. The TEXbook. Computer & Typesetting, vol. A. Reading, MA: Addison Wesley Publishing Company.
KNUTH, DONALD E., & PLASS, MICHAEL F. 1981. Breaking Paragraphs into Lines. Software-Practice and Experience, 11, 1119–1184.
LAMPORT, L. 1986. LATEX: A Document Preparation System, User’s Guide & Reference Manual. Reading, MA: Addison-Wesley Publishing Company.
PAGEL, BERND-UWE, & SIX, HANS-WERNER. 1994. Software Engineering; Band 1: Die Phasen der Softwareentwicklung. Reading, Massachusetts: Addison-Wesley.
PIOLAT, ANNIE, ROUSSEY, JEAN-YVES, & THUNIN, OLIVIER. 1997. Effects of screen presentation on text reading and revising. Int. J. Human-Computer Studies, 47, 565–589.
PLASS, M. F. 1981. Optimal Pagination Techniques for Automatic Typesetting Systems. Technical Report STAN-CS-81-870. Department of Computer Science, Stanford University.
PLASS, M. F., & KNUTH, D. E. 1982. Choosing Better Line Breaks. Pages 221–242 of: NIEVERGELT, J., CORAY, G., NICOUD, J.-D., & SHAW, A. C. (eds), Document Preparation Systems. Amsterdam: North Holland.
RUBINSTEIN, R. 1988. Digital Typography: An Introduction to Type and Composition for Computer System Design. Reading, MA: Addison-Wesley Publishing Company.
WILLIAMSON, H. 1983. Methods of Book Design. New Haven: Yale University Press.
WOHLFEIL, STEFAN. 1997 (Dec). On the Pagination of Complex, Book-Like Documents. Ph.D. thesis, Fernuniversität Hagen, Germany.
Author information
Authors and Affiliations
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2003 Springer-Verlag Berlin Heidelberg
About this chapter
Cite this chapter
Brüggemann-Klein, A., Klein, R., Wohlfeil, S. (2003). On the Pagination of Complex Documents. In: Klein, R., Six, HW., Wegner, L. (eds) Computer Science in Perspective. Lecture Notes in Computer Science, vol 2598. Springer, Berlin, Heidelberg. https://doi.org/10.1007/3-540-36477-3_5
Download citation
DOI: https://doi.org/10.1007/3-540-36477-3_5
Published:
Publisher Name: Springer, Berlin, Heidelberg
Print ISBN: 978-3-540-00579-7
Online ISBN: 978-3-540-36477-1
eBook Packages: Springer Book Archive