diff options
| author | David Aspinall | 1999-11-11 10:47:48 +0000 |
|---|---|---|
| committer | David Aspinall | 1999-11-11 10:47:48 +0000 |
| commit | d629e1c6c2363024c9318c6daf1a8456cceb1a61 (patch) | |
| tree | 1472b1c88c21fbf0b2db8a3620ec85a76da9fec0 /doc | |
| parent | 671635077b301e62251b13141b0873a2538e570f (diff) | |
Extensive fixes for x-symbol and font-lock.
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/ProofGeneral.texi | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/doc/ProofGeneral.texi b/doc/ProofGeneral.texi index ce0aa189..cf38c25d 100644 --- a/doc/ProofGeneral.texi +++ b/doc/ProofGeneral.texi @@ -2481,6 +2481,7 @@ contents of that file. * Goals buffer settings:: * Global constants:: * Handling multiple files:: +* Configuring X-Symbol:: @end menu @@ -3376,6 +3377,52 @@ for a automatic approximation to multiple file handling. +@node Configuring X-Symbol:: +@section Configuring X-Symbol:: +@cindex X-Symbol + +The X-Symbol package (by Christoph Wedler) displays characters from a +variety of fonts in Emacs buffers, automatically converting between +codes for special characters and @i{tokens} which are character +sequences stored in files. + +Proof General can use X-Symbol to allow interaction between the user and +the proof assistant to use tokens, yet appear to be using special +characters. So proof scripts and proofs themselves can be processed +with non-ascii characters for mathematical symbols. + +To configure X-Symbol for Proof General, you must understand a little +bit of how X-Symbol works: read the documentation that is supplied with +it. The basic task is to set up a @i{token language} for your proof +assistant. If your assistant is stored in the subdirectory +@var{myprover}, the token language will be called @var{myprover} and be +defined in a file @file{x-symbol-@var{myprover}.el} which is +automatically loaded by X-Symbol. The name of the token language mode +will be @code{@var{myprover}sym}. + +In the usual configuration file @file{@var{myprover}.el}, you must set +several variables that Proof General uses to configure X-Symbol with. + +@c FIXME: more here!! unfinished!! + +@code{@var{myprover}sym-font-lock-keywords} + +@c TEXI DOCSTRING MAGIC: proof-xsym-activate-command + +@c TEXI DOCSTRING MAGIC: proof-xsym-deactivate-command + +We expect tokens to be used uniformly, so that along with each script +mode buffer, the response buffer, goals buffer, and shell buffer are all +kept in X-Symbol minor mode to display special characters. This happens +automatically. If you want additional modes, you can set +@code{proof-xsym-extra-modes}. + +@c TEXI DOCSTRING MAGIC: proof-xsym-extra-modes + + + + + @node Internals of Proof General @chapter Internals of Proof General |
