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 Skribilo Emacs Mode

The Skribilo distribution contains an Emacs minor mode that provides fontification and indentation of Skribilo documents. This is the preferred method for writing Skribilo documents using Emacs.

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

(autoload 'skribilo-mode "skribilo.el" "Skribilo mode." t)

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

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

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

The Skribilo distribution also contains an older Emacs minor mode dedicated to Skribe, originally written by Manuel Serrano. This mode is now deprecated.

(made with skribilo)