TUGboat 44:2 (2023)
The Communications of the TeX Users Group

Title: Interactive and real-time typesetting for demonstration and experimentation: ETAP

Summary: GUI and programmatic access to algorithms and parameters for line breaking.

Full text of article: publicly available now.

Author: Didier Verna

Publication: TUGboat volume 44, number 2 (2023), pages 242-248

DOI (this page): 10.47397/tb/44-2/tb137verna-realtime
(previous doi - next doi)

Category: Software & Tools

Difficulty: Intermediate Plus

Abstract: We present ETAP, a platform designed to support both demonstration of, and experimentation with digital typesetting, interactively, and in real-time.

ETAP provides a GUI which currently focuses on all aspects involved in paragraph formatting. A number of pre-processing features can be switched on or off (hyphenation, kerning, ligaturing, etc.). A specific paragraph formatting scheme may be selected from a pool of ready-made algorithms, and adding new algorithms to that pool is easy. Each algorithm comes with its own set of configuration parameters, and the GUI allows you to tweak those parameters and observe the effects in real-time.

ETAP may also be used without, or in parallel with the GUI. While the application is running, the whole programmatic infrastructure is manipulable from a command-line interface. This allows inspection of the various typesetting objects normally displayed by the GUI, and also to perform computations with them, for example, data collection and statistical measurements.

References:

  1. ANSI. American National Standard: Programming Language—Common Lisp. ANSI X3.226:1994 (R1999), 1994.
  2. M.P. Barnett. Computer Typesetting: Experiments and Prospects. MIT Press, Jan. 2000.
  3. K. Bazargan. Batch commander: a graphical user interface for TeX. TUGboat 26(1):74–80, 2005. tug.org/TUGboat/tb26-1/bazargan.pdf
  4. R.S. Bird. Transformational programming and the paragraph problem. Science of Computer Programming 6(2):159–189, 1986. doi.org/10.1016/0167-6423(86)90023-7
  5. R. Burstall. Christopher Strachey—Understanding programming languages. Higher Order Symbolic Computation 13(1–2):51–55, 2000.
  6. C. Duncan, J. Eve, et al. Computer typesetting: an evaluation of the problems. Printing Technology 7:133–151, 1963.
  7. A.C. Kay. The Reactive Engine. Ph.D. thesis, University of Utah, 1969.
  8. D.E. Knuth. The TeXbook. Addison-Wesley, 1984.
  9. D.E. Knuth. TeX: The Program, vol. B of Computers & Typesetting. Addison-Wesley, Jan. 1986.
  10. D.E. Knuth, M.F. Plass. Breaking paragraphs into lines. Software: Practice and Experience 11(11):1119–1184, 1981. doi.org/10.1002/spe.4380111102
  11. F.M. Liang. Word Hy-phen-a-tion by Com-put-er (Hyphenation, Computer). Ph.D. thesis, Stanford University, 1983. tug.org/docs/liang
  12. M.D. McIlroy. Macro instruction extensions of compiler languages. Communications of the ACM 3:214–220, Apr. 1960. doi.org/10.1145/367177.367223
  13. O. de Moor, J. Gibbons. Bridging the algorithm gap: a linear-time functional program for paragraph formatting. Science of Computer Programming 35(1):3–27, 1999. doi.org/10.1016/S0167-6423(99)00005-2
  14. J. Stoy, C. Strachey. OS6—An experimental operating system for a small computer. Part 2: Input/output and filing system. The Computer Journal 15(3):195–203, 1972.
  15. D. Verna. Star TeX: the next generation. TUGboat 33(2):199–208, 2012. tug.org/TUGboat/tb33-2/tb104verna.pdf
  16. D. Verna. ETAP: Experimental typesetting algorithms platform. In 15th European Lisp Symposium, pp. 48–52, Porto, Portugal, Mar. 2022. doi.org/10.5281/zenodo.6334248

TUGboat 44:2, 2023 (issue 137)   [generated 2023-11-26]
TUG home page; join TUG/renew membership; webmaster; facebook; x; mastodon.