wxWidgets/samples/help/doc.tex
Julian Smart 7c4a59a881 Added WinHelp sample doc to samples/help, and made it possible to show
both native and wxHTML help


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6522 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-08 13:04:51 +00:00

60 lines
1.5 KiB
TeX

\documentstyle[a4,makeidx,verbatim,texhelp,fancyhea,mysober,mytitle]{report}%
\parskip=10pt%
\parindent=0pt%
\title{Help Demo}%
\author{by Julian Smart}%
\makeindex%
\begin{document}%
\maketitle%
\pagestyle{fancyplain}%
\bibliographystyle{plain}%
\pagenumbering{roman}%
\setheader{{\it CONTENTS}}{}{}{}{}{{\it CONTENTS}}%
\setfooter{\thepage}{}{}{}{}{\thepage}%
\tableofcontents%
\chapter{Introduction}\label{intro}
\pagenumbering{arabic}%
\setheader{{\it CHAPTER \thechapter}}{}{}{}{}{{\it CHAPTER \thechapter}}%
\setfooter{\thepage}{}{}{}{}{\thepage}%
This is a demo document for the wxWindows 'help' sample.
You should process this file with Tex2RTF, for example:
{\tt tex2rtf -winhelp -twice doc.tex doc.hlp}
and then run:
{\tt hc doc}
where hc is the help compiler.
Note that you can also generate HTML and Word RTF with Tex2RTF.
\section{Classes}\label{classes}
This would say something about classes, but doesn't yet.
\section{Functions}\label{functions}
This would say something about functions, but doesn't yet.
\section{About}\label{about}
About this HelpDemo: this file is really not much of a demo, but it's a start.
\chapter{Chapter 2}\label{chapter2}
\pagenumbering{arabic}%
\setheader{{\it CHAPTER \thechapter}}{}{}{}{}{{\it CHAPTER \thechapter}}%
\setfooter{\thepage}{}{}{}{}{\thepage}%
Another chapter in this enticing little manual.
\addcontentsline{toc}{chapter}{Index}
\setheader{{\it INDEX}}{}{}{}{}{{\it INDEX}}%
\setfooter{\thepage}{}{}{}{}{\thepage}%
\printindex%
\end{document}