s/</g
s/>/>/g
s/^%\(.*\)$//
s/\([^\\]\)%\(.*\)$//
/\\Declaration/,/\\Description/c\
s%\\subsection{\([^{]*\)}%\1%g
s%\\section{\([^{]*\)}%\1%g
s%\\chapter{\([^{]*\)}%\1%g
s%\\begin{verbatim}%
\n%g
s%\\end{verbatim}%
\n%g
s%\\var{\([^{]*\)}%\1%g
s%\\em{\([^{]*\)}%\1%g
s%{\\em\([^{]*\)}%\1%g
s%\\file{\([^{]*\)}%\1%g
s%\\menu{\([^{]*\)}%\1%g
s%\\key{\([^{]*\)}%\1%g
s%\\see[pf]l{\([^{]*\)}{\([^{]*\)}%\1%g
s%\\seeconstl{\([^{]*\)}{\([^{]*\)}%\1%g
s%\\seetypel{\([^{]*\)}{\([^{]*\)}%\1%g
s%\\seevarl{\([^{]*\)}{\([^{]*\)}%\1%g
s%\\see[pf]{\([^{]*\)}%%g
s%\\seevar{\([^{]*\)}%%g
s%\\seetype{\([^{]*\)}%%g
s%\\seeconst{\([^{]*\)}%%g
s%\\seec{\([^{]*\)}%%g
s%\\seet{\([^{]*\)}%%g
s%\\sees{\([^{]*\)}%%g
s%\\seeo{\([^{]*\)}%%g
s%\\seefig{\([^{]*\)}%%g
s%\\Errors%\n%g
s%\\SeeAlso%\n%
s%\\end{functionl*}%\n%g
s%\\end{procedurel*}%\n%g
s%\\end{propertyl*}%\n%g
s%\\end{methodl*}%\n%g
s%\\end{typel*}%\n%g
s%\\end{constantl*}%\n%g
s%\\begin{functionl}{\([^{]*\)}{\([^{]*\)}%%g
s%\\begin{function}{\([^{]*\)}%%g
s%\\begin{typel}{\([^{]*\)}{\([^{]*\)}%%g
s%\\begin{type}{\([^{]*\)}%%g
s%\\begin{varl}{\([^{]*\)}{\([^{]*\)}%%g
s%\\begin{var}{\([^{]*\)}%%g
s%\\begin{constl}{\([^{]*\)}{\([^{]*\)}%%g
s%\\begin{const}{\([^{]*\)}%%g
s%\\begin{procedure}{\([^{]*\)}%%g
s%\\begin{procedurel}{\([^{]*\)}{\([^{]*\)}%%g
s%\\FPCexample{\([^{]*\)}%%
s%\\begin{remark}%
\n%g
s%\\end{remark}%\n%g
s%\\\\%
%g
s%\\begin{funclist}%
\n | Name | Description | %g
s%\\end{funclist}%
%g
s%\\funcref{\([^{]*\)}{\([^{]*\)}%\2 |
%g
s%\\funcrefl{\([^{]*\)}{\([^{]*\)}{\([^{]*\)}%\1\3 |
%g
s%\\procref{\([^{]*\)}{\([^{]*\)}%\2 |
%g
s%\\procrefl{\([^{]*\)}{\([^{]*\)}{\([^{]*\)}%\1\3 |
%g
s%>,[[:space:]]*\n%g
s%\\end{description}%\n\n%g
s%\\item\[\(.*\)]%\n
\1\n%g
}
/\\begin{itemize}/,/\\end{itemize}/{
s%\\begin{itemize}%\n\n%g
s%\\item%\n
%g
}
/\\begin{enumerate}/,/\\end{enumerate}/{
s%\\begin{enumerate}%%g
s%\\end{enumerate}%
\n\n%g
s%\\item%\n
%g
}
s%\\linux%linux%g
s%\\unix%unix%g
s%\\dos%dos%
s%\\msdos%ms-dos%g
s%\\ostwo%os/2%g
s%\\windows%Windows%g
s%\\windowsnt%Windows NT%g
s%\\macos%Mac OS%g
s%\\fpc%Free Pascal%g
s%\\gnu%gnu%g
s%\\atari%Atari%g
s%\\amiga%Amiga%g
s%\\solaris%Solaris%g
s%\\qnx%QNX Realtime platform%g
s%\\beos%BeOS%g
s%\\palmos%PalmOS%g
s%\\netbsd%NetBSD%g
s%\\openbsd%OpenBSD%g
s%\\win%Win32%g
s%\\freebsd%FreeBSD%g
s%\\tp%Turbo Pascal%g
s%\\delphi%Delphi%g