|
Overview of the Scheme
extension language |
|
One major characteristic of TeXmacs is the possibility to extend the
editor using the Guile-Scheme
extension language. Such extensions can be simple, like a
personal boot file containing frequently used keyboard shortcuts, or
more complex, like a plug-in with special editing routines for a
particular type of documents. The Scheme
language can also be used interactively from within the editor or
invoked by special markup like “actions”.
In this chapter, we give an overview of why and how to use Scheme from within TeXmacs. The first sections provide
sufficient information for someone who wants to program some basic
customization of the keyboard and menus. The latter sections give an
introduction to the general architecture of the Scheme
API and some important features and particularities of way Scheme is used within TeXmacs. The reading of the
overview is highly recommended to anyone who wants to make non-trivial
use of Scheme inside TeXmacs.
More complete documentation about the Scheme
modules provided by TeXmacs is available from the Help→Scheme extensions menu. We also recommend
the following on-line manuals about Scheme and
its Guile implementation:
For further information about Scheme, we refer
to http://www.schemers.org. As a general
rule, we also encourage users to take a look at the TeXmacs source
code for concrete examples on how to use Scheme
from within TeXmacs.
© 2005 Joris van der Hoeven
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".