summaryrefslogtreecommitdiff
path: root/sandbox/docpy-writer/expected/test.tex
blob: f693896ff5b4199dee6b75bc1a899c2fa4b1c0a4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
\ifx\locallinewidth\undefined\newlength{\locallinewidth}\fi
\setlength{\locallinewidth}{\linewidth}


\section{General text markup for rst to docpy\label{-general-text-markup-for-rst-to-docpy}}

reST supports: attention, caution, danger, error, hint, important,
note, tip, warning.

docpy has a notice environment in two variants, note and warning.
\begin{notice}[note]
admonitions should become a \code{note notice}
\end{notice}
\begin{notice}[warning]
danger is everywhere.
}}
\end{sffamily}
\end{center}
\begin{center}\begin{sffamily}
\fbox{\parbox{\admonitionwidth}{
\textbf{\large Error}
\vspace{2mm}

other admonitions will/might not work properly.
}}
\end{sffamily}
\end{center}