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

Ignore:
Timestamp:
2019-06-24T21:55:11+02:00 (5 years ago)
Author:
nicolasmartin
Message:

Implementation of multi-indexes instead of an indiscrimate aggregate index
Creation of 5 sections under Indexes chapter for the most relevant lists of index entries:
namelist blocks and parameters, CPP keys, modules and subroutines.

  • indexes.tex & index.ist: new file in global directory for index management
  • Add symbolic links under main to non-existing *.idx before LaTeX compilation to reduce trivial error messages with makeindex
  • Create latexmkrc init file loaded latexmk with '-r' option in order to apply the style rules to the indexes with the sequence of several compilations

Other changes:

  • Define a preamble.tex with the list of files to load from global folder
  • Integrate 'Citation' subsubsection in new info_page.tex for the 2nd page along with 'frontpage.tex' for the cover, in order to have a clear distinction with \maketitle in the main LaTeX document
  • Move 'Foreword' chapter from subfiles to main as more appropriate

Bugfixes with few attempts of HTML export

  • One single location for defining the paths to search for images with \graphicspath in packages.tex
  • Renaming of authors variables (\1stauthor -> \firstauthor and so one)
  • Update of LaTeX dependencies in terms of new pkgs (DEPS)
Location:
NEMO/trunk/doc/latex/global
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • NEMO/trunk/doc/latex/global

    • Property svn:ignore set to
      *.aux
  • NEMO/trunk/doc/latex/global/new_cmds.tex

    r11174 r11176  
    22%% ============================================================================== 
    33 
     4%% Include references and index for compilation of single subfile  
     5\newcommand{\mtoc}{\minitoc} 
     6\newcommand{\biblio}{\bibliography{../main/bibliography}} 
     7\newcommand{\pindex}{\printindex} 
     8 
    49%% NEMO and Fortran in small capitals 
    5 \newcommand{\NEMO}{\textsc{nemo}} 
    6 \newcommand{\fortran}{\textsc{Fortran}} 
    7 \newcommand{\fninety}{\textsc{Fortran 90}} 
     10\newcommand{\NEMO}{\textsc{nemo}~} 
     11\newcommand{\fortran}{\textsc{Fortran}~} 
     12\newcommand{\fninety}{\textsc{Fortran 90}~} 
    813 
    914%% Common aliases 
     
    1318\newcommand{\ztilde}{\ensuremath{\tilde z}} 
    1419\newcommand{\stilde}{\ensuremath{\tilde s}} 
    15 \newcommand{\ie}{\ensuremath{i.e.}} 
    16 \newcommand{\eg}{\ensuremath{e.g.}} 
     20\newcommand{\ie}{\ensuremath{i.e.}~} 
     21\newcommand{\eg}{\ensuremath{e.g.}~} 
    1722 
    1823%% Inline maths 
     
    2227%% Text env. for Gurvan 
    2328\newcommand{\gmcomment}[1]{} 
    24  
    25 %% Index entries (italic font for files, preformat for code) 
    26 \newcommand{\hf}[1]{\textit{#1.h90}            \index{h90 files!#1}} 
    27 \newcommand{\ifile}[1]{\textit{#1.nc}          \index{Input NetCDF files!#1.nc}} 
    28 \newcommand{\jp}[1]{\texttt{#1}                \index{Model parameters!#1}} 
    29 \newcommand{\key}[1]{\texttt{\textbf{key\_#1}} \index{CPP keys!key\_#1}} 
    30 \newcommand{\mdl}[1]{\textit{#1.F90}           \index{Modules!#1}} 
    31 \newcommand{\ngn}[1]{\texttt{#1}               \index{Namelist Group Names!#1}} 
    32 \newcommand{\np}[1]{\texttt{#1}                \index{Namelist parameters!#1}} 
    33 \newcommand{\rou}[1]{\texttt{#1}               \index{Routines!#1}} 
    3429 
    3530%% Maths 
Note: See TracChangeset for help on using the changeset viewer.