Changeset 307 for branches


Ignore:
Timestamp:
03/25/13 16:49:02 (11 years ago)
Author:
pinsard
Message:

first usage of biber instead of bibtex

Location:
branches/bibliolocean/src
Files:
1 added
1 edited

Legend:

Unmodified
Added
Removed
  • branches/bibliolocean/src/genbib.sh

    r274 r307  
    3030# check for all chemical and physical expressions 
    3131# 
     32# ++ doublons 
     33# 
     34# ask for installation of biber on cratos 
     35# 
     36# jabref.preferences.xml : cleaning 
     37# 
     38# jabref doesn't handle multiple url 
     39# 
     40# could not encode : still some trouble with degre sign 
     41# 
    3242# add a test on unescaped ampersand 
    3343# 
     
    8595# 
    8696# $URL$ 
     97# 
     98# - fplod 20130325T145636Z halios.locean-ipsl.upmc.fr (Darwin) 
     99# 
     100#   * add usage of biber (only on halios now) 
    87101# 
    88102# - fplod 20121108T094612Z cratos.locean-ipsl.upmc.fr (Linux) 
     
    248262#   * add latex+bibtex processing 
    249263# 
    250 # TODO 
    251 # ==== 
    252 # 
    253 # ++ doublons 
    254 # 
    255 # jabref.preferences.xml : cleaning 
    256 # 
    257 # jabref doesn't handle multiple url 
    258 # 
    259 # could not encode : still some trouble with degre sign 
    260 # 
    261 # installation de bibtool sur zeus 
    262 # 
     264#- 
    263265set -u 
    264266command=$(basename ${0}) 
     
    527529done 
    528530 
    529 echo "fin 1re passe latex" 
     531echo "fin 1re passe latex+bibtex" 
    530532read a 
     533# 
     534# test if biber available 
     535tool=biber 
     536type ${tool} 1> /dev/null 2>&1 
     537status=${?} 
     538if [ ${status} -ne 0 ] 
     539then 
     540   echo "${command} : eee : ${tool} unavailable" >&2 
     541else 
     542   style=biber 
     543   # processing bibliography with pdflatex (${dirwww}/${biblioref}.${style}.pdf) 
     544   rm ${dirwww}/$(basename ${biblioref}.${style}.log .log).* 2> /dev/null 
     545   sed -e "s@ginette@${biblioref}@" biblio_biber_biblatex.tex > ${biblioref}.${style}.tex 
     546   pdflatex -output-directory ${dirwww} ${biblioref}.${style}.tex 
     547   biber ${dirwww}/$(basename ${biblioref}.${style}) 
     548   #++ warnings 
     549   pdflatex -output-directory ${dirwww} ${biblioref}.${style}.tex 
     550   pdflatex -output-directory ${dirwww} ${biblioref}.${style}.tex 
     551   # 
     552   # remove temporary latex files 
     553   #++rm ${dirwww}/$(basename ${biblioref}.${style}.bbl) ${dirwww}/$(basename ${biblioref}.${style}.blg) ${dirwww}/$(basename ${biblioref}.${style}.log) ${dirwww}/$(basename ${biblioref}.${style}.aux) ${dirwww}/$(basename ${biblioref}.${style}.bcf) ${dirwww}/$(basename ${biblioref}.${style}.run.xml) 2> /dev/null 
     554   echo "cf. ${biblioref}.${style}.tex and ${dirwww}/*biber*" #++ 
     555   # 
     556   #++rm ${biblioref}.${style}.tex 2> /dev/null 
     557fi 
     558unset tool 
     559unset status 
     560echo "fin 1re passe latex+biber" 
     561read a 
     562# 
    531563# pour vérifier que j'ai bien tout mes styles d'exportation 
    532564# pour mémoire 
Note: See TracChangeset for help on using the changeset viewer.