10. Skribe User Manual -- Editing Skribe Programs


main page
top:Skribe User Manual
index:Index
markups:Standard Markups


Editing Skribe Programs
10.1Skribe Emacs mode


Chapters
1Getting Started
2Syntax & Values
3Standard Markups
4References and Hyperlinks
5Indexes
6Bibliography
7Computer programs
8Standard Library
9Engines
10Editing Skribe Programs
11Skribe compiler
12Compiling Texi documents
13List of examples
14Table of contents

Skribe sources can be automatically generated from Texinfo by the skribeinfo compiler. They can also be typed in. For this task, it is highly recommended to use GNU Emacs or Xemacs. These editors provide parentheses matching and Skribe expressions handling.

10.1 Skribe Emacs mode

The Skribe distribution contains a minor mode dedicated to Skribe edition. This mode provides fontification and indentation of Skribe programs. In this manual, we present the two most important key bindings specific to this mode.
  • tab Indents the current line.
  • M-C-q Indents a whole Skribe expression.
In order to install the Skribe emacs mode, you need to specify 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:

ESC-x: scheme-mode ESC-x: skribe-mode



This Html page has been produced by Skribe.
Last update Thu Mar 16 19:59:30 2006.