Changeset 11120 for NEMO/trunk/doc/manual_build.sh
- Timestamp:
- 2019-06-17T12:14:19+02:00 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
NEMO/trunk/doc/manual_build.sh
r11043 r11120 5 5 6 6 ## latekmk options 7 opts='-shell-escape -quiet -pdf' 7 opts='-shell-escape -pdf -quiet' 8 export openout_any='a' 8 9 9 10 ## Default selection for models 10 11 if [ "$1" = 'all' ]; then 11 12 models='NEMO SI3 TOP' 12 13 elif [ "$1" = '' ]; then 13 14 models='NEMO' 14 15 else 15 16 models=$* 16 17 fi 17 18 … … 24 25 25 26 ## LaTeX installation, find latexmk should be enough 26 [ -z $( which latexmk ) ] && { echo 'latexmk binary is not present => QUIT'; exit 2; } 27 [ -z $( which latexmk ) ] && { echo 'latexmk not installed => QUIT'; exit 2; } 28 29 ## Pygments package for syntax highlighting of source code (namelists & snippets) 30 [ -n "$( ./tools/check_pkg.py pygments )" ] && { echo 'Python pygments is missing => QUIT'; exit 2; } 27 31 28 32 ## Retrieve figures if not already there 29 33 if [ ! -d latex/figures ]; then 30 31 34 printf "Downloading of shared figures and logos\n\n" 35 svn co https://forge.ipsl.jussieu.fr/nemo/svn/utils/figures latex/figures > /dev/null 32 36 fi 33 34 ## Pygments package for syntax highlighting of source code (namelists & snippets)35 [ -n "$( ./tools/check_pkg.py pygments )" ] && { exit 2; }36 37 37 38 … … 40 41 41 42 for model in $models; do 42 echo $model 43 clean $model; build $model 44 printf "\t¤ End of building run\n" 45 printf "\t The export should be available at root\n" 46 printf "\t If not check LaTeX log in ./latex/$model/main/${model}_manual.log\n" 47 echo 43 echo $model 44 clean $model 45 build $model 46 printf "\t¤ End of building run\n" 47 printf "\t The export should be available at root\n" 48 printf "\t If not check LaTeX log in ./latex/$model/build/${model}_manual.log\n" 49 echo 48 50 done 49 51
Note: See TracChangeset
for help on using the changeset viewer.