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