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

Ignore:
Timestamp:
2019-07-03T21:21:59+02:00 (5 years ago)
Author:
nicolasmartin
Message:

Mainly some modifications to enable the compilation of the manual by dedicated LaTeX editors
The compilation options have been gathered within latexmkrc RC file for Latexmk,
this has been tested successfully for 2 cross-platform softwares: Texmaker & TeXstudio?
Don't be able to test it under TeXShop for MacOS, but it should be portable as
it requires only to modify the configuration of few cmds: LaTeX, PdfLaTeX, Latexmk & PDF viewer
For a comprehensive list of available LaTeX editors, see https://en.wikibooks.org/wiki/LaTeX/Installation#Cross-platform)

Other changes

  • Rectification of the required list for LaTeX pkgs
  • Append thanks.tex with the first reviewers of chapters
  • Configuration of the background color for namelists
  • Testing of colors for different types of links
Location:
NEMO/trunk/doc/latex/global
Files:
6 edited

Legend:

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

    r11187 r11212  
    6262\listoffigures 
    6363\listoftables 
     64\listoflistings 
    6465 
    6566\clearpage 
  • NEMO/trunk/doc/latex/global/highlighting.tex

    r11176 r11212  
    55 
    66%% Global highlighting style 
    7 \setminted{style=emacs, fontsize=\scriptsize, breaklines, frame=leftline} 
     7\definecolor{bg}{HTML}{f8f8f8} 
     8\usemintedstyle{emacs} 
     9\setminted{bgcolor=bg, fontsize=\scriptsize, breaklines, frame=leftline} 
    810\setminted[xml]{style=borland} %% Specific per language 
    911 
     
    2628\newmintinline[xmlcode]{xml}{    fontsize=auto, frame=lines}   % \xmlcode{...} 
    2729\newmintinline[snippet]{console}{fontsize=auto, frame=lines}   % \snippet{...} 
     30 
     31%% Namelists inclusion 
     32\newcommand{\nlst}[1]{\forfile{../../../namelists/#1}} 
     33 
  • NEMO/trunk/doc/latex/global/indexes.tex

    r11189 r11212  
    2727%  pdfauthor={\firstauthor and \secondauthor}, 
    2828  colorlinks, 
    29   urlcolor=blue 
     29  citecolor=olive, 
     30  linkcolor=blue, 
     31  urlcolor=gray 
    3032} 
  • NEMO/trunk/doc/latex/global/latexmkrc

    r11178 r11212  
    11 
    2 $silent = 1; 
     2## Defaults 
     3$silent   = 1; 
    34$pdf_mode = 1; 
    4 $makeindex = "makeindex -s %R.ist %O -o %D %S"; 
    5 $pdflatex = 'pdflatex -shell-escape %O %S'; 
    65 
     6## Using relative paths 
     7$ENV{'openout_any'}='a'; 
     8$out_dir = '../build'; 
     9 
     10## Custom cmds 
     11$makeindex = 'makeindex -s %R.ist %O -o %D %S'; 
     12$pdflatex  = 'pdflatex -shell-escape %O %S'; 
     13 
     14#@BIBINPUTS=('.', '../main'); 
     15#$bibtex    = 'bibtex %O ../main/bibliography.bib'; 
     16#$kpsewhich = 'kpsewhich bibliography.bib' 
     17 
  • NEMO/trunk/doc/latex/global/new_cmds.tex

    r11187 r11212  
    3434\newcommand{\pd}[2][]{\ensuremath{\frac{\partial #1}{\partial #2}}} 
    3535 
    36 %% Namelists inclusion 
    37 \newcommand{\nlst}[1]{\forfile{../../../namelists/#1}} 
    38  
    3936%% Workaround for issue with \listoffigures 
    4037\DeclareRobustCommand{\triad}[6][]{\ensuremath{{}_{#2}^{#3}{\mathbb{#4}_{#1}}_{#5}^{\,#6}}} 
  • NEMO/trunk/doc/latex/global/styles.tex

    r11189 r11212  
    88\renewcommand{\bibpostamble}{\end{multicols}} 
    99 
    10 %% Additionnal fonts 
     10%% Additional fonts 
    1111\DeclareMathAlphabet{\mathpzc}{OT1}{pzc}{m}{it} 
    1212 
Note: See TracChangeset for help on using the changeset viewer.