Skip to main content

ŞäferTeX: Source Code Esthetics for Automated Typesetting

  • Conference paper
TeX, XML, and Digital Typography (TUG 2004)

Part of the book series: Lecture Notes in Computer Science ((LNCS,volume 3130))

Included in the following conference series:

  • 694 Accesses

Abstract

While TeX [4] provides high quality typesetting features, its usability suffers due to its macro-based command language. Many tools have been developed over the years simplifying and extending the TeX interface, such as LaTeX [5], LaTeX3 [6], pdfTeX [2], and NTS [8]. Front-ends such as TeXmacs [10] follow the visual/graphical approach to facilitate the coding of documents. The system introduced in this paper, however, is radical in its targetting of optimized code appearance.

The primary goal of ŞäferTeX is to make the typesetting source code as close as possible to human-readable text, to which we have been accustomed over the last few centuries. Using indentation, empty lines and a few triggers allows one to express interruption, scope, listed items, etc. A minimized frame of ‘paradigms’ spans a space of possible typesetting commands. Characters such as ‘_’ and ‘$’ do not have to be backslashed. Transitions from one type of text to another are automatically detected, with the effect that environments do not have to be bracketed explicitly. The following paper introduces the programming language ŞäferTeX as a user interface to the TeX typesetting engine. It is shown how the development of a language with reduced redundancy increases the beauty of code appearance.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 39.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 54.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. Beazley, D.M.: Automated scientific software scripting with SWIG. In: Tools for program development and analysis, vol. 19, pp. 599–609. Elsevier Science Publishers B. V., Amsterdam (2003)

    Google Scholar 

  2. Hàn, T.T., Rahtz, S., Hagen, H.: The pdftex manual (1999), http://www.ntg.nl/doc/han/pdftex-a.pdf

  3. Hipp, R.D.: The Lemon Parser Generator (1998), http://www.hwaci.com/sw/lemon

  4. Knuth, D.E.: The TEXbook. Addison-Wesley, Reading (1983)

    Google Scholar 

  5. Kopka, H., Daly, P.: A Guide to LATEX. Addison-Wesley, Reading (1992)

    Google Scholar 

  6. Mittelbach, F., Rowley, C.: The LATEX3 Project. TUGboat 18(3), 195–198 (1997)

    Google Scholar 

  7. Poskanzer, J., Paxson, V.: Flex, a fast lexical analyzer generator (1995), http://sourceforge.net/projects/lex

  8. Taylor, P., Zlatuška, J., Skoupy, K.: The NTS project: from conception to implementation. Cahiers GUTenberg (May 2000)

    Google Scholar 

  9. Troelsen, A.: C# and the .NET Platform. APress (2001)

    Google Scholar 

  10. van der Hoeven, J.: GNU TEXmacs (2003), http://www.texmacs.org/tmweb/home/welcome.en.html

Download references

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2004 Springer-Verlag Berlin Heidelberg

About this paper

Cite this paper

Schaefer, FR. (2004). ŞäferTeX: Source Code Esthetics for Automated Typesetting. In: Syropoulos, A., Berry, K., Haralambous, Y., Hughes, B., Peter, S., Plaice, J. (eds) TeX, XML, and Digital Typography. TUG 2004. Lecture Notes in Computer Science, vol 3130. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-540-27773-6_18

Download citation

  • DOI: https://doi.org/10.1007/978-3-540-27773-6_18

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-540-22801-1

  • Online ISBN: 978-3-540-27773-6

  • eBook Packages: Springer Book Archive

Publish with us

Policies and ethics