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 11584 for NEMO/trunk/doc/latex/global – NEMO

Ignore:
Timestamp:
2019-09-20T13:16:06+02:00 (5 years 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/global
Files:
1 added
5 edited
1 moved

Legend:

Unmodified
Added
Removed
  • 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.