Changeset 463 for trunk


Ignore:
Timestamp:
12/14/11 12:54:02 (12 years ago)
Author:
soclod
Message:

amelioration de tex

Location:
trunk/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/presentation_lpao.sh

    r396 r463  
    2121# 
    2222# .. option:: -a application 
    23 #                matlab or octave 
     23#                matlab or octave  
    2424# 
    2525# - Run :func:`presentation_lpao` with `octave`` or 
     
    6868# move this tool in a publication part 
    6969# 
     70# faire propre sur le pb de détection de la présence de matlab/octave 
     71# en fonction des systemes 
     72# 
    7073# EVOLUTIONS 
    7174# ========== 
     
    7578# $URL$ 
    7679# 
     80# - fplod/soclod 20111214 
     81# 
     82#   * affreux patch car octave est un alias sur mac 
     83#     et les alias ne sont pas connus dans un shell !! 
    7784# - fplod 20110923T074512Z aedon.locean-ipsl.upmc.fr (Darwin) 
    7885# 
     
    9299  echo " www : no specific posix checking" 
    93100;; 
     101Darwin) 
     102  octavecmd=/Applications/Octave.app/Contents/Resources/bin/octave 
     103  set -o posix 
     104;; 
    94105*) 
    95106  set -o posix 
    96107;; 
    97108esac 
    98 unset system 
    99109# 
    100110set -u 
     
    119129# 
    120130# default 
    121 application=octave 
     131application=${octavecmd} 
    122132# 
    123133minargcount=2 
     
    144154done 
    145155# 
     156case ${application} in 
     157octave) 
     158 application=${octavecmd} 
     159;; 
     160esac 
    146161log=${PROJECT_LOG}/$(basename ${0} .sh).log.${log_date} 
    147162echo "[Context]" 1>> ${log} 
     
    181196 status=${?} 
    182197;; 
    183 octave) 
    184  ${timecmd} octave --silent ${script} 1>> ${log} 2>&1 
     198${octavecmd}) 
     199 ${timecmd} ${octavecmd} --silent ${script} 1>> ${log} 2>&1 
    185200 status=${?} 
    186201;; 
     
    211226# 
    212227unset log_date 
     228unset system 
    213229# 
    214230exit 
  • trunk/src/varamma_profile.sh

    r404 r463  
    5858# MATLABPATH is initialize to tell matlab where find tools. 
    5959# 
    60 # ${VARAMMA_OD} is added to the LaTeX environnement variable ${TEXINPUTS}. 
    6160# 
    6261# SEE ALSO 
     
    130129# 
    131130# $Id$ 
     131# 
     132# - fplod/soclod 20111214 
     133# 
     134#   *  suppress TEXINPUTS definition : too many side effects 
    132135# 
    133136# - soclod/fplod 20111025 
     
    412415set -u 
    413416# 
    414 # setup for LaTeX 
    415 set +u 
    416 if [ "${TEXINPUTS}" = "" ] 
    417 then 
    418     TEXINPUTS=.:${VARAMMA_OD}  
    419 else 
    420     TEXINPUTS=.:${TEXINPUTS}:${VARAMMA_OD}  
    421 fi 
    422 set -u 
    423 export TEXINPUTS 
    424 # 
    425417# setup for matlab 
    426418MATLABPATH=${VARAMMA} 
Note: See TracChangeset for help on using the changeset viewer.