GNU TeXmacsUser manualReferenceAboutEnglish
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:

The document format

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.

Style files

How to write and customize style files and packages, with examples.

Scheme programming

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.

Plug-ins and interfaces

How to package extensions as plug-ins and how to connect TeXmacs to computer algebra systems and other external programs.

Fonts

How fonts are configured, selected and resolved, down to the glyphs, including virtual fonts.

The source code

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

Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.1 or any later version published by the Free Software Foundation; with no Invariant Sections, with no Front-Cover Texts, and with no Back-Cover Texts. A copy of the license is included in the section entitled "GNU Free Documentation License".