![]() |
The TeXmacs developer documentation | ![]() |
This is the entry point to the documentation for people who want to go beyond the use of TeXmacs as an editor. It is organized from the outside in:
How TeXmacs documents are represented as trees, which environment variables and primitives exist, and the language in which style files are written. This is the reference for anyone who writes style files or converts documents.
How to write and customize style files and packages, with examples.
The Scheme extension language and its interface to TeXmacs: editing routines, buffers, the graphical user interface, bibliography styles, the TeXmacs file system and other APIs.
How to package extensions as plug-ins and how to connect TeXmacs to computer algebra systems and other external programs.
How fonts are configured, selected and resolved, down to the glyphs, including virtual fonts.
The internals of the C++ kernel and of the Scheme code which is closely tied to it: data types and the system layer, typesetting, fonts, the server and the editor, the graphical user interface, converters, plug-ins and collaboration.
The first chapters only require some familiarity with TeXmacs itself; the last one is meant for developers who work on the program.
An older tutorial on writing interfaces, built around the mycas example, is still available as interfacing TeXmacs with other programs (older introduction).