From 6f347f84dfcf6f2ea862426c242160ecece453c6 Mon Sep 17 00:00:00 2001 From: Philipp Gesang Date: Sun, 2 Mar 2014 12:30:04 +0100 Subject: fix readme --- README.rst | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'README.rst') diff --git a/README.rst b/README.rst index 8b4f6d5..8eef452 100644 --- a/README.rst +++ b/README.rst @@ -26,11 +26,13 @@ The module package is built using omake_ which you can install via your distribution’s package manager or through OPAM_. :: + opam install omake Now retrieve the repository using Mercurial: :: + hg clone https://bitbucket.org/phg/context-rst You should end up with a directory ``context-rst`` containing the @@ -42,6 +44,7 @@ Assuming you have downloaded the module as part of your distribution package using these commands: :: + cd context-rst omake tds @@ -50,6 +53,7 @@ subdirectory that you can extract directly into your Context TEXMF. If you are curious about the repository then issue :: + omake usage to print a list of available targets. @@ -67,6 +71,7 @@ For example, if your Context distribution is located in ``~/context``, then unzip the archive into your local TEXMF like so: :: + cd ~/context/tex/texmf-local/ unzip /path/to/zipball.zip context --generate @@ -88,6 +93,7 @@ Assuming the contents of the TDS zipball were extracted to the current directory you can build the documentation manually like so: :: + mkdir tmp; cd tmp mtxrun --script rst --if=../doc/context/third/rst/documentation.rst --of=doc.tex context ../doc/context/third/rst/manual.tex @@ -95,6 +101,7 @@ directory you can build the documentation manually like so: Alternatively, if you downloaded the Mercurial repository, simply issue :: + mkdir tmp; cd tmp mtxrun --script rst --if=../doc/documentation.rst --of=doc.tex context ../doc/manual.tex @@ -103,6 +110,7 @@ If |rstcontext| is currently not installed in your Context tree, then you can just link the required file to the ``tmp`` directory: :: + ln -s ../src/* . Now the documentation should build regardless. -- cgit v1.2.3