16. Skribilo User Manual — Editing Skribilo Programs
Contents↑ Skribilo User Manual

Skribilo documents can be typed in. The outline syntax (see Section 2.2) can be easily typed in with any editor, although the Outline and Org modes found in GNU Emacs and XEmacs make it more convenient to deal with this format. For instance, they allow section contents to be hidden, leaving only the section headings visible; Org Mode can also highlight forms that denote emphasis, and provide proper display of Org-Mode-style hyperlinks (well, not surprisingly).

When using the Skribe syntax (see Section 2.1), it is highly recommended to use GNU Emacs or XEmacs. In addition to parentheses matching, these editors provide syntax highlighting (or ``fontification'') through the Skribe Mode described below.

16.1 Skribe Emacs Mode

The Skribilo distribution contains a minor mode dedicated to Skribe edition originally written by Manuel Serrano. This mode provides fontification and indentation of Skribe programs. In this manual, we present the two most important key bindings specific to this mode:

To use the Skribe/Skribilo Emacs mode, you need to tell Emacs that when the Emacs Lisp skribe-mode function is needed it has to be loaded from the skribe.el file:

(autoload 'skribe-mode "skribe.el" "Skribe mode." t)

The skribe.el file must in the path described by the Emacs Lisp load-path variable.

The skribe mode is a minor mode. It is intended to be used with a Lisp or Scheme mode. Hence, to use the skribe mode you will have to use the following Emacs commands:

M-x scheme-mode
M-x skribe-mode

(made with skribilo)