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.
shr_func.sh in NEMO/trunk/doc/tools – NEMO

source: NEMO/trunk/doc/tools/shr_func.sh

Last change on this file was 14257, checked in by nicolasmartin, 3 years ago

Overall review of LaTeX sources (not tested completely as of now):

  • Reworking global files: main document.tex, add glossary.tex, cosmetic changes...
  • Ignore missing namelists (namsbc_isf, namsbc_iscpl and namptr)
  • Removal of references for unused indices (\hfile, \ifile and \jp)
  • Update of .svnignore and svn:ignore properties accordingly
  • Split of manual abstract into a common NEMO abs for all and a specific one for each engine
  • Shrinking variables names used in the frontmatter
  • Property svn:executable set to *
File size: 364 bytes
Line 
1#!/bin/sh
2
3clean() {
4    printf "\t¤ Clean previous build"
5    find latex/$1/build -mindepth 1 -delete
6    echo
7}
8
9build() {
10    printf "\t¤ Generation of the PDF export of the manual\n"
11    latexmk -r ./latex/global/latexmk.pl ./latex/$1/main/$1_manual \
12   1> /dev/null
13    [ -f ./latex/$1/build/$1_manual.pdf ] && mv ./latex/$1/build/$1_manual.pdf .
14    echo
15}
Note: See TracBrowser for help on using the repository browser.