doc.tex 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. \documentstyle[a4,makeidx,verbatim,texhelp,fancyhea,mysober,mytitle]{report}%
  2. \parskip=10pt%
  3. \parindent=0pt%
  4. \title{Help Demo}%
  5. \author{by Julian Smart}%
  6. \makeindex%
  7. \begin{document}%
  8. \maketitle%
  9. \pagestyle{fancyplain}%
  10. \bibliographystyle{plain}%
  11. \pagenumbering{roman}%
  12. \setheader{{\it CONTENTS}}{}{}{}{}{{\it CONTENTS}}%
  13. \setfooter{\thepage}{}{}{}{}{\thepage}%
  14. \tableofcontents%
  15. \chapter{Introduction}\label{intro}
  16. \pagenumbering{arabic}%
  17. \setheader{{\it CHAPTER \thechapter}}{}{}{}{}{{\it CHAPTER \thechapter}}%
  18. \setfooter{\thepage}{}{}{}{}{\thepage}%
  19. This is a demo document for the wxWindows 'help' sample.
  20. You should process this file with Tex2RTF, for example:
  21. {\tt tex2rtf -winhelp -twice doc.tex doc.hlp}
  22. and then run:
  23. {\tt hc doc}
  24. where hc is the help compiler.
  25. Note that you can also generate HTML and Word RTF with Tex2RTF.
  26. \section{Classes}\label{classes}
  27. This would say something about classes, but doesn't yet.
  28. \section{Functions}\label{functions}
  29. This would say something about functions, but doesn't yet.
  30. \section{About}\label{about}
  31. About this HelpDemo: this file is really not much of a demo, but it's a start.
  32. \chapter{Chapter 2}\label{chapter2}
  33. \pagenumbering{arabic}%
  34. \setheader{{\it CHAPTER \thechapter}}{}{}{}{}{{\it CHAPTER \thechapter}}%
  35. \setfooter{\thepage}{}{}{}{}{\thepage}%
  36. Another chapter in this enticing little manual.
  37. \addcontentsline{toc}{chapter}{Index}
  38. \setheader{{\it INDEX}}{}{}{}{}{{\it INDEX}}%
  39. \setfooter{\thepage}{}{}{}{}{\thepage}%
  40. \printindex%
  41. \end{document}