New URL for NEMO forge!   http://forge.nemo-ocean.eu

Since March 2022 along with NEMO 4.2 release, the code development moved to a self-hosted GitLab.
This present forge is now archived and remained online for history.
document.tex in NEMO/trunk/doc/latex/global – NEMO

source: NEMO/trunk/doc/latex/global/document.tex @ 11171

Last change on this file since 11171 was 11171, checked in by nicolasmartin, 5 years ago

Duplicate the new building process to SI3 and TOP

File size: 2.1 KB
Line 
1%% ==============================================================================
2%% Reference Manual
3%% ==============================================================================
4
5%% NEMO release version
6\def\version{X.X~}
7
8%% Preamble
9%% ==============================================================================
10
11%% Document layout
12\documentclass[draft]{scrreport}
13
14%% Engine name and Zenodo DOI
15\input{definitions}
16
17%% Custom style (.sty)
18\usepackage{../../global/packages}
19
20%% Include references and index for single subfile compilation
21\newcommand{\biblio}{\bibliography{../main/bibliography}}
22\newcommand{\pindex}{\printindex}
23
24\makeindex
25
26%% End of common preamble between main and sub-files
27\begin{document}
28\pagenumbering{gobble}
29
30%% Override custom cmds for full manual compilation
31\renewcommand{\biblio}{}
32\renewcommand{\pindex}{}
33
34
35%% Frontmatter
36%% ==============================================================================
37
38%% Title and information pages
39\input{../../global/frontpages}
40
41%% Engine citation
42\input{../../global/citation}
43
44%% Foreword
45\newpage
46%\frontmatter   %% Chapter numbering off and Roman numerals for page numbers
47\pagenumbering{roman}
48\subfile{../subfiles/foreword}
49
50%% ToC i.e. Table of Contents
51\newpage
52\dominitoc
53\tableofcontents
54
55\clearpage
56%\end{document}
57
58
59%% Mainmatter
60%% ==============================================================================
61
62%\mainmatter   %% Chapter numbering on, page numbering is reset with Arabic numerals
63\pagenumbering{arabic}
64
65\graphicspath{{../../figures/\engine/}}
66\input{chapters}
67
68
69%% Appendix
70%% ==============================================================================
71
72%% Chapter numbering is reset with letters now
73\appendix   
74
75\input{appendices}
76
77
78%% Backmatter
79%% ==============================================================================
80
81%\backmatter   %% Chapter numbering off
82
83%% Bibliography
84\phantomsection
85\addcontentsline{toc}{chapter}{Bibliography}
86\bibliography{../main/bibliography}
87
88%% Index
89\clearpage
90\phantomsection
91\addcontentsline{toc}{chapter}{Index}
92\printindex
93
94\end{document}
Note: See TracBrowser for help on using the repository browser.