summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/context/third/rst/README.rst
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/doc/context/third/rst/README.rst')
-rw-r--r--Master/texmf-dist/doc/context/third/rst/README.rst27
1 files changed, 16 insertions, 11 deletions
diff --git a/Master/texmf-dist/doc/context/third/rst/README.rst b/Master/texmf-dist/doc/context/third/rst/README.rst
index 7bb11909b56..1ab41ce94e8 100644
--- a/Master/texmf-dist/doc/context/third/rst/README.rst
+++ b/Master/texmf-dist/doc/context/third/rst/README.rst
@@ -8,6 +8,19 @@ Read the section *Features Not Implemented* in the manual first.
below just mean that *their* implementation doesn’t understand TeX directives.
Don’t worry, |rstcontext| does.
+============
+Installation
+============
+
+In order to install |rstcontext|, copy everything under the ``mod/``
+subdirectory into your local |CONTEXT| tree and update the filename database,
+i.e.: ::
+
+ cp -r mod/* ~/context/tex/texmf-local/
+ context --generate
+
+if the |CONTEXT| minimal distribution happens to be installed at
+``~/context/``.
=====
Usage
@@ -19,8 +32,7 @@ file and the output file. The following will demonstrate the main usage in a
separate directory: ::
mkdir tmp; cd tmp
- ln -s ../mod/tex/context/third/rst/*.lua .
- texlua rst_parser.lua ../mod/doc/context/third/rst/documentation.rst doc.tex
+ mtxrun --script rst --if=../mod/doc/context/third/rst/documentation.rst --of=doc.tex
context ../mod/doc/context/third/rst/manual.tex
This should have gotten you the manual converted to a file ``doc.tex`` which was
@@ -29,15 +41,8 @@ will find extended instructions on how to build the manual with some cosmetic
improvements in the section *Usage* of the manual itself.
There is also a small module ``t-rst.mkiv`` which permits direct typesetting of
-reST markup with |CONTEXT| MkIV. To install the module, simply copy anything
-under the ``mod`` directory to your local |CONTEXT| tree. For instance, if
-|CONTEXT| happens to be installed at ``~/context``, the installation would be
-achieved this way: ::
-
- cp -r mod/* ~/context/tex/texmf-local/
-
-For usage examples see the files ``hybridtest.tex`` and ``moduletest.tex`` in
-the ``doc`` subdirectory.
+reST markup with |CONTEXT| MkIV. For usage examples see the files
+``hybridtest.tex`` and ``moduletest.tex`` in the ``doc`` subdirectory.
=======
License