\documentstyle[a4,11pt,makeidx,verbatim,texhelp,fancyheadings,palatino]{report} % JACS: doesn't make it through Tex2RTF, sorry. I will put it into texhelp.sty % since Tex2RTF doesn't parse it. % BTW, style MUST be report for it to work for Tex2RTF. %KB: %\addtolength{\textwidth}{1in} %\addtolength{\oddsidemargin}{-0.5in} %\addtolength{\topmargin}{-0.5in} %\addtolength{\textheight}{1in} %\sloppy %end of my changes \newcommand{\indexit}[1]{#1\index{#1}}% \newcommand{\pipe}[0]{$\|$\ }% \definecolour{black}{0}{0}{0}% \definecolour{cyan}{0}{255}{255}% \definecolour{green}{0}{255}{0}% \definecolour{magenta}{255}{0}{255}% \definecolour{red}{255}{0}{0}% \definecolour{blue}{0}{0}{200}% \definecolour{yellow}{255}{255}{0}% \definecolour{white}{255}{255}{255}% % \input psbox.tex % Remove this for processing with dvi2ps instead of dvips %\special{!/@scaleunit 1 def} \parskip=10pt \parindent=0pt \title{FL: a Frame Layout Framework} \author{by Aleksandras Gluchovas} \date{January 2nd 2002} \makeindex \begin{document} \maketitle \pagestyle{fancyplain} \bibliographystyle{plain} \setheader{{\it CONTENTS}}{}{}{}{}{{\it CONTENTS}} \setfooter{\thepage}{}{}{}{}{\thepage}% \pagenumbering{roman} \tableofcontents \chapter{Copyright notice} \setheader{{\it COPYRIGHT}}{}{}{}{}{{\it COPYRIGHT}}% \setfooter{\thepage}{}{}{}{}{\thepage}% FL is copyright Aleksandras Gluchovas, 2001-2002. The licence is the wxWindows Licence. \input{body.tex} \input{classes.tex} \input{category.tex} \input{topics.tex} \bibliography{refs} \addcontentsline{toc}{chapter}{Bibliography} \setheader{{\it REFERENCES}}{}{}{}{}{{\it REFERENCES}}% \setfooter{\thepage}{}{}{}{}{\thepage}% \newpage % Note: In RTF, the \printindex must come before the % change of header/footer, since the \printindex inserts % the RTF \sect command which divides one chapter from % the next. \rtfonly{\printindex \addcontentsline{toc}{chapter}{Index} \setheader{{\it INDEX}}{}{}{}{}{{\it INDEX}}% \setfooter{\thepage}{}{}{}{}{\thepage} } % In Latex, it must be this way around (I think) \latexonly{\addcontentsline{toc}{chapter}{Index} \setheader{{\it INDEX}}{}{}{}{}{{\it INDEX}}% \setfooter{\thepage}{}{}{}{}{\thepage} \printindex } \end{document}