- Timestamp:
- 11/12/12 12:56:16 (12 years ago)
- Location:
- branches/bibliolocean/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/bibliolocean/src/genbib.sh
r269 r274 139 139 # - fplod 20110427T110808Z cratos.locean-ipsl.upmc.fr (Linux) 140 140 # 141 # * la production pdfla etx+bibtex ne fonctionne plus sur aedon.141 # * la production pdflatex+bibtex ne fonctionne plus sur aedon. 142 142 # malgrè le changement d'installation (port vs fink) rien à faire ! 143 143 # donc - et ça va plutôt dans le bon sens - machine de référence = cratos. -
branches/bibliolocean/src/genprehal.sh
r269 r274 38 38 # $URL$ 39 39 # 40 # - fplod 20121109T104828Z cratos.locean-ipsl.upmc.fr (Linux) 41 # 42 # * ajout de la production d'un pdf pour pouvoir faire des copier/coller 43 # parce que l'importaion massive trop pénible vue la mauvaise volonte 44 # de HAL (plus de XSD facilement accessible, doc pas à jour etc.) 45 # 40 46 # - fplod 20121108T124317Z cratos.locean-ipsl.upmc.fr (Linux) 41 47 # … … 57 63 # 58 64 . jabref_header.sh 65 . jabref_rtf.sh 59 66 # 60 67 log_date=$(date -u +"%Y%m%dT%H%M%SZ") … … 79 86 # 80 87 tmpdir=${PROJECT_LOG}/gtbiblio/prehal/ 81 dirwww=${PROJECT_OD}/public_html/gtbiblio/prehal/82 88 rm -rf ${tmpdir} 2> /dev/null 83 89 mkdir -p ${tmpdir} 84 rm -rf ${dirwww} 2> /dev/null85 mkdir -p ${dirwww}86 90 # 87 91 # usefull artificial header of jabref file to enforce encoding … … 95 99 fbibmissinghalidfull=${tmpdir}/missinghalidfull.bib 96 100 fcitemissinghalidfull=${tmpdir}/missinghalidfull_cite 97 nlmax=30 101 #nlmax=30 102 nlmax=2000 103 #bib2bib -c 'not exists hal_id' -c 'loceanteam = "mmsa"' \ 98 104 bib2bib -c 'not exists hal_id' \ 99 105 -ob ${fbibmissinghalidfull} \ 100 106 -oc ${fcitemissinghalidfull} \ 101 107 ${biblioreffull} 108 read a 102 109 if [ ! -s {fcitemissinghalidfull} ] 103 110 then 104 111 echo "${LINENO} : eee : some hal_id in ${biblioreffull}" 105 112 echo "see ${fcitemissinghalidfull}" 113 style="plain" 114 # generation of latex file 115 cat << EOF > ${fbibmissinghalidfull}.${style}.tex 116 \documentclass[a4paper]{article} 117 %++\usepackage[frenchb]{babel} 118 \usepackage[latin1]{inputenc} 119 \begin{document} 120 % force to include all entry of the bibliography 121 \nocite{*} 122 % bibliography 123 \bibliographystyle{${style}} 124 \bibliography{${fbibmissinghalidfull}} 125 \end{document} 126 EOF 127 # processing bibliography with pdflatex (${tmpdir}/${fbibmissinghalidfull}.${style}.pdf) 128 pdflatex -output-directory ${tmpdir} ${fbibmissinghalidfull}.${style}.tex 129 bibtex ${tmpdir}/$(basename ${fbibmissinghalidfull}.${style}) 130 #++ warnings 131 pdflatex -output-directory ${tmpdir} ${fbibmissinghalidfull}.${style}.tex 132 pdflatex -output-directory ${tmpdir} ${fbibmissinghalidfull}.${style}.tex 133 # 134 read a 135 # remove temporary latex files 136 rm ${tmpdir}/$(basename ${fbibmissinghalidfull}.${style}.bbl) ${tmpdir}/$(basename ${fbibmissinghalidfull}.${style}.blg) ${tmpdir}/$(basename ${fbibmissinghalidfull}.${style}.log) ${tmpdir}/$(basename ${fbibmissinghalidfull}.${style}.aux) 2> /dev/null 137 # 138 #++rm ${fbibmissinghalidfull}.${style}.tex 2> /dev/null 139 echo "fin 1re passe latex" 140 # genereation rtf 141 jabref_rtf ${PROJECT}/../branches/bibliolocean/src/jabref.preferences.xml \ 142 ${fbibmissinghalidfull} toto.rtf 143 # 106 144 # more than ${nlmax} entries ? 107 145 nltot=$(wc -l ${fcitemissinghalidfull} | awk '{print $1}')
Note: See TracChangeset
for help on using the changeset viewer.