In order to allow distributed and convenient editing using the wiki
AND producing documents with high quality typesetting, the document creation process
as depicted in the following figure is implemented.
The primary editing is performed in the present Wiki, which uses the
Textile markup as
explained here.
In order to allow an automated conversion to and processing with LaTeX, the following issues MUST be considered:
The Textile-markup from the Wiki can be converted to LaTeX using RedCloth.
In order to support references to documents (e.g. [BSI-TR-03112-7]) or
the inclusion of pretty-printed XML- or Java-code (e.g.
<xml> ... </xml>
), the raw LaTeX document needs to be cleaned up with awk.
1. <pre><code class="XXX"> --> \begin{minted}[bgcolor=bg]{XXX}
2. </code></pre> --> \end{minted}
3. "[LABEL]":http://url --> \cite{LABEL}
4. [[WikiRef]] --> ...