]>
Commit | Line | Data |
---|---|---|
8fb6fe44 HH |
1 | % |
2 | % Minimal document skeleton. For testing, link your 'manpage' in at | |
3 | % the place indicated below. | |
4 | % | |
5 | % Run tex2rtf with (for example) | |
6 | % tex2rtf minimal.tex test.htm -html -twice | |
7 | % | |
8 | % latex should also parse this file correctly. | |
9 | % | |
10 | % Of course many references will be unresolved in the test page, but | |
11 | % local references should be there. | |
12 | % | |
13 | \documentstyle[a4,makeidx,verbatim,texhelp,fancyheadings,palatino]{report} | |
14 | \sloppy | |
15 | \newcommand{\indexit}[1]{#1\index{#1}} | |
16 | \newcommand{\pipe}[0]{$\|$\ }% | |
17 | \input psbox.tex | |
18 | ||
19 | \parskip=2pt | |
20 | \parindent=0pt | |
21 | ||
22 | \makeindex | |
23 | \begin{document} | |
24 | \tableofcontents | |
25 | ||
26 | \pagestyle{fancyplain} | |
27 | \bibliographystyle{plain} | |
28 | \setheader{{\it CONTENTS}}{}{}{}{}{{\it CONTENTS}} | |
29 | \setfooter{\thepage}{}{}{}{}{\thepage} | |
30 | \pagenumbering{roman} | |
31 | ||
32 | \chapter{Minimal} | |
33 | \pagenumbering{arabic}% | |
34 | \setheader{{\it CHAPTER \thechapter}}{}{}{}{}{{\it CHAPTER \thechapter}}% | |
35 | \setfooter{\thepage}{}{}{}{}{\thepage} | |
36 | ||
37 | % put your file(s) in an \input{} statement here | |
38 | \input{text.tex} | |
39 | ||
40 | \addcontentsline{toc}{chapter}{Index} | |
41 | \setheader{{\it INDEX}}{}{}{}{}{{\it INDEX}}% | |
42 | \setfooter{\thepage}{}{}{}{}{\thepage} | |
43 | ||
44 | \end{document} |