I use a Mac. But I also have a PC with Windows 7. So when I want to start programming functionality for LaTeX using TeX, what's my starting point? Is there an SDK and documentation? I couldn't find any book on TeX programming.
TeX, a page-description computer programming language developed during 1977–86 by Donald Knuth, a Stanford University professor, to improve the quality of mathematical notation in his books.
LaTeX is a programming language in a fashion similar to C. In particular, LaTeX code must be compiled to produce a document. This is often done using pdflatex , a program which produces a PDF file from a LaTeX document.
LaTeX uses the TeX typesetting program for formatting its output, and is itself written in the TeX macro language.
Read Don Knuth's The TeXbook—everything you wanted to know about programming TeX, straight from the source. My favorite chapter is Appendix D: Dirty Tricks.
(Michael Plass, who was Don's student and worked with Don on TeX, told me once that "Don tried very hard not to make TeX a programming language. Unfortunately, he didn't succeed.")
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With