diff options
author | Philipp Gesang <phg@phi-gamma.net> | 2014-03-01 22:47:25 +0100 |
---|---|---|
committer | Philipp Gesang <phg@phi-gamma.net> | 2014-03-01 22:47:25 +0100 |
commit | 7d1114cd66025cc18535f3cdab3105e66bbda48d (patch) | |
tree | eca33193cdbb0d7923527b0c0bfb58cd893036b6 /mod/doc/context/third/rst/hybridtest.tex | |
parent | 7652729ada000906e5e6b2b4d0c5dea01c73c29d (diff) | |
download | context-rst-7d1114cd66025cc18535f3cdab3105e66bbda48d.tar.gz |
adopt more conventional directory structure
Diffstat (limited to 'mod/doc/context/third/rst/hybridtest.tex')
-rw-r--r-- | mod/doc/context/third/rst/hybridtest.tex | 42 |
1 files changed, 0 insertions, 42 deletions
diff --git a/mod/doc/context/third/rst/hybridtest.tex b/mod/doc/context/third/rst/hybridtest.tex deleted file mode 100644 index bd509c0..0000000 --- a/mod/doc/context/third/rst/hybridtest.tex +++ /dev/null @@ -1,42 +0,0 @@ -\usemodule[rst][test=yes] -\setuphead[chapter][page=no,style=bold] - -\def\RSTCTX{{\em rst}\kern.5pt\CONTEXT} -\def\reST{{\rm re}{\ss Structured}{\rm Text}} - -\starttext - -\chapter{\RSTCTX\ Hybrid Documents} - -This example demonstrates the macro \type{\RST} which can be used -to process \reST\ markup directly in a normal \CONTEXT\ document. - -\RST{ -------------- -This Chapter, -------------- - -… for instance, was given entirely in *reST* markup. Naturally, -there are some :bold:`drawbacks` to expect when mixing markups: -directives and hyperlink targets that have already been specified -somewhere above the current section will *stay* accessible in -later passages until you redefine them. Also, certain letters -need to be thoroughly escaped in order for them to make it -through to the *reST*-parser, e.g. *\\\{* (<left brace>), and -you’ll have to be inventive to make a backslash -(*\\letterbackslash*) pass through the parser. - -} - -\startRST - -------------- -Alternatively -------------- -you may always use the matching environment ``\\[start|stop]RST`` -if you prefer. - -\stopRST - - -\stoptext |