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 @ 11174

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

Extension renaming
As .tex extension seems to be recognized natively by Trac for syntax highlighting, prefer to use it for all files under ./latex/global.
The difference between .tex or .sty is a bit cryptic for what I currently know

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