% linuxdoc to latex replacement file + +
+ "\\documentclass\[a4paper\]{article}\n" "\\usepackage{linuxdoc-sgml}\n" "\\usepackage{qwertz}\n" "\\usepackage{url}\n" "\\usepackage\[latin1\]{inputenc}\n" "\\usepackage{t1enc}\n" "\\usepackage{babel}\n" "\\usepackage{epsfig}\n" "\\usepackage{[OPTS]}\n" "\\def\\addbibtoc{\n" "\\addcontentsline{toc}{section}{\\numberline{\\mbox{}}\\relax\\bibname}\n" "}%end-preamble\n" +
+ "\\end{document}" + + "\\documentclass\[a4paper\]{report}\n" "\\usepackage{linuxdoc-sgml}\n" "\\usepackage{qwertz}\n" "\\usepackage{url}\n" "\\usepackage\[latin1\]{inputenc}\n" "\\usepackage{t1enc}\n" "\\usepackage{babel}\n" "\\usepackage{epsfig}\n" "\\usepackage{[OPTS]}\n" "\\def\\addbibtoc{\n" "\\addcontentsline{toc}{chapter}{\\numberline{\\mbox{}}\\relax\\bibname}\n" "}\n" "\\pagestyle{headings}%end-preamble\n" + + "\\end{document}" + + "\\documentclass\[a4paper\]{book}\n" "\\usepackage{linuxdoc-sgml}\n" "\\usepackage{qwertz}\n" "\\usepackage{url}\n" "\\usepackage\[latin1\]{inputenc}\n" "\\usepackage{t1enc}\n" "\\usepackage{babel}\n" "\\usepackage{epsfig}\n" "\\usepackage{[OPTS]}\n" "\\def\\addbibtoc{\n" "\\addcontentsline{toc}{chapter}{\\numberline{\\mbox{}}\\relax\\bibname}\n" "}\n" "\\pagestyle{headings}%end-preamble\n" + + "\\end{document}" + + "\\documentclass\[a4paper\]{article}\n" "\\usepackage{linuxdoc-sgml}\n" "\\usepackage{qwertz}\n" "\\usepackage{url}\n" "\\usepackage\[latin1\]{inputenc}\n" "\\usepackage{t1enc}\n" "\\usepackage{babel}\n" "\\usepackage{epsfig}\n" "\\usepackage{[OPTS]}\n" "\\def\\title#1{\n" "\\begin{center}\n" "\\bf\n" "#1\n" "\\end{center}\n" "\\bigskip\n" "}\n" "\\begin{document}%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. + "\n\n\\begin{document}\n" "\\maketitle\n" + + "\\title{" "}" + "\\\\\n" "{\\large " "}" + + "\\author{" "}" + "\\and " + "\\thanks{" "}" " \\\\\n\\\\" + + "\\date{" "}" + "\\\\ "
+ "\\markboth"
"{" "}" "{" "}" + % + "\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"

