diff options
author | blais <blais@929543f6-e4f2-0310-98a6-ba3bd3dd1d04> | 2005-10-30 22:58:09 +0000 |
---|---|---|
committer | blais <blais@929543f6-e4f2-0310-98a6-ba3bd3dd1d04> | 2005-10-30 22:58:09 +0000 |
commit | c5d1c54efe5b99787489f44e9fc60c78cb465e50 (patch) | |
tree | 0207a24c4b589672a6d47690c0128e6b2ee59e26 /docs/user/emacs.txt | |
parent | f43d60fa3d795ad3e2f7c7986cb76e2e450905cc (diff) | |
download | docutils-c5d1c54efe5b99787489f44e9fc60c78cb465e50.tar.gz |
Changed rst-html-compile to be generic and support
multiple toolsets. The group now starts with
rst-compile and the function rst-compile replaces
rst-html-compile.
git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@3988 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
Diffstat (limited to 'docs/user/emacs.txt')
-rw-r--r-- | docs/user/emacs.txt | 22 |
1 files changed, 13 insertions, 9 deletions
diff --git a/docs/user/emacs.txt b/docs/user/emacs.txt index b0ff38ee0..ba21da05f 100644 --- a/docs/user/emacs.txt +++ b/docs/user/emacs.txt @@ -286,17 +286,21 @@ customizable faces). Converting Documents from Emacs =============================== -At the moment there is minimal support for calling ``rst2html.py`` from within -Emacs. You can add a key binding like this to invoke it:: +At the moment there is minimal support for calling the conversion tools from +within Emacs. You can add a key binding like this to invoke it:: - (local-set-key [(control c)(?9)] 'rst-html-compile) + (local-set-key [(control c)(?9)] 'rst-compile) -This function basically creates a compilation command with the correct HTML -output name for the current buffer and then invokes Emacs' compile function. It -also looks for the presence of a ``docutils.conf`` configuration file in the -parent directories and adds it to the cmdline options. You can customize which -tool is used to perform the conversion and some standard options to always be -added as well. +This function basically creates a compilation command with the correct output +name for the current buffer and then invokes Emacs' compile function. It also +looks for the presence of a ``docutils.conf`` configuration file in the parent +directories and adds it to the cmdline options. You can customize which tool is +used to perform the conversion and some standard options to always be added as +well. + +Invocation uses the toolset indicated by ``rst-compile-primary-toolset`` +(default is ``'html``). Invocation with a prefix argument uses +``rst-compile-secondary-toolset``. .. note:: |