% birddoc to LaTeX replacement file
% The \relax is there to avoid sgml2latex rewriting the class
+ "\\relax\\documentclass\[a4paper,10pt,openany\]{book}\n"
"\\usepackage\[colorlinks=true,linkcolor=blue,pdftitle={BIRD User's Guide}\]{hyperref}\n"
"\\usepackage{birddoc}\n"
"\\usepackage{qwertz}\n"
"\\usepackage{url}\n"
"\\usepackage\[latin1\]{inputenc}\n"
"\\usepackage{epsfig}\n"
"\\usepackage{[OPTS]}\n"
"\\pagestyle{headings}%end-preamble\n" +
+ "\\end{document}" +
% Manual Pages are expected to be formatted using nroff (or groff), unless
% they are included as sections of other qwertz documents.
"\\progdoc"
+ "\n\n\\begin{document}\n"
"\\maketitle\n" +
+ "\\title{"
"}" +
"\\\\\n"
"{\\large "
"}" +
+ "\\author{"
"}" +
"\\and " +
"\\thanks{"
"}"
" \\\\\n\\\\" +
+ "\\date{"
"}" +
"\\\\ "
"\\label{[ID]}"
"{"
"}"
"{"
"}" +
% + "\n\n\\begin{verbatim}" +
% + "\\end{verbatim}\n\n" +
"{\\tt "
"}"
% Hacked by mdw to use linuxdoc-sgml \abstract{...}
+ "\\abstract{"
"}" +
+ "\n \\appendix \n" +
+ "\\tableofcontents" +
+ "\\listoffigures" +
+ "\\listoftables" +
+ "\n\\chapter"
+ "\n\\section"
+ "\n\\subsection"
+ "\n\\subsubsection"
+ "\n\\paragraph"
+ "\n\\subparagraph"
"{"
"}\n\n"
"\\phantomsection{}"
"\n\n"
+ "\\begin{itemize}" +
+ "\\end{itemize}" +
+ "\\begin{enumerate}" +
+ "\\end{enumerate}" +
+ "\\begin{list}{}{}\n" +
+ "\\end{list}" +
+ "\\begin{description}" +
+ "\\end{description}" +
- + "\\item "
+ "\\phantomsection\\item\[{\\ttfamily "
"}\] \\hfil\\break\n" +
+ "\\item\[ "
"\] \\hfil\\break\n" +
"\\cite{[ID]"
"}"
"\\cite\[[NOTE]\]{[ID]"
"}"
"\\idx{"
"}"
"\\cdx{"
"}"
"\\nidx{"
"}"
"\\ncdx{"
"}"
% The idea here is to automatically insert soft hyphens after every slash in
% the filename, so long filenames will break naturally. The url{} macro is
% a kluge but it works,
"\\url{"
"}"
"\\footnote{"
"}"
"``"
"''"
+ "\\begin{quotation}\n" +
+ "\n\\end{quotation}\n\n" +
"{\\it "
"\\/}"
"{\\it "
"\\/}"
"{\\bf "
"}"
"{\\it "
"\\/}"
"{\\sf "
"}"
"{\\sl "
"}"
"{\\rm "
"}"
"{\\tt "
"}"
"{\\tt "
"}"
"{\\tt "
"}"
"{\\it "
"\\/}"
"{\\tt "
"}"
"{\\it "
"\\/}"
"{\\rm "
"}"
"{\\it "
"\\/}"
"{\\function "
"}\n\n"
"\n\\funcsect{"
"}"
"\\hrule"
% Added by mdw
"\\cparam{"
"}"
[ "\\hyperref\[[ID]\]{[NAME]} (p.\\,\\getpagerefnumber{[ID]})"
]
"\\pageref{[ID]}"
%url added by HG
"\\href{[URL]}{[NAME]}"
"\\href{[URL]}{[NAME]}"
+ "\\bibliographystyle{[STYLE]}\n"
"\\bibliography{[FILES]}\n"
"\\addbibtoc{}" +
% + "\\macro{[ID]}{\\qw[ID]}"
%
% + "\\macro{qwmain}{\\qwmain}"
%
% + "\\par\n"
% "\\medbreak\\hrule\\nopagebreak\n"
% "\\begin{verbatim}" +
%
%
+ "\\end{verbatim}\n"
% "\\nopagebreak\\hrule\\medbreak\n" +
+ "\\par\n"
"\\goodbreak{\\birdnarrow\n"
"\\begin{verbatim}" +
+ "\\end{verbatim}\n"
"}\\smallbreak\n" +
+ "\\begin{verbatim}" +
+ "\\end{verbatim}" +
% tscreen added by mdw
+ "\\begin{tscreen}" +
+ "\\end{tscreen}" +
+ "\\begin{quotation}" +
+ "\\end{quotation}" +
% theorems and such
+ "\\begin{definition}"
+ "\\end{definition}\n\n" +
+ "\\begin{proposition}" +
+ "\\end{proposition}" +
+ "\\begin{lemma}"
+ "\\end{lemma}\n\n" +
+ "\\begin{corollary}"
+ "\\end{corollary}\n\n" +
+ "\n{\\noindent{\\bf Proof.} " +
+ "}"
+ "\\begin{theorem}"
+ "\\end{theorem}\n\n" +
"\["
"\]" +
% mathematics
"$"
"$"
+ "\\\["
"\\\]" +
+ "\\begin{equation}" +
+ "\\end{equation}\n" +
"\\frac"
"{"
"}"
"{"
"}"
"_{"
"}"
"}"
"\\prod"
"\\int"
"\\sum"
"\\sqrt\[[n]\]{"
"}"
+ "\\begin{array}{[ca]}" +
+ "\\end{array}" +
" \\\\ " +
" & "
"^{"
"}"
"_{"
"}"
"\\underline{"
"}"
"\\overline{"
"}"
"\\mbox{\\tt "
"}"
"\\vec{"
"}"
"{\\cal "
"}"
"{\\rm "
"}"
"\\\\ \n"
% figures
+ "\\begin{figure}\[[LOC]\]" +
+ "\\end{figure}\n" +
+ "\\centerline{\\epsfig{file=[FILE],height=[HEIGHT],angle=[ANGLE]}}" +
+ "\\vspace{[VSPACE]}\n\\par" +
+ "\\caption{"
"}" +
% tables
+ "\\begin{table}\[[LOC]\]" +
+ "\\end{table}" +
+ "\\begin{center}\n"
"\\begin{tabular}{[ca]}" +
+ "\\end{tabular}\n"
"\\end{center}" +
"\\\\ " +
"& "
+ "\\hline" +
% end of latex replacement file