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.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Preview
Unable to display preview. Download preview PDF.
References
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)
Hàn, T.T., Rahtz, S., Hagen, H.: The pdftex manual (1999), http://www.ntg.nl/doc/han/pdftex-a.pdf
Hipp, R.D.: The Lemon Parser Generator (1998), http://www.hwaci.com/sw/lemon
Knuth, D.E.: The TEXbook. Addison-Wesley, Reading (1983)
Kopka, H., Daly, P.: A Guide to LATEX. Addison-Wesley, Reading (1992)
Mittelbach, F., Rowley, C.: The LATEX3 Project. TUGboat 18(3), 195–198 (1997)
Poskanzer, J., Paxson, V.: Flex, a fast lexical analyzer generator (1995), http://sourceforge.net/projects/lex
Taylor, P., Zlatuška, J., Skoupy, K.: The NTS project: from conception to implementation. Cahiers GUTenberg (May 2000)
Troelsen, A.: C# and the .NET Platform. APress (2001)
van der Hoeven, J.: GNU TEXmacs (2003), http://www.texmacs.org/tmweb/home/welcome.en.html
Author information
Authors and Affiliations
Editor information
Editors and Affiliations
Rights 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