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 12149 for NEMO/branches/2019/ENHANCE-03_closea/doc/tools/shr_func.sh – NEMO

Ignore:
Timestamp:
2019-12-10T15:03:24+01:00 (4 years ago)
Author:
ayoung
Message:

Updated trunk to 12072

Location:
NEMO/branches/2019/ENHANCE-03_closea/doc
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • NEMO/branches/2019/ENHANCE-03_closea/doc

    • Property svn:externals set to
      ^/utils/badges badges
      ^/utils/logos logos
  • NEMO/branches/2019/ENHANCE-03_closea/doc/tools/shr_func.sh

    r11177 r12149  
    22 
    33clean() { 
    4     ## Not sure if this step is needed, guess latexmk should be able to detect a change 
    54    printf "\t¤ Clean previous build" 
    6     find latex/$1/build -mindepth 1 -prune -exec rm -rf {} \; 
    7  
    8     ## HTML exports 
    9     #printf '   - possible HTML export' 
    10     #find latex/$1 -type d -name 'html*'    -exec rm -r {} \; 
     5    find latex/$1/build -mindepth 1 -delete 
    116 
    127    echo 
     
    1510build() { 
    1611    printf "\t¤ Generation of the PDF format\n" 
    17     latexmk -r  ./latex/global/latexmkrc  \ 
    18        -cd ./latex/$1/main/$1_manual \ 
    19        -outdir=../build              \ 
    20        1> /dev/null 
     12    latexmk -r  ./latex/global/latexmk.pl -pdfxe ./latex/$1/main/$1_manual \ 
     13#  1> /dev/null 
    2114    [ -f ./latex/$1/build/$1_manual.pdf ] && mv ./latex/$1/build/$1_manual.pdf . 
    2215    echo 
    2316} 
    24  
Note: See TracChangeset for help on using the changeset viewer.