首页> 外文期刊>Software >High-quality pagination for publishing
【24h】

High-quality pagination for publishing

机译:用于出版的高质量分页

获取原文
获取原文并翻译 | 示例
       

摘要

The problem of line breaking consists of finding the best way to split paragraphs into lines. It has been cleverly addressed by the total-fit algorithm exposed by Knuth and Plass in a well-known paper. Similarly, page-breaking algorithms break the content flow of a document into page units. Formatting languages-such as the World Wide Web Consortium standard Extensible Stylesheet Language Formatting Objects (XSL-FO)-allow users to set which content should be kept in the same page and how many isolated lines are acceptable at the beginning/end of each page. The strategies most formatters adopt to meet these require-ments, however, are not satisfactory for many publishing contexts as they very often generate unpleasant empty areas. In that case, typographers are required to manually craft the results in order to completely fill pages. This paper presents a page-breaking algorithm that extends the original Knuth and Plass line-breaking approach and produces high-quality documents without unwanted empty areas. The basic idea consists of delaying the definitive choice of breaks in the line-breaking process in order to provide a larger set of alternatives to the actual pagination step. The algorithm also allows users to decide the set of proper-ties to be adjusted for pagination and their variation ranges. An application of the algorithm to XSL-FO is also presented, with an extension of the language that allows users to drive the pagination process. The tool, named FOP+, is a customized version of the open-source Apache Formatting Objects Processor formatter.
机译:换行的问题在于找到将段落拆分为行的最佳方法。 Knuth和Plass在著名论文中公开的全面拟合算法已经巧妙地解决了这一问题。同样,分页算法将文档的内容流分为页面单元。格式设置语言,例如万维网联盟标准的可扩展样式表语言格式设置对象(XSL-FO),允许用户设置哪些内容应保留在同一页面中,以及在每页的开始/结尾处可以接受多少隔离行。但是,大多数格式化程序采用的满足这些要求的策略在许多发布环境中都不令人满意,因为它们经常会产生令人不快的空白区域。在这种情况下,印刷者需要手工制作结果以完全填满页面。本文提出了一种分页算法,该算法扩展了原始的Knuth和Plass换行方法,并生成了高质量的文档,而没有多余的空白区域。基本思想包括在换行过程中延迟确定的中断选择,以便为实际分页步骤提供更多的替代方法。该算法还允许用户决定针对分页及其变化范围要调整的属性集。还介绍了该算法在XSL-FO中的应用,并扩展了允许用户驱动分页过程的语言。该工具名为FOP +,是开源Apache格式设置对象处理器格式器的自定义版本。

著录项

  • 来源
    《Software》 |2012年第6期|p.733-751|共19页
  • 作者单位

    Department of Computer Science, University of Bologna, Mura Anteo Zamboni 7, 40127 Bologna, Italy;

    Department of Computer Science, University of Bologna, Mura Anteo Zamboni 7, 40127 Bologna, Italy;

    Department of Computer Science, University of Bologna, Mura Anteo Zamboni 7, 40127 Bologna, Italy;

    Department of Computer Science, University of Bologna, Mura Anteo Zamboni 7, 40127 Bologna, Italy;

  • 收录信息 美国《科学引文索引》(SCI);美国《工程索引》(EI);
  • 原文格式 PDF
  • 正文语种 eng
  • 中图分类
  • 关键词

    line breaking; page breaking; widows; orphans; keeps; pagination; XML publishing;

    机译:换行分页;寡妇孤儿保持分页XML发布;
  • 入库时间 2022-08-17 13:03:47

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号