Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

If TeX is a programming language, how could I start programming in TeX?

Tags:

latex

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.

like image 594
openfrog Avatar asked Dec 18 '09 23:12

openfrog


People also ask

Is TeX a programming language?

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.

Can you program in LaTeX?

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.

What programming language is used for LaTeX?

LaTeX uses the TeX typesetting program for formatting its output, and is itself written in the TeX macro language.


1 Answers

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.")

like image 143
Norman Ramsey Avatar answered Nov 15 '22 23:11

Norman Ramsey