GNU TeXmacsUser manualReferenceAboutEnglish·Français·Deutsch·Español·Italiano·中文
Guile扩展语言入门

与Emacs类似,TeXmacs使用类Lisp语言作为扩展——来自GNU计划的Guile Scheme。关于Guile Scheme,请参考:

        http://www.gnu.org/software/guile/guile.html

Scheme的优势在于可通过外部的C或C++程序扩展。在TeXmacs中,你可以使用Scheme来创建你自己的菜单和快捷键,甚至是你自己的TeXmacs扩展。

如果你已经下载了TeXmacs的源代码,不妨看一下这些文件:

        Guile/Glue/build-glue-basic.scm
Guile/Glue/build-glue-editor.scm
Guile/Glue/build-glue-server.scm

这三个胶水代码文件包含了在Scheme中可见的C++的库函数(routine)。在下面的小节中,我们将讨论其中最重要的部分。我们计划撰写更加完整的参考文档。目前你可以参考 $TEXMACS_PATH/progs目录中的Scheme源文件(以scm为后缀名)。

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