]> git.saurik.com Git - wxWidgets.git/blame - utils/tex2rtf/docs/tex2rtf.tex
added wx(U)int64, then added it to wxDataStream so contrib should
[wxWidgets.git] / utils / tex2rtf / docs / tex2rtf.tex
CommitLineData
9a29912f 1\documentstyle[a4,makeidx,verbatim,texhelp,fancyhea,mysober,mytitle]{report}%
f6bcfd97 2%\input{psbox.tex}
9a29912f
JS
3\newcommand{\commandref}[2]{\helpref{{\tt $\backslash$#1}}{#2}}%
4\newcommand{\commandrefn}[2]{\helprefn{{\tt $\backslash$#1}}{#2}\index{#1}}%
5\newcommand{\commandpageref}[2]{\latexignore{\helprefn{{\tt $\backslash$#1}}{#2}}\latexonly{{\tt $\backslash$#1} {\it page \pageref{#2}}}\index{#1}}%
6\newcommand{\indexit}[1]{#1\index{#1}}%
7\newcommand{\inioption}[1]{{\bf {\tt #1}}\index{#1}}%
8\parskip=10pt%
9\parindent=0pt%
10%\backgroundcolour{255;255;255}\textcolour{0;0;0}% Has an effect in HTML only
f6bcfd97 11\winhelpignore{\title{Manual for Tex2RTF 2.0: A \LaTeX\ to RTF and HTML converter}%
9a29912f 12\author{Julian Smart}%
a925b006 13\date{November 1999}%
9a29912f 14}%
a925b006 15\winhelponly{\title{Manual for Tex2RTF 2.0}%
9a29912f
JS
16\author{by Julian Smart\\$$\image{1cm;0cm}{tex2rtf.wmf}$$}%
17}%
18\makeindex%
19\begin{document}%
20\maketitle%
21\pagestyle{fancyplain}%
22\bibliographystyle{plain}%
23\pagenumbering{roman}%
24\setheader{{\it CONTENTS}}{}{}{}{}{{\it CONTENTS}}%
25\setfooter{\thepage}{}{}{}{}{\thepage}%
26\tableofcontents%
27
28\chapter*{Copyright notice}%
29\setheader{{\it COPYRIGHT}}{}{}{}{}{{\it COPYRIGHT}}%
30\setfooter{\thepage}{}{}{}{}{\thepage}%
31
32Copyright (c) 1997 Julian Smart.
33
34Permission to use, copy, modify, and distribute this software and its
35documentation for any purpose is hereby granted without fee, provided that the
36above copyright notice, author statement and this permission notice appear in
37all copies of this software and related documentation.
38
39THE SOFTWARE IS PROVIDED ``AS-IS'' AND WITHOUT WARRANTY OF ANY KIND, EXPRESS,
40IMPLIED OR OTHERWISE, INCLUDING WITHOUT LIMITATION, ANY WARRANTY OF
41MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.
42
43IN NO EVENT SHALL JULIAN SMART OR THE ARTIFICIAL INTELLIGENCE
44APPLICATIONS INSTITUTE OR UNIVERSITY OF EDINBURGH BE LIABLE FOR ANY
45SPECIAL, INCIDENTAL, INDIRECT OR CONSEQUENTIAL DAMAGES OF ANY KIND, OR
46ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
47WHETHER OR NOT ADVISED OF THE POSSIBILITY OF DAMAGE, AND ON ANY THEORY
48OF LIABILITY, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
49PERFORMANCE OF THIS SOFTWARE.
50
51\chapter{Introduction}%
52\pagenumbering{arabic}%
53\setheader{{\it CHAPTER \thechapter}}{}{}{}{}{{\it CHAPTER \thechapter}}%
54\setfooter{\thepage}{}{}{}{}{\thepage}%
55
56This document describes a utility for converting \popref{\LaTeX}{latexgloss}\ files into
57several other formats.
58
59Only a subset of \LaTeX\ can be processed by this utility, especially
60since the target document language will never perfectly match \LaTeX.
61Whether the quality of the results is good enough will depend upon the
62application and your own expectations. {\it This caveat is worth emphasizing}, because
63many people assume that any old \LaTeX\ document will go through without modification: it might,
64but the chances are you'll need to modify it a bit for Tex2RTF. Tex2RTF was written with
65portable document maintenance and generation in mind, with less emphasis on accepting all \LaTeX\ syntax.
66You have been warned!
67
68Tex2RTF is heavily biased towards making on-line, hypertext versions of
69\rtfsp\LaTeX\ documents, but the \popref{RTF}{rtf} converter can be used to generate linear,
70paper-based documents too.
71
72The latest version of Tex2RTF, plus source code, can be accessedfrom:
73
74\begin{verbatim}
75http://web.ukonline.co.uk/julian.smart/tex2rtf
76ftp://www.remstar.com/pub/wxwin/tex2rtf
77\end{verbatim}
78
79It is available in Sun Open Look, Motif, Windows 3.1, Windows 95/NT, and
80non-GUI UNIX versions.
81
82Tex2RTF was developed using the free Open Look, Motif and Windows 3.1
83C++ class library \popref{wxWindows}{wxwindows}.
84
85\section{Status of Tex2RTF}\index{status of Tex2RTF}%
86
a925b006
JS
87Windows HTML help, and wxWindows 2 wxHTML help, are now catered for using
88the htmlWorkshopFiles setting.
89
90Tex2RTF is very rarely updated these days: it would be nice to
91rewrite the parser (and indeed the rest of it) at some point,
92to improve error reporting, space handling and ability to
93handle more advanced Tex/Latex commands.
9a29912f
JS
94
95\section{Acknowledgements}\index{acknowledgements}%
96
97Thanks are due to the many people in AIAI and on the Internet at large
98who have pointed out bugs or shortcomings in Tex2RTF. Michel Lavaud has been
99a great help in giving advice for improvements to the manual.
100
101\section{Change log}\index{change log}%
102
a925b006 103Version 2.0, August 24th 1999
2723cfeb
JS
104
105\begin{itemize}\itemsep=0pt
106\item Added htmlWorkshopFiles setting, to output .hpp, .hhc
107and .hhk (HTML Workshop) files, for generating MS HTML Help or wxHTML Help.
108\end{itemize}
109
9a29912f
JS
110Version 1.64, October 20th 1998
111
112\begin{itemize}\itemsep=0pt
113\item Added \verb$\insertatlevel$ command.
114\end{itemize}
115
116Version 1.63, October 21st 1997
117
118\begin{itemize}\itemsep=0pt
119\item Debugged problem with Word bookmarks not being inserted for unnumbered
120sections.
121\end{itemize}
122
123Version 1.62, August 18th 1997
124
125\begin{itemize}\itemsep=0pt
126