Ignore:
Timestamp:
2018-12-18T10:48:38+01:00 (2 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
File:
1 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 
Note: See TracChangeset for help on using the changeset viewer.