Changeset 11598 for NEMO/trunk/doc/tools


Ignore:
Timestamp:
2019-09-25T22:00:42+02:00 (17 months ago)
Author:
nicolasmartin
Message:

Add template of versioning record at the beginning of chapters

File:
1 edited

Legend:

Unmodified
Added
Removed
  • NEMO/trunk/doc/tools/shr_func.sh

    r11212 r11598  
    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 -not -name $1_manual.pyg -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        1> /dev/null 
     12    latexmk -r  ./latex/global/latexmk.pl -pdfxe ./latex/$1/main/$1_manual \ 
     13#  1> /dev/null 
    2014    [ -f ./latex/$1/build/$1_manual.pdf ] && mv ./latex/$1/build/$1_manual.pdf . 
    2115    echo 
    2216} 
    23  
Note: See TracChangeset for help on using the changeset viewer.