source:
NEMO/trunk/doc/latex/global/document.tex
@
13887
Last change on this file since 13887 was 12377, checked in by acc, 4 years ago | |
---|---|
File size: 2.2 KB |
Rev | Line | |
---|---|---|
[11176] | 1 | |
[12377] | 2 | %% ============================================================================== |
3 | %% Template structure for reference manual | |
4 | %% ============================================================================== | |
[707] | 5 | |
[11170] | 6 | %% NEMO release version |
[12377] | 7 | \def \version{4.0rc~} |
[707] | 8 | |
[9376] | 9 | %% Preamble |
[12377] | 10 | %% ============================================================================== |
[9376] | 11 | |
[10495] | 12 | %% Document layout |
[12377] | 13 | \documentclass[draft]{scrreprt} |
[10495] | 14 | |
[12377] | 15 | %% Load the configuration of the manual |
16 | \input{../main/definitions} | |
[707] | 17 | |
[12377] | 18 | %% Load global *.tex files |
19 | \input{../../global/preamble} | |
20 | ||
21 | \dominitoc | |
22 | ||
23 | %% Launch the creation of the indexes | |
24 | \input{../../global/indexes} | |
25 | ||
26 | ||
[10495] | 27 | %% End of common preamble between main and sub-files |
[11176] | 28 | %% Override custom cmds for full manual compilation |
[12377] | 29 | \newcommand{\onlyinsubfile}[1]{#1} |
30 | \newcommand{\notinsubfile}[1]{} | |
[11176] | 31 | |
[9388] | 32 | \begin{document} |
[9376] | 33 | |
[12377] | 34 | \renewcommand{\onlyinsubfile}[1]{} |
35 | \renewcommand{\notinsubfile}[1]{#1} | |
[11176] | 36 | |
[12377] | 37 | \renewcommand{\biblio}{} |
38 | \renewcommand{\pindex}{} | |
[9376] | 39 | |
[12377] | 40 | |
[9376] | 41 | %% Frontmatter |
[12377] | 42 | %% ============================================================================== |
[9376] | 43 | |
[12377] | 44 | \pagenumbering{gobble} |
[707] | 45 | |
[11176] | 46 | %% Title page |
[11515] | 47 | \input{../../global/frontpage} |
[11151] | 48 | |
[12377] | 49 | \maketitle |
50 | \emptythanks | |
[11176] | 51 | |
52 | %% Information page (2nd page) | |
53 | \input{../../global/info_page} | |
54 | ||
[12377] | 55 | %% Foreword |
56 | %\frontmatter %% Chapter numbering off and Roman numerals for page numbers | |
[11151] | 57 | \pagenumbering{roman} |
[12377] | 58 | \input{foreword} |
[11543] | 59 | |
[11176] | 60 | %% Table of Contents |
[11171] | 61 | \tableofcontents |
[12377] | 62 | \listoffigures |
63 | \listoftables | |
64 | \listoflistings | |
[9376] | 65 | |
[11151] | 66 | \clearpage |
[12377] | 67 | %\end{document} |
[9376] | 68 | |
[11170] | 69 | |
[9376] | 70 | %% Mainmatter |
[12377] | 71 | %% ============================================================================== |
[9376] | 72 | |
[12377] | 73 | %\mainmatter %% Chapter numbering on, page numbering is reset with Arabic numerals |
[11151] | 74 | \pagenumbering{arabic} |
[707] | 75 | |
[11187] | 76 | \include{chapters} |
[11007] | 77 | |
[707] | 78 | |
[9388] | 79 | %% Appendix |
[12377] | 80 | %% ============================================================================== |
[9376] | 81 | |
[12377] | 82 | %% Chapter numbering is reset with letters now |
83 | \appendix | |
84 | ||
[11187] | 85 | \include{appendices} |
[11151] | 86 | |
[9376] | 87 | |
88 | %% Backmatter | |
[12377] | 89 | %% ============================================================================== |
[9376] | 90 | |
[12377] | 91 | %\backmatter %% Chapter numbering off |
[9394] | 92 | |
[12377] | 93 | %% Bibliography |
94 | \phantomsection | |
95 | \addcontentsline{toc}{chapter}{Bibliography} | |
96 | \bibliography{../main/bibliography} | |
97 | ||
98 | %% Index | |
99 | \clearpage | |
100 | \phantomsection | |
101 | \addcontentsline{toc}{chapter}{Indexes} | |
102 | \printindex[keys] | |
103 | \printindex[modules] | |
104 | \printindex[blocks] | |
105 | \printindex[parameters] | |
106 | \printindex[subroutines] | |
107 | ||
[781] | 108 | \end{document} |
[12377] | 109 |
Note: See TracBrowser
for help on using the repository browser.