Changeset 11584


Ignore:
Timestamp:
2019-09-20T13:16:06+02:00 (11 months ago)
Author:
nicolasmartin
Message:

Restoration of separate compilation of chapters or appendices
The command to launch is almost the same as the manual, for instance

$ latexmk -r latex/global/latexmkrc -cd latex/NEMO/subfiles/chap_time_domain
Location:
NEMO/trunk/doc/latex
Files:
1 added
1 deleted
29 edited
1 moved

Legend:

Unmodified
Added
Removed
  • NEMO/trunk/doc/latex/NEMO/subfiles/apdx_DOMAINcfg.tex

    r11582 r11584  
    11\documentclass[../main/NEMO_manual]{subfiles} 
    2  
    3 \onlyinsubfile{\makeindex} 
    42 
    53\begin{document} 
     
    560558This option is described in the Report by Levier \textit{et al.} (2007), available on the \NEMO\ web site. 
    561559 
    562 \onlyinsubfile{\bibliography{../main/bibliography}} 
    563  
    564 \onlyinsubfile{\printindex} 
     560\onlyinsubfile{\input{../../global/epilogue}} 
    565561 
    566562\end{document} 
  • NEMO/trunk/doc/latex/NEMO/subfiles/apdx_algos.tex

    r11582 r11584  
    11\documentclass[../main/NEMO_manual]{subfiles} 
    2  
    3 \onlyinsubfile{\makeindex} 
    42 
    53\begin{document} 
     
    843841\ie\ the variance of the tracer is preserved by the discretisation of the skew fluxes. 
    844842 
    845 \onlyinsubfile{\bibliography{../main/bibliography}} 
    846  
    847 \onlyinsubfile{\printindex} 
     843\onlyinsubfile{\input{../../global/epilogue}} 
    848844 
    849845\end{document} 
  • NEMO/trunk/doc/latex/NEMO/subfiles/apdx_diff_opers.tex

    r11582 r11584  
    11\documentclass[../main/NEMO_manual]{subfiles} 
    2  
    3 \onlyinsubfile{\makeindex} 
    42 
    53\begin{document} 
     
    413411that is a Laplacian diffusion is applied on momentum along the coordinate directions. 
    414412 
    415 \onlyinsubfile{\bibliography{../main/bibliography}} 
    416  
    417 \onlyinsubfile{\printindex} 
     413\onlyinsubfile{\input{../../global/epilogue}} 
    418414 
    419415\end{document} 
  • NEMO/trunk/doc/latex/NEMO/subfiles/apdx_invariants.tex

    r11582 r11584  
    11\documentclass[../main/NEMO_manual]{subfiles} 
    2  
    3 \onlyinsubfile{\makeindex} 
    42 
    53\begin{document} 
     
    15301528%%%%  end of appendix in gm comment 
    15311529%} 
    1532 \onlyinsubfile{\bibliography{../main/bibliography}} 
    1533  
    1534 \onlyinsubfile{\printindex} 
     1530 
     1531\onlyinsubfile{\input{../../global/epilogue}} 
    15351532 
    15361533\end{document} 
  • NEMO/trunk/doc/latex/NEMO/subfiles/apdx_s_coord.tex

    r11582 r11584  
    11\documentclass[../main/NEMO_manual]{subfiles} 
    2  
    3 \onlyinsubfile{\makeindex} 
    42 
    53\begin{document} 
     
    596594the expression of the 3D divergence in the $s-$coordinates established above. 
    597595 
    598 \onlyinsubfile{\bibliography{../main/bibliography}} 
    599  
    600 \onlyinsubfile{\printindex} 
     596\onlyinsubfile{\input{../../global/epilogue}} 
    601597 
    602598\end{document} 
  • NEMO/trunk/doc/latex/NEMO/subfiles/apdx_triads.tex

    r11582 r11584  
    1010\newcommand{\rtriad}[2][]{\ensuremath{\triad[#1]{i}{k}{#2}{i_p}{k_p}}} 
    1111\newcommand{\rtriadt}[1]{\ensuremath{\triadt{i}{k}{#1}{i_p}{k_p}}} 
    12  
    13 \onlyinsubfile{\makeindex} 
    1412 
    1513\begin{document} 
     
    11731171\] 
    11741172 
    1175 \onlyinsubfile{\bibliography{../main/bibliography}} 
    1176  
    1177 \onlyinsubfile{\printindex} 
     1173\onlyinsubfile{\input{../../global/epilogue}} 
    11781174 
    11791175\end{document} 
  • NEMO/trunk/doc/latex/NEMO/subfiles/chap_ASM.tex

    r11582 r11584  
    11\documentclass[../main/NEMO_manual]{subfiles} 
    2  
    3 \onlyinsubfile{\makeindex} 
    42 
    53\begin{document} 
     
    196194\end{clines} 
    197195 
    198 \onlyinsubfile{\bibliography{../main/bibliography}} 
    199  
    200 \onlyinsubfile{\printindex} 
     196\onlyinsubfile{\input{../../global/epilogue}} 
    201197 
    202198\end{document} 
  • NEMO/trunk/doc/latex/NEMO/subfiles/chap_DIA.tex

    r11582 r11584  
    11\documentclass[../main/NEMO_manual]{subfiles} 
    2  
    3 \onlyinsubfile{\makeindex} 
    42 
    53\begin{document} 
     
    21192117The maximum values from the run are also copied to the ocean.output file. 
    21202118 
    2121 % ================================================================ 
    2122  
    2123 \onlyinsubfile{\bibliography{../main/bibliography}} 
    2124  
    2125 \onlyinsubfile{\printindex} 
     2119\onlyinsubfile{\input{../../global/epilogue}} 
    21262120 
    21272121\end{document} 
  • NEMO/trunk/doc/latex/NEMO/subfiles/chap_DIU.tex

    r11582 r11584  
    11\documentclass[../main/NEMO_manual]{subfiles} 
    2  
    3 \onlyinsubfile{\makeindex} 
    42 
    53\begin{document} 
     
    161159\] 
    162160 
    163 \onlyinsubfile{\bibliography{../main/bibliography}} 
    164  
    165 \onlyinsubfile{\printindex} 
     161\onlyinsubfile{\input{../../global/epilogue}} 
    166162 
    167163\end{document} 
  • NEMO/trunk/doc/latex/NEMO/subfiles/chap_DOM.tex

    r11582 r11584  
    11\documentclass[../main/NEMO_manual]{subfiles} 
    2  
    3 \onlyinsubfile{\makeindex} 
    42 
    53\begin{document} 
     
    696694\end{description} 
    697695 
    698 \onlyinsubfile{\bibliography{../main/bibliography}} 
    699  
    700 \onlyinsubfile{\printindex} 
     696\onlyinsubfile{\input{../../global/epilogue}} 
    701697 
    702698\end{document} 
  • NEMO/trunk/doc/latex/NEMO/subfiles/chap_DYN.tex

    r11582 r11584  
    11\documentclass[../main/NEMO_manual]{subfiles} 
    2  
    3 \onlyinsubfile{\makeindex} 
    42 
    53\begin{document} 
     
    16941692and only array swapping and Asselin filtering is done in \mdl{dynnxt}. 
    16951693 
    1696 % ================================================================ 
    1697 \onlyinsubfile{\bibliography{../main/bibliography}} 
    1698  
    1699 \onlyinsubfile{\printindex} 
     1694\onlyinsubfile{\input{../../global/epilogue}} 
    17001695 
    17011696\end{document} 
  • NEMO/trunk/doc/latex/NEMO/subfiles/chap_LBC.tex

    r11582 r11584  
    11\documentclass[../main/NEMO_manual]{subfiles} 
    2  
    3 \onlyinsubfile{\makeindex} 
    42 
    53\begin{document} 
     
    743741direction of rotation). %, e.g. anticlockwise or clockwise. 
    744742 
    745 \onlyinsubfile{\bibliography{../main/bibliography}} 
    746  
    747 \onlyinsubfile{\printindex} 
     743\onlyinsubfile{\input{../../global/epilogue}} 
    748744 
    749745\end{document} 
  • NEMO/trunk/doc/latex/NEMO/subfiles/chap_LDF.tex

    r11582 r11584  
    11\documentclass[../main/NEMO_manual]{subfiles} 
    2  
    3 \onlyinsubfile{\makeindex} 
    42 
    53\begin{document} 
     
    560558\colorbox{yellow}{TBC} 
    561559 
    562 \onlyinsubfile{\bibliography{../main/bibliography}} 
    563  
    564 \onlyinsubfile{\printindex} 
     560\onlyinsubfile{\input{../../global/epilogue}} 
    565561 
    566562\end{document} 
  • NEMO/trunk/doc/latex/NEMO/subfiles/chap_OBS.tex

    r11582 r11584  
    11\documentclass[../main/NEMO_manual]{subfiles} 
    2  
    3 \onlyinsubfile{\makeindex} 
    42 
    53\begin{document} 
     
    11701168%>>>>>>>>>>>>>>>>>>>>>>>>>>>> 
    11711169 
    1172 \onlyinsubfile{\bibliography{../main/bibliography}} 
    1173  
    1174 \onlyinsubfile{\printindex} 
     1170\onlyinsubfile{\input{../../global/epilogue}} 
    11751171 
    11761172\end{document} 
  • NEMO/trunk/doc/latex/NEMO/subfiles/chap_SBC.tex

    r11582 r11584  
    11\documentclass[../main/NEMO_manual]{subfiles} 
    2  
    3 \onlyinsubfile{\makeindex} 
    42 
    53\begin{document} 
     
    108\chapter{Surface Boundary Condition (SBC, SAS, ISF, ICB)} 
    119\label{chap:SBC} 
     10 
    1211\chaptertoc 
    1312 
     
    17841783% in ocean-ice models. 
    17851784 
    1786  
    1787 \onlyinsubfile{\bibliography{../main/bibliography}} 
    1788  
    1789 \onlyinsubfile{\printindex} 
     1785\onlyinsubfile{\input{../../global/epilogue}} 
    17901786 
    17911787\end{document} 
  • NEMO/trunk/doc/latex/NEMO/subfiles/chap_STO.tex

    r11582 r11584  
    11\documentclass[../main/NEMO_manual]{subfiles} 
    2  
    3 \onlyinsubfile{\makeindex} 
    42 
    53\begin{document} 
     
    198196 
    199197The first four parameters define the stochastic part of equation of state. 
    200 \onlyinsubfile{\bibliography{../main/bibliography}} 
    201  
    202 \onlyinsubfile{\printindex} 
     198 
     199\onlyinsubfile{\input{../../global/epilogue}} 
    203200 
    204201\end{document} 
  • NEMO/trunk/doc/latex/NEMO/subfiles/chap_TRA.tex

    r11582 r11584  
    11\documentclass[../main/NEMO_manual]{subfiles} 
    2  
    3 \onlyinsubfile{\makeindex} 
    42 
    53\begin{document} 
     
    14611459%%% 
    14621460 
    1463 \onlyinsubfile{\bibliography{../main/bibliography}} 
    1464  
    1465 \onlyinsubfile{\printindex} 
     1461\onlyinsubfile{\input{../../global/epilogue}} 
    14661462 
    14671463\end{document} 
  • NEMO/trunk/doc/latex/NEMO/subfiles/chap_ZDF.tex

    r11582 r11584  
    33%% Custom aliases 
    44\newcommand{\cf}{\ensuremath{C\kern-0.14em f}} 
    5  
    6 \onlyinsubfile{\makeindex} 
    75 
    86\begin{document} 
     
    15081506\end{figure} 
    15091507 
    1510 % ================================================================ 
    1511  
    1512 \onlyinsubfile{\bibliography{../main/bibliography}} 
    1513  
    1514 \onlyinsubfile{\printindex} 
     1508\onlyinsubfile{\input{../../global/epilogue}} 
    15151509 
    15161510\end{document} 
  • NEMO/trunk/doc/latex/NEMO/subfiles/chap_cfgs.tex

    r11582 r11584  
    11\documentclass[../main/NEMO_manual]{subfiles} 
    2  
    3 \onlyinsubfile{\makeindex} 
    42 
    53\begin{document} 
     
    310308Unlike ordinary river points the Baltic inputs also include salinity and temperature data. 
    311309 
    312 \onlyinsubfile{\bibliography{../main/bibliography}} 
    313  
    314 \onlyinsubfile{\printindex} 
     310\onlyinsubfile{\input{../../global/epilogue}} 
    315311 
    316312\end{document} 
  • NEMO/trunk/doc/latex/NEMO/subfiles/chap_conservation.tex

    r11582 r11584  
    11\documentclass[../main/NEMO_manual]{subfiles} 
    2  
    3 \onlyinsubfile{\makeindex} 
    42 
    53\begin{document} 
     
    331329It has not been implemented. 
    332330 
    333 \onlyinsubfile{\bibliography{../main/bibliography}} 
    334  
    335 \onlyinsubfile{\printindex} 
     331\onlyinsubfile{\input{../../global/epilogue}} 
    336332 
    337333\end{document} 
  • NEMO/trunk/doc/latex/NEMO/subfiles/chap_misc.tex

    r11582 r11584  
    11\documentclass[../main/NEMO_manual]{subfiles} 
    2  
    3 \onlyinsubfile{\makeindex} 
    42 
    53\begin{document} 
     
    418416 
    419417% ================================================================ 
    420 \onlyinsubfile{\bibliography{../main/bibliography}} 
    421  
    422 \onlyinsubfile{\printindex} 
     418 
     419\onlyinsubfile{\input{../../global/epilogue}} 
    423420 
    424421\end{document} 
  • NEMO/trunk/doc/latex/NEMO/subfiles/chap_model_basics.tex

    r11582 r11584  
    11731173Nevertheless it is currently not available in the iso-neutral case. 
    11741174 
    1175 \onlyinsubfile{\bibliography{../main/bibliography}} 
    1176  
    1177 \onlyinsubfile{\input{../../global/printindex}} 
     1175\onlyinsubfile{\input{../../global/epilogue}} 
    11781176 
    11791177\end{document} 
  • NEMO/trunk/doc/latex/NEMO/subfiles/chap_model_basics_zstar.tex

    r11582 r11584  
    11\documentclass[../main/NEMO_manual]{subfiles} 
    2  
    3 \onlyinsubfile{\makeindex} 
    42 
    53\begin{document} 
     
    315313In particular, this means that in filtered case, the matrix to be inverted has to be recomputed at each time-step. 
    316314 
    317 \onlyinsubfile{\bibliography{../main/bibliography}} 
    318  
    319 \onlyinsubfile{\printindex} 
     315\onlyinsubfile{\input{../../global/epilogue}} 
    320316 
    321317\end{document} 
  • NEMO/trunk/doc/latex/NEMO/subfiles/chap_time_domain.tex

    r11582 r11584  
    11\documentclass[../main/NEMO_manual]{subfiles} 
    2  
    3 \onlyinsubfile{\makeindex} 
    42 
    53\begin{document} 
     
    388386} 
    389387 
    390 \onlyinsubfile{\bibliography{../main/bibliography}} 
    391  
    392 \onlyinsubfile{\printindex} 
     388\onlyinsubfile{\input{../../global/epilogue}} 
    393389 
    394390\end{document} 
  • NEMO/trunk/doc/latex/global/document.tex

    r11577 r11584  
    1111 
    1212%% Document layout 
    13 \documentclass[fontsize = 10pt, twoside, abstract]{scrreprt} 
     13\documentclass[fontsize = 10pt, twoside, abstract, draft]{scrreprt} 
    1414 
    15 %% Load configurations 
    16 \input{../../global/preamble} 
     15%% Load manual configuration 
     16\input{../../global/prologue} 
    1717 
    1818%% End of common preamble between main and sub-files 
     
    2525\renewcommand{\onlyinsubfile}[1]{} 
    2626\renewcommand{\notinsubfile}[1]{#1} 
    27  
    28 \renewcommand{\biblio}{} 
    29 \renewcommand{\pindex}{} 
    3027 
    3128 
     
    8279\input{../../global/coding_rules} 
    8380 
    84 \clearpage 
    8581 
    8682%% Backmatter 
    8783%% ================================================================================================= 
    8884 
    89 %% Bibliography 
    90 \phantomsection 
    91 \addcontentsline{toc}{chapter}{Bibliography} 
    92 \lohead{Bibliography} \rehead{Bibliography} 
    93 \bibliography{../main/bibliography} 
    94  
    95 \clearpage 
    96  
    97 %% Indexes 
    98 \phantomsection 
    99 \addcontentsline{toc}{chapter}{Indexes} 
    100 \lohead{Indexes} \rehead{Indexes} 
    101 \printindex[blocks] 
    102 \printindex[keys] 
    103 \printindex[modules] 
    104 \printindex[parameters] 
    105 \printindex[subroutines] 
     85%% Bibliography and indexes 
     86\input{../../global/epilogue} 
    10687 
    10788\end{document} 
  • NEMO/trunk/doc/latex/global/index.ist

    r11577 r11584  
    22heading_prefix "\\medskip\\hfill\\textnormal{" 
    33heading_suffix "}\\hfill\\smallskip\n" 
    4  
    54delim_0 "\\dotfill~" 
  • NEMO/trunk/doc/latex/global/indexes.tex

    r11579 r11584  
    1212\newcommand{\key}[1]{  \index[keys]{#1@\texttt{\textbf{key\_#1}}} \texttt{\textbf{key\_#1}}} 
    1313\newcommand{\mdl}[1]{  \index[modules]{#1@\textit{#1.F90}}        \textit{#1.F90}          } 
    14 \newcommand{\nam}[2]{  \index[blocks]{#1@\texttt{\&nam#2}}   \forcode{&nam#1} (\autoref{lst:nam#1})         } 
    15 \newcommand{\np}[3][]{\index[parameters]{\texttt{#3}}       \forcode{#2#1}           } 
    16 %\newcommand{\nam}[1]{  \index[blocks]{\texttt{\&nam#1}}           \forcode{&nam#1}         } 
    17 %\newcommand{\np}[1]{   \index[parameters]{\texttt{#1}}            \forcode{#1}              } 
     14\newcommand{\nam}[2]{  \index[blocks]{#1@\texttt{\&nam#2}}        \forcode{&nam#1} (\autoref{lst:nam#1})} 
     15\newcommand{\np}[3][]{ \index[parameters]{#3@\texttt{#3}}         \forcode{#2#1}           } 
    1816\newcommand{\rou}[1]{  \index[subroutines]{#1@\texttt{#1}}        \texttt{#1}              } 
    1917 
  • NEMO/trunk/doc/latex/global/latexmkrc

    r11433 r11584  
    99 
    1010## Custom cmds 
    11 $makeindex = 'makeindex -s %R.ist %O -o %D %S'; 
    12 #$pdflatex  = 'pdflatex -shell-escape %O %S'; 
     11$makeindex = 'makeindex -s ../../global/index.ist %O -o %D %S'; 
    1312$pdflatex  = 'xelatex -shell-escape %O %S'; 
    14  
    15 #@BIBINPUTS=('.', '../main'); 
    16 #$bibtex    = 'bibtex %O ../main/bibliography.bib'; 
    17 #$kpsewhich = 'kpsewhich bibliography.bib' 
  • NEMO/trunk/doc/latex/global/new_cmds.tex

    r11563 r11584  
    11%% Global custom commands: \newcommand{<name>}[<args>][<first argument value>]{<code>} 
    22%% ============================================================================== 
    3  
    4 %% Include references and index for compilation of single subfile 
    5 \newcommand{\biblio}{\bibliography{../main/bibliography}} 
    6 \newcommand{\pindex}{\printindex} 
    73 
    84%% Same slanted font for NEMO and its core engines 
Note: See TracChangeset for help on using the changeset viewer.