Lazy LaTeXing with RDx

Lazy LaTeXing with RDx

RDx is a lightweight markup language that enables editing LaTeX files easily. This document describes the full details. And this is the perl script that converts .rdx files to .tex files.

For example, you can write the following simple text file:

= Why RDx?

Problems with LaTeX:

- LaTeX codes are **way too complicated**.
- difficult to edit
- visually not intuitive
- There are *only a few* commands and environments in
LaTeX that one uses in ordinary texts.
- Most of these markups can actually be much more
perspicuously represented.
- Formats of structured text that enable such simplified
representation do already exist and are widely used in
editing Wiki and html files.

== Using RDx
...


and rdx2latex.pl converts it to the following ordinary-looking LaTeX code:

\section{Why RDx?}

Problems with LaTeX:

\begin{itemize}
\item LaTeX codes are \textbf{way too complicated}.
\begin{itemize}
\item difficult to edit
\item visually not intuitive
\end{itemize}
\item There are \emph{only a few} commands and environments in
LaTeX that one uses in ordinary texts.
\begin{itemize}
\item Most of these markups can actually be much more
perspicuously represented.
\item Formats of structured text that enable such simplified
representation do already exist and are widely used in
editing Wiki and html files.
\end{itemize}
\end{itemize}

\subsection{Using RDx}
\ldots


which compiles as follows: