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.
Changeset 9376 for branches/2017/dev_merge_2017/DOC/NEMO_manual.tex – NEMO

Ignore:
Timestamp:
2018-03-06T17:12:34+01:00 (6 years ago)
Author:
nicolasmartin
Message:

Global reorganisation of DOC directory: refactoring & cleaning of TeX source code for readability

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2017/dev_merge_2017/DOC/NEMO_manual.tex

    r9373 r9376  
    1 %description: Book template 
     1%% ============================================================================== 
     2%% NEMO_book.tex: build the NEMO Reference Manual 
     3%% ============================================================================== 
    24 
    3 % template of document for LaTeX 
    4 % (C) Xavier Perseguers 2002 - xavier.perseguers@epfl.ch 
    55 
    6 % ================================================================ 
    7 % PREAMBLE 
    8 % ================================================================ 
     6%% Run build_NEMO_manual.sh to generate the PDF version (with pdflatex) 
     7 
     8 
     9%% Preamble 
     10%% ============================================================================== 
    911 
    1012\include{texfiles/preamble} 
    1113 
    12 % ================================================================ 
    13 % TOP MATTER 
    14 % ================================================================ 
     14\begin{document} 
     15 
     16 
     17%% 'minted' env. & shortcuts for syntax highlighting 
     18 
     19\setminted[fortran]{fontsize=\tiny, breaklines} 
     20\newminted{fortran}{}         % \begin{fortrancode} 
     21\newmintinline{fortran}{}     % \fortraninline 
     22\newmintedfile{fortran}{}     % \fortranfile 
     23\newminted{xml}{fontsize=\tiny, breaklines} 
     24\newminted{sh}{} 
     25\newminted{c}{} 
     26 
     27 
     28%% Frontmatter 
     29%% ============================================================================== 
    1530 
    1631\include{texfiles/top_matter} 
    1732 
    18 % ================================================================ 
    19 % DOCUMENT 
    20 % ================================================================ 
    2133 
    22 \begin{document} 
     34%% Frontpage 
    2335 
    24 \maketitle                 % generate the title 
    25  
     36\maketitle 
    2637\frontmatter 
    2738 
    28 \tableofcontents              % generate a table of contents 
    29 %\listoffigures               % generate a list  of figures 
    30 %\listoftables                     % generate a list of tables 
     39 
     40%% ToC i.e. Table of Contents 
     41 
     42\dominitoc 
     43\tableofcontents 
     44 
     45 
     46%% Mainmatter 
     47%% ============================================================================== 
    3148 
    3249\mainmatter 
    3350 
    34 % ================================================================ 
    35 % Abstract - Foreword 
    36 % ================================================================ 
     51 
     52%% Abstract - Foreword 
    3753 
    3854\subfile{texfiles/chapters/abstract_foreword} 
    3955 
    40 % ================================================================ 
    41 % INTRODUCTION 
    42 % ================================================================ 
     56 
     57% Introduction 
    4358 
    4459\subfile{texfiles/chapters/introduction} 
    4560 
    46 % ================================================================ 
    47 % CHAPTERS 
    48 % ================================================================ 
     61 
     62% Chapters 
    4963 
    5064\subfile{texfiles/chapters/chap_model_basics} 
     
    7892\subfile{texfiles/chapters/chap_CONFIG}         % Predefined configurations 
    7993 
    80 % ================================================================ 
    81 % APPENDIX 
    82 % ================================================================ 
     94 
     95% Appendix 
    8396 
    8497\appendix 
    8598 
    86 %\subfile{texfiles/chapters/chap_conservation} 
    87 \subfile{texfiles/chapters/annex_A}       % generalised vertical coordinate 
    88 \subfile{texfiles/chapters/annex_B}       % diffusive operator 
    89 \subfile{texfiles/chapters/annex_C}       % Discrete invariants of the eqs. 
    90 \subfile{texfiles/chapters/annex_iso}                    % Isoneutral diffusion using triads 
    91 \subfile{texfiles/chapters/annex_D}       % Coding rules 
    92 %\subfile{texfiles/chapters/annex_E}                     % Notes on some on going staff (no included in the DOC) 
    93 %\subfile{texfiles/chapters/annex_Fox-Kemper}   % Notes on Fox-Kemper (no included in the DOC) 
    94 %\subfile{texfiles/chapters/annex_EVP}          % Notes on EVP (no included in the DOC) 
     99\subfile{texfiles/chapters/annex_A}             % Generalised vertical coordinate 
    95100 
    96 % ================================================================ 
    97 % INDEX 
    98 % ================================================================ 
     101\subfile{texfiles/chapters/annex_B}             % Diffusive operator 
    99102 
    100 \addcontentsline{toc}{chapter}{Index} 
     103\subfile{texfiles/chapters/annex_C}             % Discrete invariants of the eqs. 
     104 
     105\subfile{texfiles/chapters/annex_iso}           % Isoneutral diffusion using triads 
     106 
     107\subfile{texfiles/chapters/annex_D}             % Coding rules 
     108 
     109%% Not included 
     110%\subfile{texfiles/chapters/chap_conservation}  % 
     111%\subfile{texfiles/chapters/annex_E}            % Notes on some on going staff 
     112%\subfile{texfiles/chapters/annex_Fox-Kemper}   % Notes on Fox-Kemper 
     113%\subfile{texfiles/chapters/annex_EVP}          % Notes on EVP 
     114 
     115 
     116%% Backmatter 
     117%% ============================================================================== 
     118 
     119\backmatter 
     120 
     121 
     122%% Index 
     123 
     124%\addcontentsline{toc}{chapter}{Index} 
    101125\printindex 
    102126 
    103 % ================================================================ 
    104 % BIBLIOGRAPHY 
    105 % ================================================================ 
    106127 
    107 %%\bibliographystyle{plainat} 
    108 \bibliographystyle{texfiles/styles/ametsoc}     % AMS biblio style (JPO) 
     128%% Bibliography 
     129 
    109130\bibliography{texfiles/bibliography/NEMO_manual} 
    110131 
    111 % ================================================================ 
     132 
    112133\end{document} 
Note: See TracChangeset for help on using the changeset viewer.