]> git.saurik.com Git - wxWidgets.git/blob - samples/help/doc.tex
For wxGTK2, link with X11 explicitly, since we use many X11 functions directly.
[wxWidgets.git] / samples / help / doc.tex
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
16 \chapter{Introduction}\label{intro}
17 \pagenumbering{arabic}%
18 \setheader{{\it CHAPTER \thechapter}}{}{}{}{}{{\it CHAPTER \thechapter}}%
19 \setfooter{\thepage}{}{}{}{}{\thepage}%
20
21 This is a demo document for the wxWindows 'help' sample.
22
23 You should process this file with Tex2RTF, for example:
24
25 {\tt tex2rtf -winhelp -twice doc.tex doc.hlp}
26
27 and then run:
28
29 {\tt hc doc}
30
31 where hc is the help compiler.
32
33 Note that you can also generate HTML and Word RTF with Tex2RTF.
34
35 \section{Classes}\label{classes}
36
37 This would say something about classes, but doesn't yet.
38
39 \section{Functions}\label{functions}
40
41 This would say something about functions, but doesn't yet.
42
43 \section{About}\label{about}
44
45 About this HelpDemo: this file is really not much of a demo, but it's a start.
46
47 \chapter{Chapter 2}\label{chapter2}
48 \pagenumbering{arabic}%
49 \setheader{{\it CHAPTER \thechapter}}{}{}{}{}{{\it CHAPTER \thechapter}}%
50 \setfooter{\thepage}{}{}{}{}{\thepage}%
51
52 Another chapter in this enticing little manual.
53
54 \addcontentsline{toc}{chapter}{Index}
55 \setheader{{\it INDEX}}{}{}{}{}{{\it INDEX}}%
56 \setfooter{\thepage}{}{}{}{}{\thepage}%
57 \printindex%
58
59 \end{document}