Documentation Strategy » History » Revision 13
« Previous |
Revision 13/21
(diff)
| Next »
Detlef Hühnlein, 10/17/2012 07:53 AM
Document Creation Process¶
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.
Editing in Wiki¶
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:
- Each Wiki-page is converted to a corresponding .tex file
- h1.-h3. correspond to \section{ }-\subsubsection{ }
- References to literature MAY be included, but they MUST be included as link with brackets [ ] around the "LABEL" (e.g. [BSI-TR-03112-7]),
where the LABEL SHOULD be defined in an appropriate BibTeX-file.
RedCloth conversion to raw LaTeX¶
The Textile-markup from the Wiki can be converted to LaTeX using RedCloth.
Cleaning up LaTeX using awk¶
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. This includes the following replacements:
1. <pre><code class="XXX"> --> \begin{minted}[bgcolor=bg]{XXX}
2. </code></pre> --> \end{minted}
3. "[LABEL]":http://url --> \cite{LABEL}
4. [[WikiRef]] --> ...
Updated by Detlef Hühnlein about 12 years ago · 13 revisions