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 11170 for NEMO/trunk/doc/latex/global/document.tex – NEMO

Ignore:
Timestamp:
2019-06-21T12:18:45+02:00 (5 years ago)
Author:
nicolasmartin
Message:

Review of the overall building of any reference manual
Implementation of a compilation process shared between the 3 manuals: now a global document.tex will be used as the main LaTeX file (a symbolic link will refer to it in each ./engine/main directory).
At the time of the manual building, a few small LaTeX files will be imported on the fly from the corresponding folder ./latex/engine/main.

  • definitions.tex: engine, title, author(s), IPSL publication number and DOI ID
  • thanks.tex: list of collaborators to be thanked for the writing/reviewing
  • chapters.tex: ordered list of chapters (relative path to subfiles)
  • appendices.tex: ordered list of subordinate chapters (relative path to subfiles)
File:
1 copied

Legend:

Unmodified
Added
Removed
  • NEMO/trunk/doc/latex/global/document.tex

    r11154 r11170  
    11%% ============================================================================== 
    2 %% NEMO Reference Manual 
     2%% Reference Manual 
    33%% ============================================================================== 
    44 
     5%% NEMO release version 
     6\def\version{X.X~} 
    57 
    68%% Preamble 
     
    1214%% Custom style (.sty) 
    1315\usepackage{../../global/packages} 
    14 \hypersetup{ 
    15   pdftitle={NEMO ocean engine}, 
    16   pdfauthor={Gurvan Madec and NEMO System Team}, 
    17   colorlinks 
    18 } 
     16 
     17%% Engine name and Zenodo DOI 
     18\input{definitions} 
    1919 
    2020%% Include references and index for single subfile compilation 
    21 \newcommand{\biblio}{\bibliography{../main/NEMO_manual}} 
     21\newcommand{\biblio}{\bibliography{../main/bibliography}} 
    2222\newcommand{\pindex}{\printindex} 
    2323 
     
    3636%% ============================================================================== 
    3737 
    38 \title{NEMO ocean engine} 
    39 \author{Gurvan Madec \and NEMO System Team\thanks{ 
    40     TBD 
    41   } 
    42 } 
    43 \date{\today} 
    44  
    4538%% Title and information pages 
    4639\input{../../global/frontpages} 
    4740 
    48 %% Citation embedded 
    49 \textsf{ 
    50 ``{\bfseries NEMO ocean engine}'',  
    51 Madec Gurvan and NEMO System Team,  
    52 {\em Scientific Notes of Climate Modelling Center (27)} -- ISSN 1288-1619,  
    53 Institut Pierre-Simon Laplace (IPSL),  
    54 \href{https://doi.org/10.5281/zenodo.1464816}{doi:10.5281/zenodo.1464816} 
    55 } 
     41%% Engine citation 
     42\input{../../global/citation} 
    5643 
     44%% Foreword 
    5745\newpage 
    5846%\frontmatter   %% Chapter numbering off and Roman numerals for page numbers 
    5947\pagenumbering{roman} 
    60  
    61 \subfile{../subfiles/foreword}            %% Foreword 
    62  
     48\subfile{../subfiles/foreword} 
    6349 
    6450%% ToC i.e. Table of Contents 
    6551\newpage 
    66 \dominitoc 
    67 \tableofcontents 
     52\dominitoc\tableofcontents 
    6853 
    6954\clearpage 
    7055%\end{document} 
     56 
    7157 
    7258%% Mainmatter 
     
    7662\pagenumbering{arabic} 
    7763 
    78 \graphicspath{{../../figures/NEMO/}} 
     64\graphicspath{{../../figures/\engine/}} 
     65\input{chapters} 
    7966 
    80 \subfile{../subfiles/introduction}        %% Introduction 
    81  
    82 %% Chapters 
    83 \subfile{../subfiles/chap_model_basics} 
    84 \subfile{../subfiles/chap_time_domain}    %% Time discretisation (time stepping strategy) 
    85 \subfile{../subfiles/chap_DOM}            %% Space discretisation 
    86 \subfile{../subfiles/chap_TRA}            %% Tracer advection/diffusion equation 
    87 \subfile{../subfiles/chap_DYN}            %% Dynamics : momentum equation 
    88 \subfile{../subfiles/chap_SBC}            %% Surface Boundary Conditions 
    89 \subfile{../subfiles/chap_LBC}            %% Lateral Boundary Conditions 
    90 \subfile{../subfiles/chap_LDF}            %% Lateral diffusion 
    91 \subfile{../subfiles/chap_ZDF}            %% Vertical diffusion 
    92 \subfile{../subfiles/chap_DIA}            %% Outputs and Diagnostics 
    93 \subfile{../subfiles/chap_OBS}            %% Observation operator 
    94 \subfile{../subfiles/chap_ASM}            %% Assimilation increments 
    95 \subfile{../subfiles/chap_STO}            %% Stochastic param. 
    96 \subfile{../subfiles/chap_misc}           %% Miscellaneous topics 
    97 \subfile{../subfiles/chap_CONFIG}         %% Predefined configurations 
    9867 
    9968%% Appendix 
    10069%% ============================================================================== 
    10170 
    102 \appendix   % Chapter numbering is reset with letters now 
     71%% Chapter numbering is reset with letters now 
     72\appendix    
    10373 
    104 \subfile{../subfiles/annex_A}             %% Generalised vertical coordinate 
    105 \subfile{../subfiles/annex_B}             %% Diffusive operator 
    106 \subfile{../subfiles/annex_C}             %% Discrete invariants of the eqs. 
    107 \subfile{../subfiles/annex_iso}            %% Isoneutral diffusion using triads 
    108 \subfile{../subfiles/annex_D}             %% Coding rules 
     74\input{appendices} 
    10975 
    110 %% Not included 
    111 %\subfile{../subfiles/chap_model_basics_zstar} 
    112 %\subfile{../subfiles/chap_DIU} 
    113 %\subfile{../subfiles/chap_conservation} 
    114 %\subfile{../subfiles/annex_E}            %% Notes on some on going staff 
    11576 
    11677%% Backmatter 
     
    12081 
    12182%% Bibliography 
    122 \phantomsection 
    123 \addcontentsline{toc}{chapter}{Bibliography} 
    124 \bibliography{../main/NEMO_manual} 
     83\phantomsection\addcontentsline{toc}{chapter}{Bibliography} 
     84\bibliography{../main/bibliography} 
    12585 
    12686%% Index 
    12787\clearpage 
    128 \phantomsection 
    129 \addcontentsline{toc}{chapter}{Index} 
     88\phantomsection\addcontentsline{toc}{chapter}{Index} 
    13089\printindex 
    13190 
Note: See TracChangeset for help on using the changeset viewer.