wxWidgets/docs/latex/wx/manual.tex
1999-02-19 07:58:02 +00:00

138 lines
3.9 KiB
TeX

\documentstyle[a4,11pt,makeidx,verbatim,texhelp,fancyheadings,palatino]{report}
% JACS: doesn't make it through Tex2RTF, sorry. I'll 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{User Manual for wxWindows 2.0: a portable C++ GUI toolkit}
\winhelponly{\author{by Julian Smart et al
%\winhelponly{\\$$\image{1cm;0cm}{wxwin.wmf}$$}
}}
\winhelpignore{\author{Julian Smart et al}
\date{February 10th 1999}
}
\makeindex
\begin{document}
\maketitle
\pagestyle{fancyplain}
\bibliographystyle{plain}
\setheader{{\it CONTENTS}}{}{}{}{}{{\it CONTENTS}}
\setfooter{\thepage}{}{}{}{}{\thepage}%
\pagenumbering{roman}
\tableofcontents
% A special table of contents for the WinHelp manual
\begin{comment}
\winhelponly{
\chapter*{wxWindows class library reference}\label{winhelpcontents}
\center{
%\image{}{wxwin.wmf}
}%
\sethotspotcolour{off}%
\sethotspotunderline{on}%
\large{
\image{}{cpp.bmp} \helpref{Alphabetical class reference}{classref}
\image{}{shelves.bmp} \helpref{Classes by category}{classesbycat}
\image{}{book1.bmp} \helpref{Topic overviews}{overviews}
\image{}{hand1.bmp} \helpref{Guide to wxWindows}{wxwinchapters}
}
\sethotspotcolour{on}%
\sethotspotunderline{on}%
\chapter*{Overview of wxWindows}\label{wxwinchapters}
\helpref{Introduction}{introduction}\\
%\helpref{Resource guide}{resguide}\\
%\helpref{Comparison with other GUI models}{comparison}\\
%\helpref{Multi-platform development with wxWindows}{multiplat}\\
%\helpref{Tutorial}{tutorial}\\
\helpref{The wxWindows resource system}{resourceformats}\\
\helpref{Utilities}{utilities}\\
\helpref{Programming strategies}{strategies}\\
\helpref{Bugs and future directions}{bugs}\\
\helpref{References}{bibliography}
}
\end{comment}
\chapter*{Copyright notice}
\setheader{{\it COPYRIGHT}}{}{}{}{}{{\it COPYRIGHT}}%
\setfooter{\thepage}{}{}{}{}{\thepage}%
\begin{center}
Copyright \copyright{} 1998 Julian Smart, Robert Roebling and other
members of the wxWindows team\\
Portions \copyright{} 1996 Artificial Intelligence Applications Institute\\
\end{center}
Please see the wxWindows licence files (preamble.txt, lgpl.txt, gpl.txt, licence.txt,
licendoc.txt) for conditions of software and documentation use.
\input{body.tex}
\helpinput{classes.tex}
\helpinput{category.tex}
\helpinput{topics.tex}
\helpinput{wxPython.tex}
\begin{comment}
\newpage
% Puts books in the bibliography without needing to cite them in the
% text
\nocite{helpbook}%
\nocite{wong93}%
\nocite{pree94}%
\nocite{gamma95}%
\nocite{smart95a}%
\nocite{smart95b}%
\bibliography{refs}
\addcontentsline{toc}{chapter}{Bibliography}
\setheader{{\it REFERENCES}}{}{}{}{}{{\it REFERENCES}}%
\setfooter{\thepage}{}{}{}{}{\thepage}%
\end{comment}
\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}