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 10405 – NEMO

Changeset 10405


Ignore:
Timestamp:
2018-12-18T10:48:38+01:00 (5 years ago)
Author:
nicolasmartin
Message:

Add .svnignore for managing globally the skiping files and switch to latexmk to build the documentation from LaTeX

  • Use .svnignore to update the extensions list and apply it with svn pset -R svn:ignore -F .svnignore latex
  • Latexmk is a LaTeX package (https://www.ctan.org/pkg/latexmk) which takes care of the compilation process, in particular the update of the cross-references
Location:
NEMO/trunk/doc
Files:
1 added
15 edited

Legend:

Unmodified
Added
Removed
  • NEMO/trunk/doc/PDF_creation.sh

    r10146 r10405  
    22 
    33 
    4 export opts='-shell-escape -interaction=nonstopmode' 
     4export opts='-shell-escape -pdf' 
    55model='NEMO' 
    66 
    77clean() { 
    88    ## Delete latex build files 
    9     find latex -regextype posix-extended -regex ".*\.(aux|log|maf|mtc|out|toc).*" -exec rm {} \; 
     9    find latex -regextype posix-extended                                              \ 
     10         -regex ".*\.(aux|bbl|blg|dvi|fdb|fls|idx|ilg|ind|log|maf|mtc|out|pdf|toc).*" \ 
     11         -exec rm {} \; 
    1012 
    1113    ## Remove 'minted' directories 
     
    1820build() { 
    1921    cd latex/$1/main 
    20  
    21     latex     $opts              $1'_manual' > /dev/null 
    22     makeindex -s $1'_manual'.ist $1'_manual' > /dev/null 
    23     bibtex                       $1'_manual' > /dev/null 
    24     #latex     $opts              $1'_manual' > /dev/null 
    25     pdflatex  $opts              $1'_manual' > /dev/null 
    26  
    27     mv $1'_manual'.pdf ../../.. 
     22    latexmk $opts $1'_manual' > /dev/null 
     23    mv            $1'_manual'.pdf ../../.. 
    2824    cd - 
    2925} 
    3026 
    3127clean 
    32 build    $model 
     28build $model 
    3329 
    3430exit 0 
  • NEMO/trunk/doc/latex

    • Property svn:ignore set to
      *.aux
      *.bbl
      *.blg
      *.dvi
      *.fdb_latexmk
      *.fls
      *.idx
      *.ilg
      *.ind
      *.log
      *.maf
      *.mtc*
      *.out
      *.pdf
      *.toc
      _minted-*
  • NEMO/trunk/doc/latex/NEMO

    • Property svn:ignore set to
      *.aux
      *.bbl
      *.blg
      *.dvi
      *.fdb_latexmk
      *.fls
      *.idx
      *.ilg
      *.ind
      *.log
      *.maf
      *.mtc*
      *.out
      *.pdf
      *.toc
      _minted-*
  • NEMO/trunk/doc/latex/NEMO/main

    • Property svn:ignore
      •  

        old new  
        33*.blg 
        44*.dvi 
         5*.fdb_latexmk 
         6*.fls 
        57*.idx 
        68*.ilg 
  • NEMO/trunk/doc/latex/NEMO/main/NEMO_manual.tex

    r10146 r10405  
    3434 
    3535\title{ 
    36 \vspace{-6.0cm}\includegraphics[width=1.1\textwidth]{logo_ALL}          \\ 
    37 \vspace{ 5.1cm}\includegraphics[width=0.9\textwidth]{NEMO_logo_Black}   \\ 
     36%\vspace{-6.0cm}\includegraphics[width=1.1\textwidth]{logo_ALL}            \\ 
     37%\vspace{ 5.1cm}\includegraphics[width=0.9\textwidth]{NEMO_logo_Black}  \\ 
    3838\vspace{ 1.4cm}\rule{345pt}{1.5pt}                                      \\ 
    3939\vspace{0.45cm}{\Huge NEMO ocean engine}                                \\ 
  • NEMO/trunk/doc/latex/NEMO/subfiles

    • Property svn:ignore set to
      *.aux
      *.bbl
      *.blg
      *.dvi
      *.fdb_latexmk
      *.fls
      *.idx
      *.ilg
      *.ind
      *.log
      *.maf
      *.mtc*
      *.out
      *.pdf
      *.toc
      _minted-*
  • NEMO/trunk/doc/latex/NEMO/subfiles/chap_SBC.tex

    r10373 r10405  
    12071207\label{subsec:SBC_wave_cdgw} 
    12081208 
    1209 The neutral surface drag coefficient provided from an external data source ($i.e.$ a wave 
    1210 model),  
     1209The neutral surface drag coefficient provided from an external data source ($i.e.$ a wave model),  
    12111210can be used by setting the logical variable \np{ln\_cdgw} \forcode{= .true.} in \ngn{namsbc} namelist.  
    12121211Then using the routine \rou{turb\_ncar} and starting from the neutral drag coefficent provided,  
  • NEMO/trunk/doc/latex/SI3

    • Property svn:ignore set to
      *.aux
      *.bbl
      *.blg
      *.dvi
      *.fdb_latexmk
      *.fls
      *.idx
      *.ilg
      *.ind
      *.log
      *.maf
      *.mtc*
      *.out
      *.pdf
      *.toc
      _minted-*
  • NEMO/trunk/doc/latex/SI3/Figures

    • Property svn:ignore set to
      *.aux
      *.bbl
      *.blg
      *.dvi
      *.fdb_latexmk
      *.fls
      *.idx
      *.ilg
      *.ind
      *.log
      *.maf
      *.mtc*
      *.out
      *.pdf
      *.toc
      _minted-*
  • NEMO/trunk/doc/latex/SI3/Figures/drafts

    • Property svn:ignore set to
      *.aux
      *.bbl
      *.blg
      *.dvi
      *.fdb_latexmk
      *.fls
      *.idx
      *.ilg
      *.ind
      *.log
      *.maf
      *.mtc*
      *.out
      *.pdf
      *.toc
      _minted-*
  • NEMO/trunk/doc/latex/SI3/Figures/scripts

    • Property svn:ignore set to
      *.aux
      *.bbl
      *.blg
      *.dvi
      *.fdb_latexmk
      *.fls
      *.idx
      *.ilg
      *.ind
      *.log
      *.maf
      *.mtc*
      *.out
      *.pdf
      *.toc
      _minted-*
  • NEMO/trunk/doc/latex/SI3/namelists

    • Property svn:ignore set to
      *.aux
      *.bbl
      *.blg
      *.dvi
      *.fdb_latexmk
      *.fls
      *.idx
      *.ilg
      *.ind
      *.log
      *.maf
      *.mtc*
      *.out
      *.pdf
      *.toc
      _minted-*
  • NEMO/trunk/doc/latex/SI3/tex_main

    • Property svn:ignore
      •  

        old new  
        33*.blg 
        44*.dvi 
         5*.fdb_latexmk 
         6*.fls 
        57*.idx 
        68*.ilg 
  • NEMO/trunk/doc/latex/SI3/tex_sub

    • Property svn:ignore set to
      *.aux
      *.bbl
      *.blg
      *.dvi
      *.fdb_latexmk
      *.fls
      *.idx
      *.ilg
      *.ind
      *.log
      *.maf
      *.mtc*
      *.out
      *.pdf
      *.toc
      _minted-*
  • NEMO/trunk/doc/latex/TOP

    • Property svn:ignore set to
      *.aux
      *.bbl
      *.blg
      *.dvi
      *.fdb_latexmk
      *.fls
      *.idx
      *.ilg
      *.ind
      *.log
      *.maf
      *.mtc*
      *.out
      *.pdf
      *.toc
      _minted-*
Note: See TracChangeset for help on using the changeset viewer.