"\n\n" + "\\begin{itemize}" + + "\\end{itemize}" + + "\\begin{enumerate}" + + "\\end{enumerate}" + + "\\begin{list}{}{}\n" + + "\\end{list}" + + "\\begin{description}" + + "\\end{description}" + + "\\item " + "\\item\[{\\ttfamily " "}\] \\mbox{}\n\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" + "{\\itshape " "\\/}" "{\\itshape " "\\/}" "{\\bfseries " "}" "{\\itshape " "\\/}" "{\\sffamily " "}" "{\\slshape " "}" "{\\rmfamily " "}" "{\\ttfamily " "}" "{\\ttfamily " "}" % Added by mdw "\\cparam{" "}" "\\ref{[ID]} {([NAME])}" "\\pageref{[ID]}" %url added by HG "\\nameurl{[URL]}{[NAME]}" "\\onlynameurl{[NAME]}" + "\\bibliographystyle{[STYLE]}\n" "\\bibliography{[FILES]}\n" "\\addbibtoc{}" + % + "\\macro{[ID]}{\\qw[ID]}" % %
+ "\\macro{qwmain}{\\qwmain}" %
+ "\\par\n" "\\addvspace{\\medskipamount}\n" "\\nopagebreak\\hrule\n" "\\begin{verbatim}" + + "\\end{verbatim} \n" "\\nopagebreak\\hrule \n" "\\addvspace{\\medskipamount}" + + "\\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" + % slides + "\\documentclass\[qwertz,dina4,xlatin1,[OPTS]\]{article}\n" "\\input{epsf.tex}\n" "\\def\\title#1{\n" "\\begin{center}\n" "\\bf\\LARGE\n" "#1\n" "\\end{center}\n" "\\bigskip\n" "}\n" "\\begin{document}" + + "\\end{document}" + + "\\newpage" + % letters + "\\documentstyle\[qwertz,dina4,xlatin1,[OPTS]\]{letter}\n" "\\input{epsf.tex} \n" "\\newfont{\\gmd}{gmdlogo} \n" "\\font\\agb=pagk at 13truept\n" "\\font\\helv=phvr at 7.4truept\n" "\\parindent 0pt \n" "\\parskip 5pt plus 1pt minus 2pt \n" "\\addtolength{\\oddsidemargin}{-4.0mm} \n" "\\addtolength{\\evensidemargin}{-4.0mm} \n" "\\setlength{\\unitlength}{ 1.0mm } \n" % initial values for optional elements in the % letter head "\\def\\semail{} \n" "\\def\\remail{} \n" "\\def\\sphone{} \n" "\\def\\rphone{} \n" "\\def\\sref{} \n" "\\def\\rref{} \n" "\\def\\rdate{} \n" "\\def\\subj{} \n" % switch for distinguishing between context of % sender and receiver's address "\\newif\\ifsender \n" "\\newif\\ifsubj \n" "\\subjfalse \n" % assume no subject "\\newif\\ifcc \n" % for cc field "\\ccfalse \n" "\\newif\\ifsaddress\n" "\\saddressfalse\n" "\\newif\\ifraddress\n" "\\raddressfalse\n" "\\newif\\iffax\n" "\\faxfalse\n" "\\def\\letterhead{\n" "\\begin{picture}(178,54) \n" "\\put(0,50){\\agb GESELLSCHAFT F\\\"{U}R MATHEMATIK UND \n" "DATENVERARBEITUNG MBH } \n" "\\put(147,50){\\gmd g} \n " "\\put(0,40){\\helv GMD, Postfach 1316, Schlo{\\ss} Birlinghoven, \n " "D-53757 Sankt Augustin 1} \n " "\\put(97,40){\\parbox\[b\]{10cm} \n" "{\\helv\\raggedright \n" "\\baselineskip=9pt plus 2pt \n" "Telefon (0 22 41) 14-0 \\\\ \n" "Telefax (0 22 41) 14 26 18, -28 89}}\n" "\\put(0,210){\\makebox(0,0)\[bl\]{\\today}} \n " % letter specific information % from % name and e-mail "\\put(0,44){\\sname\\ \\semail} \n" % phone "\\put(128,44){-\\sphone} \n" % To, name and address "\\put(0,30){\\parbox\[t\]{9.5cm} \n" "{\\rname \\\\\n" "\\ifraddress\\raddress\\fi}}\n" % subject "\\ifsubj{\\put(0,0){\\subj}}\\fi\n" % sref % "\\put(70,15){\\sref} \n" % rref % "\\put(0,15){\\rref} \n" % rdate % "\\put(32,15){\\rdate} \n" "\\end{picture} \n" "}\n" % end of letterhead definition + "\\end{document}" + + "\\documentstyle\[[OPTS],qwertz,dina4,xlatin1\]{article}\n" "\\def\\faxlength{[LENGTH]}\n" % initial values for optional elements in the % letter head "\\def\\semail{} \n" "\\def\\remail{} \n" "\\def\\sphone{} \n" "\\def\\rphone{} \n" "\\def\\rfax{} \n" "\\def\\sfax{} \n" "\\def\\subj{} \n" % switch for distinguishing between context of % sender and receiver's address "\\newif\\ifsender \n" "\\newif\\ifsubj \n" "\\subjfalse \n" % assume no subject "\\newif\\ifcc \n" % for cc field "\\ccfalse \n" "\\newif\\ifsaddress\n" "\\saddressfalse\n" "\\newif\\ifraddress\n" "\\raddressfalse\n" "\\newif\\iffax\n" "\\faxtrue\n" "\\def\\letterhead{\n" "\\newfont{\\gmd}{gmdlogo}\n" "\\setlength{\\parindent}{0pt}\n" "\\parbox\[b\]{\\textwidth}{Gesellschaft f\\\"{u}r\n" "Mathematik und Datenverarbeitung mbH \\\\\n" "Schlo{\\ss} Birlinghoven \\\\\n" "D-53757 St.~Augustin \\\\\n" "Telefax: +49--2241--142618, " "+49--2241--142889}\\makebox\[0pt\]\[r\]{\\gmd e}\n" "\\begin{center}\n" "~ \\\\\n" "\\LARGE TELEFAX\n" "\\\\ ~\n" "\\end{center}\n" "\\framebox\[\\textwidth\]{\\parbox{0.9\\textwidth}\%\n" "{\n" "Von/From: \\sname\n" "\\\\\n" "Datum/Date: \\today\n" "}}\n" "\\framebox\[\\textwidth\]{\\parbox{0.9\\textwidth}\%\n" "{\n" "An/To: \\rname\n" "\\\\\n" "Telefax: \\rfax\n" "\\\\\n" "Firma/Company: \\raddress\n" "}}\n" "\\framebox\[\\textwidth\]{\\parbox{0.9\\textwidth}\%\n" "{\n" "Anzahl der gesendeten Seiten (inkl. dieses Deckblatts)/ \\\\\n" "Number of pages (including this cover sheet): \\faxlength\n" "}}\n" "\\framebox\[\\textwidth\]{\\parbox{0.9\\textwidth}\%\n" "{\\setlength{\\parskip}{0.5\\baselineskip}\n" "Bemerkungen/Comments: \\\\\n" "\\subj\n" "\\vspace{60pt}}}\n" "}\n" % end of letterhead definition for fax messages + "\\end{document}" + + "\\begin{document}\n" "\\pagestyle{empty}\n" "\\letterhead\n" "\\iffax\\newpage\n" "\\else{\\ifsubj\\vspace{0.5cm}\\fi}\n" "\\fi\n\\par" + + "\n\n\\vspace{0.6cm}\n\\par" + + "\\sendertrue\n" "\\def\\sname{" "}" + + "\\senderfalse\n" "\\def\\rname{" "}" + % first end definition of name
"\\def\\address{"
"}\n" "\\ifsender{\\global\\saddresstrue\n" "\\global\\def\\saddress{\\address}}\n" "\\else{\\global\\raddresstrue\n" "\\global\\def\\raddress{\\address}}\n" "\\fi" + + "\\def\\email{" "}\n" "\\ifsender\\edef\\semail{(\\email)} \n" " \\else\\edef\\remail{\\email} \n" "\\fi" + + "\\def\\phone{" "}\n" "\\ifsender\\edef\\sphone{\\phone} \n" " \\else\\edef\\rphone{\\phone} \n" "\\fi" + + "\\def\\fax{" "}\n" "\\ifsender\\edef\\sfax{\\fax} \n" "\\else{\\global\\edef\\rfax{\\fax}\n" "\\newwrite\\faxnum\n" "\\immediate\\openout\\faxnum=.fax=num\n" "\\immediate\\write\\faxnum{\\rfax}\n" "\\immediate\\closeout\\faxnum}\n" "\\fi" + + "\\subjtrue\n" "\\def\\subj{" "}" + + "\\newcommand{\\sref}{" "}" + + "\\newcommand{\\rref}{" "}" + + "\\def\\rdate}{" "}" + + "\\vspace{1cm} \n\\par\n" "\\parbox\[t\]{\\textwidth} " "{" + "}\\vspace{2cm}\n\\par\n" "\\sname \n" "\\ifcc{\\vspace{0.5cm}\n\\par\n" "cc:\\ \\ \\parbox\[t\]{14cm}{\n" "\\cc}\\fi\n" + + "\\cctrue\n" "\\def\\cc{" "}" + + "\\vspace{0.5cm}\n\\par\n" "encl:\\ \\ \\parbox\[t\]{14cm}{" "}\n\n" + + "\\vspace{0.5cm}\n\\par" + % end of latex replacement file