2001-12-10 02:36:34 -08:00
|
|
|
\usepackage{alltt}
|
|
|
|
\newenvironment{ocamldoccode}{\begin{alltt}}{\end{alltt}}
|
|
|
|
\newenvironment{ocamldocdescription}{\begin{quote}}{\end{quote}}
|
|
|
|
\newenvironment{ocamldoccomment}{\begin{quote}}{\end{quote}}
|
|
|
|
|
2004-07-09 06:46:01 -07:00
|
|
|
|
|
|
|
\newenvironment{ocamldocindent}{\list{}{}\item\relax}{\endlist}
|
|
|
|
\newenvironment{ocamldocsigend}
|
|
|
|
{\noindent\quad\texttt{sig}\ocamldocindent}
|
2005-11-09 01:40:47 -08:00
|
|
|
{\endocamldocindent
|
2004-07-09 06:46:01 -07:00
|
|
|
\noindent\quad\texttt{end}\medskip}
|
|
|
|
\newenvironment{ocamldocobjectend}
|
|
|
|
{\noindent\quad\texttt{object}\ocamldocindent}
|
2005-11-09 01:40:47 -08:00
|
|
|
{\endocamldocindent
|
2004-07-09 06:46:01 -07:00
|
|
|
\noindent\quad\texttt{end}\medskip}
|
2005-11-09 01:40:47 -08:00
|
|
|
|
|
|
|
\newcommand{\moduleref}[1]{\ifhtml\ahref{libref/#1.html}{\texttt{#1}}\fi}
|
|
|
|
|
|
|
|
# For processing .tex generated by ocamldoc (for text manual)
|
|
|
|
\newcommand{\ocamldocvspace}[1]{\vspace{#1}}
|