]> git.decadent.org.uk Git - ion3-doc.git/blob - rapport3.perl
Add 20080411-1.
[ion3-doc.git] / rapport3.perl
1 # rapport3.perl by Tuomo Valkonen, <tuomov at iki.fi>, 2003-05-10
2 #
3 # Implementation of the documentclass for latex2html. Just make some
4 # sectioning commands saner and load report.
5 #
6
7 package main;
8
9 #
10 # Sections should start at H2 instead of the insane default H1.
11 #
12
13 %standard_section_headings =
14   ('part' , 'H1' , 'chapter' , 'H1', 'section', 'H2', 'subsection', 'H3'
15       , 'subsubsection', 'H4', 'paragraph', 'H4', 'subparagraph', 'H5');
16
17 &generate_sectioning_subs;
18
19 %section_headings =
20   ('partstar' , 'H1' , 'chapterstar' , 'H1', 'sectionstar', 'H2'
21       , 'subsectionstar', 'H3', 'subsubsectionstar', 'H4', 'paragraphstar'
22       , 'H4', 'subparagraphstar', 'H5', %section_headings);
23
24 #
25 # These should be chapters in a report
26 #
27
28 %section_headings =
29   ('tableofcontents', 'H1', 'listoffigures', 'H1', 'listoftables', 'H1'
30       , 'bibliography', 'H1', 'textohtmlindex', 'H1'
31       , %standard_section_headings
32       , %section_headings);
33
34
35 &do_require_package("report");
36
37 1;
38