Index: unk/before.sh
===================================================================
--- /trunk/before.sh	(revision 355)
+++ 	(revision )
@@ -1,242 +1,0 @@
-#! /bin/sh
-#+
-#
-# .. program:: before.sh
-#
-# =========
-# before.sh
-# =========
-#
-# --------------------------------
-# preparation of results directory
-# --------------------------------
-#
-# SYNOPSIS
-# ========
-#
-# .. code-block:: sh
-#
-#    before.sh -p product -s dirsrc -w dirwww -l lang -mono|-multi -m nmany
-#
-# DESCRIPTION
-# ===========
-#
-# preparation of temporary (before deployment) of superbib results directory
-#  - tree;
-#  - copy of constant images copie des images;
-#  - copy of CSS style sheet;
-#  - etc.
-#
-# .. option:: -s  <source directory>
-# .. option:: -w  <output directory>
-# .. option:: -l  <language>
-# .. option:: -mono
-#
-#    +todo+
-#
-# .. option:: -multi
-#
-#    +todo+
-#
-# .. option:: -m
-#
-#    +todo+
-#
-# EXAMPLES
-# ========
-#
-# TODO
-# ====
-#
-# il faudrait autoriser plusieurs fois l'option :option:`-l` et utiliser un tableau de
-# langues pour crÃ©er autant de rÃ©pertoires qu'il faut.
-#
-# EVOLUTIONS
-# ==========
-#
-# $Id$
-#
-# - fplod 2008-09-16T15:19:59Z aedon.locean-ipsl.upmc.fr (Darwin)
-#
-#   * comments in reStructuredText
-#
-# - fplod 2008-06-16T09:48:22Z aedon.locean-ipsl.upmc.fr (Darwin)
-#
-#   * add copy of documents
-#
-# - fplod 2007-10-17T12:22:57Z aedon.locean-ipsl.upmc.fr (Darwin)
-#
-#   * parametrisation of number of "many" presentation
-#
-# - fplod 2007-09-28T08:43:10Z aedon.locean-ipsl.upmc.fr (Darwin)
-#
-#   * parametrisation and translation
-#
-# - fplod 2007-03-30T09:55:49Z aedon.locean-ipsl.upmc.fr (Darwin)
-#
-#   * crÃ©ation
-#
-#-
-#
-system=$(uname)
-case "${system}" in
-    AIX|IRIX64)
-        echo " www : no specific posix checking"
-    ;;
-    *)
-        set -o posix
-    ;;
-esac
-unset system
-#
-set -u
-#
-command=$(basename ${0})
-log_date=$(date -u +"%Y%m%dT%H%M%SZ")
-log=/tmp/$(basename ${command} .sh).log.${log_date}
-#
-usage=" Usage : ${command} -p product -s dirsrc -w dirwww -l lang -mono|-multi -m nmany"
-#
-minargcount=9
-#echo " narg ${#}"
-if [ ${#} -lt ${minargcount} ]
-then
-    echo "eee : not enough arguments (${#} vs ${minargcount})"
-    echo "${usage}"
-    exit 1
-fi
-unset minargcount
-#
-# default
-nmany=0
-#
-while [ ${#} -gt 0 ]
-do
-    case ${1} in
-        -p)
-            product=${2}
-            shift
-        ;;
-        -s)
-            dirsrc=${2}
-            shift
-        ;;
-        -w)
-            dirwww=${2}
-            shift
-        ;;
-        -l)
-            lang=${2}
-            shift
-        ;;
-        -mono)
-            monolingual=1
-         ;;
-        -multi)
-            monolingual=0
-        ;;
-        -m)
-            nmany=${2}
-            shift
-        ;;
-    esac
-    # next flag
-    shift
-done
-unset usage
-#
-# destruction of previous installation
-/bin/rm -r ${dirwww}/ 2> /dev/null
-#
-# building of directories
-if [ -d ${dirsrc}/images/ ]
-then
-    mkdir -p ${dirwww}/images/
-    if [ ${nmany} -gt 0 ]
-    then
-        mkdir -p ${dirwww}/${lang}/images/ # ++ parce que un niveau de plus que d'habitude dans les chunks
-    fi
-fi
-#
-if [ -d ${dirsrc}/documents/ ]
-then
-    mkdir -p ${dirwww}/documents/
-fi
-#
-list_php="${dirsrc}/phpversion.php ${dirsrc}/server.php ${dirsrc}/timestamp.php"
-ls ${list_php} 1> /dev/null 2> /dev/null
-exist_php=${?}
-if [ ${exist_php} -eq 0 ]
-then
-    mkdir -p ${dirwww}/php/
-fi
-#
-if [ ${monolingual} -eq 0 ]
-then
-    mkdir -p ${dirwww}/${lang}/one/
-    if [ ${nmany} -gt 0 ]
-    then
-        mkdir -p ${dirwww}/${lang}/many/
-        imany=1
-        while [ ${imany} -le ${nmany} ]
-        do
-            mkdir -p ${dirwww}/${lang}/many/${product}$(printf "%2.2d" ${imany})/
-            imany=$(( ${imany} + 1 ))
-        done
-    fi
-else
-    mkdir -p ${dirwww}/one/
-    if [ ${nmany} -gt 0 ]
-    then
-        mkdir -p ${dirwww}/many/
-        imany=1
-        while [ ${imany} -le ${nmany} ]
-        do
-            mkdir -p ${dirwww}/many/${product}$(printf "%2.2d" ${imany})/
-        done
-    fi
-fi
-#
-if [ ${exist_php} -eq 0 ]
-then
-    for file_php in ${list_php}
-    do
-        cp ${file_php} ${dirwww}/php/
-    done
-fi
-unset exist_php
-#
-if [ -d ${dirsrc}/images/ ]
-then
-    cp ${dirsrc}/images/* ${dirwww}/images/
-    if [ ${nmany} -gt 0 ]
-    then
-        cp ${dirsrc}/images/* ${dirwww}/${lang}/images/ # ++ parce que un niveau de plus que d'habitude dans les chunks
-    fi
-fi
-#
-# copy of documents
-if [ -d ${dirsrc}/documents/ ]
-then
-    cp ${dirsrc}/documents/* ${dirwww}/documents/
-fi
-#
-# copy of CSS
-ls ${dirsrc}/*.css 1> /dev/null 2> /dev/null
-exist_css=${?}
-if [ ${exist_css} -eq 0 ]
-then
-    cp ${dirsrc}/*.css ${dirwww}/
-fi
-unset exist_css
-if [ ${nmany} -gt 0 ]
-then
-    cp ${dirsrc}/*.css ${dirwww}/${lang}/ # ++ parce que un niveau de plus que d'habitude dans les chunks
-fi
-#
-# modification of directory time in order to trigger the generation of HTML
-# files
-find ${dirwww}/ -type d -exec touch -t 199912310000 {} \;
-#
-# end
-exit 0
Index: unk/biblioentry_rest.xsl
===================================================================
--- /trunk/biblioentry_rest.xsl	(revision 355)
+++ 	(revision )
@@ -1,667 +1,0 @@
-<?xml version="1.0" encoding="iso-8859-1"?>
-<xsl:stylesheet
-version="1.0"
-xmlns:d="http://docbook.org/ns/docbook"
-xmlns:xl="http://www.w3.org/1999/xlink"
-xmlns:html="http://www.w3.org/1999/xhtml"
-xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
-
-<!--rst
-
-..  _biblioentry_rest.xsl:
-
-====================
-biblioentry_rest.xsl
-====================
-
-DESCRIPTION
-===========
-
-traitement d'une référence bibliographique (biblioentry) en ReST
-
-EVOLUTIONS
-==========
-
-$Id$
-
-$URL$
-
-- fplod 20120228
-  
-  * creation from biblioentry_rest.xsl 
-
--->
-
-<xsl:include href="correction_db.xsl"/>
-<xsl:include href="category_form.xsl"/>
-<xsl:include href="message_lang.xsl"/>
-
-<xsl:template name="one_biblioentry_rest">
- <xsl:param name="visu_modif"/>
- <xsl:param name="type"/>
- <xsl:param name="my_biblioentry"/>
- <xsl:choose>
-  <xsl:when test="$type = 'bibtex'">
-   <xsl:choose>
-    <xsl:when test="$my_biblioentry/descendant::d:biblioset[@relation='journal']">
-     <xsl:text>@article{</xsl:text>
-    </xsl:when>
-    <xsl:when test="$my_biblioentry/descendant::d:biblioset[@relation='conference']">
-     <xsl:text>@inproceedings{</xsl:text>
-    </xsl:when>
-    <xsl:when test="$my_biblioentry/descendant::d:biblioset[@relation='book']">
-     <xsl:text>@book{</xsl:text>
-    </xsl:when>
-    <xsl:when test="$my_biblioentry/descendant::d:biblioset[@relation='manual']">
-     <xsl:text>@manual{</xsl:text>
-    </xsl:when>
-    <xsl:otherwise>
-     <xsl:message terminate="yes">
-eee : unknown biblioset 1 relation for <xsl:value-of select="ancestor::d:biblioentry/@xml:id"/>
-eee : <xsl:value-of select="$my_biblioentry/descendant::d:biblioset/@relation"/>
-     </xsl:message>
-    </xsl:otherwise>
-   </xsl:choose>
-   <xsl:value-of select="$my_biblioentry/@xml:id"/>
-  </xsl:when> <!-- end of bibtex specific header for biblioentry -->
- </xsl:choose>
- <xsl:element name="listitem">
-  <xsl:element name="para">
-   <xsl:choose>
-    <xsl:when test="$type = 'bibtex'">
-     <xsl:apply-templates select="$my_biblioentry/d:authorgroup" mode="bibtex"/>
-    </xsl:when>
-    <xsl:otherwise>
-     <xsl:apply-templates select="$my_biblioentry/d:authorgroup" mode="raw"/>
-    </xsl:otherwise>
-   </xsl:choose>
-   <xsl:if test="$my_biblioentry/descendant::d:pubdate">
-    <xsl:choose>
-     <xsl:when test="$type = 'bibtex'">
-      <xsl:apply-templates select="$my_biblioentry/descendant::d:pubdate" mode="bibtex"/>
-     </xsl:when>
-     <xsl:otherwise>
-      <xsl:apply-templates select="$my_biblioentry/descendant::d:pubdate" mode="raw"/>
-     </xsl:otherwise>
-    </xsl:choose>
-   </xsl:if>
-    <xsl:if test="$my_biblioentry/descendant::d:date">
-     <xsl:apply-templates select="$my_biblioentry/descendant::d:date"/>
-    </xsl:if>
-   <xsl:choose>
-    <xsl:when test="$type = 'bibtex'">
-     <xsl:apply-templates select="$my_biblioentry/d:title" mode="bibtex"/>
-    </xsl:when>
-    <xsl:otherwise>
-     <xsl:apply-templates select="$my_biblioentry/d:title" mode="raw"/>
-    </xsl:otherwise>
-   </xsl:choose>
-    <xsl:choose>
-     <xsl:when test="$my_biblioentry/descendant::d:biblioset[@relation='journal']">
-      <xsl:choose>
-       <xsl:when test="$type = 'bibtex'">
-        <xsl:apply-templates select="$my_biblioentry/descendant::d:biblioset/child::d:title" mode="bibtex"/>
-       </xsl:when>
-       <xsl:otherwise>
-        <xsl:apply-templates select="$my_biblioentry/descendant::d:biblioset/child::d:title" mode="raw"/>
-       </xsl:otherwise>
-      </xsl:choose>
-      <xsl:if test="$my_biblioentry/descendant::d:publishername">
-       <xsl:choose>
-        <xsl:when test="$type = 'bibtex'">
-         <xsl:apply-templates select="$my_biblioentry/descendant::d:biblioset/child::d:publishername" mode="bibtex"/>
-        </xsl:when>
-        <xsl:otherwise>
-         <xsl:apply-templates select="$my_biblioentry/descendant::d:biblioset/child::d:publishername" mode="raw"/>
-        </xsl:otherwise>
-       </xsl:choose>
-      </xsl:if>
-      <xsl:if test="$my_biblioentry/descendant::d:publisher/d:address">
-       <xsl:choose>
-        <xsl:when test="$type = 'bibtex'">
-         <xsl:apply-templates select="$my_biblioentry/descendant::d:publisher/d:address" mode="bibtex"/>
-        </xsl:when>
-        <xsl:otherwise>
-         <xsl:apply-templates select="$my_biblioentry/descendant::d:publisher/d:address" mode="raw"/>
-        </xsl:otherwise>
-       </xsl:choose>
-      </xsl:if>
-      <xsl:if test="$my_biblioentry/descendant::d:volumenum">
-       <xsl:choose>
-        <xsl:when test="$type = 'bibtex'">
-         <xsl:apply-templates select="$my_biblioentry/descendant::d:volumenum" mode="bibtex"/>
-        </xsl:when>
-        <xsl:otherwise>
-         <xsl:apply-templates select="$my_biblioentry/descendant::d:volumenum" mode="raw"/>
-        </xsl:otherwise>
-       </xsl:choose>
-       <xsl:if test="$my_biblioentry/descendant::d:issuenum">
-        <xsl:choose>
-         <xsl:when test="$type = 'bibtex'">
-          <xsl:apply-templates select="$my_biblioentry/descendant::d:issuenum" mode="bibtex"/>
-         </xsl:when>
-         <xsl:otherwise>
-          <xsl:apply-templates select="$my_biblioentry/descendant::d:issuenum" mode="raw"/>
-         </xsl:otherwise>
-        </xsl:choose>
-        </xsl:if>
-       </xsl:if>
-      <xsl:if test="$my_biblioentry/descendant::d:pagenums">
-       <xsl:choose>
-        <xsl:when test="$type = 'bibtex'">
-         <xsl:apply-templates select="$my_biblioentry/descendant::d:pagenums" mode="bibtex"/>
-        </xsl:when>
-        <xsl:otherwise>
-         <xsl:apply-templates select="$my_biblioentry/descendant::d:pagenums" mode="raw"/>
-        </xsl:otherwise>
-       </xsl:choose>
-      </xsl:if>
-      <xsl:if test="$my_biblioentry/d:biblioid">
-       <xsl:choose>
-        <xsl:when test="$type = 'bibtex'">
-         <xsl:apply-templates select="$my_biblioentry/d:biblioid" mode="bibtex"/>
-        </xsl:when>
-        <xsl:otherwise>
-        <xsl:apply-templates select="$my_biblioentry/d:biblioid" mode="raw"/>
-        </xsl:otherwise>
-       </xsl:choose>
-      </xsl:if>
-      <xsl:if test="$my_biblioentry/descendant::d:biblioset/child::d:bibliomisc">
-       <xsl:choose>
-        <xsl:when test="$type = 'bibtex'">
-         <xsl:apply-templates select="$my_biblioentry/descendant::d:biblioset/child::d:bibliomisc" mode="bibtex"/>
-        </xsl:when>
-        <xsl:otherwise>
-        <xsl:apply-templates select="$my_biblioentry/descendant::d:biblioset/child::d:bibliomisc" mode="raw"/>
-        </xsl:otherwise>
-       </xsl:choose>
-      </xsl:if>
-     </xsl:when>
-     <xsl:when test="$my_biblioentry/descendant::d:biblioset[@relation='conference']">
-      <xsl:choose>
-       <xsl:when test="$type = 'bibtex'">
-        <xsl:apply-templates select="$my_biblioentry/descendant::d:biblioset[@relation='conference']/child::d:title" mode="bibtex"/>
-       </xsl:when>
-       <xsl:otherwise>
-        <xsl:apply-templates select="$my_biblioentry/descendant::d:biblioset/child::d:title" mode="raw"/>
-       </xsl:otherwise>
-      </xsl:choose>
-      <xsl:apply-templates select="$my_biblioentry/descendant::d:biblioset/descendant::d:conftitle"/>
-      <xsl:if test="$my_biblioentry/descendant::d:biblioset/descendant::d:confnum">
-       <xsl:apply-templates select="$my_biblioentry/descendant::d:biblioset/descendant::d:confnum"/>
-      </xsl:if>
-      <xsl:apply-templates select="$my_biblioentry/descendant::d:biblioset/descendant::d:confdates"/>
-       <xsl:choose>
-        <xsl:when test="$type = 'bibtex'">
-         <xsl:apply-templates select="$my_biblioentry/descendant::d:biblioset/descendant::d:address" mode="bibtex"/>
-        </xsl:when>
-        <xsl:otherwise>
-         <xsl:apply-templates select="$my_biblioentry/descendant::d:biblioset/descendant::d:address" mode="raw"/>
-        </xsl:otherwise>
-       </xsl:choose>
-       <xsl:choose>
-        <xsl:when test="$type = 'bibtex'">
-         <xsl:apply-templates select="$my_biblioentry/descendant::d:publishername" mode="bibtex"/>
-        </xsl:when>
-        <xsl:otherwise>
-         <xsl:apply-templates select="$my_biblioentry/descendant::d:publishername" mode="raw"/>
-        </xsl:otherwise>
-       </xsl:choose>
-      <xsl:if test="$my_biblioentry/descendant::d:pagenums">
-       <xsl:choose>
-        <xsl:when test="$type = 'bibtex'">
-         <xsl:apply-templates select="$my_biblioentry/descendant::d:pagenums" mode="bibtex"/>
-        </xsl:when>
-        <xsl:otherwise>
-         <xsl:apply-templates select="$my_biblioentry/descendant::d:pagenums" mode="raw"/>
-        </xsl:otherwise>
-       </xsl:choose>
-      </xsl:if>
-     </xsl:when>
-     <xsl:when test="$my_biblioentry/descendant::d:biblioset[@relation='book']">
-      <xsl:choose>
-       <xsl:when test="$type = 'bibtex'">
-        <xsl:apply-templates select="$my_biblioentry/descendant::d:biblioset[@relation='book']/child::d:title" mode="bibtex"/>
-       </xsl:when>
-       <xsl:otherwise>
-        <xsl:apply-templates select="$my_biblioentry/descendant::d:biblioset/child::d:title" mode="raw"/>
-       </xsl:otherwise>
-      </xsl:choose>
-       <xsl:choose>
-        <xsl:when test="$type = 'bibtex'">
-         <xsl:apply-templates select="$my_biblioentry/descendant::d:publishername" mode="bibtex"/>
-        </xsl:when>
-        <xsl:otherwise>
-         <xsl:apply-templates select="$my_biblioentry/descendant::d:publishername" mode="raw"/>
-        </xsl:otherwise>
-       </xsl:choose>
-      <xsl:if test="$my_biblioentry/descendant::d:pagenums">
-       <xsl:choose>
-        <xsl:when test="$type = 'bibtex'">
-         <xsl:apply-templates select="$my_biblioentry/descendant::d:pagenums" mode="bibtex"/>
-        </xsl:when>
-        <xsl:otherwise>
-         <xsl:apply-templates select="$my_biblioentry/descendant::d:pagenums" mode="raw"/>
-        </xsl:otherwise>
-       </xsl:choose>
-      </xsl:if>
-       <xsl:choose>
-        <xsl:when test="$type = 'bibtex'">
-         <xsl:apply-templates select="$my_biblioentry/descendant::d:biblioid" mode="bibtex"/>
-        </xsl:when>
-        <xsl:otherwise>
-         <xsl:apply-templates select="$my_biblioentry/descendant::d:biblioid" mode="raw"/>
-        </xsl:otherwise>
-       </xsl:choose>
-      </xsl:when>
-     <xsl:when test="$my_biblioentry/descendant::d:biblioset[@relation='manual']">
-      <xsl:choose>
-       <xsl:when test="$type = 'bibtex'">
-        <xsl:apply-templates select="$my_biblioentry/descendant::d:biblioset[@relation='manual']/child::d:title" mode="bibtex"/>
-       </xsl:when>
-       <xsl:otherwise>
-        <xsl:apply-templates select="$my_biblioentry/descendant::d:biblioset/child::d:title" mode="raw"/>
-       </xsl:otherwise>
-      </xsl:choose>
-       <xsl:choose>
-        <xsl:when test="$type = 'bibtex'">
-         <xsl:apply-templates select="$my_biblioentry/descendant::d:publishername" mode="bibtex"/>
-        </xsl:when>
-        <xsl:otherwise>
-         <xsl:apply-templates select="$my_biblioentry/descendant::d:publishername" mode="raw"/>
-        </xsl:otherwise>
-       </xsl:choose>
-       <xsl:choose>
-        <xsl:when test="$type = 'bibtex'">
-         <xsl:apply-templates select="$my_biblioentry/descendant::d:biblioid" mode="bibtex"/>
-        </xsl:when>
-        <xsl:otherwise>
-         <xsl:apply-templates select="$my_biblioentry/descendant::d:biblioid" mode="raw"/>
-        </xsl:otherwise>
-       </xsl:choose>
-     </xsl:when>
-     <xsl:otherwise>
-      <xsl:message terminate="no">
-eee : unknown biblioset 2 relation for <xsl:value-of select="ancestor::d:biblioentry/@xml:id"/>
-eee : <xsl:value-of select="$my_biblioentry/descendant::d:biblioset/@relation"/>
-      </xsl:message>
-       <xsl:choose>
-        <xsl:when test="$type = 'bibtex'">
-         <xsl:apply-templates select="$my_biblioentry/descendant::d:publishername" mode="bibtex"/>
-        </xsl:when>
-        <xsl:otherwise>
-         <xsl:apply-templates select="$my_biblioentry/descendant::d:publishername" mode="raw"/>
-        </xsl:otherwise>
-       </xsl:choose>
-     </xsl:otherwise>
-    </xsl:choose>
-  </xsl:element>
-  <xsl:if test="$visu_modif= 'modif'">
-   <xsl:call-template name="correction">
-    <xsl:with-param name="id" select="$my_biblioentry/@xml:id"/>
-   </xsl:call-template>
-  </xsl:if>
-  <xsl:if test="$visu_modif= 'category'">
-   <xsl:call-template name="category">
-    <xsl:with-param name="id" select="$my_biblioentry/@xml:id"/>
-   </xsl:call-template>
-  </xsl:if>
- </xsl:element>
- <xsl:choose>
-  <xsl:when test="$type = 'bibtex'">
-  <xsl:text>}</xsl:text>
-  </xsl:when>
- </xsl:choose>
-</xsl:template>
-
-<xsl:template match="d:authorgroup" mode="raw">
- <xsl:apply-templates select="d:author" mode="raw"/>
- <xsl:apply-templates select="d:corpauthor" mode="raw"/>
-</xsl:template>
-
-<xsl:template match="d:authorgroup" mode="bibtex">
- <xsl:text>, </xsl:text>
- <xsl:text>author = {</xsl:text>
- <xsl:apply-templates select="d:author" mode="bibtex"/>
- <xsl:apply-templates select="d:corpauthor" mode="bibtex"/>
- <xsl:text>}</xsl:text>
-</xsl:template>
-
-<xsl:template match="d:author|d:corpauthor" mode="raw">
-<!--
-1er auteur Nom, prénom les autres Prenom Nom
-une virgule entre les auteurs sauf entre les deux derniers
--->
-  <xsl:if test="d:personname/d:surname = ''">
-   <xsl:message>
-eee : empty surname for <xsl:value-of select="ancestor::d:biblioentry/@xml:id"/>
-   </xsl:message>
-  </xsl:if>
-  <xsl:if test="d:personname/d:firstname= ''">
-   <xsl:message>
-eee : empty firstname for <xsl:value-of select="ancestor::d:biblioentry/@xml:id"/>
-   </xsl:message>
-  </xsl:if>
-  <xsl:if test="d:personname/d:firstname= '.'">
-   <xsl:message>
-eee : firstname = '.' for <xsl:value-of select="ancestor::d:biblioentry/@xml:id"/>
-   </xsl:message>
-  </xsl:if>
-<!--
-   <xsl:message>
-position de l'auteur <xsl:value-of select="d:personname/d:surname"/> :
-<xsl:value-of select="position()"/> / <xsl:value-of select="count(following-sibling::*)"/>
-</xsl:message>
--->
-
-  <xsl:choose>
-   <xsl:when test="position()=1">
-    <xsl:value-of select="d:personname/d:surname"/><xsl:text>, </xsl:text>
-    <xsl:value-of select="d:personname/d:firstname"/>
-   </xsl:when>
-   <xsl:otherwise>
-    <xsl:value-of select="d:personname/d:firstname"/><xsl:text> </xsl:text>
-    <xsl:value-of select="d:personname/d:surname"/>
-   </xsl:otherwise>
-  </xsl:choose>
-
-<!--
-une virgule entre les auteurs sauf entre les deux derniers
--->
-  <xsl:choose>
-   <xsl:when test="count(following-sibling::*)  &gt; 1"> <!-- plusieurs suivants -->
-    <xsl:text>, </xsl:text>
-   </xsl:when>
-   <xsl:when test="count(following-sibling::*)  = 1">
-<!--
-   <xsl:message>ANDDDDD</xsl:message>
--->
-    <!-- un suivant -->
-    <xsl:call-template name="and">
-     <xsl:with-param name="language" select="/d:bibliography/@xml:lang"/>
-    </xsl:call-template>
-   </xsl:when>
-  </xsl:choose>
-</xsl:template>
-
-<xsl:template match="d:author|d:corpauthor" mode="bibtex">
-<!--
-1er auteur Nom prénom les autres Prenom Nom
-and entre les auteurs
--->
- <xsl:value-of select="d:personname/d:firstname"/><xsl:text> </xsl:text>
- <xsl:value-of select="d:personname/d:surname"/>
-
-<!--
-and entre les auteurs
--->
-  <xsl:choose>
-   <xsl:when test="count(following-sibling::*)  &gt; 0"> <!-- un suivant-->
-    <xsl:text> and </xsl:text>
-   </xsl:when>
-  </xsl:choose>
-</xsl:template>
-
-<xsl:template match="d:biblioentry/d:title" mode="raw">
- <xsl:text> : *</xsl:text>
- <xsl:value-of select="normalize-space(.)"/>
- <xsl:text>*</xsl:text>
-</xsl:template>
-
-<xsl:template match="d:biblioentry/d:title" mode="bibtex">
- <xsl:text>, title = {</xsl:text>
- <xsl:value-of select="normalize-space(.)"/>
- <xsl:text>}</xsl:text>
-</xsl:template>
-
-<xsl:template match="d:biblioset[@relation='journal']/d:title" mode="raw">
- <xsl:text>, </xsl:text>
- <xsl:value-of select="normalize-space(.)"/>
-</xsl:template>
-
-<xsl:template match="d:biblioset[@relation='journal']/d:title" mode="bibtex">
- <xsl:text>, journal = {</xsl:text>
- <xsl:value-of select="normalize-space(.)"/>
- <xsl:text>}</xsl:text>
-</xsl:template>
-
-<xsl:template match="d:biblioset[@relation='conference']/d:title" mode="raw">
- <xsl:text>, *</xsl:text>
- <xsl:value-of select="normalize-space(.)"/>
- <xsl:text>*</xsl:text>
-</xsl:template>
-
-<xsl:template match="d:biblioset[@relation='conference']/d:title" mode="bibtex">
- <xsl:text>, booktitle = {</xsl:text>
- <xsl:value-of select="normalize-space(.)"/>
- <xsl:text>}</xsl:text>
-</xsl:template>
-
-<xsl:template match="d:publishername" mode="raw">
- <xsl:text>, </xsl:text>
- <xsl:value-of select="normalize-space(.)"/>
-</xsl:template>
-
-<xsl:template match="d:publishername" mode="bibtex">
- <xsl:text>, publisher = {</xsl:text>
- <xsl:value-of select="normalize-space(.)"/>
- <xsl:text>}</xsl:text>
-</xsl:template>
-
-<xsl:template match="d:pubdate" mode="raw">
- <xsl:text>, </xsl:text>
- <xsl:value-of select="normalize-space(.)"/>
-</xsl:template>
-
-<xsl:template match="d:pubdate" mode="bibtex">
- <xsl:text>, year = {</xsl:text>
- <xsl:value-of select="normalize-space(.)"/>
- <xsl:text>}</xsl:text>
-</xsl:template>
-
-<xsl:template match="d:date">
- <xsl:message terminate="no">
-   eee : date
-   <xsl:value-of select="normalize-space(.)"/> exists in node
-   <xsl:value-of select="ancestor::d:biblioentry/@xml:id"/>
-   eee : try to put information in biblioset
- </xsl:message>
-</xsl:template>
-
-<xsl:template match="d:volumenum" mode="raw">
- <xsl:text>, </xsl:text>
- <xsl:value-of select="normalize-space(.)"/>
-</xsl:template>
-
-<xsl:template match="d:volumenum" mode="bibtex">
- <xsl:text>, volume = {</xsl:text>
- <xsl:value-of select="normalize-space(.)"/>
- <xsl:text>}</xsl:text>
-</xsl:template>
-
-<xsl:template match="d:issuenum" mode="raw">
- <xsl:text>, </xsl:text>
- <xsl:value-of select="normalize-space(.)"/>
-</xsl:template>
-
-<xsl:template match="d:issuenum" mode="bibtex">
- <xsl:text>, number = {</xsl:text>
- <xsl:value-of select="normalize-space(.)"/>
- <xsl:text>}</xsl:text>
-</xsl:template>
-
-<xsl:template match="d:pagenums" mode="raw">
- <xsl:text>, </xsl:text>
- <xsl:value-of select="normalize-space(.)"/>
-</xsl:template>
-
-<xsl:template match="d:pagenums" mode="bibtex">
- <xsl:text>, pages = {</xsl:text>
- <xsl:value-of select="normalize-space(.)"/>
- <xsl:text>}</xsl:text>
-</xsl:template>
-
-<xsl:template match="d:biblioid[@class='isbn']" mode="raw">
- <xsl:text>, ISBN : </xsl:text>
- <xsl:value-of select="normalize-space(.)"/>
-</xsl:template>
-
-<xsl:template match="d:biblioid[@class='isbn']" mode="bibtex">
- <xsl:text>, isbn = {</xsl:text>
- <xsl:value-of select="normalize-space(.)"/>
- <xsl:text>}</xsl:text>
-</xsl:template>
-
-<xsl:template match="d:biblioid[@class='uri']" mode="raw">
- <xsl:text>, </xsl:text>
- <xsl:value-of select="normalize-space(.)"/>
-</xsl:template>
-
-<xsl:template match="d:biblioid[@class='uri']" mode="bibtex">
- <xsl:text>, uri = {</xsl:text>
- <xsl:value-of select="normalize-space(.)"/>
- <xsl:text>}</xsl:text>
-</xsl:template>
-
-<xsl:template match="d:biblioid[@class='other']" mode="raw">
- <xsl:text>, </xsl:text>
- <xsl:value-of select="@otherclass"/>
- <xsl:text> : </xsl:text>
- <xsl:value-of select="normalize-space(.)"/>
-</xsl:template>
-
-<xsl:template match="d:biblioid[@class='other']" mode="bibtex">
- <xsl:text>, note = {</xsl:text>
- <xsl:value-of select="@otherclass"/>
- <xsl:text> : </xsl:text>
- <xsl:value-of select="normalize-space(.)"/>
- <xsl:text>}</xsl:text>
-</xsl:template>
-
-<xsl:template match="d:biblioid[@class='doi']" mode="raw">
-   <xsl:choose>
-    <xsl:when test=". = '???'">
-     <xsl:message> iii : no doi found for
-      <xsl:value-of select="ancestor::d:biblioentry/@xml:id"/>
-     </xsl:message>
-    </xsl:when>
-    <xsl:otherwise>
-     <!-- transformer 10.1029/2003GL018906 en un lien sur http://dx.doi.org/10.1029/2003GL018906 par exemple -->
-     <xsl:text>,`</xsl:text>
-       <xsl:value-of select="normalize-space(.)"/>
-       <xsl:text> &lt;http://dx.doi.org/</xsl:text><xsl:value-of select="normalize-space(.)"/><xsl:text>&gt;`_</xsl:text>
-    </xsl:otherwise>
-   </xsl:choose>
-</xsl:template>
-
-<xsl:template match="d:conftitle">
- <xsl:text>, </xsl:text>
- <xsl:value-of select="normalize-space(.)"/>
-</xsl:template>
-
-<xsl:template match="d:confdates">
- <xsl:text>, </xsl:text>
- <xsl:value-of select="normalize-space(.)"/>
-</xsl:template>
-
-<xsl:template match="d:confnum">
- <xsl:text>, </xsl:text>
- <xsl:value-of select="normalize-space(.)"/>
-</xsl:template>
-
-<xsl:template match="d:address" mode="raw">
- <xsl:text>, </xsl:text>
- <xsl:value-of select="normalize-space(.)"/>
-</xsl:template>
-
-<xsl:template match="d:address" mode="bibtex">
- <xsl:text>, address = {</xsl:text>
- <xsl:value-of select="normalize-space(.)"/>
- <xsl:text>}</xsl:text>
-</xsl:template>
-
-<xsl:template match="d:biblioid" mode="raw">
-<xsl:choose>
-<xsl:when test="@class='doi'">
- <xsl:apply-templates select="." mode="raw"/>
-</xsl:when>
-<xsl:when test="@class='isbn'">
- <xsl:apply-templates select="." mode="raw"/>
-</xsl:when>
-<xsl:when test="@class='uri'">
- <xsl:apply-templates select="." mode="raw"/>
-</xsl:when>
-<xsl:when test="@class='other'">
- <xsl:apply-templates select="." mode="raw"/>
-</xsl:when>
-<xsl:otherwise>
- <xsl:message terminate="yes">
-eee : unknown biblioid class for <xsl:value-of select="ancestor::d:biblioentry/@xml:id"/>
-eee : class : <xsl:value-of select="normalize-space(@class)"/>
-eee : value : <xsl:value-of select="normalize-space(.)"/>
- </xsl:message>
-</xsl:otherwise>
-</xsl:choose>
-</xsl:template>
-
-<xsl:template match="d:biblioid" mode="bibtex">
-<xsl:choose>
-<xsl:when test="@class='doi'">
- <xsl:apply-templates select="." mode="bibtex"/>
-</xsl:when>
-<xsl:when test="@class='isbn'">
- <xsl:apply-templates select="." mode="bibtex"/>
-</xsl:when>
-<xsl:when test="@class='uri'">
- <xsl:apply-templates select="." mode="bibtex"/>
-</xsl:when>
-<xsl:when test="@class='other'">
- <xsl:apply-templates select="." mode="bibtex"/>
-</xsl:when>
-<xsl:otherwise>
- <xsl:message terminate="yes">
-eee : unknown biblioid class for <xsl:value-of select="ancestor::d:biblioentry/@xml:id"/>
-eee : class : <xsl:value-of select="normalize-space(@class)"/>
-eee : value : <xsl:value-of select="normalize-space(.)"/>
- </xsl:message>
-</xsl:otherwise>
-</xsl:choose>
-</xsl:template>
-
-<xsl:template match="d:bibliomisc" mode="raw">
-<xsl:choose>
-<xsl:when test="contains(.,'In Press') or contains(.,'In press') or contains(.,'in press') or contains(.,'in revision') or contains(.,'submitted')">
- <xsl:text>, </xsl:text>
- <xsl:value-of select="normalize-space(.)"/>
-</xsl:when>
-<xsl:otherwise>
- <xsl:message terminate="no">
-eee : unknown bibliomisc purpose for <xsl:value-of select="ancestor::d:biblioentry/@xml:id"/>
-eee : <xsl:value-of select="normalize-space(.)"/>
- </xsl:message>
- <xsl:text>, </xsl:text>
- <xsl:value-of select="normalize-space(.)"/>
-</xsl:otherwise>
-</xsl:choose>
-</xsl:template>
-
-<xsl:template match="d:bibliomisc" mode="bibtex">
-<xsl:choose>
-<xsl:when test="contains(.,'In Press') or contains(.,'In press') or contains(.,'in press') or contains(.,'in revision') or contains(.,'submitted')">
-   <xsl:text>, note = {</xsl:text>
- <xsl:value-of select="normalize-space(.)"/>
-   <xsl:text>}</xsl:text>
-</xsl:when>
-<xsl:otherwise>
- <xsl:message terminate="no">
-eee : unknown bibliomisc purpose for <xsl:value-of select="ancestor::d:biblioentry/@xml:id"/>
-eee : <xsl:value-of select="normalize-space(.)"/>
- </xsl:message>
- <xsl:text>, note = {</xsl:text>
- <xsl:value-of select="normalize-space(.)"/>
- <xsl:text>}</xsl:text>
-</xsl:otherwise>
-</xsl:choose>
-</xsl:template>
-
-</xsl:stylesheet>
Index: unk/biblioentry_xml.xsl
===================================================================
--- /trunk/biblioentry_xml.xsl	(revision 355)
+++ 	(revision )
@@ -1,741 +1,0 @@
-<?xml version="1.0" encoding="iso-8859-1"?>
-<xsl:stylesheet
-version="1.0"
-xmlns:d="http://docbook.org/ns/docbook"
-xmlns:xl="http://www.w3.org/1999/xlink"
-xmlns:html="http://www.w3.org/1999/xhtml"
-xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
-
-<!--rst
-
-.. _biblioentry_xml.xsl:
-
-===================
-biblioentry_xml.xsl
-===================
-
-DESCRIPTION
-===========
-
-traitement d'une référence bibliographique (biblioentry)
-
-EVOLUTIONS
-==========
-
-$Id$
-
-- fplod 2008-05-15T09:18:54Z aedon.locean-ipsl.upmc.fr (Darwin)
-
-  * correction on separators between authors for bibtex
-
-- fplod 2008-05-14T08:51:10Z aedon.locean-ipsl.upmc.fr (Darwin)
-
-  * introducting bibtex (latex) output
-
-- fplod 2008-05-13T15:24:49Z aedon.locean-ipsl.upmc.fr (Darwin)
-
-  * add parameter type (default raw)
-
-- fplod 2008-05-13T09:17:14Z aedon.locean-ipsl.upmc.fr (Darwin)
-
-  * bibliomisc is written after biblioid
-
-- fplod 2008-05-07T09:06:53Z aedon.locean-ipsl.upmc.fr (Darwin)
-
-  * improvements for conference
-
-- fplod 2008-05-06T09:35:00Z aedon.locean-ipsl.upmc.fr (Darwin)
-
-  * add category choices
-
-- fplod 2008-04-29T15:41:56Z aedon.locean-ipsl.upmc.fr (Darwin)
-
-  * chgt for dbk5 in
-
-- fplod 2008-04-29T09:10:31Z aedon.locean-ipsl.upmc.fr (Darwin)
-
-  * chgt for dbk5 out
-
-- fplod 2007-06-20T17:18:02Z aedon.locean-ipsl.upmc.fr (Darwin)
-
-  * <bibliomisc role="id"> replaced by <biblioid class="doi">
-
-- fplod 2007-05-16T14:01:44Z aedon.locean-ipsl.upmc.fr (Darwin)
-
-  * correction in order to write doi only once
-
-- fplod 2007-05-16T10:27:34Z aedon.locean-ipsl.upmc.fr (Darwin)
-
-  * remove biblioentry/date and publisher
-  * add biblioentry/biblioset/bibliomisc
-
-- fplod 2007-05-15T07:37:46Z aedon.locean-ipsl.upmc.fr (Darwin)
-
-  * factorisation de biblioentry
-
-- fplod 2007-05-14T15:48:04Z aedon.locean-ipsl.upmc.fr (Darwin)
-
-  * correction to add biblioentry/date (replace biblioentry/biblioset/pubdate)
-    when "in press"
-
-- fplod 2007-05-04T07:59:34Z aedon.locean-ipsl.upmc.fr (Darwin)
-
-  * factorisation de bibnemomaf01_xml.xsl, bibnemomaf02_xml.xsl,bibnemomaf04_xml.xsl
-
--->
-
-<xsl:include href="correction_db.xsl"/>
-<xsl:include href="category_form.xsl"/>
-<xsl:include href="message_lang.xsl"/>
-
-<xsl:template name="one_biblioentry">
- <xsl:param name="visu_modif"/>
- <xsl:param name="type"/>
- <xsl:param name="my_biblioentry"/>
- <xsl:choose>
-  <xsl:when test="$type = 'bibtex'">
-   <xsl:choose>
-    <xsl:when test="$my_biblioentry/descendant::d:biblioset[@relation='journal']">
-     <xsl:text>@article{</xsl:text>
-    </xsl:when>
-    <xsl:when test="$my_biblioentry/descendant::d:biblioset[@relation='conference']">
-     <xsl:text>@inproceedings{</xsl:text>
-    </xsl:when>
-    <xsl:when test="$my_biblioentry/descendant::d:biblioset[@relation='book']">
-     <xsl:text>@book{</xsl:text>
-    </xsl:when>
-    <xsl:when test="$my_biblioentry/descendant::d:biblioset[@relation='manual']">
-     <xsl:text>@manual{</xsl:text>
-    </xsl:when>
-    <xsl:otherwise>
-     <xsl:message terminate="yes">
-eee : unknown biblioset 1 relation for <xsl:value-of select="ancestor::d:biblioentry/@xml:id"/>
-eee : <xsl:value-of select="$my_biblioentry/descendant::d:biblioset/@relation"/>
-     </xsl:message>
-    </xsl:otherwise>
-   </xsl:choose>
-   <xsl:value-of select="$my_biblioentry/@xml:id"/>
-  </xsl:when> <!-- end of bibtex specific header for biblioentry -->
- </xsl:choose>
- <xsl:element name="listitem">
-  <xsl:element name="para">
-   <xsl:choose>
-    <xsl:when test="$type = 'bibtex'">
-     <xsl:apply-templates select="$my_biblioentry/d:authorgroup" mode="bibtex"/>
-    </xsl:when>
-    <xsl:otherwise>
-     <xsl:apply-templates select="$my_biblioentry/d:authorgroup" mode="raw"/>
-    </xsl:otherwise>
-   </xsl:choose>
-   <xsl:if test="$my_biblioentry/descendant::d:pubdate">
-    <xsl:choose>
-     <xsl:when test="$type = 'bibtex'">
-      <xsl:apply-templates select="$my_biblioentry/descendant::d:pubdate" mode="bibtex"/>
-     </xsl:when>
-     <xsl:otherwise>
-      <xsl:apply-templates select="$my_biblioentry/descendant::d:pubdate" mode="raw"/>
-     </xsl:otherwise>
-    </xsl:choose>
-   </xsl:if>
-    <xsl:if test="$my_biblioentry/descendant::d:date">
-     <xsl:apply-templates select="$my_biblioentry/descendant::d:date"/>
-    </xsl:if>
-   <xsl:choose>
-    <xsl:when test="$type = 'bibtex'">
-     <xsl:apply-templates select="$my_biblioentry/d:title" mode="bibtex"/>
-    </xsl:when>
-    <xsl:otherwise>
-     <xsl:apply-templates select="$my_biblioentry/d:title" mode="raw"/>
-    </xsl:otherwise>
-   </xsl:choose>
-    <xsl:choose>
-     <xsl:when test="$my_biblioentry/descendant::d:biblioset[@relation='journal']">
-      <xsl:choose>
-       <xsl:when test="$type = 'bibtex'">
-        <xsl:apply-templates select="$my_biblioentry/descendant::d:biblioset/child::d:title" mode="bibtex"/>
-       </xsl:when>
-       <xsl:otherwise>
-        <xsl:apply-templates select="$my_biblioentry/descendant::d:biblioset/child::d:title" mode="raw"/>
-       </xsl:otherwise>
-      </xsl:choose>
-      <xsl:if test="$my_biblioentry/descendant::d:publishername">
-       <xsl:choose>
-        <xsl:when test="$type = 'bibtex'">
-         <xsl:apply-templates select="$my_biblioentry/descendant::d:biblioset/child::d:publishername" mode="bibtex"/>
-        </xsl:when>
-        <xsl:otherwise>
-         <xsl:apply-templates select="$my_biblioentry/descendant::d:biblioset/child::d:publishername" mode="raw"/>
-        </xsl:otherwise>
-       </xsl:choose>
-      </xsl:if>
-      <xsl:if test="$my_biblioentry/descendant::d:publisher/d:address">
-       <xsl:choose>
-        <xsl:when test="$type = 'bibtex'">
-         <xsl:apply-templates select="$my_biblioentry/descendant::d:publisher/d:address" mode="bibtex"/>
-        </xsl:when>
-        <xsl:otherwise>
-         <xsl:apply-templates select="$my_biblioentry/descendant::d:publisher/d:address" mode="raw"/>
-        </xsl:otherwise>
-       </xsl:choose>
-      </xsl:if>
-      <xsl:if test="$my_biblioentry/descendant::d:volumenum">
-       <xsl:choose>
-        <xsl:when test="$type = 'bibtex'">
-         <xsl:apply-templates select="$my_biblioentry/descendant::d:volumenum" mode="bibtex"/>
-        </xsl:when>
-        <xsl:otherwise>
-         <xsl:apply-templates select="$my_biblioentry/descendant::d:volumenum" mode="raw"/>
-        </xsl:otherwise>
-       </xsl:choose>
-       <xsl:if test="$my_biblioentry/descendant::d:issuenum">
-        <xsl:choose>
-         <xsl:when test="$type = 'bibtex'">
-          <xsl:apply-templates select="$my_biblioentry/descendant::d:issuenum" mode="bibtex"/>
-         </xsl:when>
-         <xsl:otherwise>
-          <xsl:apply-templates select="$my_biblioentry/descendant::d:issuenum" mode="raw"/>
-         </xsl:otherwise>
-        </xsl:choose>
-        </xsl:if>
-       </xsl:if>
-      <xsl:if test="$my_biblioentry/descendant::d:pagenums">
-       <xsl:choose>
-        <xsl:when test="$type = 'bibtex'">
-         <xsl:apply-templates select="$my_biblioentry/descendant::d:pagenums" mode="bibtex"/>
-        </xsl:when>
-        <xsl:otherwise>
-         <xsl:apply-templates select="$my_biblioentry/descendant::d:pagenums" mode="raw"/>
-        </xsl:otherwise>
-       </xsl:choose>
-      </xsl:if>
-      <xsl:if test="$my_biblioentry/d:biblioid">
-       <xsl:choose>
-        <xsl:when test="$type = 'bibtex'">
-         <xsl:apply-templates select="$my_biblioentry/d:biblioid" mode="bibtex"/>
-        </xsl:when>
-        <xsl:otherwise>
-        <xsl:apply-templates select="$my_biblioentry/d:biblioid" mode="raw"/>
-        </xsl:otherwise>
-       </xsl:choose>
-      </xsl:if>
-      <xsl:if test="$my_biblioentry/descendant::d:biblioset/child::d:bibliomisc">
-       <xsl:choose>
-        <xsl:when test="$type = 'bibtex'">
-         <xsl:apply-templates select="$my_biblioentry/descendant::d:biblioset/child::d:bibliomisc" mode="bibtex"/>
-        </xsl:when>
-        <xsl:otherwise>
-        <xsl:apply-templates select="$my_biblioentry/descendant::d:biblioset/child::d:bibliomisc" mode="raw"/>
-        </xsl:otherwise>
-       </xsl:choose>
-      </xsl:if>
-     </xsl:when>
-     <xsl:when test="$my_biblioentry/descendant::d:biblioset[@relation='conference']">
-      <xsl:choose>
-       <xsl:when test="$type = 'bibtex'">
-        <xsl:apply-templates select="$my_biblioentry/descendant::d:biblioset[@relation='conference']/child::d:title" mode="bibtex"/>
-       </xsl:when>
-       <xsl:otherwise>
-        <xsl:apply-templates select="$my_biblioentry/descendant::d:biblioset/child::d:title" mode="raw"/>
-       </xsl:otherwise>
-      </xsl:choose>
-      <xsl:apply-templates select="$my_biblioentry/descendant::d:biblioset/descendant::d:conftitle"/>
-      <xsl:if test="$my_biblioentry/descendant::d:biblioset/descendant::d:confnum">
-       <xsl:apply-templates select="$my_biblioentry/descendant::d:biblioset/descendant::d:confnum"/>
-      </xsl:if>
-      <xsl:apply-templates select="$my_biblioentry/descendant::d:biblioset/descendant::d:confdates"/>
-       <xsl:choose>
-        <xsl:when test="$type = 'bibtex'">
-         <xsl:apply-templates select="$my_biblioentry/descendant::d:biblioset/descendant::d:address" mode="bibtex"/>
-        </xsl:when>
-        <xsl:otherwise>
-         <xsl:apply-templates select="$my_biblioentry/descendant::d:biblioset/descendant::d:address" mode="raw"/>
-        </xsl:otherwise>
-       </xsl:choose>
-       <xsl:choose>
-        <xsl:when test="$type = 'bibtex'">
-         <xsl:apply-templates select="$my_biblioentry/descendant::d:publishername" mode="bibtex"/>
-        </xsl:when>
-        <xsl:otherwise>
-         <xsl:apply-templates select="$my_biblioentry/descendant::d:publishername" mode="raw"/>
-        </xsl:otherwise>
-       </xsl:choose>
-      <xsl:if test="$my_biblioentry/descendant::d:pagenums">
-       <xsl:choose>
-        <xsl:when test="$type = 'bibtex'">
-         <xsl:apply-templates select="$my_biblioentry/descendant::d:pagenums" mode="bibtex"/>
-        </xsl:when>
-        <xsl:otherwise>
-         <xsl:apply-templates select="$my_biblioentry/descendant::d:pagenums" mode="raw"/>
-        </xsl:otherwise>
-       </xsl:choose>
-      </xsl:if>
-     </xsl:when>
-     <xsl:when test="$my_biblioentry/descendant::d:biblioset[@relation='book']">
-      <xsl:choose>
-       <xsl:when test="$type = 'bibtex'">
-        <xsl:apply-templates select="$my_biblioentry/descendant::d:biblioset[@relation='book']/child::d:title" mode="bibtex"/>
-       </xsl:when>
-       <xsl:otherwise>
-        <xsl:apply-templates select="$my_biblioentry/descendant::d:biblioset/child::d:title" mode="raw"/>
-       </xsl:otherwise>
-      </xsl:choose>
-       <xsl:choose>
-        <xsl:when test="$type = 'bibtex'">
-         <xsl:apply-templates select="$my_biblioentry/descendant::d:publishername" mode="bibtex"/>
-        </xsl:when>
-        <xsl:otherwise>
-         <xsl:apply-templates select="$my_biblioentry/descendant::d:publishername" mode="raw"/>
-        </xsl:otherwise>
-       </xsl:choose>
-      <xsl:if test="$my_biblioentry/descendant::d:pagenums">
-       <xsl:choose>
-        <xsl:when test="$type = 'bibtex'">
-         <xsl:apply-templates select="$my_biblioentry/descendant::d:pagenums" mode="bibtex"/>
-        </xsl:when>
-        <xsl:otherwise>
-         <xsl:apply-templates select="$my_biblioentry/descendant::d:pagenums" mode="raw"/>
-        </xsl:otherwise>
-       </xsl:choose>
-      </xsl:if>
-       <xsl:choose>
-        <xsl:when test="$type = 'bibtex'">
-         <xsl:apply-templates select="$my_biblioentry/descendant::d:biblioid" mode="bibtex"/>
-        </xsl:when>
-        <xsl:otherwise>
-         <xsl:apply-templates select="$my_biblioentry/descendant::d:biblioid" mode="raw"/>
-        </xsl:otherwise>
-       </xsl:choose>
-      </xsl:when>
-     <xsl:when test="$my_biblioentry/descendant::d:biblioset[@relation='manual']">
-      <xsl:choose>
-       <xsl:when test="$type = 'bibtex'">
-        <xsl:apply-templates select="$my_biblioentry/descendant::d:biblioset[@relation='manual']/child::d:title" mode="bibtex"/>
-       </xsl:when>
-       <xsl:otherwise>
-        <xsl:apply-templates select="$my_biblioentry/descendant::d:biblioset/child::d:title" mode="raw"/>
-       </xsl:otherwise>
-      </xsl:choose>
-       <xsl:choose>
-        <xsl:when test="$type = 'bibtex'">
-         <xsl:apply-templates select="$my_biblioentry/descendant::d:publishername" mode="bibtex"/>
-        </xsl:when>
-        <xsl:otherwise>
-         <xsl:apply-templates select="$my_biblioentry/descendant::d:publishername" mode="raw"/>
-        </xsl:otherwise>
-       </xsl:choose>
-       <xsl:choose>
-        <xsl:when test="$type = 'bibtex'">
-         <xsl:apply-templates select="$my_biblioentry/descendant::d:biblioid" mode="bibtex"/>
-        </xsl:when>
-        <xsl:otherwise>
-         <xsl:apply-templates select="$my_biblioentry/descendant::d:biblioid" mode="raw"/>
-        </xsl:otherwise>
-       </xsl:choose>
-     </xsl:when>
-     <xsl:otherwise>
-      <xsl:message terminate="no">
-eee : unknown biblioset 2 relation for <xsl:value-of select="ancestor::d:biblioentry/@xml:id"/>
-eee : <xsl:value-of select="$my_biblioentry/descendant::d:biblioset/@relation"/>
-      </xsl:message>
-       <xsl:choose>
-        <xsl:when test="$type = 'bibtex'">
-         <xsl:apply-templates select="$my_biblioentry/descendant::d:publishername" mode="bibtex"/>
-        </xsl:when>
-        <xsl:otherwise>
-         <xsl:apply-templates select="$my_biblioentry/descendant::d:publishername" mode="raw"/>
-        </xsl:otherwise>
-       </xsl:choose>
-     </xsl:otherwise>
-    </xsl:choose>
-  </xsl:element>
-  <xsl:if test="$visu_modif= 'modif'">
-   <xsl:call-template name="correction">
-    <xsl:with-param name="id" select="$my_biblioentry/@xml:id"/>
-   </xsl:call-template>
-  </xsl:if>
-  <xsl:if test="$visu_modif= 'category'">
-   <xsl:call-template name="category">
-    <xsl:with-param name="id" select="$my_biblioentry/@xml:id"/>
-   </xsl:call-template>
-  </xsl:if>
- </xsl:element>
- <xsl:choose>
-  <xsl:when test="$type = 'bibtex'">
-  <xsl:text>}</xsl:text>
-  </xsl:when>
- </xsl:choose>
-</xsl:template>
-
-<xsl:template match="d:authorgroup" mode="raw">
- <xsl:apply-templates select="d:author" mode="raw"/>
- <xsl:apply-templates select="d:corpauthor" mode="raw"/>
-</xsl:template>
-
-<xsl:template match="d:authorgroup" mode="bibtex">
- <xsl:text>, </xsl:text>
- <xsl:text>author = {</xsl:text>
- <xsl:apply-templates select="d:author" mode="bibtex"/>
- <xsl:apply-templates select="d:corpauthor" mode="bibtex"/>
- <xsl:text>}</xsl:text>
-</xsl:template>
-
-<xsl:template match="d:author|d:corpauthor" mode="raw">
-<!--
-1er auteur Nom, prénom les autres Prenom Nom
-une virgule entre les auteurs sauf entre les deux derniers
--->
-  <xsl:if test="d:personname/d:surname = ''">
-   <xsl:message>
-eee : empty surname for <xsl:value-of select="ancestor::d:biblioentry/@xml:id"/>
-   </xsl:message>
-  </xsl:if>
-  <xsl:if test="d:personname/d:firstname= ''">
-   <xsl:message>
-eee : empty firstname for <xsl:value-of select="ancestor::d:biblioentry/@xml:id"/>
-   </xsl:message>
-  </xsl:if>
-  <xsl:if test="d:personname/d:firstname= '.'">
-   <xsl:message>
-eee : firstname = '.' for <xsl:value-of select="ancestor::d:biblioentry/@xml:id"/>
-   </xsl:message>
-  </xsl:if>
-<!--
-   <xsl:message>
-position de l'auteur <xsl:value-of select="d:personname/d:surname"/> :
-<xsl:value-of select="position()"/> / <xsl:value-of select="count(following-sibling::*)"/>
-</xsl:message>
--->
-
-  <xsl:choose>
-   <xsl:when test="position()=1">
-    <xsl:value-of select="d:personname/d:surname"/><xsl:text>, </xsl:text>
-    <xsl:value-of select="d:personname/d:firstname"/>
-   </xsl:when>
-   <xsl:otherwise>
-    <xsl:value-of select="d:personname/d:firstname"/><xsl:text> </xsl:text>
-    <xsl:value-of select="d:personname/d:surname"/>
-   </xsl:otherwise>
-  </xsl:choose>
-
-<!--
-une virgule entre les auteurs sauf entre les deux derniers
--->
-  <xsl:choose>
-   <xsl:when test="count(following-sibling::*)  &gt; 1"> <!-- plusieurs suivants -->
-    <xsl:text>, </xsl:text>
-   </xsl:when>
-   <xsl:when test="count(following-sibling::*)  = 1">
-<!--
-   <xsl:message>ANDDDDD</xsl:message>
--->
-    <!-- un suivant -->
-    <xsl:call-template name="and">
-     <xsl:with-param name="language" select="/d:bibliography/@xml:lang"/>
-    </xsl:call-template>
-   </xsl:when>
-  </xsl:choose>
-</xsl:template>
-
-<xsl:template match="d:author|d:corpauthor" mode="bibtex">
-<!--
-1er auteur Nom prénom les autres Prenom Nom
-and entre les auteurs
--->
- <xsl:value-of select="d:personname/d:firstname"/><xsl:text> </xsl:text>
- <xsl:value-of select="d:personname/d:surname"/>
-
-<!--
-and entre les auteurs
--->
-  <xsl:choose>
-   <xsl:when test="count(following-sibling::*)  &gt; 0"> <!-- un suivant-->
-    <xsl:text> and </xsl:text>
-   </xsl:when>
-  </xsl:choose>
-</xsl:template>
-
-<xsl:template match="d:biblioentry/d:title" mode="raw">
- <xsl:text> : </xsl:text>
- <xsl:value-of select="normalize-space(.)"/>
-</xsl:template>
-
-<xsl:template match="d:biblioentry/d:title" mode="bibtex">
- <xsl:text>, title = {</xsl:text>
- <xsl:value-of select="normalize-space(.)"/>
- <xsl:text>}</xsl:text>
-</xsl:template>
-
-<xsl:template match="d:biblioset[@relation='journal']/d:title" mode="raw">
- <xsl:text>, </xsl:text>
- <xsl:value-of select="normalize-space(.)"/>
-</xsl:template>
-
-<xsl:template match="d:biblioset[@relation='journal']/d:title" mode="bibtex">
- <xsl:text>, journal = {</xsl:text>
- <xsl:value-of select="normalize-space(.)"/>
- <xsl:text>}</xsl:text>
-</xsl:template>
-
-<xsl:template match="d:biblioset[@relation='conference']/d:title" mode="raw">
- <xsl:text>, </xsl:text>
- <xsl:value-of select="normalize-space(.)"/>
-</xsl:template>
-
-<xsl:template match="d:biblioset[@relation='conference']/d:title" mode="bibtex">
- <xsl:text>, booktitle = {</xsl:text>
- <xsl:value-of select="normalize-space(.)"/>
- <xsl:text>}</xsl:text>
-</xsl:template>
-
-<xsl:template match="d:publishername" mode="raw">
- <xsl:text>, </xsl:text>
- <xsl:value-of select="normalize-space(.)"/>
-</xsl:template>
-
-<xsl:template match="d:publishername" mode="bibtex">
- <xsl:text>, publisher = {</xsl:text>
- <xsl:value-of select="normalize-space(.)"/>
- <xsl:text>}</xsl:text>
-</xsl:template>
-
-<xsl:template match="d:pubdate" mode="raw">
- <xsl:text>, </xsl:text>
- <xsl:value-of select="normalize-space(.)"/>
-</xsl:template>
-
-<xsl:template match="d:pubdate" mode="bibtex">
- <xsl:text>, year = {</xsl:text>
- <xsl:value-of select="normalize-space(.)"/>
- <xsl:text>}</xsl:text>
-</xsl:template>
-
-<xsl:template match="d:date">
- <xsl:message terminate="no">
-   eee : date
-   <xsl:value-of select="normalize-space(.)"/> exists in node
-   <xsl:value-of select="ancestor::d:biblioentry/@xml:id"/>
-   eee : try to put information in biblioset
- </xsl:message>
-</xsl:template>
-
-<xsl:template match="d:volumenum" mode="raw">
- <xsl:text>, </xsl:text>
- <xsl:value-of select="normalize-space(.)"/>
-</xsl:template>
-
-<xsl:template match="d:volumenum" mode="bibtex">
- <xsl:text>, volume = {</xsl:text>
- <xsl:value-of select="normalize-space(.)"/>
- <xsl:text>}</xsl:text>
-</xsl:template>
-
-<xsl:template match="d:issuenum" mode="raw">
- <xsl:text>, </xsl:text>
- <xsl:value-of select="normalize-space(.)"/>
-</xsl:template>
-
-<xsl:template match="d:issuenum" mode="bibtex">
- <xsl:text>, number = {</xsl:text>
- <xsl:value-of select="normalize-space(.)"/>
- <xsl:text>}</xsl:text>
-</xsl:template>
-
-<xsl:template match="d:pagenums" mode="raw">
- <xsl:text>, </xsl:text>
- <xsl:value-of select="normalize-space(.)"/>
-</xsl:template>
-
-<xsl:template match="d:pagenums" mode="bibtex">
- <xsl:text>, pages = {</xsl:text>
- <xsl:value-of select="normalize-space(.)"/>
- <xsl:text>}</xsl:text>
-</xsl:template>
-
-<xsl:template match="d:biblioid[@class='isbn']" mode="raw">
- <xsl:text>, ISBN : </xsl:text>
- <xsl:value-of select="normalize-space(.)"/>
-</xsl:template>
-
-<xsl:template match="d:biblioid[@class='isbn']" mode="bibtex">
- <xsl:text>, isbn = {</xsl:text>
- <xsl:value-of select="normalize-space(.)"/>
- <xsl:text>}</xsl:text>
-</xsl:template>
-
-<xsl:template match="d:biblioid[@class='uri']" mode="raw">
- <xsl:text>, </xsl:text>
- <xsl:element name="link">
-  <xsl:attribute name="xl:href"><xsl:value-of select="normalize-space(.)"/></xsl:attribute>
- </xsl:element>
-</xsl:template>
-
-<xsl:template match="d:biblioid[@class='uri']" mode="bibtex">
- <xsl:text>, uri = {</xsl:text>
- <xsl:value-of select="normalize-space(.)"/>
- <xsl:text>}</xsl:text>
-</xsl:template>
-
-<xsl:template match="d:biblioid[@class='other']" mode="raw">
- <xsl:text>, </xsl:text>
- <xsl:value-of select="@otherclass"/>
- <xsl:text> : </xsl:text>
- <xsl:value-of select="normalize-space(.)"/>
-</xsl:template>
-
-<xsl:template match="d:biblioid[@class='other']" mode="bibtex">
- <xsl:text>, note = {</xsl:text>
- <xsl:value-of select="@otherclass"/>
- <xsl:text> : </xsl:text>
- <xsl:value-of select="normalize-space(.)"/>
- <xsl:text>}</xsl:text>
-</xsl:template>
-
-<xsl:template match="d:biblioid[@class='doi']" mode="bibtex">
-   <xsl:choose>
-    <xsl:when test=". = '???'">
-     <xsl:message> iii : no doi found for
-      <xsl:value-of select="ancestor::d:biblioentry/@xml:id"/>
-     </xsl:message>
-    </xsl:when>
-    <xsl:otherwise>
-     <!-- ++ transformer 10.1029/2003GL018906 en un lien sur http://dx.doi.org/10.1029/2003GL018906 par exemple
-  -->
-      <xsl:text>, doi = {</xsl:text> <!-- ++ pas sûre, peut-être seulement note = {doi:..} -->
-      <xsl:value-of select="normalize-space(.)"/>
-    </xsl:otherwise>
-   </xsl:choose>
- <xsl:text>}</xsl:text>
-</xsl:template>
-
-<xsl:template match="d:biblioid[@class='doi']" mode="raw">
-   <xsl:choose>
-    <xsl:when test=". = '???'">
-     <xsl:message> iii : no doi found for
-      <xsl:value-of select="ancestor::d:biblioentry/@xml:id"/>
-     </xsl:message>
-    </xsl:when>
-    <xsl:otherwise>
-     <!-- transformer 10.1029/2003GL018906 en un lien sur http://dx.doi.org/10.1029/2003GL018906 par exemple -->
-     <xsl:text>, </xsl:text>
-     <xsl:element name="link">
-      <xsl:attribute name="xl:href">
-       <xsl:text>http://dx.doi.org/</xsl:text>
-       <xsl:value-of select="normalize-space(.)"/>
-      </xsl:attribute>
-      <xsl:text>doi:</xsl:text><xsl:value-of select="normalize-space(.)"/>
-     </xsl:element>
-    </xsl:otherwise>
-   </xsl:choose>
-</xsl:template>
-
-<xsl:template match="d:conftitle">
- <xsl:text>, </xsl:text>
- <xsl:value-of select="normalize-space(.)"/>
-</xsl:template>
-
-<xsl:template match="d:confdates">
- <xsl:text>, </xsl:text>
- <xsl:value-of select="normalize-space(.)"/>
-</xsl:template>
-
-<xsl:template match="d:confnum">
- <xsl:text>, </xsl:text>
- <xsl:value-of select="normalize-space(.)"/>
-</xsl:template>
-
-<xsl:template match="d:address" mode="raw">
- <xsl:text>, </xsl:text>
- <xsl:value-of select="normalize-space(.)"/>
-</xsl:template>
-
-<xsl:template match="d:address" mode="bibtex">
- <xsl:text>, address = {</xsl:text>
- <xsl:value-of select="normalize-space(.)"/>
- <xsl:text>}</xsl:text>
-</xsl:template>
-
-<xsl:template match="d:biblioid" mode="raw">
-<xsl:choose>
-<xsl:when test="@class='doi'">
- <xsl:apply-templates select="." mode="raw"/>
-</xsl:when>
-<xsl:when test="@class='isbn'">
- <xsl:apply-templates select="." mode="raw"/>
-</xsl:when>
-<xsl:when test="@class='uri'">
- <xsl:apply-templates select="." mode="raw"/>
-</xsl:when>
-<xsl:when test="@class='other'">
- <xsl:apply-templates select="." mode="raw"/>
-</xsl:when>
-<xsl:otherwise>
- <xsl:message terminate="yes">
-eee : unknown biblioid class for <xsl:value-of select="ancestor::d:biblioentry/@xml:id"/>
-eee : class : <xsl:value-of select="normalize-space(@class)"/>
-eee : value : <xsl:value-of select="normalize-space(.)"/>
- </xsl:message>
-</xsl:otherwise>
-</xsl:choose>
-</xsl:template>
-
-<xsl:template match="d:biblioid" mode="bibtex">
-<xsl:choose>
-<xsl:when test="@class='doi'">
- <xsl:apply-templates select="." mode="bibtex"/>
-</xsl:when>
-<xsl:when test="@class='isbn'">
- <xsl:apply-templates select="." mode="bibtex"/>
-</xsl:when>
-<xsl:when test="@class='uri'">
- <xsl:apply-templates select="." mode="bibtex"/>
-</xsl:when>
-<xsl:when test="@class='other'">
- <xsl:apply-templates select="." mode="bibtex"/>
-</xsl:when>
-<xsl:otherwise>
- <xsl:message terminate="yes">
-eee : unknown biblioid class for <xsl:value-of select="ancestor::d:biblioentry/@xml:id"/>
-eee : class : <xsl:value-of select="normalize-space(@class)"/>
-eee : value : <xsl:value-of select="normalize-space(.)"/>
- </xsl:message>
-</xsl:otherwise>
-</xsl:choose>
-</xsl:template>
-
-<xsl:template match="d:bibliomisc" mode="raw">
-<xsl:choose>
-<xsl:when test="contains(.,'In Press') or contains(.,'In press') or contains(.,'in press') or contains(.,'in revision') or contains(.,'submitted')">
- <xsl:text>, </xsl:text>
- <xsl:value-of select="normalize-space(.)"/>
-</xsl:when>
-<xsl:otherwise>
- <xsl:message terminate="no">
-eee : unknown bibliomisc purpose for <xsl:value-of select="ancestor::d:biblioentry/@xml:id"/>
-eee : <xsl:value-of select="normalize-space(.)"/>
- </xsl:message>
- <xsl:text>, </xsl:text>
- <xsl:value-of select="normalize-space(.)"/>
-</xsl:otherwise>
-</xsl:choose>
-</xsl:template>
-
-<xsl:template match="d:bibliomisc" mode="bibtex">
-<xsl:choose>
-<xsl:when test="contains(.,'In Press') or contains(.,'In press') or contains(.,'in press') or contains(.,'in revision') or contains(.,'submitted')">
-   <xsl:text>, note = {</xsl:text>
- <xsl:value-of select="normalize-space(.)"/>
-   <xsl:text>}</xsl:text>
-</xsl:when>
-<xsl:otherwise>
- <xsl:message terminate="no">
-eee : unknown bibliomisc purpose for <xsl:value-of select="ancestor::d:biblioentry/@xml:id"/>
-eee : <xsl:value-of select="normalize-space(.)"/>
- </xsl:message>
- <xsl:text>, note = {</xsl:text>
- <xsl:value-of select="normalize-space(.)"/>
- <xsl:text>}</xsl:text>
-</xsl:otherwise>
-</xsl:choose>
-</xsl:template>
-
-</xsl:stylesheet>
Index: unk/bibopa.sh
===================================================================
--- /trunk/bibopa.sh	(revision 355)
+++ 	(revision )
@@ -1,1415 +1,0 @@
-#!/bin/bash
-#+
-#
-# .. _bibopa.sh:
-#
-# .. program:: bibopa.sh
-#
-# =========
-# bibopa.sh
-# =========
-#
-# SYNOPSIS
-# ========
-#
-# .. code-block:: bash
-#
-#    bibopa.sh -tmpdir tmpdir -i filein -e encoding -ti typein -o order -p project -l lang -to typeout
-#
-# DESCRIPTION
-# ===========
-#
-# .. option:: -tmpdir   <tmpdir>
-# .. option:: -i   <filein>
-# .. option:: -ti  <typein>
-# .. option:: -e   <encoding>
-#
-#                   default is encoding="iso-8859-1"
-#
-# .. option:: -o   <order>
-# .. option:: -p   <project>
-# .. option:: -l   <lang>
-# .. option:: -to  <typeout>
-#
-# transform a bibliography file in XML/DocBook 5 format
-#
-# Each entry in the same input file must follows the same order for authors
-# except the first one.
-#
-# With ``fs`` in option :option:`-o order` you will correctly process raw entry with
-# firstname and surname in this order for authors except the first one.
-#
-# If raw entry uses surname and firstname order, you should use ``sf``.
-#
-# .. parsed-literal::
-#
-#    Behera, S. K., J. Luo, S. Masson, S. Rao, S. Gualdi, P. Delecluse, A.
-#    Navarra and T. Yamagata, 2004 : Paramount Impact of the Indian Ocean
-#    Dipole on the East African Short Rains: A CGCM Study, J. Climate, In
-#    press.
-#
-# donnerait
-#
-# .. parsed-literal::
-#
-#    <biblioentry xml:id="behara2004">
-#    <authorgroup>
-#    <author><surname>Behera</surname> <firstname>S. K.</firstname> </author>
-#    <author><firstname>J.</firstname> <surname>Luo</surname></author>
-#    <author><firstname>S.</firstname> <surname>Masson</surname></author>
-#    <author><firstname>S.</firstname> <surname>Rao</surname></author>
-#    <author><firstname>S.</firstname> <surname>Gualdi</surname></author>
-#    <author><firstname>P.</firstname> <surname>Delecluse</surname></author>
-#    <author><firstname>A.</firstname> <surname>Navara</surname></author>
-#    <author><firstname>T.</firstname> <surname>Yamagata</surname></author>
-#    </authorgroup>
-#    <date>2004</date>
-#    <title>Paramount Impact of the Indian Ocean Dipole on the East African
-#    Short Rains: A CGCM Study</title>
-#    <publishername>J. Climate</publishername>
-#    <biblioid class="doi">doi</biblioid>
-#    <bibliomisc role="pseudoref">In press.</bibliomisc>
-#    <bibliomisc role="internalref">from
-#    http://www.lodyc.jussieu.fr/~opatlod/NEMO_v1/6_Menu/2_page/index.html
-#    2007-03-29T16:24:31Z fplod by hand</bibliomisc>
-#    </biblioentry>
-#
-# .. parsed-literal::
-#
-#    @book{MetReiCoh2004 ,
-#      author    = {Michael Metcalf and
-#              John Reid and Malcolm Cohen},
-#      title     = {Fortran 95/2003 explained},
-#      year      = {2004},
-#      publisher = {Oxford University Press},
-#      edition   = {Third},
-#      ISBN      = {0-19-852693-8},
-#      pages = {434}
-#    }
-#
-# donnerait
-#
-# .. parsed-literal::
-#
-#    <biblioentry xml:id="MetReiCoh2004">
-#    <authorgroup>
-#    <author><firstname>Michael</firstname> <surname>Metcalf</surname></author>
-#    <author><firstname>John</firstname> <surname>Reid</surname></author>
-#    <author><firstname>Malcolm</firstname> <surname>Cohen</surname></author>
-#    </authorgroup>
-#    <date>2004}</date>
-#    <title>Fortran 95/2003 explained</title>
-#    <publisher><publishername>Oxford University Press</publishername></publisher>
-#    <biblioid class="isbn">0-19-852693-8</biblioid>
-#    <pagenums>434</pagenums>
-#    <edition>Third</edition>
-#
-# EXAMPLES
-# ========
-#
-# To transform the NEMO bibliography file written in raw format to XML/DocBook:
-#
-# .. code-block:: bash
-#
-#   bibopa.sh -tmpdir /tmp -p birefnemo -i data/biball.txt -ti raw
-#
-# To transform a bibliography file written mailbody format to XML/DocBook:
-#
-# .. code-block:: bash
-#
-#    bibopa.sh -tmpdir /tmp -p bibrefnemo -i data/mail2007-05-10T09:01:56Z -ti mailbody
-#
-# To transform a bibliography file written in bibtex format in french to XML/DocBook:
-#
-# .. code-block:: bash
-#
-#    bibopa.sh -tmpdir /tmp -p polyfortran -i data/petitpolyfp.bib -ti bibtex -l fr
-#
-# To transform the SUPERBIB demo bibliography file written in raw format to XML/DocBook:
-#
-# .. code-block:: bash
-#
-#    bibopa.sh -tmpdir /tmp -p demo1 -i data/bibdemo1.txt -ti raw -l fr
-#
-# Less official but possible:
-#
-# To transform the NEMO bibliography file written in raw format to bibtex:
-#
-# .. code-block:: bash
-#
-#    bibopa.sh -tmpdir /tmp -p nemo -ti raw -to bib -i bibnemo.txt
-#
-# SEE ALSO
-# ========
-#
-# :ref:`mailtouser.sh`
-#
-# TODO
-# ====
-#
-# gestion des comments
-#
-# gestion des id existants (cf Ã  la fin)
-#
-# option debug
-#
-# should use iconv instead of recode
-# for portability issue but not found yet the "flat" functionality in
-# iconv
-# tips 20101006 : iconv: //TRANSLIT feature not documented cf.
-# http://www.gnu.org/software/libiconv/documentation/libiconv/iconv_open.3.html
-# not already used because non-standard usage
-#
-# write something in the logfile !
-#
-# handle fully written firstnames like in:
-#
-# .. parsed-literal::
-#
-#    Tsimplis, Michael, Marta Marcos, Jeanne Colin, Samuel Somot, Ananda Pascual, A.G.P. Shaw, 2009 : Sea level variability in the Mediterranean Sea during the 1990s on the basis of two 2d and one 3d model, Journal of Marine Systems, 78, 1, 109-123, doi:10.1016/j.jmarsys.2009.04.003
-#
-# EVOLUTIONS
-# ==========
-#
-# $Id$
-#
-# - fplod 20131017T085825Z callisto.locean-ipsl.upmc.fr (Linux)
-#
-#   * add tmpdir argument
-#   * dynamic xmlstarlet vs xml
-#   * add journal "Earth and Planetary Sciences, sÃ©rie IIa, Paris,"
-#     (nb : diacritics tricks)
-#
-# - fplod 20130423T143122Z cratos.locean-ipsl.upmc.fr (Linux)
-#
-#   * add encoding option for input file (too tricky to be implemented see
-#     http://stackoverflow.com/questions/805418/how-to-find-encoding-of-a-file-in-unix-via-scripts)
-#
-# - fplod 20120227
-#
-#   * xmlstarlet vs xml
-#
-# - fplod 20101006T113902Z aedon.locean-ipsl.upmc.fr (Darwin)
-#
-#   * add "Remote Sensing Env."
-#   * add "Ocean Sciences"
-#   * add "Dynamics of Atmospheres and Oceans"
-#   * add "Comptes Rendus Geoscience"
-#   * add "Marine Pollution Bulletin"
-#   * add "Continental Shelf Research"
-#   * add ""Ocean Sci."
-#   * add "Environmental Fluid Mechanics"
-#   * add "Geochem. Geophys. Geosyst."
-#   * add "Journal of Applied Meteorology and Climatology"
-#   * add "Monthly Weather Review"
-#   * add "High Performance Computing on Vector Systems 2007"
-#   * add "High Performance Computing on Vector Systems 2006"
-#   * add "High Performance Computing in Science and Engineering '08"
-#   * add "Developments in Earth and Environmental Sciences"
-#   * add "Oceanography"
-#
-# - fplod 20101006T100532Z aedon.locean-ipsl.upmc.fr (Darwin)
-#
-#   * bug fix (misplaced EOF)
-#   * replace -t option by -ti
-#   * add -to (typeout) option (by default dbk)
-#   * add bibtex production
-#
-# - fplod 2009-03-13T09:35:42Z aedon.locean-ipsl.upmc.fr (Darwin)
-#
-#   * add "High Performance Computing in Science and Engineering"
-#   * add "Annals of Glaciology"
-#   * add "Journal of Physical Oceanography"
-#
-# - fplod 2009-01-15T10:36:18Z aedon.locean-ipsl.upmc.fr (Darwin)
-#
-#   * add description of ``-o`` option
-#   * add journal "PNAS"
-#   * add journal "Lettre PIGB-PMRC"
-#
-# - fplod 2009-01-14T15:27:48Z aedon.locean-ipsl.upmc.fr (Darwin)
-#
-#   * add journal "Water Resources Research"
-#   * add journal "Climate Research"
-#   * add conf "Colloque du GIS Â« Climat-Environnement-SociÃ©tÃ©s Â»"
-#   * add journal "Agricultural and Forest Meteorology"
-#   * add conf "VIIth IAHS Scientific Assembly"
-#   * add conf "AGU fall Meeting"
-#   * add journal "Phil. Trans. Roy. Soc. B"
-#   * add journal "Phil. Trans. Roy. Soc. B"
-#   * add conf "4th Alexander Von Humboldt International Conference"
-#   * add journal/conf "??" (Should not be used too much !)
-#   * add journal "Nature Geosciences"
-#   * add journal "International Journal of Climatology"
-#   * add journal "Journal of Hydrology"
-#   * add journal "Revue de l'Ãnergie"
-#   * add journal "Clim. Res."
-#   * add journal "Hydrol. Earth Sys. Sci."
-#   * add journal "Ambio"
-#   * add journal "Theoretical and applied climatology"
-#   * add journal "Remote Sensing of Environnement"
-#
-# - fplod 2008-10-28T11:40:19Z aedon.locean-ipsl.upmc.fr (Darwin)
-#
-#   * add journal "Progress In Oceanography"
-#   * add journal "Climatic Change"
-#   * add journal "Ocean Dynamics"
-#   * add journal "Phil. Trans. Roy. Soc. A"
-#   * add journal "Izvestiya Atmospheric and Oceanic Physics"
-#   * add journal "Journal of Hydrometeorology"
-#   * add journal "Remote Sensing of Environment"
-#   * add journal "Oceanology"
-#   * add journal "Water Resour. Res."
-#   * add journal "Advances in Atmospheric Sciences"
-#   * add journal "Quaternary Science Reviews"
-#   * replace "Elsevier Oceanography Series" by "Elsevier Oceanographic Series"
-#   * bug fix : unclosed date tag
-#   * trouble with flat conversion for id building ...
-#   * remove interactivity at then end (allowing redirection of stderr and
-#     stdout)
-#   * strip blank lines
-#   * bug fix : counting nb of occurrences of "," technique ... to be improved
-#
-# - fplod 2008-09-16T15:19:59Z aedon.locean-ipsl.upmc.fr (Darwin)
-#
-#   * comments in reStructuredText
-#
-# - fplod 2008-05-16T10:33:16Z aedon.locean-ipsl.upmc.fr (Darwin)
-#
-#   * add parameter -o for firstname/surname order in bibtex file
-#
-# - fplod 2008-05-15T15:15:04Z aedon.locean-ipsl.upmc.fr (Darwin)
-#
-#   * new way of processing bibtex file : external/bibtex2xml.py
-#
-# - fplod 2008-04-30T07:11:58Z aedon.locean-ipsl.upmc.fr (Darwin)
-#
-#   * chgt for dbk5 out
-#   * xmlto 0.0.18 does'nt like this docbook release. remove
-#   * usage of xml (xmlstarlet) for validation
-#   * bug fix
-#   * add journal names from demo1
-#   * fplod 2008-03-12T16:11:07Z aedon.locean-ipsl.upmc.fr (Darwin)
-#   * add -p option (to overide bibrefnemo in file name and id)
-#   * add -l option by default en
-#
-# - fplod 2008-03-11T11:25:27Z aedon.locean-ipsl.upmc.fr (Darwin)
-#
-#   * add bibtex entry (not finished)
-#
-# - fplod 2007-06-20T17:18:02Z aedon.locean-ipsl.upmc.fr (Darwin)
-#
-#   * <bibliomisc role="id"> replace by <biblioid class="doi">
-#
-# - smasson 2007-06-07T16:43:42Z arete.locean-ipsl.upmc.fr (Darwin)
-#
-#   * Add journals
-#
-# - fplod 2007-05-10T09:17:09Z aedon.locean-ipsl.upmc.fr (Darwin)
-#
-#   * derniÃšres touches
-#
-# - fplod 2007-04-25T10:59:49Z cerbere.locean-ipsl.upmc.fr (Linux)
-#
-#   * add a filein parameter and an option for mailbody
-#   * comments (line beginning with #) are now possible
-#
-# - Sebastien Masson avril 2007
-#
-#   * creation
-#
-#-
-
-rmbl () {
-    echo "${1}" | sed -e "s/^ *//" | sed -e "s/ *$//"
-}
-cleanname () {
-    echo "${1}" | sed -e "s/^ *//" \
-    -e "s/^ *,//" \
-    -e "s/^ *;//" \
-    -e "s/^ *\.//" \
-    -e "s/ *$//" \
-    -e "s/, *$//" \
-    -e "s/; *$//" \
-    -e "s/\. *$//"
-}
-#
-system=$(uname)
-case "${system}" in
-    AIX|IRIX64)
-        echo " www : no specific posix checking"
-    ;;
-    Darwin)
-    ;;
-    *)
-        set -o posix
-    ;;
-esac
-unset system
-#
-set -u
-#
-command=$(basename ${0})
-log_date=$(date -u +"%Y%m%dT%H%M%SZ")
-log=/tmp/$(basename ${command} .sh).log.${log_date}
-#
-# test if xsltproc is available
-tool=xsltproc
-type ${tool} 1> /dev/null 2>&1
-status=${?}
-if [ ${status} -ne 0 ]
-then
-    echo " eee : ${tool} not found"
-    exit 1
-fi
-unset status
-unset tool
-#
-# test if xml is available
-tool=${xmlcmd}
-type ${tool} 1> /dev/null 2>&1
-status=${?}
-if [ ${status} -ne 0 ]
-then
-    echo " eee : ${tool} not found"
-    exit 1
-fi
-unset status
-unset tool
-#
-# test if python is available
-tool=python
-type ${tool} 1> /dev/null 2>&1
-status=${?}
-if [ ${status} -ne 0 ]
-then
-    echo " eee : ${tool} not found"
-    exit 1
-fi
-unset status
-unset tool
-#
-# test if recode is available
-tool=recode
-type ${tool} 1> /dev/null 2>&1
-status=${?}
-if [ ${status} -ne 0 ]
-then
-    echo " eee : ${tool} not found"
-    exit 1
-fi
-unset status
-unset tool
-#
-usage=" Usage : ${command} -tmpdir tmpdir -i filein -ti typein -e encoding -o order -p project -l lang -to typeout"
-#
-# default
-lang=en
-# fs mean "firstname surname"
-order="fs"
-typeout="dbk"
-encoding="iso-8859-1"
-tmpdir="/tmp"
-#
-minargcount=8
-#echo " narg ${#}"
-if [ ${#} -lt ${minargcount} ]
-then
-    echo "eee : not enough arguments"
-    echo "${usage}"
-    exit 1
-fi
-unset minargcount
-#
-while [ ${#} -gt 0 ]
-do
-    case ${1} in
-        -tmpdir)
-            tmpdir=${2}
-            shift
-        ;;
-        -i)
-            filein=${2}
-            shift
-        ;;
-        -ti)
-            typein=${2}
-            shift
-        ;;
-        -e)
-            encoding=${2}
-            shift
-        ;;
-        -to)
-            typeout=${2}
-            shift
-        ;;
-        -o)
-            # order of firstname surname in bibtex file
-            order=${2}
-            shift
-        ;;
-        -p)
-            project=${2}
-            shift
-        ;;
-        -l)
-            lang=${2}
-            shift
-        ;;
-        -h)
-            echo "${usage}"
-            exit 0
-        ;;
-        *)
-            # other choice
-            echo "eee : unknown option ${1}"
-            echo "${usage}"
-            exit 1
-        ;;
-    esac
-    # next flag
-    shift
-done
-unset usage
-#
-# check for filein
-if [ ! -f ${filein} ]
-then
-    echo "eee : ${filein} not found"
-    exit 1
-fi
-#
-case ${typeout} in
-    dbk)
-        fileou=$( basename ${filein} .txt).xml
-    ;;
-    bibtex)
-        fileou=$( basename ${filein} .txt).bib
-    ;;
-    *)
-        echo "eee : typeout should be dbk or bibtex"
-        exit 1
-    ;;
-esac
-#
-# check for output
-case ${typein} in
-    raw)
-        # file like data/biball.txt
-        fileraw=${filein}
-    ;;
-    mailbody)
-        # file like data/mail2007-04-25T08:58:16Z.txt
-        fileraw=${tmpdir}/$(basename ${filein}).raw
-        echo "# from ${filein}" > ${fileraw}
-        echo "# ${log_date}" >> ${fileraw}
-        echo "# corrections" >> ${fileraw}
-        grep "correction_.*=" ${filein} | grep -v "correction_.*=$" | \
-        sed -e "s/correction_.*=//">> ${fileraw}
-        echo "# new references" >> ${fileraw}
-        awk "/newreferences=/,/comments=/" ${filein} | sed -e "s/newreferences=//" -e "/comments=/d" >> ${fileraw}
-        #more ${fileraw} # ++ if debug
-        #read a #++ if debug
-    ;;
-    bibtex)
-        # file like data/petitpoly.bib
-        fileraw=${tmpdir}/$(basename ${filein}).raw
-        awk -f ${PROJECT}/join_endcomma.awk ${filein} > ${fileraw}
-    ;;
-    *)
-        echo "eee : typein should be raw, mailbody or bibtex"
-        exit 1
-    ;;
-esac
-#
-# check for output
-if [ -f ${fileou} ]
-then
-    echo "eee : ${fileou} already exist"
-    exit 1
-fi
-#
-ij=1
-jlist[${ij}]="J. Climate"
-ij=$(( ${ij} + 1))
-jlist[${ij}]="Journal of Climate"
-ij=$(( ${ij} + 1))
-jlist[${ij}]="Ocean Modelling"
-ij=$(( ${ij} + 1))
-jlist[${ij}]="Geophys. Res. Lett."
-ij=$(( ${ij} + 1))
-jlist[${ij}]="J. Geophys. Res."
-ij=$(( ${ij} + 1))
-jlist[${ij}]="Tellus A"
-ij=$(( ${ij} + 1))
-jlist[${ij}]="Tellus B"
-ij=$(( ${ij} + 1))
-jlist[${ij}]="J. Phys. Oceanogr."
-ij=$(( ${ij} + 1))
-jlist[${ij}]="Clim. Dyn."
-ij=$(( ${ij} + 1))
-jlist[${ij}]="Clim. Res."
-ij=$(( ${ij} + 1))
-jlist[${ij}]="Climate Dynamics"
-ij=$(( ${ij} + 1))
-jlist[${ij}]="Dynamics of Atmospheres and Oceans"
-ij=$(( ${ij} + 1))
-jlist[${ij}]="Dyn. Atmos. Oceans"
-ij=$(( ${ij} + 1))
-jlist[${ij}]="Mon. Wea. Rev."
-ij=$(( ${ij} + 1))
-jlist[${ij}]="Monthly Weather Review"
-ij=$(( ${ij} + 1))
-jlist[${ij}]="Global Biogeochem. Cycles"
-ij=$(( ${ij} + 1))
-jlist[${ij}]="Nonlinear Processes in Geophysics"
-ij=$(( ${ij} + 1))
-jlist[${ij}]="Ocean Sci."
-ij=$(( ${ij} + 1))
-jlist[${ij}]="Ocean Science"
-ij=$(( ${ij} + 1))
-jlist[${ij}]="Ocean Sciences"
-ij=$(( ${ij} + 1))
-jlist[${ij}]="J. Mar. Systems"
-ij=$(( ${ij} + 1))
-jlist[${ij}]="J. Atmos. Sc."
-ij=$(( ${ij} + 1))
-jlist[${ij}]="Proc. Royal Soc."
-ij=$(( ${ij} + 1))
-jlist[${ij}]="Bull. Amer. Meteorol. Soc."
-ij=$(( ${ij} + 1))
-jlist[${ij}]="Ocean Dyn."
-ij=$(( ${ij} + 1))
-jlist[${ij}]="Geophysical Monograph Series, Earth's Climate: The Ocean-Atmosphere Interaction"
-ij=$(( ${ij} + 1))
-jlist[${ij}]="Paleoceanography"
-ij=$(( ${ij} + 1))
-jlist[${ij}]="Annales Geophysicae"
-ij=$(( ${ij} + 1))
-jlist[${ij}]="Annals of Geophys."
-ij=$(( ${ij} + 1))
-jlist[${ij}]="Deep Sea Research Part II: Topical Studies in Oceanography"
-ij=$(( ${ij} + 1))
-jlist[${ij}]="Deep Sea Res. II"
-ij=$(( ${ij} + 1))
-jlist[${ij}]="Atmospheric Chemistry and Physics"
-ij=$(( ${ij} + 1))
-jlist[${ij}]="Atmospheric Chemistry and Physics Discussions"
-ij=$(( ${ij} + 1))
-jlist[${ij}]="Earth Plan. Sc. Lett."
-ij=$(( ${ij} + 1))
-jlist[${ij}]="J. Mar. Res."
-ij=$(( ${ij} + 1))
-jlist[${ij}]="PCMDI Report Series"
-ij=$(( ${ij} + 1))
-jlist[${ij}]="J. Mar. Syst."
-ij=$(( ${ij} + 1))
-jlist[${ij}]="Note du PÃŽle de ModÃ©lisation"
-ij=$(( ${ij} + 1))
-jlist[${ij}]="Calculateurs ParallÃšles"
-ij=$(( ${ij} + 1))
-jlist[${ij}]="Note Scientifique du PÃŽle de ModÃ©lisation"
-ij=$(( ${ij} + 1))
-jlist[${ij}]="Lecture Notes in Computer Science"
-ij=$(( ${ij} + 1))
-jlist[${ij}]="Prog. Oceanogr."
-ij=$(( ${ij} + 1))
-jlist[${ij}]="Deep Sea Research Part I: Oceanographic Research Papers"
-ij=$(( ${ij} + 1))
-jlist[${ij}]="Deep Sea Res. I"
-ij=$(( ${ij} + 1))
-jlist[${ij}]="IEEE Trans. Geosci. Remote Sensing"
-ij=$(( ${ij} + 1))
-jlist[${ij}]="ECMWF Tech. Memorandum"
-ij=$(( ${ij} + 1))
-jlist[${ij}]="J. Environ. Radioactivity"
-ij=$(( ${ij} + 1))
-jlist[${ij}]="Int. WOCE Newsletter"
-ij=$(( ${ij} + 1))
-jlist[${ij}]="C. R. Acad. Sci. Paris"
-ij=$(( ${ij} + 1))
-jlist[${ij}]="C. R. Acad. Sci. Paris, Earth and Planetary Sciences"
-ij=$(( ${ij} + 1))
-jlist[${ij}]="In The mathematics of models for climatology and environment"
-ij=$(( ${ij} + 1))
-jlist[${ij}]="Oceanol. Acta"
-ij=$(( ${ij} + 1))
-jlist[${ij}]="The global atmosphere and ocean system"
-ij=$(( ${ij} + 1))
-jlist[${ij}]="NATO Advanced Study Institute"
-ij=$(( ${ij} + 1))
-jlist[${ij}]="WCRP"
-ij=$(( ${ij} + 1))
-jlist[${ij}]="The Courier"
-ij=$(( ${ij} + 1))
-jlist[${ij}]="Elsevier Oceanography Series"
-ij=$(( ${ij} + 1))
-jlist[${ij}]="In Conference Proceedings of the 1988 International Conference on Supercomputing"
-ij=$(( ${ij} + 1))
-jlist[${ij}]="In Science and engineering on Cray Supercomputers"
-ij=$(( ${ij} + 1))
-jlist[${ij}]="In Modeling the Earth's Climate and its Variability"
-ij=$(( ${ij} + 1))
-jlist[${ij}]="Fish. Oceanogr."
-ij=$(( ${ij} + 1))
-jlist[${ij}]="Q. J. R. Meteor. Soc."
-ij=$(( ${ij} + 1))
-jlist[${ij}]="In High performance computing in the geosciences"
-ij=$(( ${ij} + 1))
-jlist[${ij}]="Int. J. Numer. Meth. in Fluids"
-ij=$(( ${ij} + 1))
-jlist[${ij}]="Lecture notes in Physics"
-ij=$(( ${ij} + 1))
-jlist[${ij}]="J. Meteorol. Soc. Japan"
-ij=$(( ${ij} + 1))
-jlist[${ij}]="Journal of Marine Systems"
-ij=$(( ${ij} + 1))
-jlist[${ij}]="Canadian Journal of Fisheries and Aquatic Sciences"
-ij=$(( ${ij} + 1))
-jlist[${ij}]="J. Atmos. Ocean. Tech."
-ij=$(( ${ij} + 1))
-jlist[${ij}]="EOS"
-ij=$(( ${ij} + 1))
-jlist[${ij}]="Nature"
-ij=$(( ${ij} + 1))
-jlist[${ij}]="Nature Geosciences"
-ij=$(( ${ij} + 1))
-jlist[${ij}]="Physics and Chemistry of the Earth, Part B: Hydrology, Oceans and Atmosphere"
-ij=$(( ${ij} + 1))
-jlist[${ij}]="Journal of Atmospheric and Oceanic Technology"
-ij=$(( ${ij} + 1))
-jlist[${ij}]="Lecture Notes in Computational Science Engineering"
-ij=$(( ${ij} + 1))
-jlist[${ij}]="In Greenhouse Gas Control Technologies"
-ij=$(( ${ij} + 1))
-jlist[${ij}]="Chemical Geology"
-ij=$(( ${ij} + 1))
-jlist[${ij}]="Marine Geology"
-ij=$(( ${ij} + 1))
-jlist[${ij}]="Developments in Paleoenvironmental Research"
-ij=$(( ${ij} + 1))
-jlist[${ij}]=" Developments in Earth and Environmental Sciences"
-ij=$(( ${ij} + 1))
-jlist[${ij}]="Science"
-ij=$(( ${ij} + 1))
-jlist[${ij}]="In Mediterranean Climate Variability"
-ij=$(( ${ij} + 1))
-jlist[${ij}]="Global and Planetary Change"
-ij=$(( ${ij} + 1))
-jlist[${ij}]="Physical Review Letters"
-ij=$(( ${ij} + 1))
-jlist[${ij}]="Progress In Oceanography"
-ij=$(( ${ij} + 1))
-jlist[${ij}]="Climatic Change"
-ij=$(( ${ij} + 1))
-jlist[${ij}]="Ocean Dynamics"
-ij=$(( ${ij} + 1))
-jlist[${ij}]="Phil. Trans. Roy. Soc. A"
-ij=$(( ${ij} + 1))
-jlist[${ij}]="Phil. Trans. Roy. Soc. B"
-ij=$(( ${ij} + 1))
-jlist[${ij}]="Izvestiya Atmospheric and Oceanic Physics"
-ij=$(( ${ij} + 1))
-jlist[${ij}]="Journal of Hydrometeorology"
-ij=$(( ${ij} + 1))
-jlist[${ij}]="Journal of Hydrology"
-ij=$(( ${ij} + 1))
-jlist[${ij}]="Remote Sensing of Environment"
-ij=$(( ${ij} + 1))
-jlist[${ij}]="Remote Sensing Env."
-ij=$(( ${ij} + 1))
-jlist[${ij}]="Oceanology"
-ij=$(( ${ij} + 1))
-jlist[${ij}]="Water Resour. Res."
-ij=$(( ${ij} + 1))
-jlist[${ij}]="Water Resources Research"
-ij=$(( ${ij} + 1))
-jlist[${ij}]="Advances in Atmospheric Sciences"
-ij=$(( ${ij} + 1))
-jlist[${ij}]="Quaternary Science Reviews"
-ij=$(( ${ij} + 1))
-jlist[${ij}]="AGU monograph Ocean Circulation Mechanisms and Impacts"
-ij=$(( ${ij} + 1))
-jlist[${ij}]="Climate Research"
-ij=$(( ${ij} + 1))
-jlist[${ij}]="Colloque du GIS Â« Climat-Environnement-SociÃ©tÃ©s Â»"
-ij=$(( ${ij} + 1))
-jlist[${ij}]="Agricultural and Forest Meteorology"
-ij=$(( ${ij} + 1))
-jlist[${ij}]="VIIth IAHS Scientific Assembly"
-ij=$(( ${ij} + 1))
-jlist[${ij}]="AGU fall Meeting"
-ij=$(( ${ij} + 1))
-jlist[${ij}]="4th Alexander Von Humboldt International Conference"
-ij=$(( ${ij} + 1))
-jlist[${ij}]="International Journal of Climatology"
-ij=$(( ${ij} + 1))
-jlist[${ij}]="Revue de l'Ãnergie"
-ij=$(( ${ij} + 1))
-jlist[${ij}]="Hydrol. Earth Sys. Sci."
-ij=$(( ${ij} + 1))
-jlist[${ij}]="Ambio"
-ij=$(( ${ij} + 1))
-jlist[${ij}]="Theoretical and applied climatology"
-ij=$(( ${ij} + 1))
-jlist[${ij}]="Remote Sensing of Environnement"
-ij=$(( ${ij} + 1))
-jlist[${ij}]="PNAS"
-ij=$(( ${ij} + 1))
-jlist[${ij}]="Lettre PIGB-PMRC"
-ij=$(( ${ij} + 1))
-jlist[${ij}]="High Performance Computing in Science and Engineering"
-ij=$(( ${ij} + 1))
-jlist[${ij}]="High Performance Computing in Science and Engineering '08"
-ij=$(( ${ij} + 1))
-jlist[${ij}]="High Performance Computing on Vector Systems 2006"
-ij=$(( ${ij} + 1))
-jlist[${ij}]="High Performance Computing on Vector Systems 2007"
-ij=$(( ${ij} + 1))
-jlist[${ij}]="Annals of Glaciology"
-ij=$(( ${ij} + 1))
-jlist[${ij}]="Oceanography"
-ij=$(( ${ij} + 1))
-jlist[${ij}]="Journal of Physical Oceanography"
-ij=$(( ${ij} + 1))
-jlist[${ij}]="In Deep convection and deep water formation in the oceans"
-ij=$(( ${ij} + 1))
-jlist[${ij}]="Journal of Applied Meteorology and Climatology"
-ij=$(( ${ij} + 1))
-jlist[${ij}]="Geochem. Geophys. Geosyst."
-ij=$(( ${ij} + 1))
-jlist[${ij}]="Environmental Fluid Mechanics"
-ij=$(( ${ij} + 1))
-jlist[${ij}]="Continental Shelf Research"
-ij=$(( ${ij} + 1))
-jlist[${ij}]="Marine Pollution Bulletin"
-ij=$(( ${ij} + 1))
-jlist[${ij}]="Comptes Rendus Geosciences"
-ij=$(( ${ij} + 1))
-#jlist[${ij}]="Earth and Planetary Sciences, sÃ©rie IIa, Paris"
-jlist[${ij}]="Earth and Planetary Sciences, sÃÂ©rie IIa, Paris"
-ij=$(( ${ij} + 1))
-jlist[${ij}]="??"
-#
-# following Journal name are fake ones for demo1 : references extracted from
-# Cantratrix Sopronica L. written by Georges Perec
-#find in http://www-rocq.inria.fr/who/Marc.Thiriet/PsFil/Biblio/cantatrix.ps
-ij=$(( ${ij} + 1))
-jlist[${ij}]="Res. Proc. neurophysiol. Fanatic Soc."
-ij=$(( ${ij} + 1))
-jlist[${ij}]="New Records Ass. J."
-ij=$(( ${ij} + 1))
-jlist[${ij}]="Am. J. Allegrol."
-ij=$(( ${ij} + 1))
-jlist[${ij}]="J. Neurochem. Neurocytol. Enzymol."
-ij=$(( ${ij} + 1))
-jlist[${ij}]="Hammersmith J."
-ij=$(( ${ij} + 1))
-jlist[${ij}]="Nasa Rept."
-ij=$(( ${ij} + 1))
-jlist[${ij}]="C.r. Assoc. Conc. Lam."
-ij=$(( ${ij} + 1))
-jlist[${ij}]="Gaz. med. franco-rus."
-ij=$(( ${ij} + 1))
-jlist[${ij}]="Amer. J. music. Deficiency"
-#
-# strip comments and blank lines
-fileraw_strict=${tmpdir}/$(basename ${fileraw})_strict
-grep -v "^#" ${fileraw} | grep -v "^%" | sed "/^$/d" > ${fileraw_strict}
-# following line is not compatible with XML header ++
-if [ "${encoding}" = "iso-8859-1" ]
-then
-    # convert ot UTF-8 to please bibtex2xml
-    iconv -f ISO-8859-1 -t UTF-8 ${fileraw_strict} > ${fileraw_strict}2
-    mv ${fileraw_strict}2 ${fileraw_strict}
-fi
-case ${typein} in
-    bibtex)
-        fileou_bibtexml=${tmpdir}/$(basename ${fileraw})_bibtexml
-        python ${PROJECT}/external/bibtex2xml.py ${fileraw_strict} > ${fileou_bibtexml}
-        xsltproc --output ${fileou} \
-        --param lang "'${lang}'" \
-        --param project "'${project}'" \
-        --param makedate "'${log_date}'" \
-        --param order "'${order}'" \
-        ${PROJECT}/bibtexml2dbk.xsl ${fileou_bibtexml}
-read a
-head ${fileou}
-        #++rm ${fileou_bibtexml}
-    ;;
-    *)
-        case ${typeout} in
-            dbk)
-                cat <<EOF > ${fileou}
-<?xml version='1.0' encoding='ISO-8859-1'?>
-<bibliography
-version="5.0"
-xmlns="http://docbook.org/ns/docbook"
-xml:id="bib${project}ref"
-xml:lang="${lang}">
-
-<info>
-    <date>${log_date}</date>
-</info>
-EOF
-            ;;
-            bibtex)
-                cat <<EOF > ${fileou}
-
-@PREAMBLE{"bibliography of ${project}"}"
-
-% ${log_date}
-
-EOF
-            ;;
-        esac
-        totlines=$( wc -l ${fileraw_strict} | awk '{print $1}' )
-        l=1
-        while [ ${l} -le ${totlines} ]
-        do
-            #echo "line: ${l}"
-            # extract one line
-            line=$( sed -n ${l}p ${fileraw_strict} )
-            orgline=$( echo ${line} | sed -e "s/--/- -/g" )
-            line=$( echo ${line} | sed -e "s/</\&lt;/g" -e "s/>/\&gt;/g" )
-            # parsing non bibtex line
-            bibtex=0
-            # before the first :
-            tmp=${line%%:*}
-            # before the last ,
-            auths=${tmp%,*},
-            # replace " and " by ","
-            auths=$( echo "${auths}" | sed -e "s/ and /,/g" )
-            # replace " et " by ","
-            auths=$( echo "${auths}" | sed -e "s/ et /,/g" )
-            # after the last ,
-            year=${tmp##*,}
-            year=$( rmbl "${year}" )
-            ## first author before the first .,
-            first=${auths%%.,*}.
-            # its firstname after the last ,
-            firstfn=${first##*,}
-            firstfn=$( rmbl "${firstfn}" )
-            # its surname ; before the first ,
-            firstsn=${first%%,*}
-            firstsn=$( rmbl "${firstsn}" )
-            ## ref id
-            firstsn_flat=$( echo "${firstsn}" | recode -d -f ISO-8859-15..flat )
-            # echo "firstsn : ${firstsn}" # ++ debug
-            # echo "firstsn_flat : ${firstsn_flat}" #++ debug
-            # test if no encoding problem after ISO-8859-15 to flat conversion
-            firstsn_test1=$(echo "${firstsn_flat}" | tr -d "[:alpha:]" | tr -d " " | tr -d "'" | tr -d "-" | tr -d ".")
-            # echo "firstsn_test1 : ${firstsn_test1}" # ++ debug
-            if [ ! -z "${firstsn_test1}" ]
-            then
-                echo "www : pb on ISO-8859-15 to flat conversion"
-                echo "www : on ${firstsn}"
-                echo "www : trying UTF-8 to flat conversion ..."
-                firstsn_flat=$( echo "${firstsn}" | recode -d -f UTF-8..flat )
-                # test if no encoding problem after UTF-8 to flat conversion
-                firstsn_test2=$(echo "${firstsn_flat}" | tr -d "[:alpha:]" | tr -d " " | tr -d "'")
-                #echo "firstsn_test2 : A${firstsn_test2}A" # ++ debug
-                if [ ! -z "${firstsn_test2}" ]
-                then
-                    echo "eee : pb on flat conversion of ${firstsn}"
-                    exit 1
-                fi
-            fi
-            firstsn_lower=$( echo "${firstsn_flat}" | tr "[:upper:]" "[:lower:]")
-            firstsn_nopunct=$( echo "${firstsn_lower}" | tr -s " " "_"  | tr -s "'" "_")
-            refid="${firstsn_nopunct}${year}"
-            unset firstsn_lower
-            unset firstsn_flat
-            unset firstsn_test1
-            unset firstsn_test2
-            # look for id of biblio entry to produce a unique one
-            case ${typeout} in
-                dbk)
-                    num=$( grep -c "<biblioentry xml:id=\"${refid}_[0-9][0-9]\">" ${fileou} )
-                ;;
-                bibtex)
-                    num=$( grep -c "@.*{${refid}_[0-9][0-9]," ${fileou} )
-                ;;
-            esac
-            num=$(( ${num} + 1 ))
-            [ ${num} -le 9 ] && num=0${num}
-            refid=${refid}_${num}
-            hasauthor=1
-            case ${typeout} in
-                dbk)
-                    cat <<EOF >> ${fileou}
-<biblioentry xml:id="${refid}">
-<!-- date $( date -u +"%Y%m%dT%H%M%SZ" ) -->
-<!-- original text
-${orgline}
--->
-EOF
-                ;;
-                bibtex)
-                    cat <<EOF >> ${fileou}
-%
-% date $( date -u +"%Y%m%dT%H%M%SZ" )
-% original text :
-% ${orgline}
-%
-@article{${refid},
-EOF
-                ;;
-            esac
-            if [ ${hasauthor} -eq 1 ]
-            then
-                case ${typeout} in
-                    dbk)
-                        cat <<EOF >> ${fileou}
-<authorgroup>
-<author> <personname> <surname>${firstsn}</surname> <firstname>${firstfn}</firstname> </personname> </author>
-EOF
-                    ;;
-                    bibtex)
-                        cat <<EOF >> ${fileou}
-author = {${firstsn}, ${firstfn}},
-EOF
-                    ;;
-                esac
-                ## other authors..
-                if [ ${bibtex} -eq 0 ]
-                then
-                    previous=${first},
-                    # next authors...
-                    next=${auths##*${previous}}
-                fi
-                if [ ${bibtex} -eq 1 ]
-                then
-                    previous=${first}"and "
-                    # next authors...
-                    #echo "auths ${auths}"
-                    next=${auths##*${previous}}
-                    if [ "${next}and " = "${previous}" ]
-                    then
-                        next=""
-                    fi
-                fi
-                #echo "previous ${previous}"
-                #echo "next ${next}"
-                # while the next author is not empty
-                while [  "${next}" != "" ]
-                do
-                    if [ ${bibtex} -eq 0 ]
-                    then
-                        # get the first next author; before the first ,
-                        next=${next%%,*}
-                        # its surname ; after the last .
-                        nextsn=${next##*.}
-                        nextsn=$( rmbl "${nextsn}" )
-                        # its firstname ; before the last .
-                        nextfn=${next%.*}.
-                        nextfn=$( rmbl "${nextfn}" )
-                    fi
-                    if [ ${bibtex} -eq 1 ]
-                    then
-                        # get the first next author; before the first "and"
-                        next=${next%%and *}
-                        # its surname after the last " "
-                        # ++ pas vrai double nom et pb blanc dans la syntaxe
-                        # nextsn=${next##* } .
-                        # ok en interactif . pas ok en script
-                        nextsn=$( echo ${next}  | awk '{print $2}')
-                        #echo "nextsn ${nextsn}"
-                        # its nextname before the first " "
-                        nextfn=${next%% *}
-                    fi
-                    #
-                    case ${typeout} in
-                        dbk)
-                            echo "    <author> <personname> <surname>${nextsn}</surname> <firstname>${nextfn}</firstname> </personname> </author>" >> ${fileou}
-                        ;;
-                        bibtex)
-                            echo "author = {${nextsn}, ${nextfn}}," >> ${fileou}
-                        ;;
-                    esac
-                    if [ ${bibtex} -eq 0 ]
-                    then
-                        previous=${next},
-                        next=${auths##*${previous}}
-                    fi
-                    if [ ${bibtex} -eq 1 ]
-                    then
-                        previous=${next}"and "
-                        next=${auths##*${previous}}
-                    fi
-                done
-                case ${typeout} in
-                    dbk)
-                        echo "  </authorgroup>"  >> ${fileou}
-                    ;;
-                esac
-            fi
-            # end of the line ; after the first :
-            endline=${line#*:}
-            ## find the journal
-            j=1
-            jfound=""
-            jlistsize=${#jlist[@]}
-            while [[ ${j} -le ${jlistsize} && "${jfound}" = "" ]]
-            do
-                ok=$( echo ${endline} | grep -ci "${jlist[j]} *," )
-                [ ${ok} -eq 1 ] && jfound="${jlist[j]}"
-                j=$(( ${j} + 1 ))
-            done
-            unset ok
-            if [ "${jfound}" = "" ]
-            then
-                echo "eee: Journal not found "
-                echo "${endline}"
-                # uncomment next line for debug
-                # set # ++ debug
-                exit 1
-                #+++ following lines are not yet validate
-                # it might be a book, a manual, a conference, etc. ++
-                case ${typeout} in
-                    dbk)
-                        echo "  <title>${title}</title>" >> ${fileou}
-                        cat <<EOF >> ${fileou}
-<biblioset relation="nojournal">
-<title>${title}</title>
-<pagenums>${pag}</pagenums>
-<pubdate>${year}</pubdate>
-</biblioset>
-</biblioentry>
-EOF
-                    ;;
-                    bibtex)
-                        echo "title = {${title}}," >> ${fileou}
-                        echo "pages = {${pag}}," >> ${fileou}
-                        echo "year = {${year}}" >> ${fileou}
-                        echo "}" >> ${fileou}
-                    ;;
-                esac
-                # end of if jfound empty (ie not an article)
-            fi
-            if [ "${jfound}" != "" ]
-            then
-                ## title
-                # before the first :
-                title=${endline%%${jfound}*}
-                title=$( cleanname "${title}" )
-                case ${typeout} in
-                    dbk)
-                        echo "  <title>${title}</title>" >> ${fileou}
-                    ;;
-                    bibtex)
-                        echo "title = {${title}}," >> ${fileou}
-                    ;;
-                esac
-                ## end
-                ## end of the line ; after the first ${jfound}
-                endline=${endline#*${jfound}}
-                endline=$( cleanname "${endline}" )
-                ## doi
-                endline=$( echo ${endline} | sed -e "s/[dD][oO][iI] *\t* *: *\t* */doi:/" )
-                #echo "endline for doi ${endline}"
-                ok=$( echo ${endline} | grep -ic "doi:" )
-                if [ ${ok} -eq 1 ]
-                then
-                    doi=${endline##*doi:}
-                    #echo "doi : ${doi}"
-                    case ${typeout} in
-                        dbk)
-                            echo "  <biblioid class=\"doi\">${doi}</biblioid>" >> ${fileou}
-                        ;;
-                        bibtex)
-                            echo "doi={${doi}}," >> ${fileou}
-                        ;;
-                    esac
-                    unset doi
-                    endline=${endline%doi:*}
-                    endline=$( cleanname "${endline}" )
-                else
-                    echo "non doi: ${line}"
-                    echo ""
-                fi
-                num=$( echo "${endline}" |  tr -dc "," | wc -c | tr -d " ")
-                case "${num}" in
-                    0)
-                        ## echo ${num}: ${endline}
-                        case ${typeout} in
-                            dbk)
-                                cat <<EOF >> ${fileou}
-<biblioset relation="journal">
-<title>${jfound}</title>
-<pubdate>${year}</pubdate>
-<bibliomisc>${endline}</bibliomisc>
-</biblioset>
-EOF
-                            ;;
-                            bibtex)
-                                cat <<EOF >> ${fileou}
-journal = {${jfound}},
-year = {${year}},
-notes = {${endline}},
-EOF
-                            ;;
-                        esac
-                        unset jfound
-                        unset year
-                    ;;
-                    1)
-                        ### echo ${num}: ${endline}
-                        vol=${endline%,*}
-                        vol=$( cleanname "${vol}" )
-                        pag=${endline##*,}
-                        pag=$( cleanname "${pag}" )
-                        case ${typeout} in
-                            dbk)
-                                cat <<EOF >> ${fileou}
-<biblioset relation="journal">
-<title>${jfound}</title>
-<volumenum>${vol}</volumenum><pagenums>${pag}</pagenums>
-<pubdate>${year}</pubdate>
-</biblioset>
-EOF
-                            ;;
-                            bibtex)
-                                echo "journal = {${jfound}}," >> ${fileou}
-                                echo "volume = {${vol}}," >> ${fileou}
-                                echo "pages = {${pag}}," >> ${fileou}
-                                echo "year = {${year}}," >> ${fileou}
-                            ;;
-                        esac
-                    ;;
-                    bibtex)
-                        unset vol
-                        unset pag
-                        unset jfound
-                        unset year
-                    ;;
-                    2)
-                        vol=${endline%,*}
-                        vol=$( cleanname "${vol}" )
-                        iss=${vol##*,}
-                        iss=$( cleanname "${iss}" )
-                        vol=${vol%,*}
-                        vol=$( cleanname "${vol}" )
-                        pag=${endline##*,}
-                        pag=$( cleanname "${pag}" )
-                        case ${typeout} in
-                            dbk)
-                                cat <<EOF >> ${fileou}
-<biblioset relation="journal">
-<title>${jfound}</title>
-<volumenum>${vol}</volumenum><issuenum>${iss}</issuenum><pagenums>${pag}</pagenums>
-<pubdate>${year}</pubdate>
-</biblioset>
-EOF
-                           ;;
-                           bibtex)
-                               echo "journal = {${jfound}}," >> ${fileou}
-                               echo "volume = {${vol}}," >> ${fileou}
-                               echo "number = {${iss}}," >> ${fileou}
-                               echo "pages = {${pag}}," >> ${fileou}
-                               echo "year = {${year}}," >> ${fileou}
-                           ;;
-                        esac
-                        unset vol
-                        unset pag
-                        unset jfound
-                        unset year
-                        unset iss
-                    ;;
-                    6)
-                        conftitle=${endline%%,*}
-                        endline=${endline#*,}
-                        # day(s) month
-                        confdates=${endline%%,*}
-                        endline=${endline#*,}
-                        # day(s) month and year
-                        confdates="${confdates}, ${endline%%,*}"
-                        confdates=$( cleanname "${confdates}" )
-                        endline=${endline#*,}
-                        # Town
-                        confaddress=${endline%%,*}
-                        endline=${endline#*,}
-                        # Town and country
-                        confaddress="${confaddress}, ${endline%%,*}"
-                        confaddress=$( cleanname "${confaddress}" )
-                        endline=${endline#*,}
-                        publishername=${endline%%,*}
-                        publishername=$( cleanname "${publishername}" )
-                        endline=${endline#*,}
-                        pag=${endline##*,}
-                        pag=$( cleanname "${pag}" )
-                        #set
-                        #read a
-                        case ${typeout} in
-                            dbk)
-                                cat <<EOF >> ${fileou}
-<biblioset relation="conference">
- <title>${jfound}</title>
- <pubdate>${year}</pubdate>
- <publisher><publishername>${publishername}</publishername></publisher>
- <pagenums>${pag}</pagenums>
- <confgroup>
-  <conftitle>${conftitle}</conftitle>
-  <confdates>${confdates}</confdates>
-  <address>${confaddress}</address>
- </confgroup>
-</biblioset>
-EOF
-                            ;;
-                            bibtex)
-                                echo "journal = {${jfound}}," >> ${fileou}
-                                echo "year = {${year}}," >> ${fileou}
-                                echo "publisher = {${publishername}}," >> ${fileou}
-                                echo "booktitle = {${conftitle}}," >> ${fileou}
-                                echo "date = {${confdates}}," >> ${fileou}
-                                echo "address = {${confaddress}}," >> ${fileou}
-                            ;;
-                        esac
-                        unset confaddress
-                        unset conftitle
-                        unset confdates
-                        unset pag
-                        unset publishername
-                        unset year
-                        unset jfound
-                    ;;
-                    10)
-                        publishername=${endline%%Editors,*}
-                        publishername="${publishername} Editors"
-                        publishername=$( cleanname "${publishername}" )
-                        endline=${endline#*Editors,}
-                        vol=${endline%%,*}
-                        vol=$( cleanname "${vol}" )
-                        endline=${endline#*,}
-                        pag=${endline%%,*}
-                        pag=$( cleanname "${pag}" )
-                        endline=${endline#*,}
-                        isbn=${endline%%,*}
-                        isbn=$(echo ${isbn} | sed -e "s/ISBN ://")
-                        isbn=$( cleanname "${isbn}" )
-                        endline=${endline#*,}
-                        agu=${endline%%,*}
-                        agu=$(echo ${agu} | sed -e "s/AGU ://")
-                        agu=$( cleanname "${agu}" )
-                        endline=${endline#*${agu}}
-                        endline=$( cleanname "${endline}" )
-                        endline=$( cleanname "${endline}" )
-                        case ${typeout} in
-                            dbk)
-                                cat <<EOF >> ${fileou}
-<biblioid class="isbn">${isbn}</biblioid>
-<biblioid class="other" otherclass="AGU">${agu}</biblioid>
-<biblioset relation="journal">
-<title>${jfound}</title>
-<pubdate>${year}</pubdate>
-<publisher><publishername>${publishername}</publishername></publisher>
-<volumenum>${vol}</volumenum>
-<pagenums>${pag}</pagenums>
-<bibliomisc>${endline}</bibliomisc>
-</biblioset>
-EOF
-                            ;;
-                            bibtex)
-                                echo "isbn= {${isbn}}," >> ${fileou}
-                                echo "agu= {${agu}}," >> ${fileou}
-                                echo "year = {${year}}," >> ${fileou}
-                                echo "journal = {${jfound}}," >> ${fileou}
-                                echo "publisher = {${publishername}}," >> ${fileou}
-                                echo "volume = {${vol}}," >> ${fileou}
-                                echo "pages = {${pag}}," >> ${fileou}
-                                echo "notes = {${endline}}," >> ${fileou}
-                            ;;
-                        esac
-                        unset isbn
-                        unset agu
-                        unset pag
-                        unset publishername
-                        unset year
-                        unset jfound
-                        unset vol
-                    ;;
-                    *)
-                        #echo "${num}: ${endline}" # ++debug
-                        #set # ++ debug
-                        #exit 1 #++ debug
-                        case ${typeout} in
-                            dbk)
-                                cat <<EOF >> ${fileou}
-<biblioset relation="journal">
-<title>${jfound}</title>
-<pubdate>${year}</pubdate>
-<bibliomisc>${endline}</bibliomisc>
-</biblioset>
-EOF
-                            ;;
-                            bibtex)
-                                echo "journal = {${jfound}}," >> ${fileou}
-                                echo "year = {${year}}," >> ${fileou}
-                                echo "notes = {${endline}}," >> ${fileou}
-                            ;;
-                        esac
-                    ;;
-                esac
-                case ${typeout} in
-                    dbk)
-                        echo "</biblioentry>" >> ${fileou}
-                    ;;
-                    bibtex)
-                        echo "}" >> ${fileou}
-                    ;;
-                esac
-                # end of if jfound not empty
-            fi
-            unset title
-            unset vol
-            unset year
-            unset pag
-            l=$(( ${l} + 1 ))
-        done
-        unset totlines
-        unset l
-        case ${typeout} in
-            dbk)
-                echo "</bibliography>" >> ${fileou}
-            ;;
-        esac
-    ;;
-    # end of case bibtex vs other for processing
-esac
-
-# check conformity of fileou
-# if possible
-case ${typeout} in
-    dbk)
-        ${xmlcmd} val --err \
-        --xsd http://www.docbook.org/xml/5.0/xsd/docbook.xsd \
-        ${fileou} 1> xmlstarlet.log 2>&1
-        #
-        # clean
-        echo " iii : xmlstarlet.log contains sdtout and stderr from ${xmlcmd} command on ${fileou}"
-        echo " iii : which was done just to check consistence of ${fileou}"
-        more xmlstarlet.log
-    ;;
-    bibtex)
-        echo " iii : no check conformity of bibtex file"
-    ;;
-esac
-#
-case ${typein} in
-    raw)
-        echo " iii : ${fileraw_strict} contains a copy of input file without comments"
-    ;;
-    mailbody)
-        echo " iii : ${fileraw} contains a copy of input file"
-        echo " iii : ${fileraw_strict} contains a copy of input file without comments"
-    ;;
-esac
-#
-echo " iii : you have a some new or modified bibliographic references in ${fileou} (biblioentry)"
-echo " iii : you can add them in ${fileou}" #++ filename path
-echo " iii : modify date in ${fileou}" #++ filename path
-echo " iii : but please take care of id last part (after underscore) that may"
-echo " iii : be in conflict with existing ones" #++ pour s'affranchir de ce souci il faudrait donner en entrÃ©e complÃ©mentaire le fichier Ã  complÃ©ter.
-#
-exit 0
Index: unk/bibtexml2dbk.xsl
===================================================================
--- /trunk/bibtexml2dbk.xsl	(revision 355)
+++ 	(revision )
@@ -1,272 +1,0 @@
-<?xml version="1.0" encoding="iso-8859-1"?>
-<xsl:stylesheet
-version="1.0"
-xmlns:xl="http://www.w3.org/1999/xlink"
-xmlns:html="http://www.w3.org/1999/xhtml"
-xmlns:bibtex="http://bibtexml.sf.net/"
-xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
-
-<!--rst
-
-.. _bibtexml2dbk.xsl:
-
-================
-bibtexml2dbk.xsl
-================
-
-DESCRIPITON
-===========
-
-produce a DocBook 5 from a bibtexml file
-
-EVOLUTIONS
-==========
-
-$Id$
-
-- fplod 2008-05-16T14:49:33Z aedon.locean-ipsl.upmc.fr (Darwin)
-
-  * add bibtex:book, bibtex:manual and bibtex:misc : biblioset
-
-- fplod 2008-05-16T14:32:48Z aedon.locean-ipsl.upmc.fr (Darwin)
-
-  * bug fix on biblioset
-
-- fplod 2008-05-16T10:38:11Z aedon.locean-ipsl.upmc.fr (Darwin)
-
-  * add parameter order for firstname/surname order in bibtex file
-
-- fplod 2008-05-15T13:43:34Z aedon.locean-ipsl.upmc.fr (Darwin)
-
-  * creation
-    see external/bibtex2xml.py (which produce input of the file)
-    updated with
-    svn co https://bibtexml.svn.sourceforge.net/svnroot/bibtexml/trunk/bibtexml/import/
-
-    note that https://bibtexml.svn.sourceforge.net/svnroot/bibtexml/trunk/bibtexconverter-j/src/net/sourceforge/bibtexml/xslt/bibxml2docbook.xsl produce a Docbook 4file and not DocBook 5 as superbib request.
-
--->
-
-<xsl:output
- method="xml"
- indent="yes"
- encoding="utf-8"
- omit-xml-declaration="no"/>
-
-<xsl:template match="bibtex:file">
-<xsl:element name="bibliography">
- <xsl:attribute name="version">5.0</xsl:attribute>
- <xsl:attribute name="xmlns">http://docbook.org/ns/docbook</xsl:attribute>
- <xsl:attribute name="xml:id"><xsl:value-of select="concat('bib',$project,'ref')"/></xsl:attribute>
- <xsl:attribute name="xml:lang"><xsl:value-of select="$lang"/></xsl:attribute>
- <xsl:element name="info">
-  <xsl:element name="date">
-   <xsl:value-of select="$makedate"/>
-  </xsl:element>
- </xsl:element>
- <xsl:apply-templates select="bibtex:entry"/>
-</xsl:element>
-<xsl:message>
-www : You should have a look on firstname and surname to overiding on basic parsing
-</xsl:message>
-</xsl:template>
-
-<xsl:template match="bibtex:title">
-<xsl:element name="title">
- <xsl:value-of select="."/>
-</xsl:element>
-</xsl:template>
-
-<xsl:template match="bibtex:entry">
-<xsl:element name="biblioentry">
- <xsl:attribute name="xml:id"><xsl:value-of select="@id"/></xsl:attribute>
-<!--++ key as info element-->
- <xsl:apply-templates select="bibtex:article"/>
- <xsl:apply-templates select="bibtex:book"/>
- <xsl:apply-templates select="bibtex:manual"/>
- <xsl:apply-templates select="bibtex:misc"/>
-</xsl:element>
-</xsl:template>
-
-<xsl:template match="bibtex:year">
-<xsl:element name="pubdate">
- <xsl:value-of select="."/>
-</xsl:element>
-</xsl:template>
-
-<xsl:template match="bibtex:pages">
-<xsl:element name="pagenums">
- <xsl:value-of select="."/>
-</xsl:element>
-</xsl:template>
-
-<xsl:template match="bibtex:volume">
-<xsl:element name="volumenum">
- <xsl:value-of select="."/>
-</xsl:element>
-</xsl:template>
-
-<xsl:template match="bibtex:edition">
-<xsl:element name="edition">
- <xsl:value-of select="."/>
-</xsl:element>
-</xsl:template>
-
-<xsl:template match="bibtex:journal">
-<xsl:element name="title">
- <xsl:value-of select="."/>
-</xsl:element>
-</xsl:template>
-
-<xsl:template match="bibtex:article">
- <xsl:apply-templates select="bibtex:title"/>
- <xsl:apply-templates select="bibtex:author"/>
- <xsl:apply-templates select="bibtex:doi"/>
- <xsl:apply-templates select="bibtex:isbn"/>
- <xsl:apply-templates select="bibtex:url"/>
-<xsl:element name="biblioset">
- <xsl:attribute name="relation"><xsl:value-of select="'journal'"/></xsl:attribute>
- <xsl:apply-templates select="bibtex:journal"/>
- <xsl:apply-templates select="bibtex:publisher"/>
- <xsl:apply-templates select="bibtex:organization"/>
- <xsl:apply-templates select="bibtex:edition"/>
- <xsl:apply-templates select="bibtex:volume"/>
- <xsl:apply-templates select="bibtex:pages"/>
- <xsl:apply-templates select="bibtex:year"/>
-</xsl:element>
-</xsl:template>
-
-<xsl:template match="bibtex:book">
- <xsl:apply-templates select="bibtex:title"/>
- <xsl:apply-templates select="bibtex:author"/>
- <xsl:apply-templates select="bibtex:isbn"/>
- <xsl:element name="biblioset">
- <!-- ++ book relation is not yet implented in DocBook processing -->
-  <xsl:attribute name="relation"><xsl:value-of select="'book'"/></xsl:attribute>
-  <xsl:apply-templates select="bibtex:publisher"/>
-  <xsl:apply-templates select="bibtex:edition"/>
-  <xsl:apply-templates select="bibtex:volume"/>
-  <xsl:apply-templates select="bibtex:pages"/>
-  <xsl:apply-templates select="bibtex:year"/>
- </xsl:element>
-</xsl:template>
-
-<xsl:template match="bibtex:manual">
- <xsl:apply-templates select="bibtex:title"/>
- <xsl:apply-templates select="bibtex:author"/>
- <xsl:element name="biblioset">
- <!-- ++ manual  relation is not yet implented in DocBook processing -->
-  <xsl:attribute name="relation"><xsl:value-of select="'manual'"/></xsl:attribute>
-  <xsl:apply-templates select="bibtex:year"/>
-  <xsl:apply-templates select="bibtex:publisher"/>
-  <xsl:apply-templates select="bibtex:organization"/>
- </xsl:element>
- <xsl:apply-templates select="bibtex:url"/>
-</xsl:template>
-
-<xsl:template match="bibtex:misc">
- <xsl:apply-templates select="bibtex:title"/>
- <xsl:apply-templates select="bibtex:author"/>
- <xsl:element name="biblioset">
- <!-- can't know precise relation. set to journal-->
-  <xsl:attribute name="relation"><xsl:value-of select="'journal'"/></xsl:attribute>
-  <xsl:apply-templates select="bibtex:year"/>
- </xsl:element>
- <xsl:apply-templates select="bibtex:url"/>
-</xsl:template>
-
-<xsl:template match="bibtex:publisher|bibtex:organization">
-<xsl:element name="publisher">
- <xsl:element name="publishername">
-  <xsl:value-of select="."/>
- </xsl:element>
-</xsl:element>
-</xsl:template>
-
-<xsl:template match="bibtex:isbn">
-<xsl:element name="biblioid">
- <xsl:attribute name="class"><xsl:value-of select="'isbn'"/></xsl:attribute>
- <xsl:value-of select="."/>
-</xsl:element>
-</xsl:template>
-
-<xsl:template match="bibtex:doi">
-<xsl:element name="biblioid">
- <xsl:attribute name="class"><xsl:value-of select="'doi'"/></xsl:attribute>
- <xsl:value-of select="."/>
-</xsl:element>
-</xsl:template>
-
-<xsl:template match="bibtex:author">
-<xsl:choose>
- <xsl:when test="count(child::bibtex:person) &gt; 0">
-  <xsl:element name="authorgroup">
-   <xsl:apply-templates select="child::bibtex:person"/>
-  </xsl:element>
- </xsl:when>
- <xsl:otherwise>
-  <xsl:element name="authorgroup">
-   <xsl:element name="author">
-    <xsl:element name="personname">
-     <xsl:call-template name="personname" select="."/>
-    </xsl:element>
-   </xsl:element>
-  </xsl:element>
- </xsl:otherwise>
-</xsl:choose>
-</xsl:template>
-
-<xsl:template match="bibtex:person">
-<xsl:element name="author">
- <xsl:element name="personname">
-  <xsl:call-template name="personname" select="."/>
- </xsl:element>
-</xsl:element>
-</xsl:template>
-
-<xsl:template name="personname">
-<!--
-++extremely basic parsing of firstname and surname :
-the first blank is used as a delimiter.
--->
-<xsl:choose>
- <xsl:when test="$order = 'fs'">
-  <xsl:element name="firstname">
-   <xsl:value-of select="substring-before(.,' ')"/>
-  </xsl:element>
-  <xsl:element name="surname">
-   <xsl:value-of select="substring-after(.,' ')"/>
-  </xsl:element>
- </xsl:when>
- <xsl:when test="$order = 'sf'">
-  <xsl:element name="firstname">
-   <xsl:value-of select="substring-after(.,' ')"/>
-  </xsl:element>
-  <xsl:element name="surname">
-   <xsl:value-of select="substring-before(.,' ')"/>
-  </xsl:element>
- </xsl:when>
- <xsl:otherwise>
-  <xsl:message terminate="yes">
-  eee : unknown order value : <xsl:value-of select="$order"/>
-  </xsl:message>
- </xsl:otherwise>
-</xsl:choose>
-</xsl:template>
-
-<xsl:template match="bibtex:url">
-<xsl:element name="biblioid">
- <xsl:attribute name="class"><xsl:value-of select="'uri'"/></xsl:attribute>
- <xsl:value-of select="."/>
-</xsl:element>
-</xsl:template>
-
-<xsl:template match="bibtex:key">
-<!--++ keywords-->
-<xsl:element name="bibliomisc">
- <xsl:attribute name="role"><xsl:value-of select="'key'"/></xsl:attribute>
- <xsl:value-of select="."/>
-</xsl:element>
-</xsl:template>
-
-</xsl:stylesheet>
Index: unk/category_form.xsl
===================================================================
--- /trunk/category_form.xsl	(revision 355)
+++ 	(revision )
@@ -1,101 +1,0 @@
-<?xml version="1.0" encoding="iso-8859-1"?>
-<xsl:stylesheet
-version="1.0"
-xmlns:html="http://www.w3.org/1999/xhtml"
-xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
-
-<!--rst
-
-.. _category_form.xsl:
-
-=================
-category_form.xsl
-=================
-
-DESCRIPTION
-===========
-
-creation of category elements for form
-
-EVOLUTIONS
-==========
-
-$Id$
-
-- fplod 2008-05-06T09:42:31Z aedon.locean-ipsl.upmc.fr (Darwin)
-
-  * creation
-
--->
-
-<xsl:template name="category">
- <xsl:param name="id"/>
- <xsl:param name="visu_modif"/>
- <xsl:text>&#xA;</xsl:text>
-
- <xsl:element name="html:fieldset">
-  <xsl:attribute name="xml:id">field_category1_<xsl:value-of select="$id"/></xsl:attribute>
-  <xsl:text>&#xA;</xsl:text>
-   <xsl:element name="html:legend">
-     Category 1
-   </xsl:element>
-   <xsl:text>&#xA;</xsl:text>
-   <xsl:element name="html:input">
-    <xsl:attribute name="name">category1_choice1_<xsl:value-of select="$id"/></xsl:attribute>
-    <xsl:attribute name="type">checkbox</xsl:attribute>
-    <xsl:if test="$visu_modif= 'visu'">
-     <xsl:attribute name="readonly">1</xsl:attribute>
-    </xsl:if>
-    <xsl:if test="./value = 'yes'">
-     <xsl:attribute name="checked">1</xsl:attribute>
-    </xsl:if>
-    <xsl:attribute name="value">choice1</xsl:attribute>
-    <xsl:value-of select="'choice1'"/>
-   </xsl:element>
-   <xsl:element name="html:input">
-    <xsl:attribute name="name">category1_choice2_<xsl:value-of select="$id"/></xsl:attribute>
-    <xsl:attribute name="type">checkbox</xsl:attribute>
-    <xsl:if test="$visu_modif= 'visu'">
-     <xsl:attribute name="readonly">1</xsl:attribute>
-    </xsl:if>
-    <xsl:if test="./value = 'yes'">
-     <xsl:attribute name="checked">1</xsl:attribute>
-    </xsl:if>
-    <xsl:attribute name="value">choice2</xsl:attribute>
-    <xsl:value-of select="'choice2'"/>
-   </xsl:element>
- </xsl:element>
- <xsl:element name="html:fieldset">
-  <xsl:attribute name="xml:id">field_category2_<xsl:value-of select="$id"/></xsl:attribute>
-  <xsl:text>&#xA;</xsl:text>
-   <xsl:element name="html:legend">
-     Category 2
-   </xsl:element>
-   <xsl:text>&#xA;</xsl:text>
-   <xsl:element name="html:input">
-    <xsl:attribute name="name">category2_choice1_<xsl:value-of select="$id"/></xsl:attribute>
-    <xsl:attribute name="type">checkbox</xsl:attribute>
-    <xsl:if test="$visu_modif= 'visu'">
-     <xsl:attribute name="readonly">1</xsl:attribute>
-    </xsl:if>
-    <xsl:if test="./value = 'yes'">
-     <xsl:attribute name="checked">1</xsl:attribute>
-    </xsl:if>
-    <xsl:attribute name="value">choice1</xsl:attribute>
-    <xsl:value-of select="'choice1'"/>
-   </xsl:element>
-   <xsl:element name="html:input">
-    <xsl:attribute name="name">category2_choice2_<xsl:value-of select="$id"/></xsl:attribute>
-    <xsl:attribute name="type">checkbox</xsl:attribute>
-    <xsl:if test="$visu_modif= 'visu'">
-     <xsl:attribute name="readonly">1</xsl:attribute>
-    </xsl:if>
-    <xsl:if test="./value = 'yes'">
-     <xsl:attribute name="checked">1</xsl:attribute>
-    </xsl:if>
-    <xsl:attribute name="value">choice2</xsl:attribute>
-    <xsl:value-of select="'choice2'"/>
-   </xsl:element>
- </xsl:element>
-</xsl:template>
-</xsl:stylesheet>
Index: unk/checkmain.sh
===================================================================
--- /trunk/checkmain.sh	(revision 355)
+++ 	(revision )
@@ -1,287 +1,0 @@
-#! /bin/sh
-#
-#+
-# .. program:: checkmain.sh
-#
-# ============
-# checkmain.sh
-# ============
-#
-# SYNOPSIS
-# ========
-#
-# .. code-block:: sh
-#
-#    checkmain.sh [--debug] -i filein
-#
-# DESCRIPTION
-# ===========
-#
-# .. option:: -i <filein>
-#
-# Check SUPERBIB requirements in main.xml **filein** XML/DocBook.
-#
-# project
-#   Should be defined :samp:`//d:keyword[@xml:id='project']`
-#
-#   Is used for ++
-# title
-#   Should be defined :samp:`d:article/d:title`
-#
-#   Is used for ++
-# homepage
-#   Should be defined :samp:`//d:bibliosource[@xml:id='homepage']`
-#
-#   Is used for ++
-# contact
-#   Should be defined :samp:`/d:article/d:info/d:authorgroup/d:author[1]/d:email`
-#
-#   Is used by PHP pages to send emails.
-#
-# .. warning::
-#
-#    There is now check on email and homepage.
-#    They **must** be real to avoid black holes of mails and 404 HTPP errors.
-#
-# EXAMPLES
-# ========
-#
-# To check the SUPERBIB demo main file:
-#
-# .. code-block:: bash
-#
-#    checkmain.sh -i data/maindemo1.xml
-#
-# .. parsed-literal::
-#    :class: stdout
-#
-#    Title : superbib Demo1
-#    Project : superbib demo1
-#    HOME page : http://forge.ipsl.jussieu.fr/superbib/
-#    Contact : Francoise.Pinsard@locean-ipsl.upmc.fr
-#
-# To check the NEMO demo main file:
-#
-# .. code-block:: bash
-#
-#    checkmain.sh -i data/mainnemo.xml
-#
-# .. parsed-literal::
-#    :class: stdout
-#
-#    Title : NEMO survey
-#    Project : NEMO
-#    HOME page : http://www.nemo-ocean.eu/
-#    Contact : opatlod@locean-ipsl.upmc.fr
-#
-# SEE ALSO
-# ========
-#
-# :ref:`using`
-#
-# :ref:`components_db.xsl`
-# :ref:`form_db.xsl`
-# :ref:`main_html.xsl`
-# :ref:`main_rest.xsl`
-# :ref:`superbib01_html.xsl`
-# :ref:`superbib01_rest.xsl`
-# :ref:`superbib01_xml.xsl`
-# :ref:`superbib02_html.xsl`
-# :ref:`superbib02_xml.xsl`
-# :ref:`superbib03_xml.xsl`
-# :ref:`superbibmany01_html.xsl`
-# :ref:`superbibmany01_xml.xsl`
-# :ref:`superbibmany02_html.xsl`
-# :ref:`superbibmany02_xml.xsl`
-# :ref:`template_db.xsl`
-# :ref:`user_db.xsl`
-# :ref:`user_html.xsl`
-# :ref:`user_rest.xsl`
-#
-# TODO
-# ====
-#
-# improve description
-#
-# XML/DocBook compliant : pb with element form: Schemas validity error : Element '{http://www.w3.org/1999/xhtml}form': This element is not expected.
-# .. so as I do not know how to get rid of this I comment this test 
-# (see XFORM and so one)
-#
-# check for news on DocBook release (now 20110701 5.0)
-#
-# EVOLUTIONS
-# ==========
-#
-# $URL$
-#
-# $Id$
-#
-# - fplod 20120227
-#
-#   * xmlstarlet vs xml
-#
-# - fplod 20110701T113247Z cratos.locean-ipsl.upmc.fr (Linux)
-#
-#   * creation
-#
-#-
-system=$(uname)
-case "${system}" in
-    AIX|IRIX64)
-        echo "www : no specific posix checking"
-        date_cmd=date
-        xmlcmd=xml
-    ;;
-    Darwin)
-        set -o posix
-        date_cmd=gdate
-        xmlcmd=xmlstarlet
-    ;;
-    Linux)
-        set -o posix
-        date_cmd=date
-        xmlcmd=xml
-    ;;
-    *)
-        set -o posix
-    ;;
-esac
-unset system
-#
-set -u
-#
-LANG=POSIX
-#
-command=$(basename ${0})
-#
-usage=" Usage : ${command} [--debug] -i filein "
-#
-hostname=$(hostname)
-#
-# default
-debug=0
-#
-minargcount=2
-if [ ${#} -lt ${minargcount} ]
-then
-    echo "${command} : eee : not enough arguments"
-    echo "${usage}"
-    exit 1
-fi
-#
-while [ ${#} -gt 0 ]
-do
-    case ${1} in
-        --debug)
-            debug=1
-        ;;
-        -i)
-            filein=${2}
-            shift
-        ;;
-        *)
-            # anything else
-            echo "${command} : eee : unknown option ${1}"
-            echo "${command} : eee : ${usage}"
-            exit 1
-        ;;
-    esac
-    # next flag
-    shift
-done
-#
-# check parameters
-#
-# check for filein
-if [ ! -f ${filein} ]
-then
-    echo "eee : ${filein} not found"
-    exit 1
-fi
-#
-# test if xml available
-tool=${xmlcmd}
-type ${tool} 1> /dev/null 2>&1
-status=${?}
-if [ ${status} -ne 0 ]
-then
-    echo "${command} : eee : ${tool} not found"
-    exit 1
-fi
-unset status
-unset tool
-#
-#++# check XML/DocBook conformity
-#++${xmlcmd} val --err \
-#++--xsd http://www.docbook.org/xml/5.0/xsd/docbook.xsd \
-#++${filein}
-#++status=${?}
-#++if [ ${status} -ne 0 ]
-#++then
-#++   echo "${command} : eee : ${filein} is not XML/DocBook compliant"
-#++   exit 1
-#++fi
-#++unset status
-#
-# title
-xpath="d:article/d:title"
-title=$(${xmlcmd} sel -N d="http://docbook.org/ns/docbook" -t -m "${xpath}" -v . ${filein})
-if [ "${title}" = "" ]
-then
-    echo "${command} : www : title not defined"
-    echo "${command} : www : fix ${xpath}"
-    exit 1
-else
-    echo "Title : ${title}"
-fi
-unset title
-#
-# project
-project_ok=0
-xpath="//d:keyword[@xml:id='project']"
-project=$(${xmlcmd} sel -N d="http://docbook.org/ns/docbook" -t -m "${xpath}" -v . ${filein})
-if [ "${project}" = "" ]
-then
-    echo "${command} : www : project not defined"
-    echo "${command} : www : fix ${xpath}"
-else
-    echo "Project : ${project}"
-    project_ok=1
-fi
-unset project
-#
-# homepage
-homepage_ok=0
-xpath="//d:bibliosource[@xml:id='homepage']"
-homepage=$(${xmlcmd} sel -N d="http://docbook.org/ns/docbook" -t -m "${xpath}" -v . ${filein})
-if [ "${homepage}" = "" ]
-then
-    echo "${command} : www : homepage not defined"
-    echo "${command} : www : fix ${xpath}"
-else
-    echo "HOME page : ${homepage}"
-    homepage_ok=1
-fi
-unset homepage
-#
-# contact
-contact_ok=0
-xpath="/d:article/d:info/d:authorgroup/d:author[1]/d:email"
-contact=$(${xmlcmd} sel -N d="http://docbook.org/ns/docbook" -t -m "${xpath}" -v . ${filein})
-if [ "${contact}" = "" ]
-then
-    echo "${command} : www : contact not defined"
-    echo "${command} : www : fix ${xpath}"
-else
-    echo "Contact : ${contact}"
-    contact_ok=1
-fi
-unset contact
-#
-unset command
-unset hostname
-unset usage
-#
-# end
-#++set
-exit 0
Index: unk/comments_db.xsl
===================================================================
--- /trunk/comments_db.xsl	(revision 355)
+++ 	(revision )
@@ -1,51 +1,0 @@
-<?xml version="1.0" encoding="iso-8859-1"?>
-<xsl:stylesheet
-version="1.0"
-xmlns:html="http://www.w3.org/1999/xhtml"
-xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
-
-<!--rst
-.. _comments_db.xsl:
-
-===============
-comments_db.xsl
-===============
-
-DESCRIPTION
-===========
-
-creation of comments elements for form
-
-EVOLUTIONS
-==========
-
-$Id$
-
-- fplod 2008-04-29T09:07:06Z aedon.locean-ipsl.upmc.fr (Darwin)
-
-  * chgt for dbk5
-
-- fplod 2007-04-26T11:56:32Z aedon.locean-ipsl.upmc.fr (Darwin)
-
-  * creation
-
--->
-
-<xsl:template name="comments">
- <xsl:param name="author_id"/>
- <xsl:text>&#xA;</xsl:text>
- <xsl:element name="html:fieldset">
-   <xsl:attribute name="xml:id">field_comments_<xsl:value-of select="$author_id"/></xsl:attribute>
-   <xsl:text>&#xA;</xsl:text>
-   <xsl:element name="html:legend">
-     Comments
-   </xsl:element>
-   <xsl:text>&#xA;</xsl:text>
-   <xsl:element name="html:textarea">
-     <xsl:attribute name="name">comments</xsl:attribute>
-     <xsl:attribute name="rows">5</xsl:attribute>
-     <xsl:attribute name="cols">100</xsl:attribute>
-   </xsl:element>
- </xsl:element> <!-- end of fieldset comments -->
-</xsl:template>
-</xsl:stylesheet>
Index: unk/compilers_db.xsl
===================================================================
--- /trunk/compilers_db.xsl	(revision 355)
+++ 	(revision )
@@ -1,102 +1,0 @@
-<?xml version="1.0" encoding="iso-8859-1"?>
-<xsl:stylesheet
-version="1.0"
-xmlns:html="http://www.w3.org/1999/xhtml"
-xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
-
-<!--rst
-.. _compilers_db.xsl:
-
-================
-compilers_db.xsl
-================
-
-DESCRIPTION
-===========
-
-creation des élements compilers de formulaire
-
-EVOLUTIONS
-==========
-
-$Id$
-
-- fplod 2008-04-29T09:03:58Z aedon.locean-ipsl.upmc.fr (Darwin)
-
-  * chgt for dbk5
-
-- fplod 2007-05-18T10:25:06Z aedon.locean-ipsl.upmc.fr (Darwin)
-
-  * correction pour cause de dysfonctionnement sous firefox (mais ok sous safari) :
-    Le 1er choix est modifié si on clique sur un des choix suivant
-
-- fplod 2007-04-26T10:13:37Z aedon.locean-ipsl.upmc.fr (Darwin)
-
-  * creation
-
--->
-
-<xsl:template name="compilers">
- <xsl:param name="user"/>
- <xsl:param name="author_id"/>
- <xsl:param name="visu_modif"/>
-
-  <xsl:text>&#xA;</xsl:text>
-  <xsl:element name="html:fieldset">
-   <xsl:attribute name="xml:id">compilers_<xsl:value-of select="$author_id"/></xsl:attribute>
-   <xsl:text>&#xA;</xsl:text>
-   <xsl:text>&#xA;</xsl:text>
-   <xsl:element name="html:legend">
-    Used compilers
-   </xsl:element>
-   <xsl:text>&#xA;</xsl:text>
-   <xsl:text>&#xA;</xsl:text>
-   <!-- ne plait pas à firefox ++
-   <xsl:element name="html:label">
-   -->
-    <xsl:for-each select="$user/compilers/compiler">
-     <xsl:sort order="ascending" data-type="text" select="@code"/>
-     <xsl:text>&#xA;</xsl:text>
-     <xsl:comment><xsl:value-of select="./value"/></xsl:comment>
-     <xsl:choose>
-      <xsl:when test="@code != 'zzz_other'">
-      <xsl:text>&#xA;</xsl:text>
-       <xsl:element name="html:input">
-        <xsl:attribute name="name">
-         <xsl:value-of select="name()"/><xsl:text>_</xsl:text><xsl:value-of select="@code"/>
-        </xsl:attribute>
-        <xsl:attribute name="type">checkbox</xsl:attribute>
-        <xsl:attribute name="value"><xsl:value-of select="./name"/></xsl:attribute>
-        <xsl:if test="$visu_modif= 'visu'">
-         <xsl:attribute name="readonly">1</xsl:attribute>
-        </xsl:if>
-        <xsl:if test="./value = 'yes'">
-         <xsl:attribute name="checked">1</xsl:attribute>
-        </xsl:if>
-        <xsl:value-of select="./name"/>
-       </xsl:element>
-      </xsl:when>
-      <xsl:when  test="@code = 'zzz_other'">
-       <xsl:text>&#xA;</xsl:text>
-       <xsl:element name="html:label">
-        Other :
-        <xsl:text>&#xA;</xsl:text>
-        <xsl:element name="html:input">
-         <xsl:attribute name="name">
-          <xsl:value-of select="name()"/><xsl:text>_</xsl:text><xsl:value-of select="@code"/>
-         </xsl:attribute>
-         <xsl:attribute name="type">text</xsl:attribute>
-         <xsl:attribute name="value"><xsl:value-of select="./value"/></xsl:attribute>
-        </xsl:element>
-       </xsl:element>
-      </xsl:when>
-     </xsl:choose>
-    </xsl:for-each>
-   <!-- ne plait pas à firefox ++
-   </xsl:element>
-   -->
-   <xsl:text>&#xA;</xsl:text>
-  </xsl:element>
-  <xsl:text>&#xA;</xsl:text>
-</xsl:template>
-</xsl:stylesheet>
Index: unk/components_db.xsl
===================================================================
--- /trunk/components_db.xsl	(revision 355)
+++ 	(revision )
@@ -1,124 +1,0 @@
-<?xml version="1.0" encoding="iso-8859-1"?>
-<xsl:stylesheet
-version="1.0"
-xmlns:d="http://docbook.org/ns/docbook"
-xmlns:html="http://www.w3.org/1999/xhtml"
-xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
-
-<!--rst
-
-.. _components_db.xsl:
-
-=================
-components_db.xsl
-=================
-
-creation des élements components de formulaire
-
-EVOLUTIONS
-==========
-
-$Id$
-
-- fplod 2008-09-17T09:49:51Z aedon.locean-ipsl.upmc.fr (Darwin)
-
-  * project name from main.xml file instead of a fixed one
-
-- fplod 2008-04-29T09:06:37Z aedon.locean-ipsl.upmc.fr (Darwin)
-
-  * chgt fot dbk5
-
-- fplod 2007-06-08T09:07:12Z aedon.locean-ipsl.upmc.fr (Darwin)
-
-  * bug fix for components_date
-
-- fplod 2007-05-18T10:25:06Z aedon.locean-ipsl.upmc.fr (Darwin)
-
-  * correction pour cause de dysfonctionnement sous firefox (mais ok sous safari) : Le 1er choix est modifié si on clique sur un des choix suivant
-
-- fplod 2007-04-27T15:16:34Z aedon.locean-ipsl.upmc.fr (Darwin)
-
-  * ajout date
-
-- fplod 2007-04-26T10:07:08Z aedon.locean-ipsl.upmc.fr (Darwin)
-
-  * creation
-
--->
-
-<xsl:template name="components">
- <xsl:param name="user"/>
- <xsl:param name="author_id"/>
- <xsl:param name="visu_modif"/>
-
-<xsl:variable name="project">
- <xsl:value-of select="document('main.xml')//d:keyword[@xml:id='project']"/>
-</xsl:variable>
-
-  <xsl:text>&#xA;</xsl:text>
-  <xsl:element name="html:fieldset">
-   <xsl:attribute name="xml:id">components_<xsl:value-of select="$author_id"/></xsl:attribute>
-   <xsl:text>&#xA;</xsl:text>
-   <xsl:element name="html:legend">
-    Used <xsl:value-of select="$project"/> components
-   </xsl:element>
-   <xsl:text>&#xA;</xsl:text>
-   <!-- ne plait pas à firefox  ++
-    <xsl:element name="html:label">
-   -->
-    <xsl:for-each select="$user/components/component">
-     <xsl:sort order="ascending" data-type="text" select="@code"/>
-     <xsl:text>&#xA;</xsl:text>
-     <xsl:comment><xsl:value-of select="./value"/></xsl:comment>
-     <xsl:choose>
-      <xsl:when test="@code != 'zzz_other'">
-       <xsl:text>&#xA;</xsl:text>
-       <xsl:element name="html:input">
-        <xsl:attribute name="name">
-         <xsl:value-of select="name()"/><xsl:text>_</xsl:text><xsl:value-of select="@code"/>
-        </xsl:attribute>
-        <xsl:attribute name="type">checkbox</xsl:attribute>
-        <xsl:attribute name="value"><xsl:value-of select="./name"/></xsl:attribute>
-        <xsl:if test="$visu_modif= 'visu'">
-         <xsl:attribute name="readonly">1</xsl:attribute>
-        </xsl:if>
-        <xsl:if test="./value = 'yes'">
-         <xsl:attribute name="checked">1</xsl:attribute>
-        </xsl:if>
-        <xsl:value-of select="./name"/>
-       </xsl:element>
-      </xsl:when>
-      <xsl:when  test="@code = 'zzz_other'">
-       <xsl:text>&#xA;</xsl:text>
-       <xsl:element name="html:label">
-       Other :
-        <xsl:text>&#xA;</xsl:text>
-        <xsl:element name="html:input">
-         <xsl:attribute name="name">
-          <xsl:value-of select="name()"/><xsl:text>_</xsl:text><xsl:value-of select="@code"/>
-         </xsl:attribute>
-         <xsl:attribute name="type">text</xsl:attribute>
-          <xsl:attribute name="value"><xsl:value-of select="./value"/></xsl:attribute>
-        </xsl:element>
-       </xsl:element>
-      </xsl:when>
-     </xsl:choose>
-    </xsl:for-each>
-   <!-- ne plait pas à firefox  ++
-    </xsl:element>
-   -->
-   <xsl:text>&#xA;</xsl:text>
-   <xsl:element name="html:label">
-    <xsl:text>Since (YYYYMM) :</xsl:text>
-    <xsl:text>&#xA;</xsl:text>
-    <xsl:element name="html:input">
-     <xsl:attribute name="name">components_date</xsl:attribute>
-     <xsl:attribute name="type">text</xsl:attribute>
-     <xsl:attribute name="value"><xsl:value-of select="$user/components/components_date"/></xsl:attribute>
-    </xsl:element>
-   </xsl:element>
-  </xsl:element>
-  <xsl:text>&#xA;</xsl:text>
-</xsl:template>
-
-</xsl:stylesheet>
Index: unk/correction_db.xsl
===================================================================
--- /trunk/correction_db.xsl	(revision 355)
+++ 	(revision )
@@ -1,54 +1,0 @@
-<?xml version="1.0" encoding="iso-8859-1"?>
-<xsl:stylesheet
-version="1.0"
-xmlns:html="http://www.w3.org/1999/xhtml"
-xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
-
-<!--rst
-
-.. _correction_db.xsl:
-
-=================
-correction_db.xsl
-=================
-
-DESCRIPTION
-===========
-
-creation of correction elements for form
-
-EVOLUTIONS
-==========
-
-$Id$
-
-- fplod 2008-04-29T09:43:57Z aedon.locean-ipsl.upmc.fr (Darwin)
-
-  * chgt for dbk5
-
-- fplod 2007-04-26T11:56:32Z aedon.locean-ipsl.upmc.fr (Darwin)
-
-  * creation
-
--->
-
-<xsl:template name="correction">
- <xsl:param name="id"/>
- <xsl:text>&#xA;</xsl:text>
- <xsl:element name="html:fieldset">
-<!-- ++ pb to find unique id
-  <xsl:attribute name="xml:id">field_correction_<xsl:value-of select="$id"/></xsl:attribute>
--->
-  <xsl:text>&#xA;</xsl:text>
-   <xsl:element name="html:legend">
-     Correction
-   </xsl:element>
-   <xsl:text>&#xA;</xsl:text>
-   <xsl:element name="html:textarea">
-     <xsl:attribute name="name">correction_<xsl:value-of select="$id"/></xsl:attribute>
-     <xsl:attribute name="rows">2</xsl:attribute>
-     <xsl:attribute name="cols">100</xsl:attribute>
-   </xsl:element>
- </xsl:element>
-</xsl:template>
-</xsl:stylesheet>
Index: unk/db_rest.xsl
===================================================================
--- /trunk/db_rest.xsl	(revision 355)
+++ 	(revision )
@@ -1,79 +1,0 @@
-<?xml version="1.0" encoding="iso-8859-1"?>
-
-<xsl:stylesheet
-version="1.0"
-xmlns:d="http://docbook.org/ns/docbook"
-xmlns:xl="http://www.w3.org/1999/xlink"
-xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
-
-<!--rst
-
-.. _db_rest.xsl:
-
-===========
-db_rest.xsl
-===========
-
-creation des élements de ReST d'après les info XML/DocBook
-
-TODO
-====
-
-make it work
-
-EVOLUTIONS
-==========
-
-$Id: db_rest.xsl 114 2011-06-29 16:23:26Z pinsard $
-
-$URL$
-
-- fplod 20120228
-
-  * creation
-
--->
-
-<xsl:include href="message_lang.xsl"/>
-<!--
-<xsl:include href="components_rest.xsl"/>
-<xsl:include href="compilers_rest.xsl"/>
-<xsl:include href="platforms_rest.xsl"/>
-<xsl:include href="processors_rest.xsl"/>
-<xsl:include href="regions_rest.xsl"/>
-<xsl:include href="parameters_rest.xsl"/>
-<xsl:include href="periods_rest.xsl"/>
--->
-
-<xsl:output
- method="text"
- indent="yes"
- encoding="ISO-8859-1"/>
-
-<xsl:template match="d:bibliography">
-
-<xsl:variable name="project">
- <xsl:value-of select="document('main.xml')//d:keyword[@xml:id='project']"/>
-</xsl:variable>
-
-<xsl:text>.. _publications:</xsl:text>
-<xsl:text>&#xA;</xsl:text>
-<xsl:value-of select="$project"/>
-<xsl:text>&#xA;</xsl:text>
-<xsl:text>=======================</xsl:text>
-
-If you find omissions or mistakes please ask some modification 
-:ref:`contact`.
-
-Yoy can also see :ref:`publications-authorsone` sorted by
-authors in one big document
-or in several ref:`publications-authorsmany`.
-
-<xsl:call-template name="para_lastupdate_user">
- <xsl:with-param name="language" select="document('biblio.xml')/d:bibliography/@xml:lang"/>
- <xsl:with-param name="date" select="./date"/>
-</xsl:call-template>
-
-</xsl:template>
-
-</xsl:stylesheet>
Index: unk/firstname_id.xsl
===================================================================
--- /trunk/firstname_id.xsl	(revision 355)
+++ 	(revision )
@@ -1,94 +1,0 @@
-<?xml version="1.0" encoding="iso-8859-1"?>
-<xsl:stylesheet
-version="1.0"
-xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
-
-<!--rst
-
-.. _firstname_id.xsl:
-
-================
-firstname_id.xsl
-================
-
-DESCRIPTION
-===========
-
-generation de la partie "prenom" de l'id
-
-EVOLUTIONS
-==========
-
-$Id$
-
-- fplod 2007-05-18T14:33:06Z aedon.locean-ipsl.upmc.fr (Darwin)
-
-  * creation
-    cf http://www.dpawson.co.uk/xsl/sect2/N7998.html
-    There's a trick to this::
-
-       translate($x, translate($x, 'abcde', ''), '')
-
-    will remove all characters except a,b,c,d, and e from your string $x.
-    et String split into elements dans http://www.dpawson.co.uk/xsl/sect2/N7240.html
-    http://www.dpawson.co.uk/xsl/sect2/N7240.html
-    cf. http://www.dpawson.co.uk/xsl/sect2/N7240.html CRLF to BR
-
--->
-
-<xsl:template name="firstname_id">
- <xsl:param name="firstname"/>
- <xsl:choose>
-  <xsl:when test="contains($firstname ,' ')">
-   <xsl:call-template name="space_firstname" >
-    <xsl:with-param name="text" select="$firstname"/>
-   </xsl:call-template>
-  </xsl:when>
-  <xsl:when test="contains($firstname ,'-')">
-   <xsl:call-template name="hyphen" >
-    <xsl:with-param name="text" select="$firstname"/>
-   </xsl:call-template>
-  </xsl:when>
-  <xsl:otherwise>
-<xsl:value-of select="translate(substring($firstname,1,1), 'ABCDEFGHIJKLMNOPQRSTUVWXYZ_EECAUEONO','abcdefghijklmnopqrstuvwxyz éèçàùöñó')"/>
-  </xsl:otherwise>
- </xsl:choose>
-</xsl:template>
-
-<xsl:template name="space_firstname">
- <xsl:param name="text"/>
- <xsl:choose>
-   <xsl:when test="contains($text, ' ')">
-   <xsl:variable name="transform">
-<xsl:value-of select="translate(substring(substring-before($text, ' '),1,1), 'ABCDEFGHIJKLMNOPQRSTUVWXYZ_EECAUEONO','abcdefghijklmnopqrstuvwxyz éèçàùöñó')"/>
-   </xsl:variable>
-   <xsl:value-of select="$transform"/>
-     <xsl:text>_</xsl:text>
-     <xsl:call-template name="space_firstname">
-       <xsl:with-param name="text" select="substring-after($text,' ')"/>
-     </xsl:call-template>
-   </xsl:when>
-   <xsl:otherwise>
-           <xsl:value-of select="translate(substring($text,1,1), 'ABCDEFGHIJKLMNOPQRSTUVWXYZ_EECAUEONO','abcdefghijklmnopqrstuvwxyz éèçàùöñó')"/>
-   </xsl:otherwise>
- </xsl:choose>
-</xsl:template>
-<xsl:template name="hyphen">
- <xsl:param name="text"/>
- <xsl:choose>
-   <xsl:when test="contains($text, '-')">
-   <xsl:variable name="transform">
-<xsl:value-of select="translate(substring(substring-before($text, '-'),1,1), 'ABCDEFGHIJKLMNOPQRSTUVWXYZ_EECAUEONO','abcdefghijklmnopqrstuvwxyz éèçàùöñó')"/>
-   </xsl:variable>
-   <xsl:value-of select="$transform"/>
-     <xsl:text>-</xsl:text>
-     <xsl:call-template name="hyphen">
-       <xsl:with-param name="text" select="substring-after($text,'-')"/>
-     </xsl:call-template>
-   </xsl:when>
-   <xsl:otherwise>
-           <xsl:value-of select="translate(substring($text,1,1), 'ABCDEFGHIJKLMNOPQRSTUVWXYZ_EECAUEONO','abcdefghijklmnopqrstuvwxyz éèçàùöñó')"/>
-   </xsl:otherwise>
- </xsl:choose>
-</xsl:template>
-</xsl:stylesheet>
Index: unk/form_db.xsl
===================================================================
--- /trunk/form_db.xsl	(revision 355)
+++ 	(revision )
@@ -1,248 +1,0 @@
-<?xml version="1.0" encoding="iso-8859-1"?>
-<xsl:stylesheet
-version="1.0"
-xmlns:d="http://docbook.org/ns/docbook"
-xmlns:html="http://www.w3.org/1999/xhtml"
-xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
-
-<!--rst
-
-.. _form_db.xsl:
-
-===========
-form_db.xsl
-===========
-
-creation du formulaire
-
-EVOLUTIONS
-==========
-
-$Id$
-
-- fplod 20110701T105735Z cratos.locean-ipsl.upmc.fr (Linux)
-
-  * contact is no more define in makefile. see authorgroup/author[1]/email
-    in main.xml
-
-- fplod 20110624T144535Z cratos.locean-ipsl.upmc.fr (Linux)
-
-  * add parameters, regions, periods
-  * only show template user characteristics : for example processors for NEMO
-    but not for TROPFLUX
-
-- fplod 2008-09-17T09:49:51Z aedon.locean-ipsl.upmc.fr (Darwin)
-
-  * project name from main.xml file instead of a fixed one
-
-- fplod 2008-04-29T08:57:43Z aedon.locean-ipsl.upmc.fr (Darwin)
-
-  * chgt for dbk5
-
-- fplod 2007-10-17T08:07:50Z aedon.locean-ipsl.upmc.fr (Darwin)
-
-  * improve sort (diacriticals)
-
-- fplod 2007-05-18T14:56:32Z aedon.locean-ipsl.upmc.fr (Darwin)
-
-  * modif gestion de id
-
-- fplod 2007-05-15T07:41:16Z aedon.locean-ipsl.upmc.fr (Darwin)
-
-  * factorisation de biblioentry
-
-- fplod 2007-04-27T10:53:20Z aedon.locean-ipsl.upmc.fr (Darwin)
-
-  * inclusion de php d'après http://www.cygwin.com/ml/docbook-apps/2005-q1/msg00484.html
-
-- fplod 2007-04-26T12:08:09Z aedon.locean-ipsl.upmc.fr (Darwin)
-
-  * creation
-
--->
-
-<xsl:include href="personal_db.xsl"/>
-<xsl:include href="compilers_db.xsl"/>
-<xsl:include href="platforms_db.xsl"/>
-<xsl:include href="regions_db.xsl"/>
-<xsl:include href="parameters_db.xsl"/>
-<xsl:include href="periods_db.xsl"/>
-<xsl:include href="components_db.xsl"/>
-<xsl:include href="comments_db.xsl"/>
-<xsl:include href="newreferences_db.xsl"/>
-<xsl:include href="processors_db.xsl"/>
-<xsl:include href="biblioentry_xml.xsl"/>
-
-<xsl:template name="form_db">
-<!-- ++ template ou existant visu ou modif -->
- <xsl:param name="user"/>
- <xsl:param name="author_id"/>
- <xsl:param name="visu_modif"/>
- <xsl:param name="bibmode"/>
-
- <xsl:text>&#xA;</xsl:text>
- <xsl:element name="html:form">
-  <xsl:choose>
-   <xsl:when test="$visu_modif= 'modif'">
-    <xsl:attribute name="action">
-	    <xsl:text>mailto:</xsl:text><xsl:value-of select="document('main.xml')/d:article/d:info/d:authorgroup/d:author[1]/d:email"/><xsl:text>?subject=[</xsl:text><xsl:value-of select="document('main.xml')/d:article/d:title"/><xsl:text>]</xsl:text>
-     <!-- value is completed in form_html.xsl because of php sequence ++ -->
-    </xsl:attribute>
-    <xsl:attribute name="method">post</xsl:attribute>
-    <xsl:attribute name="enctype">text/plain</xsl:attribute>
-    <xsl:text>&#xA;</xsl:text>
-    <xsl:element name="html:input">
-     <xsl:attribute name="name">message</xsl:attribute>
-     <xsl:attribute name="type">hidden</xsl:attribute>
-     <xsl:attribute name="value"><xsl:text>Thank you for your contribution to </xsl:text><xsl:value-of select="document('main.xml')/d:article/d:title"/></xsl:attribute>
-    </xsl:element>
-    <xsl:text>&#xA;</xsl:text>
-    <xsl:element name="html:input">
-     <xsl:attribute name="name">server</xsl:attribute>
-     <xsl:attribute name="type">hidden</xsl:attribute>
-     <!-- value is set in form_html.xsl because of php sequence ++ -->
-    </xsl:element>
-    <xsl:text>&#xA;</xsl:text>
-    <xsl:element name="html:input">
-     <xsl:attribute name="name">phpversion</xsl:attribute>
-     <xsl:attribute name="type">hidden</xsl:attribute>
-     <!-- value is set in form_html.xsl because of php sequence ++ -->
-    </xsl:element>
-    <xsl:text>&#xA;</xsl:text>
-    <xsl:element name="html:input">
-     <xsl:attribute name="name">timestamp</xsl:attribute>
-     <xsl:attribute name="type">hidden</xsl:attribute>
-     <!-- value is set in form_html.xsl because of php sequence ++ -->
-    </xsl:element>
-   </xsl:when>
-  </xsl:choose>
-  <xsl:text>&#xA;</xsl:text>
-  <xsl:element name="html:input">
-   <xsl:attribute name="name">author_id</xsl:attribute>
-   <xsl:attribute name="type">hidden</xsl:attribute>
-   <xsl:attribute name="value"><xsl:value-of select="$author_id"/></xsl:attribute>
-  </xsl:element>
-
-  <xsl:call-template name="personal">
-   <xsl:with-param name="user" select="$user"/>
-   <xsl:with-param name="author_id" select="$author_id"/>
-   <xsl:with-param name="visu_modif" select="'modif'"/>
-  </xsl:call-template>
-  <xsl:if test="document('user.xml')/users/user[descendant::userid='template']/components">
-      <xsl:call-template name="components">
-       <xsl:with-param name="user" select="$user"/>
-       <xsl:with-param name="author_id" select="$author_id"/>
-       <xsl:with-param name="visu_modif" select="'modif'"/>
-      </xsl:call-template>
-   </xsl:if>
-   <xsl:if test="document('user.xml')/users/user[descendant::userid='template']/platforms">
-      <xsl:call-template name="platforms">
-       <xsl:with-param name="user" select="$user"/>
-       <xsl:with-param name="author_id" select="$author_id"/>
-       <xsl:with-param name="visu_modif" select="'modif'"/>
-      </xsl:call-template>
-   </xsl:if>
-   <xsl:if test="document('user.xml')/users/user[descendant::userid='template']/processors">
-      <xsl:call-template name="processors">
-       <xsl:with-param name="user" select="$user"/>
-       <xsl:with-param name="author_id" select="$author_id"/>
-       <xsl:with-param name="visu_modif" select="'modif'"/>
-      </xsl:call-template>
-   </xsl:if>
-   <xsl:if test="document('user.xml')/users/user[descendant::userid='template']/compilers">
-      <xsl:call-template name="compilers">
-       <xsl:with-param name="user" select="$user"/>
-       <xsl:with-param name="author_id" select="$author_id"/>
-       <xsl:with-param name="visu_modif" select="'modif'"/>
-      </xsl:call-template>
-   </xsl:if>
-   <xsl:if test="document('user.xml')/users/user[descendant::userid='template']/parameters">
-      <xsl:call-template name="parameters">
-       <xsl:with-param name="user" select="$user"/>
-       <xsl:with-param name="author_id" select="$author_id"/>
-       <xsl:with-param name="visu_modif" select="'modif'"/>
-      </xsl:call-template>
-   </xsl:if>
-   <xsl:if test="document('user.xml')/users/user[descendant::userid='template']/regions">
-      <xsl:call-template name="regions">
-       <xsl:with-param name="user" select="$user"/>
-       <xsl:with-param name="author_id" select="$author_id"/>
-       <xsl:with-param name="visu_modif" select="'modif'"/>
-      </xsl:call-template>
-   </xsl:if>
-   <xsl:if test="document('user.xml')/users/user[descendant::userid='template']/periods">
-      <xsl:call-template name="periods">
-       <xsl:with-param name="user" select="$user"/>
-       <xsl:with-param name="author_id" select="$author_id"/>
-       <xsl:with-param name="visu_modif" select="'modif'"/>
-      </xsl:call-template>
-   </xsl:if>
-  <xsl:choose>
-   <xsl:when test="$bibmode= 'yes'">
-    <xsl:text>&#xA;</xsl:text>
-    <xsl:element name="orderedlist">
-  <!--
-    <xsl:for-each select="/descendant::d:biblioentry[descendant::d:author=$author_name]">
-  -->
-    <xsl:for-each select="//d:biblioentry">
-     <xsl:sort order="descending" data-type="number" select="./d:biblioset/d:pubdate"/>
-
-     <xsl:for-each select="descendant::d:author">
-      <xsl:sort order="ascending" data-type="text" select="translate(./d:personname,'abcdefghijklmnopqrstuvwxyz éèçàùëöñó', 'ABCDEFGHIJKLMNOPQRSTUVWXYZ_EECAUEONO')"/>
-      <xsl:variable name="author_id2">
-<xsl:call-template name="surname_id">
- <xsl:with-param name="surname" select="d:personname/d:surname"/>
-</xsl:call-template>
-<xsl:text>_</xsl:text>
-<xsl:call-template name="firstname_id">
- <xsl:with-param name="firstname" select="d:personname/d:firstname"/>
-</xsl:call-template>
-      </xsl:variable>
-<!--
-     <xsl:message terminate="no">
-      ref #<xsl:value-of select="position()"/>
-      _id appel <xsl:value-of select="$author_id"/>
-      _id fabrique <xsl:value-of select="$author_id2"/>
-      egal ? <xsl:value-of select="$author_id2 = $author_id"/>
-     </xsl:message>
--->
-      <xsl:if test="$author_id2 = $author_id">
-  <xsl:call-template name="one_biblioentry">
-   <xsl:with-param name="visu_modif" select="'modif'"/>
-   <xsl:with-param name="my_biblioentry" select="ancestor::d:biblioentry"/>
-        <!-- ++ <xsl:with-param name="id" select="@xml:id"/> -->
-  </xsl:call-template>
-
-      </xsl:if>
-     </xsl:for-each>
-    </xsl:for-each>
-    </xsl:element>
-   </xsl:when>
-  </xsl:choose>
-  <xsl:call-template name="comments">
-   <xsl:with-param name="author_id" select="$author_id"/>
-   <xsl:with-param name="visu_modif" select="'modif'"/>
-  </xsl:call-template>
-  <xsl:call-template name="newreferences">
-   <xsl:with-param name="author_id" select="$author_id"/>
-   <xsl:with-param name="visu_modif" select="'modif'"/>
-  </xsl:call-template>
-
-  <xsl:choose>
-   <xsl:when test="$visu_modif= 'modif'">
-    <xsl:text>&#xA;</xsl:text>
-    <xsl:element name="html:input">
-     <xsl:attribute name="type">submit</xsl:attribute>
-     <xsl:attribute name="value">Mail</xsl:attribute>
-    </xsl:element>
-    <xsl:text>&#xA;</xsl:text>
-    <xsl:element name="html:input">
-     <xsl:attribute name="type">reset</xsl:attribute>
-     <xsl:attribute name="value">reset</xsl:attribute>
-    </xsl:element>
-   </xsl:when>
-  </xsl:choose>
- </xsl:element>
-</xsl:template>
-
-</xsl:stylesheet>
Index: unk/form_html.xsl
===================================================================
--- /trunk/form_html.xsl	(revision 355)
+++ 	(revision )
@@ -1,205 +1,0 @@
-<?xml version='1.0' encoding='ISO-8859-1'?>
-<xsl:stylesheet
-xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
-xmlns:html="http://www.w3.org/1999/xhtml"
-version="1.0">
-
-<!--rst
-
-.. _form_html.xsl:
-
-=============
-form_html.xsl
-=============
-
-DESCRIPTION
-===========
-
-transformation des elements de formulaires docbook en html
-
-EVOLUTIONS
-==========
-
-$Id$
-
-- fplod 2008-04-28T15:29:15Z aedon.locean-ipsl.upmc.fr (Darwin)
-
-  * dbk5 in
-
-- fplod 2007-04-27T15:08:17Z aedon.locean-ipsl.upmc.fr (Darwin)
-
-  * inclusion php d'après http://www.cygwin.com/ml/docbook-apps/2005-q1/msg00484.html
-    je laisse les xsl:processing-instruction qui devraient pouvoir marcher mais je ne sais pas pourquoi xsltproc
-    ne veut rien mettre dans le contenu de l'attribut value d'un input ... cf méchant sed dans makefile
-
-- fplod 2007-04-20T13:39:00Z aedon.locean-ipsl.upmc.fr (Darwin)
-
-  * création
-
--->
-
-<xsl:template match="html:form">
- <xsl:text>&#xA;</xsl:text>
- <xsl:element name="form">
-  <xsl:if test="@action">
-   <xsl:attribute name="action"><xsl:value-of select="@action"/>
-<!--?subject=[nemo survey 2007 cf form_db.xsl -->
-<xsl:processing-instruction name="php">
-<xsl:text>
-/*
- Définit le fuseau horaire par défaut à utiliser. Disponible depuis PHP
- 5.1
-date_default_timezone_set('UTC'); ++
-*/
-error_reporting(E_ALL);
-
-DATE_ISO8601_mod = 'Y-m-d\TH:i:s\Z'; /* +Z - fraction seconde */
-
-echo gmdate($DATE_ISO8601_mod);
-</xsl:text>
-</xsl:processing-instruction>
-   </xsl:attribute>
-  </xsl:if>
-  <xsl:if test="@method">
-   <xsl:attribute name="method"><xsl:value-of select="@method"/></xsl:attribute>
-  </xsl:if>
-  <xsl:if test="@enctype">
-   <xsl:attribute name="enctype"><xsl:value-of select="@enctype"/></xsl:attribute>
-  </xsl:if>
-  <xsl:apply-templates/>
- </xsl:element>
-</xsl:template>
-
-<xsl:template match="html:fieldset">
- <xsl:text>&#xA;</xsl:text>
- <xsl:element name="fieldset">
-  <xsl:attribute name="id"><xsl:value-of select="@xml:id"/></xsl:attribute>
-  <xsl:apply-templates/>
- </xsl:element>
-</xsl:template>
-
-<xsl:template match="html:label">
- <xsl:text>&#xA;</xsl:text>
- <xsl:element name="label">
-  <xsl:apply-templates/>
- </xsl:element>
-</xsl:template>
-
-<xsl:template match="html:legend">
- <legend><xsl:apply-templates/></legend>
-</xsl:template>
-
-<xsl:template match="html:input">
- <xsl:text>&#xA;</xsl:text>
- <xsl:element name="input">
-  <xsl:if test="@name">
-   <xsl:attribute name="name"><xsl:value-of select="@name"/></xsl:attribute>
-  </xsl:if>
-  <xsl:if test="@type">
-   <xsl:attribute name="type"><xsl:value-of select="@type"/></xsl:attribute>
-  </xsl:if>
-  <xsl:if test="@tabindex">
-   <xsl:attribute name="tabindex"><xsl:value-of select="@tabindex"/></xsl:attribute>
-  </xsl:if>
-  <xsl:if test="@value">
-   <xsl:attribute name="value">
-    <xsl:value-of select="@value"/>
-   </xsl:attribute>
-  </xsl:if>
-  <xsl:if test="not(@value)">
-   <xsl:choose>
-     <xsl:when test="@name='timestamp'">
-      <xsl:attribute name="value">
-<xsl:processing-instruction name="php">
-<xsl:text>
-/*
- Définit le fuseau horaire par défaut à utiliser. Disponible depuis PHP
- 5.1
-date_default_timezone_set('UTC'); ++
-*/
-error_reporting(E_ALL);
-
-DATE_ISO8601_mod = 'Y-m-d\TH:i:s\Z'; /* +Z - fraction seconde */
-
-echo date($DATE_ISO8601_mod);
-</xsl:text>
-</xsl:processing-instruction>
-      </xsl:attribute>
-     </xsl:when>
-     <xsl:when test="@name='server'">
-       <xsl:attribute name="value">
-<xsl:processing-instruction name="php">
-<xsl:text>
-echo $_SERVER['HTTP_USER_AGENT'];
-</xsl:text>
-</xsl:processing-instruction>
-      </xsl:attribute>
-     </xsl:when>
-     <xsl:when test="@name='phpversion'">
-       <xsl:attribute name="value">
-<xsl:processing-instruction name="php">
-<xsl:text>
-echo phpversion();
-</xsl:text>
-</xsl:processing-instruction>
-      </xsl:attribute>
-     </xsl:when>
-     <xsl:otherwise>
-     <xsl:message terminate="yes">
-      eee : input <xsl:value-of select="@name"/> without @value
-     </xsl:message>
-    </xsl:otherwise>
-   </xsl:choose>
-  </xsl:if>
-  <xsl:if test="@checked">
-   <xsl:attribute name="checked"><xsl:value-of select="@checked"/></xsl:attribute>
-  </xsl:if>
-  <xsl:if test="@readonly">
-   <xsl:attribute name="readonly"><xsl:value-of select="@readonly"/></xsl:attribute>
-  </xsl:if>
-  <xsl:apply-templates/>
- </xsl:element>
-</xsl:template>
-
-<xsl:template match="html:textarea">
- <xsl:text>&#xA;</xsl:text>
- <xsl:element name="textarea">
-  <xsl:attribute name="name"><xsl:value-of select="@name"/></xsl:attribute>
-  <xsl:attribute name="cols"><xsl:value-of select="@cols"/></xsl:attribute>
-  <xsl:attribute name="rows"><xsl:value-of select="@rows"/></xsl:attribute>
-  <xsl:apply-templates/>
- </xsl:element>
-</xsl:template>
-<xsl:template match="html:form/html:select">
- <xsl:text>&#xA;</xsl:text>
- <xsl:element name="select">
-  <xsl:if test="@name">
-   <xsl:attribute name="name"><xsl:value-of select="@name"/></xsl:attribute>
-  </xsl:if>
-  <xsl:if test="@xml:id">
-   <xsl:attribute name="id"><xsl:value-of select="@xml:id"/></xsl:attribute>
-  </xsl:if>
-  <xsl:if test="@multiple">
-   <xsl:attribute name="multiple"><xsl:value-of select="@multiple"/></xsl:attribute>
-  </xsl:if>
-  <xsl:if test="@onChange">
-   <xsl:attribute name="onChange"><xsl:value-of select="@onChange"/></xsl:attribute>
-  </xsl:if>
-  <xsl:apply-templates/>
- </xsl:element>
-</xsl:template>
-
-<xsl:template match="html:option">
- <xsl:text>&#xA;</xsl:text>
- <xsl:element name="option">
-  <xsl:if test="@value">
-   <xsl:attribute name="value"><xsl:value-of select="@value"/></xsl:attribute>
-  </xsl:if>
-  <xsl:if test="@SELECTED">
-   <xsl:attribute name="SELECTED"><xsl:value-of select="@SELECTED"/></xsl:attribute>
-  </xsl:if>
-  <xsl:apply-templates/>
- </xsl:element>
-</xsl:template>
-
-</xsl:stylesheet>
Index: unk/form_rest.xsl
===================================================================
--- /trunk/form_rest.xsl	(revision 355)
+++ 	(revision )
@@ -1,201 +1,0 @@
-<?xml version='1.0' encoding='ISO-8859-1'?>
-<xsl:stylesheet
-xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
-xmlns:html="http://www.w3.org/1999/xhtml"
-version="1.0">
-
-<!--rst
-
-.. _form_rest.xsl:
-
-=============
-form_rest.xsl
-=============
-
-DESCRIPTION
-===========
-
-transformation des elements de formulaires docbook en rest
-
-TODO
-====
-
-make it work
-
-EVOLUTIONS
-==========
-
-$Id$
-$URL$
-
-- fplod 20110629T125748Z cratos.locean-ipsl.upmc.fr (Linux)
-
-  * création
-
--->
-
-<xsl:template match="html:form">
- <xsl:text>&#xA;</xsl:text>
- <xsl:element name="form">
-  <xsl:if test="@action">
-   <xsl:attribute name="action"><xsl:value-of select="@action"/>
-<!--?subject=[nemo survey 2007 cf form_db.xsl -->
-<xsl:processing-instruction name="php">
-<xsl:text>
-/*
- Définit le fuseau horaire par défaut à utiliser. Disponible depuis PHP
- 5.1
-date_default_timezone_set('UTC'); ++
-*/
-error_reporting(E_ALL);
-
-DATE_ISO8601_mod = 'Y-m-d\TH:i:s\Z'; /* +Z - fraction seconde */
-
-echo gmdate($DATE_ISO8601_mod);
-</xsl:text>
-</xsl:processing-instruction>
-   </xsl:attribute>
-  </xsl:if>
-  <xsl:if test="@method">
-   <xsl:attribute name="method"><xsl:value-of select="@method"/></xsl:attribute>
-  </xsl:if>
-  <xsl:if test="@enctype">
-   <xsl:attribute name="enctype"><xsl:value-of select="@enctype"/></xsl:attribute>
-  </xsl:if>
-  <xsl:apply-templates/>
- </xsl:element>
-</xsl:template>
-
-<xsl:template match="html:fieldset">
- <xsl:text>&#xA;</xsl:text>
- <xsl:element name="fieldset">
-  <xsl:attribute name="id"><xsl:value-of select="@xml:id"/></xsl:attribute>
-  <xsl:apply-templates/>
- </xsl:element>
-</xsl:template>
-
-<xsl:template match="html:label">
- <xsl:text>&#xA;</xsl:text>
- <xsl:element name="label">
-  <xsl:apply-templates/>
- </xsl:element>
-</xsl:template>
-
-<xsl:template match="html:legend">
- <legend><xsl:apply-templates/></legend>
-</xsl:template>
-
-<xsl:template match="html:input">
- <xsl:text>&#xA;</xsl:text>
- <xsl:element name="input">
-  <xsl:if test="@name">
-   <xsl:attribute name="name"><xsl:value-of select="@name"/></xsl:attribute>
-  </xsl:if>
-  <xsl:if test="@type">
-   <xsl:attribute name="type"><xsl:value-of select="@type"/></xsl:attribute>
-  </xsl:if>
-  <xsl:if test="@tabindex">
-   <xsl:attribute name="tabindex"><xsl:value-of select="@tabindex"/></xsl:attribute>
-  </xsl:if>
-  <xsl:if test="@value">
-   <xsl:attribute name="value">
-    <xsl:value-of select="@value"/>
-   </xsl:attribute>
-  </xsl:if>
-  <xsl:if test="not(@value)">
-   <xsl:choose>
-     <xsl:when test="@name='timestamp'">
-      <xsl:attribute name="value">
-<xsl:processing-instruction name="php">
-<xsl:text>
-/*
- Définit le fuseau horaire par défaut à utiliser. Disponible depuis PHP
- 5.1
-date_default_timezone_set('UTC'); ++
-*/
-error_reporting(E_ALL);
-
-DATE_ISO8601_mod = 'Y-m-d\TH:i:s\Z'; /* +Z - fraction seconde */
-
-echo date($DATE_ISO8601_mod);
-</xsl:text>
-</xsl:processing-instruction>
-      </xsl:attribute>
-     </xsl:when>
-     <xsl:when test="@name='server'">
-       <xsl:attribute name="value">
-<xsl:processing-instruction name="php">
-<xsl:text>
-echo $_SERVER['HTTP_USER_AGENT'];
-</xsl:text>
-</xsl:processing-instruction>
-      </xsl:attribute>
-     </xsl:when>
-     <xsl:when test="@name='phpversion'">
-       <xsl:attribute name="value">
-<xsl:processing-instruction name="php">
-<xsl:text>
-echo phpversion();
-</xsl:text>
-</xsl:processing-instruction>
-      </xsl:attribute>
-     </xsl:when>
-     <xsl:otherwise>
-     <xsl:message terminate="yes">
-      eee : input <xsl:value-of select="@name"/> without @value
-     </xsl:message>
-    </xsl:otherwise>
-   </xsl:choose>
-  </xsl:if>
-  <xsl:if test="@checked">
-   <xsl:attribute name="checked"><xsl:value-of select="@checked"/></xsl:attribute>
-  </xsl:if>
-  <xsl:if test="@readonly">
-   <xsl:attribute name="readonly"><xsl:value-of select="@readonly"/></xsl:attribute>
-  </xsl:if>
-  <xsl:apply-templates/>
- </xsl:element>
-</xsl:template>
-
-<xsl:template match="html:textarea">
- <xsl:text>&#xA;</xsl:text>
- <xsl:element name="textarea">
-  <xsl:attribute name="name"><xsl:value-of select="@name"/></xsl:attribute>
-  <xsl:attribute name="cols"><xsl:value-of select="@cols"/></xsl:attribute>
-  <xsl:attribute name="rows"><xsl:value-of select="@rows"/></xsl:attribute>
-  <xsl:apply-templates/>
- </xsl:element>
-</xsl:template>
-<xsl:template match="html:form/html:select">
- <xsl:text>&#xA;</xsl:text>
- <xsl:element name="select">
-  <xsl:if test="@name">
-   <xsl:attribute name="name"><xsl:value-of select="@name"/></xsl:attribute>
-  </xsl:if>
-  <xsl:if test="@xml:id">
-   <xsl:attribute name="id"><xsl:value-of select="@xml:id"/></xsl:attribute>
-  </xsl:if>
-  <xsl:if test="@multiple">
-   <xsl:attribute name="multiple"><xsl:value-of select="@multiple"/></xsl:attribute>
-  </xsl:if>
-  <xsl:if test="@onChange">
-   <xsl:attribute name="onChange"><xsl:value-of select="@onChange"/></xsl:attribute>
-  </xsl:if>
-  <xsl:apply-templates/>
- </xsl:element>
-</xsl:template>
-
-<xsl:template match="html:option">
- <xsl:text>&#xA;</xsl:text>
- <xsl:element name="option">
-  <xsl:if test="@value">
-   <xsl:attribute name="value"><xsl:value-of select="@value"/></xsl:attribute>
-  </xsl:if>
-  <xsl:if test="@SELECTED">
-   <xsl:attribute name="SELECTED"><xsl:value-of select="@SELECTED"/></xsl:attribute>
-  </xsl:if>
-  <xsl:apply-templates/>
- </xsl:element>
-</xsl:template>
-
-</xsl:stylesheet>
Index: unk/insertphp.sh
===================================================================
--- /trunk/insertphp.sh	(revision 355)
+++ 	(revision )
@@ -1,195 +1,0 @@
-#! /bin/sh
-#+
-#
-# .. program:: insertphp.sh
-#
-# ============
-# insertphp.sh
-# ============
-#
-# -----------------------------------------------
-# ajoute des commandes php dans des fichiers html
-# -----------------------------------------------
-#
-# SYNOPSIS
-# ========
-#
-# .. code-block:: sh
-#
-#    insertphp.sh -i filein -o fileout -s sedfile -d depth
-#
-# DESCRIPTION
-# ===========
-#
-# ajoute des commandes php dans des fichiers html
-# en fonction d'info dans main.xml
-#
-# .. option:: -i  <input file>
-# .. option:: -o  <output file>
-# .. option:: -s  <sedfile>
-# .. option:: -d  <depth>
-#
-# EXAMPLES
-# ========
-#
-# To do the job on "one" branch:
-#
-# .. code-block:: bash
-#
-#    insertphp.sh -i template_beforesed.php -o ./template_one.php -d 2 -s insertphp_one.sed
-#
-# To check:
-#
-# .. code-block:: bash
-#
-#    diff template_beforesed.php template.php
-#
-# To do the job on "many" branch:
-#
-# .. code-block:: bash
-#
-#    insertphp.sh -i template_beforesed.php -o ./template_many.php -d 3 -s insertphp_many.sed
-#
-# see makefile
-#
-# EVOLUTIONS
-# ==========
-#
-# $Id$
-#
-# - fplod 20131010T113730Z callisto.locean-ipsl.upmc.fr (Linux)
-#
-#   * use xmlcmd defined in project_profile.sh
-#
-# - fplod 20120227
-#
-#   * xmlstarlet vs xml
-#
-# - fplod 2008-09-18T08:55:50Z aedon.locean-ipsl.upmc.fr (Darwin)
-#
-#   * add -d and -d option to perform one and many transformation
-#     with the same shell script
-#
-# - fplod 2008-09-17T15:12:32Z aedon.locean-ipsl.upmc.fr (Darwin)
-#
-#   * creation to encapsulate insertphp_one.sed usage and use
-#     main.xml title
-#
-#-
-system=$(uname)
-case "${system}" in
-    AIX|IRIX64)
-        echo " www : no specific posix checking"
-    ;;
-    Darwin)
-    ;;
-    *)
-        set -o posix
-    ;;
-esac
-unset system
-#
-set -u
-command=$(basename ${0})
-log_date=$(date -u +"%Y%m%dT%H%M%SZ")
-log=/tmp/$(basename ${command} .sh).log.${log_date}
-#
-tool=${xmlcmd}
-type ${tool} 1> /dev/null 2>&1
-status=${?}
-if [ ${status} -ne 0 ]
-then
-    echo "${command} : eee : tool ${tool} not found"
-    exit 1
-fi
-#
-unset status
-unset tool
-#
-usage=" Usage : ${command} -i filein -o fileout -s sedfile -d depth"
-#
-minargcount=8
-#echo " narg ${#}"
-if [ ${#} -lt ${minargcount} ]
-then
-    echo "eee : not enough arguments"
-    echo "${usage}"
-    exit 1
-fi
-unset minargcount
-#
-while [ ${#} -gt 0 ]
-do
-    case ${1} in
-        -i)
-            filein=${2}
-            shift
-        ;;
-        -o)
-            fileout=${2}
-            shift
-        ;;
-        -s)
-            sedfile=${2}
-            shift
-        ;;
-        -d)
-            depth=${2}
-            shift
-        ;;
-        *)
-            # other choice
-            echo "eee : unknown option ${1}"
-            echo "${usage}"
-            exit 1
-        ;;
-    esac
-    # next flag
-    shift
-done
-unset usage
-#
-# check for filein
-if [ ! -f ${filein} ]
-then
-    echo "eee : ${filein} not found"
-    exit 1
-fi
-#
-# check for sedfile
-if [ ! -f ${sedfile} ]
-then
-    echo "eee : ${sedfile} not found"
-    exit 1
-fi
-#
-# check for depth
-if [ ${depth} -lt 0 ]
-then
-    echo "eee : ${depth} must be greater than 0"
-    exit 1
-fi
-# ++ check for fileout ++ overwrite
-#
-# check for main.xml  ++ path
-if [ ! -f ./main.xml ]
-then
-    echo "eee : ./main.xml not found"
-    exit 1
-fi
-#
-# get title from main.xml
-title=$(${xmlcmd} sel -N d="http://docbook.org/ns/docbook" -t -m "/d:article/d:title/node()" -c . main.xml)
-#
-dirphp="./"
-idepth=1
-while [ ${idepth} -le ${depth} ]
-do
-    dirphp=${dirphp}"../"
-    idepth=$((${idepth} + 1))
-done
-sed -f ${sedfile} \
--e "s@${title}@${title} <?php include(\"${dirphp}php/timestamp.php\"); ?>@" \
-${filein} > ${fileout}
-# end
-exit 0
Index: unk/insertphp_many.sed
===================================================================
--- /trunk/insertphp_many.sed	(revision 355)
+++ 	(revision )
@@ -1,37 +1,0 @@
-#
-#+
-# NAME
-# ====
-# insertphp_one.sed - ajoute des commandes php dans des fichiers html
-#
-# DESCRIPTION
-# ===========
-#
-# ajoute des commandes php dans des fichiers html
-#
-# FILES
-# =====
-# /usr/home/fplod/incas/bibnemo/src/bibnemomaf/insertphp_many04.sed sur aedon.locean-ipsl.upmc.fr
-#
-# see also insertphp_one.sed
-# see also insertphp.sh
-#
-#
-# EVOLUTIONS
-# ==========
-#
-# $Id$
-#
-# - fplod 2008-09-18T09:22:24Z aedon.locean-ipsl.upmc.fr (Darwin)
-#
-#   * suppress line transformation with fixed title
-#
-#     see insertphp.sh
-#
-# - fplod 2007-05-09T09:10:31Z aedon.locean-ipsl.upmc.fr (Darwin)
-#   * creation parce que ++je n'arrive pas à faire marcher les
-#     ++xsl:processing-instructions
-#-
-s@<input name="server" type="hidden" value="" />@<input name="server" type="hidden" value="<?php include("../../../php/server.php"); ?>" />@
-s@<input name="phpversion" type="hidden" value="" />@<input name="phpversion" type="hidden" value="<?php include("../../../php/phpversion.php"); ?>" />@
-s@<input name="timestamp" type="hidden" value="" />@<input name="timestamp" type="hidden" value="<?php include("../../../php/timestamp.php"); ?>" />@
Index: unk/insertphp_one.sed
===================================================================
--- /trunk/insertphp_one.sed	(revision 355)
+++ 	(revision )
@@ -1,42 +1,0 @@
-#
-#+
-# NAME
-# ====
-# insertphp_one.sed - ajoute des commandes php dans des fichiers html
-#
-#
-# DESCRIPTION
-# ===========
-#
-#
-# ajoute des commandes php dans des fichiers html
-#
-# FILES
-# =====
-#
-# /usr/home/fplod/incas/bibnemo/src/bibnemomaf/insertphp_one.sed sur aedon.locean-ipsl.upmc.fr
-#
-# see also insertphp_many.sed
-# see also insertphp.sh
-#
-# EVOLUTIONS
-# ==========
-#
-# $Id$
-#
-# - fplod 2008-09-17T15:34:49Z aedon.locean-ipsl.upmc.fr (Darwin)
-#   
-#   * suppress line transformation with fixed title
-#
-#     see insertphp.sh
-#
-# - fplod 2007-05-09T09:10:31Z aedon.locean-ipsl.upmc.fr (Darwin)
-#
-#   * creation parce que ++je n'arrive pas à faire marcher les
-#     ++xsl:processing-instructions
-#
-#-
-#
-s@<input name="server" type="hidden" value="" />@<input name="server" type="hidden" value="<?php include("../../php/server.php"); ?>" />@
-s@<input name="phpversion" type="hidden" value="" />@<input name="phpversion" type="hidden" value="<?php include("../../php/phpversion.php"); ?>" />@
-s@<input name="timestamp" type="hidden" value="" />@<input name="timestamp" type="hidden" value="<?php include("../../php/timestamp.php"); ?>" />@
Index: unk/install.sh
===================================================================
--- /trunk/install.sh	(revision 355)
+++ 	(revision )
@@ -1,197 +1,0 @@
-#! /bin/sh
-#+
-#
-# .. program:: install.sh
-#
-# ==========
-# install.sh
-# ==========
-#
-# ----------------------------------------------
-# publication of HTML files and associated files
-# ----------------------------------------------
-#
-# SYNOPSIS
-# ========
-#
-# .. code-block:: sh
-#
-#    install.sh -w dirwww -p dirpublish -u urlpublish -l login
-#
-# DESCRIPTION
-# ===========
-#
-# publication (rsync) of dirwww content on dirpublish given in argument
-#
-# If the host of publication is cerbere.locean-ipsl.upmc.fr, a specific update
-# is launched.
-#
-# .. option:: -w  <input directory>
-# .. option:: -p  <output directory>
-# .. option:: -u  <output url>
-# .. option:: -l  <login used to access on output url>
-#
-# If needed, existing directories might be removed before (to erase obsolete
-# files), using :command:`ncftp` tool :
-#
-# For example, to clean directory on LOCEAN web server:
-#
-# .. code-block:: sh
-#
-#    ncftp -u fplod www.locean-ipsl.upmc.fr
-#    ncftp> cd fplod
-#    ncftp> rm -f pageperso/.DS_Store
-#    ncftp> rm -rf pageperso
-#    ncftp> exit
-#
-# EXAMPLES
-# ========
-#
-# EVOLUTIONS
-# ==========
-#
-# $Id$
-#
-# - fplod 2008-09-16T15:24:26Z aedon.locean-ipsl.upmc.fr (Darwin)
-#
-#   * comments in reStructuredText
-#
-# - fplod 2008-06-17T09:10:19Z aedon.locean-ipsl.upmc.fr (Darwin)
-#
-#   * add -l parameter only used in specific case at LOCEAN when user
-#     parameter of persoweb must be different than login (ex: acmo vs fplod)
-#   * replace http://www.lodyc.jussieu.fr/info_reseau/persoweb/?fastupdate=1&user=${user}" by
-#     http://intranet.locean-ipsl.upmc.fr/persoweb/?fastupdate=1&user=${user}
-#
-# - fplod 2008-03-28T10:26:58Z aedon.locean-ipsl.upmc.fr (Darwin)
-#
-#   * new personnal webpages policy at LOCEAN so new command and new parameter (-u)
-#
-# - fplod 2007-09-28T09:30:43Z aedon.locean-ipsl.upmc.fr (Darwin)
-#
-#   * parametrisation and translation
-#
-# - smasson 2007-06-07T16:43:42Z arete.locean-ipsl.upmc.fr (Darwin)
-#
-#   * can give the answer with input parameters
-#
-# - fplod 2007-04-26T11:51:42Z aedon.locean-ipsl.upmc.fr (Darwin)
-#
-#-
-system=$(uname)
-case "${system}" in
-   AIX|IRIX64)
-      echo " www : no specific posix checking"
-   ;;
-   *)
-      set -o posix
-   ;;
-esac
-unset system
-#
-set -u
-#
-command=$(basename ${0})
-log_date=$(date -u +"%Y%m%dT%H%M%SZ")
-log=/tmp/$(basename ${command} .sh).log.${log_date}
-#
-usage=" Usage : ${command} -w dirwww -p dirpublish -u urlpublish -l login"
-#
-minargcount=4
-#echo " narg ${#}"
-if [ ${#} -lt ${minargcount} ]
-then
-   echo "eee : not enough arguments"
-   echo "${usage}"
-   exit 1
-fi
-unset minargcount
-#
-# default
-dirpublish="none"
-urlpublish="none"
-login="none"
-#
-while [ ${#} -gt 0 ]
-do
-   case ${1} in
-      -w)
-         dirwww=${2}
-         shift
-      ;;
-      -p)
-         dirpublish=${2}
-         shift
-      ;;
-      -u)
-         urlpublish=${2}
-         shift
-      ;;
-      -l)
-         login=${2}
-         shift
-      ;;
-   esac
-   # next flag
-   shift
-done
-#
-# ++ check directories
-#
-answer=${1:-" "}
-case ${answer} in
-   y|Y|n|N)
-   ;;
-   *)
-      if [ "${dirpublish}" != "none" ]
-      then
-         echo "Do you want to install on ${dirpublish} (y|[n]) ?"
-         read answer
-      fi
-      if [ "${urlpublish}" != "none" ]
-      then
-         echo "Do you want to install on ${urlpublish} (y|[n]) ?"
-         read answer
-      fi
-   ;;
-esac
-#
-case  ${answer} in
-   y|Y)
-      if [ "${dirpublish}" != "none" ]
-      then
-         # copy of ${dirwww} on $dirpublish
-         echo "iii : update of ${dirpublish}"
-         rsync -av --exclude=".DS_Store" -e ssh ${dirwww}/ ${dirpublish}
-         # detect if in dirpublish following this pattern [USER@]HOST:SRC, HOST
-         # is cerbere.locean-ipsl.upmc.fr. If so, a specific update is launched
-         userhost=${dirpublish%%:*}
-         host=${userhost##*@}
-         if [ ${login} = "none" ]
-         then
-            user=${userhost%%@*}
-         else
-            user=${login}
-         fi
-         if [ "${host}" = "cerbere.locean-ipsl.upmc.fr" ]
-         then
-            wget -q "http://intranet.locean-ipsl.upmc.fr/persoweb/?fastupdate=1&user=${user}" -O /dev/null
-         fi
-      else
-         # urlpublish=http://www.locean-ipsl.upmc.fr/~ginette/produit
-         dirpublish=${urlpublish##*~}
-         cd ${dirwww}
-         #lftp -e "mirror -R . ${dirpublish};quit" -u ${LOGNAME} skyros.locean-ipsl.upmc.fr
-         lftp -e "mirror -R . ${dirpublish};quit" -u ${LOGNAME} www.locean-ipsl.upmc.fr
-         # pour acmo a la main ++
-         #++lftp -e 'mirror -R . acmo/nouveaux/;quit' -u fplod www.locean-ipsl.upmc.fr
-         # ++ log
-      fi
-   ;;
-   *)
-      echo "no update of ${dirpublish} or ${urlpublish}"
-   ;;
-esac
-#
-# normal exit
-exit 0
Index: unk/install_superbib.sh
===================================================================
--- /trunk/install_superbib.sh	(revision 355)
+++ 	(revision )
@@ -1,276 +1,0 @@
-#! /bin/sh -x
-#+
-#
-# .. program:: install_superbib.sh
-#
-# .. _install_superbib.sh:
-#
-# ===================
-# install_superbib.sh
-# ===================
-#
-# DESCRIPTION
-# ===========
-#
-# installation of project
-#
-# SYNOPSIS
-# ========
-#
-# .. code-block:: sh
-#
-#    install_superbib.sh -lf loginforgeipsl -d directory
-#
-# DESCRIPTION
-# ===========
-#
-# .. option:: -lf  <login on forge.ipsl.jussieu.fr>
-#
-# .. option:: -d   <directory>
-#
-#    where executable, input and output will be written
-#
-# On the first usage of this tool, :file:`${tempdir}/for_install_superbib/`
-# will be created.
-# svn forge will be checked out in this directory.
-#
-# On locean-ipsl.upmc.fr, :file:`${tempdir}` is set to
-# :file:`/usr/temp/${LOGNAME}/`.
-#
-# Elsewhere, :file:`${tempdir}` is set to :file:`/tmp/${LOGNAME}/`.
-#
-# ++Once done, experience can be launched using :ref:`project_run.sh`.
-#
-# ++To reset everything, you need to manually remove 
-# :file:`${tempdir}/for_install_superbib/`.
-#
-# ++Log file is written on
-# :file:`${PROJECT_LOG}/install_superbib.sh.log.{YYYYMMDDTHHMMSSZ}`.
-#
-# CAUTIONS
-# ========
-#
-# Must be launch interactively because of password issue.
-#
-# EXAMPLES
-# ========
-#
-# For installation on cratos
-#
-# .. code-block:: sh
-#
-#    install_superbib.sh \
-#    -lf pinsard \
-#    -d ${HOME}/SUPERBIB/
-#
-# SEE ALSO
-# ========
-#
-# :ref:`install`
-#
-# TODO
-# ====
-#
-# ipsl ClimServ
-#
-# EVOLUTIONS
-# ==========
-#
-# $Id: install_superbib.sh 106 2011-12-20 16:20:29Z pinsard $
-#
-# $URL$
-#
-# - fplod 20120227
-#
-#   * creation
-#
-#-
-command=$(basename ${0})
-system=$(uname)
-case "${system}" in
-    AIX|IRIX64)
-        echo "${command} : www : no specific posix checking"
-    ;;
-    *)
-        set -o posix
-    ;;
-esac
-unset system
-#
-set -u
-#
-log_date=$(date -u +"%Y%m%dT%H%M%SZ")
-#
-# check for ${PROJECT_LOG} definition
-if [ "${PROJECT_LOG}" = "" ]
-then
-    echo "${command} : eee : \${PROJECT_LOG} not defined"
-    exit 1
-fi
-#
-# check for ${PROJECT_LOG} existence
-if [ ! -d ${PROJECT_LOG} ]
-then
-    echo "${command} : eee : ${PROJECT_LOG} not found"
-    exit 1
-fi
-#
-# check for permission access on PROJECT_LOG
-if [ ! -x ${PROJECT_LOG} ]
-then
-    echo "${command} : eee : ${PROJECT_LOG} not reachable"
-    exit 1
-fi
-#
-# check for write permission on PROJECT_LOG
-if [ ! -w ${PROJECT_LOG} ]
-then
-    echo "${command} : eee : ${PROJECT_LOG} not writable"
-    exit 1
-fi
-#
-log=${PROJECT_LOG}/$(basename ${command} .sh).log.${log_date}
-#
-usage=" Usage : ${command} -lf loginforgeipsl -d directory"
-#
-# default
-hostname=$(hostname --fqdn)
-make_command=gmake
-svn_forge=1
-#
-minargcount=0
-if [ ${#} -lt ${minargcount} ]
-then
-    echo "${command} : eee : not enough arguments"
-    echo "${usage}"
-    exit 1
-fi
-unset minargcount
-#
-while [ ${#} -gt 0 ]
-do
-    case ${1} in
-        -lf)
-            loginforgeipsl=${2}
-            shift
-        ;;
-        -h)
-            hostname=${2}
-            shift
-        ;;
-        -d)
-            directory=${2}
-            shift
-        ;;
-        *)
-            # anything else
-            echo "${command} : eee : unknown option ${1}"
-            echo "${command} : eee : ${usage}"
-            exit 1
-        ;;
-    esac
-    # next flag
-    shift
-done
-#
-unset usage
-#
-echo "[Context]" 1>> ${log}
-echo "command=${command}" 1>> ${log}
-echo "hostname=${hostname}" 1>> ${log}
-echo "runtime=${log_date}" 1>> ${log}
-#
-echo "" 1>> ${log}
-echo "[Parameters]" 1>> ${log}
-echo "directory=${directory}" 1>> ${log}
-echo "svn_forge=${svn_forge}" 1>> ${log}
-echo "" 1>> ${log}
-#
-# check parameters
-#
-if [ ${svn_forge} -eq 1 ]
-then
-    if [ "${loginforgeipsl}" = "" ]
-    then
-        echo "${command} : eee: loginforgeipsl must be defined"
-        exit 1
-    fi
-fi
-#
-# define tempdir where the tar file will be put and compilation done
-# set if local svn will be used for checkout cdf sources files
-# it can not be so on IDRIS.
-domain=$(nslookup $(hostname) | grep Name: | cut -f 2 | cut -f 2- -d '.')
-case ${domain} in
-    locean-ipsl.upmc.fr)
-        tempdir=/usr/temp/${LOGNAME}/
-        local_svncfd=1
-    ;;
-    idris.fr)
-        tempdir=${WORKDIR}/
-        local_svncfd=0
-    ;;
-   *)
-       tempdir=/tmp/${LOGNAME}/
-       local_svncfd=1
-   ;;
-esac
-unset domain
-#
-project=superbib
-#
-# get files
-if [ -d ${tempdir}/for_install_superbib/ ]
-then
-    # If ${tempdir}/for_install_superbib/ exists, we suppose it already
-    # contains files.
-    if [ ${svn_forge} -eq 1 ]
-    then
-        # We ask for update this working space
-        echo "${command} : iii : ${tempdir}/for_install_superbib/ already exists" 1>> ${log} 2>&1
-        echo "iii : You will be asked ${loginforgeipsl}@forge.ipsl.jussieu.fr passwd"
-        svn update ${tempdir}/for_install_superbib/
-        svn_status=${?}
-        if [ ${svn_status} -ne 0 ]
-        then
-            echo "${command} : eee : pb with svn update forge" 1>> ${log} 2>&1
-            echo "${command} : iii : log is ${log}"
-            exit 1
-        fi
-    else
-        echo "${command} : iii : no svn forge update is asked" 1>> ${log} 2>&1
-    fi
-else
-    mkdir -p ${tempdir}/for_install_superbib/
-    if [ ${svn_forge} -eq 1 ]
-    then
-        # If ${tempdir}/for_install_superbib/ does not exist, we checkout
-        # files
-        echo "iii : You will be asked ${loginforgeipsl}@forge.ipsl.jussieu.fr passwd"
-        svn checkout svn+ssh://${loginforgeipsl}@forge.ipsl.jussieu.fr/ipsl/forge/projets/${project}/svn/trunk/ ${tempdir}/for_install_superbib/ 1>> ${log} 2>&1
-        svn_status=${?}
-        if [ ${svn_status} -ne 0 ]
-        then
-            echo "${command} : eee : pb with svn forge" 1>> ${log} 2>&1
-            echo "${command} : iii : log is ${log}"
-            exit 1
-        fi
-    else
-        echo "${command} : iii : no svn forge checkout is asked" 1>> ${log} 2>&1
-    fi
-fi
-#
-# installation of files needed
-mkdir -p ${directory}/
-cp -rp ${tempdir}/for_install_superbib/* ${directory}/
-#
-echo "${command} : iii : everything you need is under"
-echo "${command} : iii : ${directory}/"
-echo "${command} : iii : log is ${log}"
-#
-# cleaning
-unset log
-#++
-#
-# end
-exit 0
Index: unk/join_endcomma.awk
===================================================================
--- /trunk/join_endcomma.awk	(revision 355)
+++ 	(revision )
@@ -1,21 +1,0 @@
-# module :
-# joins lines ending with comma
-#
-# original location :
-# /usr/home/fplod/src/superbib_ws/data/joins.awk sur aedon.locean-ipsl.upmc.fr
-#
-# update :
-# $Id$
-# fplod 2008-03-12T09:00:38Z aedon.locean-ipsl.upmc.fr (Darwin)
-# creation thanks to http://www.unix.com/shell-programming-scripting/19601-shell-script-join-line-line-follows.html
-# see also http://forum.macbidouille.com/index.php?showtopic=128499
-#
-{
-if (index($0,",")==length($0) )
-{
- #sub(/,/,"",$0)
- printf("%s", $0 )
-}
-else {
-print $0
-}}
Index: unk/linkchecker.sh
===================================================================
--- /trunk/linkchecker.sh	(revision 355)
+++ 	(revision )
@@ -1,200 +1,0 @@
-#! /bin/sh
-#+
-#
-# .. program:: linkchecker.sh
-#
-# ==============
-# linkchecker.sh
-# ==============
-#
-# ---------------------------------------
-# check links of a given directory or url
-# ---------------------------------------
-#
-# SYNOPSIS
-# ========
-#
-# .. code-block:: sh
-#
-#    linkchecker.sh -d dircheck -u url
-#
-# DESCRIPTION
-# ===========
-#
-# .. option:: -d <dircheck>
-# .. option:: -u <url>
-#
-# check links of a given directory or url
-# cf. install.sh
-#
-# EXAMPLES
-# ========
-#
-# TODO
-# ====
-#
-# ++ linkchecker ne voit pas les erreurs !!
-#
-# ++ dirpublish forme fplod@cerbere.locean-ipsl.upmc.fr:./WWW/ par example
-# donc pas http
-#
-# + ajouter la possibilitÃ© de faire une carte du site avec graphviz
-#
-# exemple syntaxe
-#
-# .. code-block:: sh
-#
-#    linkchecker -odot -v http://www.lodyc.jussieu.fr/NEMO/general/biblio_new/   | dot -Tps > sitemap.ps
-#
-# remove "set -u" because I don't know how to test if there is at least
-# one directory AND one url to be checked without this option
-#
-# !! ++ must be restore ASAP
-#
-# EVOLUTIONS
-# ==========
-#
-# $Id$
-#
-# - fplod 2008-12-19T10:05:59Z aedon.locean-ipsl.upmc.fr (Darwin)
-#
-#   * bug fix for relative directory (thanks to SÃ©bastien Masson)
-#
-# - fplod 2008-09-16T15:28:34Z aedon.locean-ipsl.upmc.fr (Darwin)
-#
-#   * comment in reStructuredText
-#
-# - fplod 2007-10-12T07:32:08Z aedon.locean-ipsl.upmc.fr (Darwin)
-#
-#   * add -u pour url
-#   * add multiple -d and suppression of interactivity
-#   * replace -w by -d (more generic)
-#   * use rather checklink than linkchecker because the first one exist either
-#     on Mac and Unix, and because the second one exists only on Mac and
-#     does'nt seem to detect every problem
-#
-# - fplod 2007-10-11T15:31:25Z aedon.locean-ipsl.upmc.fr (Darwin)
-#
-#   * parametrization
-#   * merge with checklink.sh ++ choisir entre les deux
-#
-# - fplod 2007-06-19T09:26:04Z aedon.locean-ipsl.upmc.fr (Darwin)
-#
-#   * crÃ©ation
-#
-#-
-system=$(uname)
-case "${system}" in
-    AIX|IRIX64)
-        echo " www : no specific posix checking"
-    ;;
-    *)
-        set -o posix
-    ;;
-esac
-unset system
-command=$(basename ${0})
-log_date=$(date -u +"%Y%m%dT%H%M%SZ")
-log=/tmp/$(basename ${command} .sh).log.${log_date}
-#
-usage=" Usage : ${command} -d dircheck -u url"
-#
-minargcount=2
-#echo " narg ${#}"
-if [ ${#} -lt ${minargcount} ]
-then
-    echo "eee : not enough arguments"
-    echo "${usage}"
-    exit 1
-fi
-unset minargcount
-#
-idircheck=0
-iurl=0
-while [ ${#} -gt 0 ]
-do
-    case ${1} in
-        -d)
-            idircheck=$(( ${idircheck} + 1 ))
-            dircheck[${idircheck}]=$(cd ${2};pwd)
-            shift
-        ;;
-        -u)
-            iurlcheck=$(( ${iurlcheck} + 1 ))
-            urlcheck[${iurlcheck}]=${2}
-            shift
-        ;;
-    esac
-    # next flag
-    shift
-done
-#
-# +++ remove temporarily
-# ++ check directories or URL
-#
-# choose the command to be used
-#
-commandcheck=checklink
-#
-if [ ${commandcheck} = "linkchecker" ]
-then
-    # test if linkchecker is available
-    type ${commandcheck} 1> /dev/null 2>&1
-    status=${?}
-    if [ ${status} -ne 0 ]
-    then
-        echo "${command} : eee : ${commandcheck} unavailable"
-        exit 1
-    fi
-    optcheck="--anchors --recursion-level=-1"
-fi
-#
-if [ ${commandcheck} = "checklink" ]
-then
-    # test if checklink is available
-    type ${commandcheck} 1> /dev/null 2>&1
-    status=${?}
-    if [ ${status} -ne 0 ]
-    then
-        echo "${command} : eee : ${commandcheck} unavailable"
-        exit 1
-    fi
-#
-    optcheck="--summary --recursive"
-fi
-#
-# loop on directories to be checked
-dirchecksize=${#dircheck[@]} # ++ pb set -u
-if [ ${dirchecksize} -gt 0 ]
-then
-    idircheck=1
-    while [ ${idircheck} -le ${dirchecksize} ]
-    do
-        echo "iii : beginning of check of ${dircheck[${idircheck}]}" 1>>${log}
-        fverif="file://"${dircheck[${idircheck}]}
-        echo "iii : check of ${fverif}"
-        ${commandcheck} ${optcheck} ${fverif} 1>>${log} 2>&1
-        idircheck=$(( ${idircheck} + 1 ))
-    done
-fi
-#
-# loop on urls to be checked
-urlchecksize=${#urlcheck[@]} # ++ pb set -u
-if [ ${urlchecksize} -gt 0 ]
-then
-    iurlcheck=1
-    while [ ${iurlcheck} -le ${urlchecksize} ]
-    do
-        echo "iii : beginning of check of ${urlcheck[${iurlcheck}]}" 1>>${log}
-        # ++ test si urlcheck commence par http ou pas
-        fverif=${urlcheck[${iurlcheck}]}
-        echo "iii : check of ${fverif}"
-        ${commandcheck} ${optcheck} ${fverif} 1>>${log} 2>&1
-        iurlcheck=$(( ${iurlcheck} + 1 ))
-    done
-fi
-#
-echo "iii : log in ${log}"
-# end
-unset log
-exit
Index: unk/mailtouser.sh
===================================================================
--- /trunk/mailtouser.sh	(revision 355)
+++ 	(revision )
@@ -1,387 +1,0 @@
-#! /bin/sh
-#+
-#
-# .. _mailtouser.sh:
-#
-# .. program:: mailtouser.sh
-#
-# =============
-# mailtouser.sh
-# =============
-#
-# SYNOPSIS
-# ========
-#
-# .. code-block:: sh
-#
-#    mailtouser.sh -m mailbodyfile -x xmloutput
-#
-# DESCRIPTION
-# ===========
-#
-# .. option:: -m <mailbodyfile>
-# .. option:: -x <xmloutput>
-#
-# convert email text in xml form following :file:`user.dtd`
-#
-# SEE ALSO
-# ========
-#
-# :ref:`bibopa.sh`
-#
-# EXAMPLES
-# ========
-#
-# .. code-block:: sh
-#
-#    mailtouser.sh -m data/mail2007-05-10T09:01:56Z -x ginette.xml
-#
-# TODO
-# ====
-#
-# ++ gestion des comments
-#
-# ++ gestion de la signature
-#
-# EVOLUTIONS
-# ==========
-#
-# $Id$
-#
-# - fplod 2008-09-16T15:42:41Z aedon.locean-ipsl.upmc.fr (Darwin)
-#
-#  * comments in reStructuredText
-#
-# - fplod 2007-06-06T09:27:55Z aedon.locean-ipsl.upmc.fr (Darwin)
-#
-#  * correction for Off-Line and PC Cluster
-#
-# - fplod 2007-05-18T08:31:48Z aedon.locean-ipsl.upmc.fr (Darwin)
-#
-#  * add off-line and agrif components
-#
-# - fplod 2007-05-09T15:03:15Z aedon.locean-ipsl.upmc.fr (Darwin)
-#
-#  * reprise + ajout middlename + ajout components_date
-#
-# - fplod 2007-04-25T09:15:38Z aedon.locean-ipsl.upmc.fr (Darwin)
-#
-#  * creation
-#
-#-
-system=$(uname)
-case "${system}" in
-    AIX|IRIX64)
-        echo " www : no specific posix checking"
-    ;;
-    *)
-        set -o posix
-    ;;
-esac
-unset system
-#
-set -u
-#
-command=$(basename ${0})
-log_date=$(date -u +"%Y%m%dT%H%M%SZ")
-log=/tmp/$(basename ${command} .sh).log.${log_date}
-#
-usage=" Usage : ${command} -m mailbodyfile -x xmloutput"
-#
-# test if xmllint is available
-tool=xmllint
-type ${tool} 1> /dev/null 2>&1
-status=${?}
-if [ ${status} -ne 0 ]
-then
-    echo " eee : ${tool} not found"
-    exit 1
-fi
-unset tool
-unset status
-#
-# check for user.dtd
-if [ ! -f user.dtd ]
-then
-    echo "eee : user.dtd not found"
-    exit 1
-fi
-#
-while [ ${#} -gt 0 ]
-do
-    case ${1} in
-        -m)
-            mailbodyfile=${2}
-            shift
-        ;;
-        -x)
-            xmloutput=${2}
-            shift
-        ;;
-        *)
-            # other choice
-            echo "eee : unknown option ${1}"
-            echo "${usage}"
-            exit 1
-        ;;
-    esac
-    # next flag
-    shift
-done
-unset usage
-#
-# check for mailbodyfile
-if [ ! -f ${mailbodyfile} ]
-then
-    echo "eee : ${mailbodyfile} not found"
-    exit 1
-fi
-#
-# check for xmloutput
-#++ err si exist
-#
-echo "<user>" > ${xmloutput}
-echo "<!-- mailbodyfile : ${mailbodyfile} " >> ${xmloutput}
-cat ${mailbodyfile} >> ${xmloutput}
-echo "-->" >> ${xmloutput}
-echo "<!-- ${log_date} -->" >> ${xmloutput}
-author_id=$(grep "author_id=" ${mailbodyfile} | awk -F"=" '{print $2}')
-surname=$(grep "personal_surname=" ${mailbodyfile} | awk -F"=" '{print $2}')
-firstname=$(grep "personal_firstname=" ${mailbodyfile} | awk -F"=" '{print $2}')
-middlename=$(grep "personal_middlename=" ${mailbodyfile} | awk -F"=" '{print $2}')
-if [ "${author_id}" = "template" ]
-then
-    author_id=$( echo ${surname} | \
-    tr "[:lower:]" "[:upper:]" | \
-    tr " " "_"  | \
-    recode -d -f UTF-8..flat)
-    author_id=${author_id}_$( echo ${firstname:0:1} | \
-    tr "[:upper:]" "[:lower:]" | \
-    recode -d -f UTF-8..flat)
-fi
-echo "<userid>${author_id}</userid>" >> ${xmloutput}
-#
-echo "<personname>" >> ${xmloutput}
-#
-echo "<surname>${surname}</surname>" >> ${xmloutput}
-#
-echo "<firstname>${firstname}</firstname>" >> ${xmloutput}
-echo "<othername role='mi'>${middlename}</othername>" >> ${xmloutput}
-#
-echo "</personname>" >> ${xmloutput}
-#
-email=$(grep "personal_email=" ${mailbodyfile} | awk -F"=" '{print $2}')
-echo "<email>${email}</email>" >> ${xmloutput}
-#
-elements=components
-element=component
-#++ rÃ©cupÃ©rer les users/user[child::userid='template']/components/component/name
-unset jlist
-unset jlist_name
-j=1
-jlist[${j}]="OPA"
-jlist_name[${j}]="OPA"
-j=$((${j} + 1))
-jlist[${j}]="LIM"
-jlist_name[${j}]="LIM"
-j=$((${j} + 1))
-jlist[${j}]="TOP"
-jlist_name[${j}]="TOP"
-j=$((${j} + 1))
-jlist[${j}]="TAM"
-jlist_name[${j}]="TAM"
-j=$((${j} + 1))
-jlist[${j}]="SAXO"
-jlist_name[${j}]="SAXO"
-j=$((${j} + 1))
-jlist[${j}]="offline"
-jlist_name[${j}]="Off-line"
-j=$((${j} + 1))
-jlist[${j}]="AGRIF"
-jlist_name[${j}]="AGRIF"
-echo "<${elements}>" >> ${xmloutput}
-components_date=$(grep "components_date=" ${mailbodyfile} | awk -F"=" '{print $2}')
-echo "<components_date>${components_date}</components_date>" >> ${xmloutput}
-## find the element
-j=1
-jlistsize=${#jlist[@]}
-while [ ${j} -le ${jlistsize} ]
-do
-    jlist_min=$(echo ${jlist[j]} | tr [:upper:] [:lower:])
-    # recherche de ${jlist[j]}
-    grep -q "${element}_${jlist_min}" ${mailbodyfile}
-    ok=${?}
-    if [ ${ok} -eq 0 ]
-    then
-        echo "<${element} code='${jlist_min}'>" >> ${xmloutput}
-        echo "<name>${jlist_name[j]}</name>" >> ${xmloutput}
-        echo "<value>yes</value>" >> ${xmloutput}
-        echo "</${element}>"  >> ${xmloutput}
-    else
-        echo "<${element} code='${jlist_min}'>" >> ${xmloutput}
-        echo "<name>${jlist_name[j]}</name>" >> ${xmloutput}
-        echo "<value>no</value>" >> ${xmloutput}
-        echo "</${element}>"  >> ${xmloutput}
-    fi
-    j=$(( ${j} + 1 ))
-done
-echo "</${elements}>" >> ${xmloutput}
-#
-element=platform
-elements=platforms
-#++ rÃ©cupÃ©rer les users/user[child::userid='template']/platforms/platform/name
-unset jlist
-unset jlist_name
-j=1
-jlist[${j}]="CRAY"
-jlist_name[${j}]="CRAY"
-j=$((${j} + 1))
-jlist[${j}]="IBM"
-jlist_name[${j}]="IBM"
-j=$((${j} + 1))
-jlist[${j}]="FUJITSU"
-jlist_name[${j}]="FUJITSU"
-j=$((${j} + 1))
-jlist[${j}]="MAC"
-jlist_name[${j}]="MAC"
-j=$((${j} + 1))
-jlist[${j}]="NEC"
-jlist_name[${j}]="NEC"
-j=$((${j} + 1))
-jlist[${j}]="SGI"
-jlist_name[${j}]="SGI"
-j=$((${j} + 1))
-jlist[${j}]="SUN"
-jlist_name[${j}]="SUN"
-j=$((${j} + 1))
-jlist[${j}]='pccluster'
-jlist_name[${j}]="PC Cluster"
-echo "<${elements}>" >> ${xmloutput}
-## find the element
-j=1
-jlistsize=${#jlist[@]}
-while [ ${j} -le ${jlistsize} ]
-do
-    # recherche de ${jlist[j]}
-    jlist_min=$(echo ${jlist[j]} | tr [:upper:] [:lower:])
-    grep -q "${element}_${jlist_min}" ${mailbodyfile}
-    ok=${?}
-    if [ ${ok} -eq 0 ]
-    then
-        echo "<${element} code='${jlist_min}'>" >> ${xmloutput}
-        echo "<name>${jlist_name[j]}</name>" >> ${xmloutput}
-        echo "<value>yes</value>" >> ${xmloutput}
-        echo "</${element}>"  >> ${xmloutput}
-    else
-        echo "<${element} code='${jlist_min}'>" >> ${xmloutput}
-        echo "<name>${jlist_name[j]}</name>" >> ${xmloutput}
-        echo "<value>no</value>" >> ${xmloutput}
-        echo "</${element}>"  >> ${xmloutput}
-    fi
-    j=$(( ${j} + 1 ))
-done
-#
-# gestion des "others"
-j=1
-jlistsize=${#jlist[@]}
-grep_cmd="grep ${element}_zzz_other ${mailbodyfile} "
-while [ ${j} -le ${jlistsize} ]
-do
-    grep_cmd="${grep_cmd} | grep -v ${element}=${jlist[j]}" #++ -v inutile
-    j=$(( ${j} + 1 ))
-done
-other=$(eval ${grep_cmd} | awk -F "=" '{print$2}')
-echo "<${element} code='zzz_other'>" >> ${xmloutput}
-echo "<name>Other</name>" >> ${xmloutput}
-echo "<value>${other}</value>" >> ${xmloutput}
-echo "</${element}>"  >> ${xmloutput}
-echo "</${elements}>" >> ${xmloutput}
-#
-processors=$(grep "processors=" ${mailbodyfile} | awk -F"=" '{print $2}')
-echo "<processors>${processors}</processors>" >> ${xmloutput}
-#
-element=compiler
-elements=compilers
-unset jlist
-unset jlist_name
-j=1
-jlist[${j}]="g95"
-jlist_name[${j}]="g95"
-j=$((${j} + 1))
-jlist[${j}]="ifort"
-jlist_name[${j}]="ifort"
-j=$((${j} + 1))
-jlist[${j}]="pgf"
-jlist_name[${j}]="pgf"
-j=$((${j} + 1))
-jlist[${j}]="sxf90"
-jlist_name[${j}]="sxf90"
-j=$((${j} + 1))
-jlist[${j}]="xlf"
-jlist_name[${j}]="xlf"
-echo "<${elements}>" >> ${xmloutput}
-## find the element
-j=1
-jlistsize=${#jlist[@]}
-while [ ${j} -le ${jlistsize} ]
-do
-    # recherche de ${jlist[j]}
-    jlist_min=$(echo ${jlist[j]} | tr [:upper:] [:lower:])
-    grep -q "${element}_${jlist_min}" ${mailbodyfile}
-    ok=${?}
-    if [ ${ok} -eq 0 ]
-    then
-        echo "<${element} code='${jlist_min}'>" >> ${xmloutput}
-        echo "<name>${jlist_name[j]}</name>" >> ${xmloutput}
-        echo "<value>yes</value>" >> ${xmloutput}
-        echo "</${element}>"  >> ${xmloutput}
-    else
-        echo "<${element} code='${jlist_min}'>" >> ${xmloutput}
-        echo "<name>${jlist_name[j]}</name>" >> ${xmloutput}
-        echo "<value>no</value>" >> ${xmloutput}
-        echo "</${element}>"  >> ${xmloutput}
-    fi
-    j=$(( ${j} + 1 ))
-done
-#
-# gestion des "others"
-j=1
-jlistsize=${#jlist[@]}
-grep_cmd="grep ${element}_zzz_other= ${mailbodyfile} "
-while [ ${j} -le ${jlistsize} ]
-do
-    grep_cmd="${grep_cmd} | grep -v ${element}=${jlist[j]}" #++ -v inutile
-    j=$(( ${j} + 1 ))
-done
-other=$(eval ${grep_cmd} | awk -F "=" '{print $2}')
-echo "<${element} code='zzz_other'>" >> ${xmloutput}
-echo "<name>Other</name>" >> ${xmloutput}
-echo "<value>${other}</value>" >> ${xmloutput}
-echo "</${element}>"  >> ${xmloutput}
-echo "</${elements}>" >> ${xmloutput}
-#
-echo "</user>" >> ${xmloutput}
-#
-xmloutputfull=/tmp/${xmloutput} # ++
-echo '<?xml version="1.0" encoding="iso-8859-1"?>' > ${xmloutputfull}
-echo '<!DOCTYPE users SYSTEM "user.dtd">' >> ${xmloutputfull}
-echo '<users>' >> ${xmloutputfull}
-echo '<date>bidon</date>' >> ${xmloutputfull}
-cat ${xmloutput} >> ${xmloutputfull}
-echo '</users>' >> ${xmloutputfull}
-#
-# ++ parce que je ne sais pas dire oÃ¹ est la dtd dans la commande xmllint
-cp user.dtd /tmp/
-xmllint --noout --valid ${xmloutputfull} 1>> ${log} 2>> ${log}
-status=${?}
-if [ ${status} -ne 0 ]
-then
-    echo " eee : pb DTD conformance of ${xmloutputfull}"
-    echo " eee : see ${log}"
-    exit 1
-else
-    echo " iii : you can include ${xmloutput} in user.xml" #++ filename path
-    echo " iii : modify date in user.xml" #++ filename path
-fi
-#
-exit 0
Index: unk/main_html.xsl
===================================================================
--- /trunk/main_html.xsl	(revision 355)
+++ 	(revision )
@@ -1,87 +1,0 @@
-<?xml version='1.0' encoding='ISO-8859-1'?>
-<xsl:stylesheet
-xmlns:d="http://docbook.org/ns/docbook"
-xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
-xmlns:html="http://www.w3.org/1999/xhtml"
-version="1.0">
-
-<!--rst
-
-.. _main_html.xsl:
-
-=============
-main_html.xsl
-=============
-
-transformation docbook en html avec formulaire
-
-EVOLUTIONS
-==========
-
-$Id$
-
-- fplod 2008-09-17T10:23:44Z aedon.locean-ipsl.upmc.fr (Darwin)
-
-  * add a link to project homepage at the bottom of the page
-
-- fplod 2008-04-30T15:23:38Z aedon.locean-ipsl.upmc.fr (Darwin)
-
-  * language inherited from biblio.xml
-
-- fplod 2008-04-28T11:02:38Z aedon.locean-ipsl.upmc.fr (Darwin)
-
-  * input dbk5
-
-- fplod 2007-04-18T08:15:46Z aedon.locean-ipsl.upmc.fr (Darwin)
-
-  * création
-
--->
-
-<xsl:import href="http://docbook.sourceforge.net/release/xsl/current/xhtml/docbook.xsl"/>
-
-<xsl:output method="xml"
-encoding="utf-8"
-indent="yes"
-omit-xml-declaration="yes"
-doctype-public="-//W3C//DTD XHTML 1.0 Strict//EN"
-doctype-system="http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"/>
-
-<xsl:include href="titlepage.superbib.xsl"/>
-<xsl:include href="message_lang.xsl"/>
-<xsl:include href="form_html.xsl"/>
-
-<xsl:template match="*" mode="book.titlepage.mode"/>
-<xsl:param name="generate.toc">
-article nop
-</xsl:param>
-<xsl:param name="css.decoration" select="0"/>
-<xsl:param name="section.autolabel" select="0"/>
-
-<!--
-Personalisation de bas de page
--->
-<xsl:template name="user.footer.content">
- <xsl:call-template name="para_lastupdate">
-  <xsl:with-param name="language" select="document('biblio.xml')/d:bibliography/@xml:lang"/>
-  <xsl:with-param name="date" select="$makedate"/>
-  <xsl:with-param name="mode" select="'html'"/>
- </xsl:call-template>
-
- <hr/>
- <para>
- <xsl:call-template name="back">
-  <xsl:with-param name="language" select="document('biblio.xml')/d:bibliography/@xml:lang"/>
- </xsl:call-template>
- <xsl:text> </xsl:text>
- <xsl:element name="a">
-  <xsl:attribute name="href">
-   <xsl:value-of select="document('main.xml')//d:bibliosource[@xml:id='homepage']"/>
-  </xsl:attribute>
-  <xsl:value-of select="document('main.xml')//d:keyword[@xml:id='project']"/> home page
-  </xsl:element>
-  </para>
-
-</xsl:template>
-
-</xsl:stylesheet>
Index: unk/main_rest.xsl
===================================================================
--- /trunk/main_rest.xsl	(revision 355)
+++ 	(revision )
@@ -1,65 +1,0 @@
-<?xml version='1.0' encoding='ISO-8859-1'?>
-<xsl:stylesheet
-xmlns:d="http://docbook.org/ns/docbook"
-xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
-xmlns:html="http://www.w3.org/1999/xhtml"
-version="1.0">
-
-<!--rst
-
-.. _main_rest.xsl:
-
-=============
-main_rest.xsl
-=============
-
-transformation docbook en rest avec formulaire
-
-TODO
-====
-
-make it work
-
-EVOLUTIONS
-==========
-
-$Id$
-$URL$
-
-- fplod 20110629T133438Z aedon.locean-ipsl.upmc.fr (Darwin)
-
-  * creation
-
--->
-<xsl:import href="db_rest.xsl"/>
-
-<xsl:output method="text"/>
-
-<xsl:include href="titlepage.superbib.xsl"/>
-<xsl:include href="message_lang.xsl"/>
-<xsl:include href="form_rest.xsl"/>
-
-<xsl:template name="user.footer.content">
- <xsl:call-template name="para_lastupdate">
-  <xsl:with-param name="language" select="document('biblio.xml')/d:bibliography/@xml:lang"/>
-  <xsl:with-param name="date" select="$makedate"/>
-  <xsl:with-param name="mode" select="'rest'"/>
- </xsl:call-template>
-
- <hr/>
- <para>
- <xsl:call-template name="back">
-  <xsl:with-param name="language" select="document('biblio.xml')/d:bibliography/@xml:lang"/>
- </xsl:call-template>
- <xsl:text> </xsl:text>
- <xsl:element name="a">
-  <xsl:attribute name="href">
-   <xsl:value-of select="document('main.xml')//d:bibliosource[@xml:id='homepage']"/>
-  </xsl:attribute>
-  <xsl:value-of select="document('main.xml')//d:keyword[@xml:id='project']"/> home page
-  </xsl:element>
-  </para>
-
-</xsl:template>
-
-</xsl:stylesheet>
Index: unk/makefile
===================================================================
--- /trunk/makefile	(revision 355)
+++ 	(revision )
@@ -1,813 +1,0 @@
-#+
-#
-# DESCRIPTION
-# ===========
-#
-# génération des pages superbib
-#
-# TODO
-# ====
-#
-# ask for end-user graphic tool
-#
-# EVOLUTIONS
-# ==========
-#
-# $Id$
-#
-# $URL$
-#
-# - fplod 20131017T095625Z callisto.locean-ipsl.upmc.fr (Linux)
-#
-#   * fix bibopa.sh parameter
-#   * add bibtexml.dtd in external directory from
-#     http://sourceforge.net/p/bibtexml/code/HEAD/tree/trunk/
-#     because this DTD is not available on callisto
-#
-# - fplod 20131010T120230Z callisto.locean-ipsl.upmc.fr (Linux)
-#
-#   * use xmlcmd defined in project_profile.sh
-#
-# - fplod 20120228
-#
-#   * matplotlib ok on halios even if the image is too large
-#   * gnuplot process is also done but not use (to uggly)
-#   * ploticus command is now (version 2.41) pl
-#
-# - fplod 20120227
-#
-#   * move demo1 and nemo1 in tests
-#
-# - fplod 20110701T123529Z cratos.locean-ipsl.upmc.fr (Linux)
-#
-#   * add "Check SUPERBIB requirements in main.xml : " usage of checkmain.sh
-#     only procedure instructions
-#
-# - fplod 20110701T105417Z cratos.locean-ipsl.upmc.fr (Linux)
-#
-#   * contact is no more define here. see authorgroup/author[1]/email
-#     in main.xml
-#
-# - fplod 20110629T124212Z cratos.locean-ipsl.upmc.fr (Linux)
-#
-#   * introduce rest
-#
-# - fplod 20100111T140001Z aedon.locean-ipsl.upmc.fr (Darwin)
-#
-#   * usage of makepp for design
-#
-# - fplod 2008-12-19T10:56:43Z aedon.locean-ipsl.upmc.fr (Darwin)
-#
-#   * rename doc to design
-#
-# fplod 2008-09-17T15:37:10Z aedon.locean-ipsl.upmc.fr (Darwin)
-# parametrization of "affreux sed"
-# add test_demo1 and test_nemo1
-# fplod 2008-05-07T14:27:55Z aedon.locean-ipsl.upmc.fr (Darwin)
-# add test
-# fplod 2008-04-30T09:52:22Z aedon.locean-ipsl.upmc.fr (Darwin)
-# chgt for dbk5
-# fplod 2008-04-28T10:27:33Z aedon.locean-ipsl.upmc.fr (Darwin)
-# add .PHONY to make possible usage of makeppgraph
-# get rid of tidy
-# introduce URLPUBLISH
-# fplod 2008-04-18T10:24:13Z aedon.locean-ipsl.upmc.fr (Darwin)
-# add year_ploticus.xsl (replacing years_gnuplot.xsl)
-# fplod 2007-11-22T09:57:16Z aedon.locean-ipsl.upmc.fr (Darwin)
-# replace --output parameter by --stringparam base.dir
-# according to Bob Stayton recommandation in
-# http://lists.oasis-open.org/archives/docbook-apps/200711/msg00095.html
-# fplod 2007-10-12T09:40:01Z aedon.locean-ipsl.upmc.fr (Darwin)
-# add linkcheck
-# ++ la génération de pdf ne marchent pas bien sans doute à cause des images top
-# fplod 2007-09-28T08:56:17Z aedon.locean-ipsl.upmc.fr (Darwin)
-# add before and install targets
-# fplod 2007-06-06T10:23:19Z aedon.locean-ipsl.upmc.fr (Darwin)
-# change hard coded DIRBASE
-# fplod 2007-05-21T14:01:20Z aedon.locean-ipsl.upmc.fr (Darwin)
-# ajout du plot nbpub/year
-# fplod 2007-03-30T09:53:48Z aedon.locean-ipsl.upmc.fr (Darwin)
-# creation
-#
-#-
-PRODUCT = \
-superbib
-
-DIRBASE = \
-./
-
-DIRSRC = \
-$(DIRBASE)/
-
-DIRTMP = \
-./
-
-DIRXML = \
-$(DIRBASE)/xml/
-
-DIRDESIGN = \
-$(DIRBASE)/design/
-
-DIRWWW = \
-/tmp/$(PRODUCT)/
-
-DIRSPHINX = \
-/tmp/$(PRODUCT)/sphinx_tmpdir/
-
-# here are some examples of DIRPUBLISH/URLPUBLISH, the first on for Seb on his Mac,
-#
-# the real one for NEMO is opatlod@cerbere.locean-ispl.upmc.fr:NEMO/general/biblio_new/
-#
-# comment all of them and define your own
-#
-DIRPUBLISH = \
-smasson@arete.locean-ipsl.upmc.fr:Sites/bibnemomaf/
-
-URLPUBLISH = \
-none
-
-# the second one for me (Françoise) on my Mac aedon
-#DIRPUBLISH = \
-#fplod@aedon.locean-ipsl.upmc.fr:Sites/$(PRODUCT)demo/
-
-#URLPUBLISH = \
-#none
-
-# the third for me (Françoise) on my home page at LOCEAN
-# http://www.locean-ipsl.upmc.fr/~fplod/superbibdemo/
-#DIRPUBLISH = \
-#none
-
-#URLPUBLISH = \
-#http://www.locean-ipsl.upmc.fr/~fplod/$(PRODUCT)demo/
-
-XMLCMD = $(xmlcmd)
-
-MAKEDATE = \
-`date -u +"%Y-%m-%dT%H:%M:%SZ"`
-
-XSLPARAMHTML = \
---param makedate "'$(MAKEDATE)'" \
---param html.stylesheet "'../../style.css ../../$(PRODUCT).css'" \
---param generate.article.toc '0' \
---param generate.section.toc.level '0' \
---param citerefentry.link '1'
-
-XSLPARAMRST = \
---param makedate "'$(MAKEDATE)'"
-
-IMAGES = \
-$(DIRSRC)/images/globalicondl11x10_up.gif
-
-.PHONY : \
-test \
-test_raw \
-test_raw_demo1 \
-test_raw_nemo1 \
-test_raw_nemoall \
-dbkcheck \
-all \
-before \
-clean \
-design \
-help \
-html \
-html_en \
-rest \
-rest_en \
-htmllinkchecka \
-htmllinkcheckb \
-install \
-pdf
-
-help :
-	@echo "Define in the makefile localisations of :"
-	@echo " - sources (DIRSRC) where you \"svn checkout\" $(PRODUCT)"
-	@echo " - temporary Web pages (DIRWWW), where you can check links before publication"
-	@echo " - published Web pages (DIRPUBLISH/URLPUBLISH)"
-	@echo ""
-	@echo "Prepare output directories :"
-	@echo "\$$ make before"
-	@echo ""
-	@echo "check for duplicate DOI; for example :"
-	@echo "\$$ ./twindoi.sh -i $(DIRTMP)/biblio.xml -t xml"
-	@echo ""
-	@echo "Check for DocBook 5 validity : "
-	@echo "\$$ make dbkcheck"
-	@echo " "
-	@echo "Check SUPERBIB requirements in main.xml : "
-	@echo "\$$ ./checkmain.sh -i $(DIRTMP)/main.xml"
-	@echo " "
-	@echo "Check links before installation : "
-	@echo "\$$ make htmllinkcheckb"
-	@echo " "
-	@echo "Last step = installation"
-	@echo "\$$ make install"
-	@echo " "
-	@echo "Check links after installation : "
-	@echo "\$$ make htmllinkchecka"
-	@echo " "
-	@echo "if you move this product to an other place, "
-	@echo "change parameters in the call sequence of $(DIRSRC)/before.sh and $(DIRSRC)/install.sh"
-	@echo "and in the call sequence of in $(DIRSRC)/install.sh"
-	@echo "in this makefile"
-	@echo " "
-	@echo " "
-	@echo " "
-	@echo "for contributors at LOCEAN:"
-	@echo "\$$ export PATH=\$$PATH:/usr/home/fplod/src/schema_ws/"
-	@echo "\$$ make design"
-
-before :
-	@$(DIRSRC)/before.sh -p $(PRODUCT) -s $(DIRSRC) -w $(DIRWWW) -multi -l en -m 2
-	@mkdir $(DIRSPHINX)
-
-install :
-	$(DIRSRC)/install.sh -w $(DIRWWW) -p $(DIRPUBLISH)
-	$(DIRSRC)/install.sh -w $(DIRWWW) -u $(URLPUBLISH)
-clean :
-	-@rm -fr $(DIRWWW)/
-	-@rm -f $(DIRTMP)/bibtexml.dtd
-	-@rm -f $(DIRTMP)/bibdemo1_dbk5_1.txt
-	-@rm -f $(DIRTMP)/bibdemo1_dbk5_2.bib
-	-@rm -f $(DIRTMP)/bibdemo1_dbk5_2.tex
-	-@rm -f $(DIRTMP)/bibdemo1_dbk5_1.xml
-	-@rm -f $(DIRTMP)/bibdemo1_dbk5_2.xml
-	-@rm -f $(DIRTMP)/bibdemo1_dbk5_2.bbl
-	-@rm -f $(DIRTMP)/bibdemo1_dbk5_2.blg
-	-@rm -f $(DIRTMP)/bibdemo1_dbk5_2.out
-	-@rm -f $(DIRTMP)/bibdemo1_dbk5_2.aux
-	-@rm -f $(DIRTMP)/bibdemo1_dbk5_2.dvi
-	-@rm -f $(DIRTMP)/bibdemo1_dbk5_2.bib.xml
-	-@rm -f $(DIRTMP)/bibdemo1_dbk5_2.log
-	-@rm -f $(DIRTMP)/bibnemo1.xml
-	-@rm -f $(DIRTMP)/bibnemo1.txt
-	-@rm -f $(DIRTMP)/bibnemoall.xml
-	-@rm -f $(DIRTMP)/bibnemoall.txt
-	-@rm -f $(DIRTMP)/select_id.xml
-	-@rm -f $(DIRTMP)/main_full.xml
-	-@rm -f $(DIRTMP)/$(PRODUCT)01.xml
-	-@rm -f $(DIRTMP)/$(PRODUCT)01_dblatex.log
-	-@rm -f $(DIRTMP)/$(PRODUCT)01_dblatex.err
-	-@rm -f $(DIRTMP)/years_gnuplot.gnu
-	-@rm -f $(DIRTMP)/years.ploticus
-	-@rm -f $(DIRTMP)/years_matplotlib.py
-	-@rm -f $(DIRTMP)/years.png
-	-@rm -f $(DIRTMP)/$(PRODUCT)02.xml
-	-@rm -f $(DIRTMP)/$(PRODUCT)02_dblatex.err
-	-@rm -f $(DIRTMP)/$(PRODUCT)02_dblatex.log
-	-@rm -f $(DIRTMP)/$(PRODUCT)many01.xml
-	-@rm -f $(DIRTMP)/$(PRODUCT)many02.xml
-	-@rm -f $(DIRTMP)/titlepage.$(PRODUCT).xsl
-	-@rm -f $(DIRTMP)/user_db.xml
-	-@rm -f $(DIRTMP)/template_beforesed.php
-	-@rm -f $(DIRTMP)/template_db.xml
-
-dbkcheck :
-	@-rm $(DIRTMP)/err_xmlstarlet_xsd 2> /dev/null
-	for file in $(DIRTMP)/biblio.xml $(DIRTMP)/*_full.xml $(DIRTMP)/select_id.xml $(DIRTMP)/$(PRODUCT)01.xml $(DIRTMP)/$(PRODUCT)02.xml $(DIRTMP)/$(PRODUCT)many01.xml $(DIRTMP)/$(PRODUCT)many02.xml $(DIRTMP)/user_db.xml $(DIRTMP)/template_db.xml; do \
-	${XMLCMD} val --err \
-	--xsd http://www.docbook.org/xml/5.0/xsd/docbook.xsd \
-	$${file} 1>> $(DIRTMP)/err_xmlstarlet_xsd 2>&1; done
-	@echo "check for valid diag for each file in $(DIRTMP)/err_xmlstarlet_xsd"
-
-all : \
-html
-
-html : \
-html_en
-
-rest : \
-rest_en
-
-design : \
-$(DIRDESIGN)/images/$(PRODUCT)_fulldependencies.png \
-$(DIRDESIGN)/images/$(PRODUCT)_fulldependencies.svg
-
-htmllinkcheckb :
-	@linkchecker.sh -d $(DIRWWW)
-
-htmllinkchecka :
-	@linkchecker.sh -d $(DIRPUBLISH)
-	@linkchecker.sh -u $(URLPUBLISH)
-
-rest_en : \
-$(DIRWWW)/en/one/main.php \
-$(DIRWWW)/en/one/template.php \
-$(DIRSPHINX)/$(PRODUCT)00.rst \
-$(DIRSPHINX)/$(PRODUCT)01.rst \
-$(DIRSPHINX)/$(PRODUCT)02.rst \
-$(DIRSPHINX)/$(PRODUCT)01/ \
-$(DIRSPHINX)/$(PRODUCT)02/ \
-$(DIRSPHINX)/user.rst
-
-html_en : \
-$(DIRWWW)/en/one/main.php \
-$(DIRWWW)/en/one/template.php \
-$(DIRWWW)/en/one/$(PRODUCT)00.html \
-$(DIRWWW)/en/one/$(PRODUCT)01.html \
-$(DIRWWW)/en/one/$(PRODUCT)02.html \
-$(DIRWWW)/en/many/$(PRODUCT)01/ \
-$(DIRWWW)/en/many/$(PRODUCT)02/ \
-$(DIRWWW)/en/one/user.html
-
-pdf_en : \
-$(DIRTMP)/$(PRODUCT)01.pdf \
-$(DIRTMP)/$(PRODUCT)02.pdf
-
-$(DIRSPHINX)/$(PRODUCT)00.rst : \
-$(DIRTMP)/biblio.xml \
-$(DIRSRC)/db_rest.xsl
-	@xsltproc \
-	--output $@ \
-	$(DIRSRC)/db_rest.xsl \
-	$<
-
-$(DIRWWW)/en/one/$(PRODUCT)00.html : \
-$(DIRTMP)/biblio.xml
-	@xsltproc \
-	--output $@ \
-	http://docbook.sourceforge.net/release/xsl/current/xhtml/docbook.xsl \
-	$<
-
-$(DIRWWW)/en/one/main.php : \
-$(DIRTMP)/main_full.xml \
-$(DIRSRC)/$(PRODUCT).css \
-$(DIRSRC)/style.css \
-$(DIRSRC)/main_html.xsl \
-$(DIRSRC)/message_lang.xsl \
-$(DIRTMP)/titlepage.$(PRODUCT).xsl \
-$(DIRSRC)/form_html.xsl
-	@xsltproc \
-	$(XSLPARAMHTML) \
-	--output $@ \
-	$(DIRSRC)/main_html.xsl \
-	$<
-
-$(DIRSPHINX)/$(PRODUCT)01.rst : \
-$(DIRTMP)/biblio.xml \
-$(DIRWWW)/images/years.png \
-$(DIRSRC)/$(PRODUCT)01_rest.xsl \
-$(DIRSRC)/biblioentry_rest.xsl \
-$(DIRSRC)/db_rest.xsl \
-$(DIRSRC)/message_lang.xsl
-	@xsltproc \
-	$(XSLPARAMRST) \
-	--output $@ \
-	$(DIRSRC)/$(PRODUCT)01_rest.xsl \
-	$<
-
-$(DIRWWW)/en/one/$(PRODUCT)01.html : \
-$(DIRTMP)/$(PRODUCT)01.xml \
-$(DIRWWW)/images/years.png \
-$(DIRSRC)/$(PRODUCT).css \
-$(DIRSRC)/style.css \
-$(DIRSRC)/$(PRODUCT)01_html.xsl \
-$(DIRSRC)/message_lang.xsl \
-$(DIRTMP)/titlepage.$(PRODUCT).xsl
-	@xsltproc \
-	$(XSLPARAMHTML) \
-	--output $@ \
-	$(DIRSRC)/$(PRODUCT)01_html.xsl \
-	$<
-
-$(DIRTMP)/$(PRODUCT)01.xml : \
-$(DIRTMP)/biblio.xml \
-$(DIRSRC)/$(PRODUCT)01_xml.xsl \
-$(DIRSRC)/message_lang.xsl \
-$(DIRSRC)/biblioentry_xml.xsl
-	@xsltproc \
-	--output $@ \
-	$(DIRSRC)/$(PRODUCT)01_xml.xsl \
-	$<
-
-$(DIRSPHINX)/$(PRODUCT)02.rst : \
-$(DIRTMP)/biblio.xml \
-$(DIRSRC)/$(PRODUCT)02_rest.xsl \
-$(DIRSRC)/biblioentry_rest.xsl \
-$(DIRSRC)/db_rest.xsl \
-$(DIRSRC)/message_lang.xsl
-	@xsltproc \
-	$(XSLPARAMRST) \
-	--output $@ \
-	$(DIRSRC)/$(PRODUCT)02_rest.xsl \
-	$<
-
-$(DIRWWW)/en/one/$(PRODUCT)02.html : \
-$(DIRTMP)/$(PRODUCT)02.xml \
-$(DIRSRC)/$(PRODUCT).css \
-$(DIRSRC)/style.css \
-$(DIRSRC)/$(PRODUCT)01_html.xsl \
-$(DIRSRC)/message_lang.xsl \
-$(DIRTMP)/titlepage.$(PRODUCT).xsl
-	@xsltproc \
-	$(XSLPARAMHTML) \
-	--output $@ \
-	$(DIRSRC)/$(PRODUCT)01_html.xsl \
-	$<
-
-$(DIRSPHINX)/$(PRODUCT)02/ :
-	@echo "not yet"
-
-$(DIRWWW)/en/many/$(PRODUCT)02/ : \
-$(DIRTMP)/$(PRODUCT)many02.xml \
-$(DIRSRC)/$(PRODUCT).css \
-$(DIRSRC)/style.css \
-$(DIRSRC)/$(PRODUCT)many02_html.xsl \
-$(DIRSRC)/message_lang.xsl \
-$(DIRTMP)/titlepage.$(PRODUCT).xsl \
-$(DIRSRC)/form_html.xsl
-	@xsltproc \
-	$(XSLPARAMHTML) \
-	--param html.ext "'.php'" \
-	--param base.dir "'$@/'" \
-	$(DIRSRC)/$(PRODUCT)many02_html.xsl \
-	$<
-	# affreux sed
-	@for file in $(DIRWWW)/en/many/$(PRODUCT)02/*.php; do \
-	 $(DIRSRC)/insertphp.sh -i $${file} -o $${file}_sed \
-	 -s $(DIRSRC)/insertphp_many.sed \
-	 -d 3; \
-	 mv $${file}_sed $${file} ; \
-	done
-	@touch $@/
-
-$(DIRTMP)/$(PRODUCT)many02.xml : \
-$(DIRTMP)/biblio.xml \
-$(DIRSRC)/$(PRODUCT)many02_xml.xsl \
-$(DIRSRC)/message_lang.xsl \
-$(DIRSRC)/form_db.xsl \
-$(DIRSRC)/compilers_db.xsl \
-$(DIRSRC)/components_db.xsl \
-$(DIRSRC)/platforms_db.xsl \
-$(DIRSRC)/personal_db.xsl \
-$(DIRSRC)/comments_db.xsl \
-$(DIRSRC)/newreferences_db.xsl \
-$(DIRSRC)/processors_db.xsl \
-$(DIRSRC)/biblioentry_xml.xsl \
-$(DIRSRC)/correction_db.xsl \
-$(DIRSRC)/firstname_id.xsl \
-$(DIRSRC)/surname_id.xsl
-	@xsltproc \
-	--param html.ext "'.php'" \
-	--output $@ \
-	$(DIRSRC)/$(PRODUCT)many02_xml.xsl \
-	$<
-
-$(DIRSPHINX)/$(PRODUCT)01/ :
-	@echo "not yet"
-
-$(DIRWWW)/en/many/$(PRODUCT)01/ : \
-$(DIRTMP)/$(PRODUCT)many01.xml \
-$(DIRSRC)/$(PRODUCT).css \
-$(DIRSRC)/style.css \
-$(DIRSRC)/$(PRODUCT)many01_html.xsl \
-$(DIRSRC)/message_lang.xsl \
-$(DIRTMP)/titlepage.$(PRODUCT).xsl
-	@xsltproc \
-	$(XSLPARAMHTML) \
-	--param base.dir "'$@/'" \
-	$(DIRSRC)/$(PRODUCT)many01_html.xsl \
-	$<
-	@touch $@/
-
-$(DIRTMP)/$(PRODUCT)many01.xml : \
-$(DIRTMP)/biblio.xml \
-$(DIRSRC)/$(PRODUCT)many01_xml.xsl \
-$(DIRSRC)/message_lang.xsl \
-$(DIRSRC)/firstname_id.xsl \
-$(DIRSRC)/surname_id.xsl \
-$(DIRSRC)/table_authors.xsl \
-$(DIRSRC)/biblioentry_xml.xsl \
-$(DIRSRC)/correction_db.xsl
-	@xsltproc \
-	--param html.ext "'.html'" \
-	--output $@ \
-	$(DIRSRC)/$(PRODUCT)many01_xml.xsl \
-	$<
-
-$(DIRTMP)/$(PRODUCT)02.xml : \
-$(DIRTMP)/biblio.xml \
-$(DIRSRC)/$(PRODUCT)02_xml.xsl \
-$(DIRSRC)/message_lang.xsl \
-$(DIRSRC)/firstname_id.xsl \
-$(DIRSRC)/surname_id.xsl \
-$(DIRSRC)/table_authors.xsl \
-$(DIRSRC)/biblioentry_xml.xsl \
-$(DIRSRC)/correction_db.xsl
-	@xsltproc \
-	--param html.ext "'.html'" \
-	--output $@ \
-	$(DIRSRC)/$(PRODUCT)02_xml.xsl \
-	$<
-
-$(DIRTMP)/titlepage.$(PRODUCT).xsl : \
-$(DIRSRC)/titlepage.$(PRODUCT).xml
-	@xsltproc \
-	--output $@ \
-	http://docbook.sourceforge.net/release/xsl/current/template/titlepage.xsl \
-	$<
-
-$(DIRWWW)/images/years.png : \
-$(DIRTMP)/years.ploticus \
-$(DIRTMP)/years_gnuplot.gnu \
-$(DIRTMP)/years_matplotlib.py
-	@#gnuplot years_gnuplot.gnu
-	@#pl -o $@ png $<	
-	@python years_matplotlib.py
-
-$(DIRTMP)/years_matplotlib.py : \
-$(DIRTMP)/biblio.xml \
-$(DIRSRC)/years_matplotlib.xsl \
-$(DIRSRC)/biblioentry_xml.xsl \
-$(DIRSRC)/message_lang.xsl
-	@xsltproc \
-	--param makedate "'$(MAKEDATE)'" \
-	--param path "'$(DIRWWW)/images/'" \
-	--output $@ \
-	$(DIRSRC)/years_matplotlib.xsl \
-	$<
-
-$(DIRTMP)/years_gnuplot.gnu : \
-$(DIRTMP)/biblio.xml \
-$(DIRSRC)/years_gnuplot.xsl \
-$(DIRSRC)/biblioentry_xml.xsl \
-$(DIRSRC)/message_lang.xsl
-	@xsltproc \
-	--param makedate "'$(MAKEDATE)'" \
-	--param path "'$(DIRWWW)/images/'" \
-	--output $@ \
-	$(DIRSRC)/years_gnuplot.xsl \
-	$<
-
-$(DIRTMP)/years.ploticus : \
-$(DIRTMP)/biblio.xml \
-$(DIRSRC)/years_ploticus.xsl \
-$(DIRSRC)/biblioentry_xml.xsl \
-$(DIRSRC)/message_lang.xsl
-	@xsltproc \
-	--param makedate "'$(MAKEDATE)'" \
-	--output $@ \
-	$(DIRSRC)/years_ploticus.xsl \
-	$<
-
-$(DIRTMP)/$(PRODUCT)01.pdf : \
-$(DIRTMP)/$(PRODUCT)01.xml \
-$(DIRSRC)/$(PRODUCT)_pdf.xsl
-	@dblatex \
-	-b pdftex \
-	-T simple \
-	-o $@ \
-	-d \
-	-x "--nonet" \
-	-p $(DIRSRC)/$(PRODUCT)_pdf.xsl \
-	$< \
-	1> $(DIRTMP)/$(PRODUCT)01_dblatex.log \
-	2> $(DIRTMP)/$(PRODUCT)01_dblatex.err
-
-$(DIRTMP)/$(PRODUCT)02.pdf : \
-$(DIRTMP)/biblio.xml \
-$(DIRSRC)/$(PRODUCT)_pdf.xsl
-	@dblatex \
-	-b pdftex \
-	-T simple \
-	-o $@ \
-	-d \
-	-x "--nonet" \
-	-p $(DIRSRC)/$(PRODUCT)_pdf.xsl \
-	$< \
-	1> $(DIRTMP)/$(PRODUCT)02_dblatex.log \
-	2> $(DIRTMP)/$(PRODUCT)02_dblatex.err
-
-$(DIRTMP)/main_full.xml : \
-$(DIRTMP)/main.xml \
-$(DIRSRC)/select_form.php \
-$(DIRTMP)/select_id.xml
-	@xmllint \
-	--xinclude \
-	--nonet \
-	--output $@ \
-	$<
-
-$(DIRTMP)/select_id.xml : \
-$(DIRTMP)/biblio.xml \
-$(DIRSRC)/select_id.xsl \
-$(DIRSRC)/firstname_id.xsl \
-$(DIRSRC)/surname_id.xsl
-	@xsltproc \
-	--output $@ \
-	$(DIRSRC)/select_id.xsl \
-	$<
-
-$(DIRSPHINX)/user.rst: \
-$(DIRTMP)/user_db.xml \
-$(DIRSRC)/user_rest.xsl \
-$(DIRSRC)/message_lang.xsl \
-$(DIRSRC)/form_rest.xsl
-	@xsltproc \
-	$(XSLPARAMRST) \
-	--output $@ \
-	$(DIRSRC)/user_rest.xsl \
-	$<
-
-$(DIRWWW)/en/one/user.html : \
-$(DIRTMP)/user_db.xml \
-$(DIRSRC)/$(PRODUCT).css \
-$(DIRSRC)/style.css \
-$(DIRSRC)/user_html.xsl \
-$(DIRSRC)/message_lang.xsl \
-$(DIRTMP)/titlepage.$(PRODUCT).xsl \
-$(DIRSRC)/form_html.xsl
-	@xsltproc \
-	$(XSLPARAMHTML) \
-	--output $@ \
-	$(DIRSRC)/user_html.xsl \
-	$<
-
-$(DIRTMP)/user_db.xml : \
-$(DIRTMP)/user.xml \
-$(DIRSRC)/user_db.xsl \
-$(DIRSRC)/message_lang.xsl \
-$(DIRSRC)/components_db.xsl \
-$(DIRSRC)/compilers_db.xsl \
-$(DIRSRC)/platforms_db.xsl \
-$(DIRSRC)/processors_db.xsl
-	@xsltproc \
-	--output $@ \
-	$(DIRSRC)/user_db.xsl \
-	$<
-
-$(DIRTMP)/user.xml : \
-$(DIRTMP)/user.dtd
-	-@xmllint --noout --valid $@
-
-$(DIRWWW)/en/one/template.php : \
-$(DIRTMP)/template_beforesed.php
-	# affreux sed
-	@$(DIRSRC)/insertphp.sh -i $< \
-	-o $@ \
-	-s $(DIRSRC)/insertphp_one.sed \
-	-d 2
-
-$(DIRTMP)/template_beforesed.php : \
-$(DIRTMP)/template_db.xml \
-$(DIRSRC)/$(PRODUCT).css \
-$(DIRSRC)/style.css \
-$(DIRSRC)/main_html.xsl \
-$(DIRSRC)/message_lang.xsl \
-$(DIRTMP)/titlepage.$(PRODUCT).xsl \
-$(DIRSRC)/form_html.xsl
-	@xsltproc \
-	$(XSLPARAMHTML) \
-	--param html.ext "'.php'" \
-	--output $@ \
-	$(DIRSRC)/main_html.xsl \
-	$<
-
-$(DIRTMP)/template_db.xml : \
-$(DIRTMP)/user.xml \
-$(DIRSRC)/template_db.xsl \
-$(DIRSRC)/message_lang.xsl \
-$(DIRSRC)/form_db.xsl \
-$(DIRSRC)/compilers_db.xsl \
-$(DIRSRC)/components_db.xsl \
-$(DIRSRC)/platforms_db.xsl \
-$(DIRSRC)/personal_db.xsl \
-$(DIRSRC)/comments_db.xsl \
-$(DIRSRC)/newreferences_db.xsl \
-$(DIRSRC)/processors_db.xsl \
-$(DIRSRC)/biblioentry_xml.xsl \
-$(DIRSRC)/correction_db.xsl
-	@xsltproc \
-	--output $@ \
-	$(DIRSRC)/template_db.xsl \
-	$<
-
-$(DIRDESIGN)/images/%.png : $(DIRDESIGN)/images/%.svg
-	@convert $< $@
-
-$(DIRDESIGN)/images/%.svg : $(DIRDESIGN)/%.dot
-	@dot -Tsvg -o $@ $<
-
-$(DIRDESIGN)/$(PRODUCT)_fulldependencies.dot : \
-$(DIRSRC)/makefile
-	@makeppgraph --graphviz --output=$@
-
-test : \
-test_raw
-
-test_raw : \
-test_raw_demo1_1 \
-test_raw_demo1_2 \
-test_raw_demo1_2_tex \
-test_raw_nemo1 \
-test_raw_nemoall
-
-test_raw_demo1_1 : \
-$(DIRSRC)/data/bibdemo1_dbk5.xml \
-$(DIRTMP)/bibdemo1_dbk5_1.xml \
-$(DIRTMP)/bibdemo1_dbk5_1.txt
-	@echo "test from xml to xml via raw form"
-	diff -b $(DIRTMP)/bibdemo1_dbk5_1.xml $(DIRSRC)/data/bibdemo1_dbk5.xml | more
-	rm -i $(DIRTMP)/bibdemo1_dbk5_1.xml $(DIRTMP)/bibdemo1_dbk5_1.txt
-
-$(DIRTMP)/bibdemo1_dbk5_1.txt : \
-$(DIRSRC)/data/bibdemo1_dbk5.xml \
-$(DIRSRC)/superbib01_txt.xsl \
-$(DIRSRC)/biblioentry_xml.xsl
-	xsltproc --param makedate "'$(MAKEDATE)'" \
- 	--output $@ \
-  	$(DIRSRC)/superbib01_txt.xsl \
-	$<
-
-$(DIRTMP)/bibdemo1_dbk5_1.xml : \
-$(DIRTMP)/bibdemo1_dbk5_1.txt \
-$(DIRSRC)/bibopa.sh \
-$(DIRSRC)/external/bibtexml.dtd
-	cp $(DIRSRC)/external/bibtexml.dtd $(DIRTMP)
-	$(DIRSRC)/bibopa.sh -tmpdir $(DIRTMP) -p demo1 -i $< -ti raw -to dbk -l fr
-
-test_raw_demo1_2_tex : \
-$(DIRTMP)/bibdemo1_dbk5_2.dvi
-	@echo "test from xml to latex via bibtex form"
-
-$(DIRTMP)/bibdemo1_dbk5_2.dvi : \
-$(DIRTMP)/bibdemo1_dbk5_2.tex \
-$(DIRTMP)/bibdemo1_dbk5_2.bib
-	cd $(DIRTMP)/
-	latex bibdemo1_dbk5_2
-	bibtex bibdemo1_dbk5_2
-	latex bibdemo1_dbk5_2
-
-$(DIRTMP)/bibdemo1_dbk5_2.tex : \
-$(DIRSRC)/data/superbib01.tex
-	@sed -e "s/bibliography{superbib01}/bibliography{bibdemo1_dbk5_2}/" \
-	$< > $(DIRTMP)/bibdemo1_dbk5_2.tex
-	
-test_raw_demo1_2 : \
-$(DIRSRC)/data/bibdemo1_dbk5.xml \
-$(DIRTMP)/bibdemo1_dbk5_2.xml \
-$(DIRTMP)/bibdemo1_dbk5_2.bib
-	@echo "test from xml to xml via bibtex form"
-	diff -b $(DIRTMP)/bibdemo1_dbk5_2.bib.xml $(DIRSRC)/data/bibdemo1_dbk5.xml | more
-	rm -i $(DIRTMP)/bibdemo1_dbk5_2.bib.xml $(DIRTMP)/bibdemo1_dbk5_2.bib
-
-$(DIRTMP)/bibdemo1_dbk5_2.bib : \
-$(DIRSRC)/data/bibdemo1_dbk5.xml \
-$(DIRSRC)/superbib02_txt.xsl \
-$(DIRSRC)/biblioentry_xml.xsl
-	xsltproc --param makedate "'$(MAKEDATE)'" \
- 	--output $@ \
-  	$(DIRSRC)/superbib02_txt.xsl \
-	$<
-
-$(DIRTMP)/bibdemo1_dbk5_2.xml : \
-$(DIRTMP)/bibdemo1_dbk5_2.bib \
-$(DIRSRC)/bibopa.sh \
-$(DIRSRC)/bibtexml2dbk.xsl \
-$(DIRSRC)/external/bibtex2xml.py \
-$(DIRSRC)/external/bibtexml.dtd
-	cp $(DIRSRC)/external/bibtexml.dtd $(DIRTMP)
-	$(DIRSRC)/bibopa.sh  -tmpdir $(DIRTMP) -p demo1 -i $< -ti bibtex -to dbk -o fs -l fr
-
-test_raw_nemo1 : \
-$(DIRSRC)/data/bibnemo1.xml \
-$(DIRTMP)/bibnemo1.xml \
-$(DIRTMP)/bibnemo1.txt
-	diff -b $(DIRTMP)/bibnemo1.xml $(DIRSRC)/data/bibnemo1.xml | more
-	rm -i $(DIRTMP)/bibnemo1.xml $(DIRTMP)/bibnemo1.txt
-
-$(DIRTMP)/bibnemo1.txt : \
-$(DIRSRC)/data/bibnemo1.xml \
-$(DIRSRC)/superbib01_txt.xsl \
-$(DIRSRC)/biblioentry_xml.xsl
-	xsltproc --param makedate "'$(MAKEDATE)'" \
- 	--output $@ \
-  	$(DIRSRC)/superbib01_txt.xsl \
-	$<
-
-$(DIRTMP)/bibnemo1.xml : \
-$(DIRTMP)/bibnemo1.txt \
-$(DIRSRC)/bibopa.sh
-	$(DIRSRC)/bibopa.sh  -tmpdir $(DIRTMP) -p nemo -i $< -ti raw -to dbk -l en
-
-test_raw_nemoall : \
-$(DIRSRC)/data/biball.xml \
-$(DIRTMP)/bibnemoall.xml \
-$(DIRTMP)/bibnemoall.txt
-	diff -b $(DIRTMP)/bibnemoall.xml $(DIRSRC)/data/biball.xml | more
-	rm -i $(DIRTMP)/bibnemoall.xml $(DIRTMP)/bibnemoall.txt
-
-$(DIRTMP)/bibnemoall.txt : \
-$(DIRSRC)/data/biball.xml \
-$(DIRSRC)/superbib01_txt.xsl \
-$(DIRSRC)/biblioentry_xml.xsl
-	xsltproc --param makedate "'$(MAKEDATE)'" \
- 	--output $@ \
-  	$(DIRSRC)/superbib01_txt.xsl \
-	$<
-
-$(DIRTMP)/bibnemoall.xml : \
-$(DIRTMP)/bibnemoall.txt \
-$(DIRSRC)/bibopa.sh
-	$(DIRSRC)/bibopa.sh  -tmpdir $(DIRTMP) -p nemo -i $< -ti raw -to dbk -l en
Index: unk/message_lang.xsl
===================================================================
--- /trunk/message_lang.xsl	(revision 355)
+++ 	(revision )
@@ -1,244 +1,0 @@
-<?xml version="1.0" encoding="iso-8859-1"?>
-<xsl:stylesheet
-version="1.0"
-xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
-
-<!--rst
-
-.. _message_lang.xsl:
-
-================
-message_lang.xsl
-================
-
-produce paragraph or phrase according to language
-
-EVOLUTIONS
-==========
-
-$Id$
-
-$URL$
-
-- fplod 20120229
-
-  * add modes in para_lastupdate_bib template
-
-- fplod 20110705T154547Z aedon.locean-ipsl.upmc.fr (Darwin)
-
-  * add rest mode
-
-- fplod 2008-09-17T12:07:38Z aedon.locean-ipsl.upmc.fr (Darwin)
-
-  * add message_back
-
-- fplod 2008-05-06T13:24:02Z aedon.locean-ipsl.upmc.fr (Darwin)
-
-  * add message_and
-
-- fplod 2008-04-30T10:57:13Z aedon.locean-ipsl.upmc.fr (Darwin)
-
-  * creation
-
--->
-
-<xsl:template name="para_lastupdate_bib">
-<!--
- Last update of the bibliography databank : date
--->
-<xsl:param name="language"/>
-<xsl:param name="date"/>
-<xsl:param name="mode"/>
-
- <xsl:message terminate="no">
-eee : unknown language : <xsl:value-of select="$language"/>
-eee : unknown language : <xsl:value-of select="$date"/>
-eee : unknown language : <xsl:value-of select="$mode"/>
-</xsl:message>
-<xsl:variable name="message_lastupdate_bib">
-<xsl:choose>
-<xsl:when test="($language = 'en')">
-Last update of the bibliography databank :
-</xsl:when>
-<xsl:when test="($language = 'fr')">
-Dernière mise à jour de la bibliographie :
-</xsl:when>
-<xsl:otherwise>
- <xsl:message terminate="yes">
-eee : in template para_lastupdate_bib
-eee : unknown language : <xsl:value-of select="$language"/>
-</xsl:message>
-</xsl:otherwise>
-</xsl:choose>
-</xsl:variable>
- <xsl:text>&#xA;</xsl:text>
-<xsl:choose>
-<xsl:when test="($mode = 'dbk')">
-<para>
-<xsl:value-of select="$message_lastupdate_bib"/> <xsl:value-of select="$date"/>
-</para>
- <xsl:text>&#xA;</xsl:text>
-</xsl:when>
-<xsl:when test="($mode = 'html')">
-<xsl:element name="p">
-<xsl:value-of select="$message_lastupdate_bib"/> <xsl:value-of select="$date"/>
-</xsl:element>
-</xsl:when>
-<xsl:when test="($mode = 'flat')">
-<xsl:value-of select="$message_lastupdate_bib"/> <xsl:value-of select="$date"/>
-</xsl:when>
-<xsl:when test="($mode = 'rest')">
-<xsl:text>&#xA;</xsl:text>
-<xsl:value-of select="$message_lastupdate_bib"/> <xsl:value-of select="$date"/>
-<xsl:text>&#xA;</xsl:text>
-</xsl:when>
-<xsl:otherwise>
- <xsl:message terminate="yes">
-eee : in template para_lastupdate_bib
-eee : unknown mode AAA : <xsl:value-of select="$mode"/>
-</xsl:message>
-</xsl:otherwise>
-</xsl:choose>
-</xsl:template>
-
-<xsl:template name="para_lastupdate_user">
-<!--
- Last update of the user databank : date
--->
-<xsl:param name="language"/>
-<xsl:param name="date"/>
-<xsl:param name="mode"/>
-
-<xsl:variable name="message_lastupdate_user">
-<xsl:choose>
-<xsl:when test="($language = 'en')">
-Last update of the user databank :
-</xsl:when>
-<xsl:when test="($language = 'fr')">
-Dernière mise à jour de la base utilisateur :
-</xsl:when>
-<xsl:otherwise>
- <xsl:message terminate="yes">
-eee : in template para_lastupdate_user
-eee : unknown language : <xsl:value-of select="$language"/>
-</xsl:message>
-</xsl:otherwise>
-</xsl:choose>
-</xsl:variable>
- <xsl:text>&#xA;</xsl:text>
-<para>
-<xsl:value-of select="$message_lastupdate_user"/> <xsl:value-of select="$date"/>
-</para>
- <xsl:text>&#xA;</xsl:text>
-</xsl:template>
-
-<xsl:template name="para_lastupdate">
-<!--
- Last update : date
--->
-<xsl:param name="language"/>
-<xsl:param name="date"/>
-<xsl:param name="mode"/>
-
-<xsl:variable name="message_lastupdate">
-<xsl:choose>
-<xsl:when test="($language = 'en')">
-Last update :
-</xsl:when>
-<xsl:when test="($language = 'fr')">
-Dernière mise à jour :
-</xsl:when>
-<xsl:otherwise>
- <xsl:message terminate="yes">
-eee : in template para_lastupdate
-eee : unknown language : <xsl:value-of select="$language"/>
-</xsl:message>
-</xsl:otherwise>
-</xsl:choose>
-</xsl:variable>
-
-<xsl:choose>
-<xsl:when test="($mode = 'dbk')">
- <xsl:text>&#xA;</xsl:text>
-<para>
-<xsl:value-of select="$message_lastupdate"/> <xsl:value-of select="$date"/>
-</para>
- <xsl:text>&#xA;</xsl:text>
-</xsl:when>
-<xsl:when test="($mode = 'html')">
-<xsl:element name="p">
-<xsl:value-of select="$message_lastupdate"/> <xsl:value-of select="$date"/>
-</xsl:element>
-</xsl:when>
-<xsl:when test="($mode = 'flat')">
-<xsl:value-of select="$message_lastupdate"/> <xsl:value-of select="$date"/>
-</xsl:when>
-<xsl:when test="($mode = 'rest')">
-<xsl:text>&#xA;</xsl:text>
-<xsl:value-of select="$message_lastupdate"/> <xsl:value-of select="$date"/>
-<xsl:text>&#xA;</xsl:text>
-</xsl:when>
-<xsl:otherwise>
- <xsl:message terminate="yes">
-eee : in template para_lastupdate
-eee : unknown mode : <xsl:value-of select="$mode"/>
-</xsl:message>
-</xsl:otherwise>
-</xsl:choose>
-</xsl:template>
-
-<xsl:template name="and">
-<!--
- and
--->
-<xsl:param name="language"/>
-
-<xsl:variable name="message_and">
- <xsl:choose>
-  <xsl:when test="($language = 'en')">
-   <xsl:text> and </xsl:text>
-  </xsl:when>
-  <xsl:when test="($language = 'fr')">
-   <xsl:text> et </xsl:text>
-  </xsl:when>
-  <xsl:otherwise>
-   <xsl:message terminate="yes">
-eee : in template and
-eee : unknown language : <xsl:value-of select="$language"/>
-   </xsl:message>
-  </xsl:otherwise>
- </xsl:choose>
-</xsl:variable>
-
-<xsl:value-of select="$message_and"/>
-
-</xsl:template>
-
-<xsl:template name="back">
-<!--
- Back to
--->
-<xsl:param name="language"/>
-
-<xsl:variable name="message_back">
- <xsl:choose>
-  <xsl:when test="($language = 'en')">
-   <xsl:text>Back to</xsl:text>
-  </xsl:when>
-  <xsl:when test="($language = 'fr')">
-   <xsl:text>Retour vers</xsl:text>
-  </xsl:when>
-  <xsl:otherwise>
-   <xsl:message terminate="yes">
-eee : in template back
-eee : unknown language : <xsl:value-of select="$language"/>
-   </xsl:message>
-  </xsl:otherwise>
- </xsl:choose>
-</xsl:variable>
-
-<xsl:value-of select="$message_back"/>
-
-</xsl:template>
-
-</xsl:stylesheet>
Index: unk/newreferences_db.xsl
===================================================================
--- /trunk/newreferences_db.xsl	(revision 355)
+++ 	(revision )
@@ -1,52 +1,0 @@
-<?xml version="1.0" encoding="iso-8859-1"?>
-<xsl:stylesheet
-version="1.0"
-xmlns:html="http://www.w3.org/1999/xhtml"
-xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
-
-<!--rst
-
-.. _newreferences_db.xsl:
-
-====================
-newreferences_db.xsl
-====================
-
-DESCRIPTION
-===========
-
-creation of newreferences elements for form
-
-EVOLUTIONS
-==========
-
-$Id$
-
-- fplod 2008-04-29T09:09:12Z aedon.locean-ipsl.upmc.fr (Darwin)
-
-  * chgt for dbk5
-
-- fplod 2007-04-26T11:56:32Z aedon.locean-ipsl.upmc.fr (Darwin)
-
-  * creation
-
--->
-
-<xsl:template name="newreferences">
- <xsl:param name="author_id"/>
- <xsl:text>&#xA;</xsl:text>
- <xsl:element name="html:fieldset">
-   <xsl:attribute name="xml:id">field_newreferences_<xsl:value-of select="$author_id"/></xsl:attribute>
-   <xsl:text>&#xA;</xsl:text>
-   <xsl:element name="html:legend">
-     New references
-   </xsl:element>
-   <xsl:text>&#xA;</xsl:text>
-   <xsl:element name="html:textarea">
-     <xsl:attribute name="name">newreferences</xsl:attribute>
-     <xsl:attribute name="rows">5</xsl:attribute>
-     <xsl:attribute name="cols">100</xsl:attribute>
-   </xsl:element>
- </xsl:element>
-</xsl:template>
-</xsl:stylesheet>
Index: unk/parameters_db.xsl
===================================================================
--- /trunk/parameters_db.xsl	(revision 355)
+++ 	(revision )
@@ -1,92 +1,0 @@
-<?xml version="1.0" encoding="iso-8859-1"?>
-<xsl:stylesheet
-version="1.0"
-xmlns:html="http://www.w3.org/1999/xhtml"
-xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
-
-<!--rst
-
-.. _parameters_db.xsl:
-
-=================
-parameters_db.xsl
-=================
-
-DESCRIPTION
-===========
-
-creation des élements parameters de formulaire
-
-EVOLUTIONS
-==========
-
-$Id$
-
-$URL$
-
-- fplod 20110624T143549Z aedon.locean-ipsl.upmc.fr (Darwin)
-
-  * creation
-
--->
-
-<xsl:template name="parameters">
- <xsl:param name="user"/>
- <xsl:param name="author_id"/>
- <xsl:param name="visu_modif"/>
-
-  <xsl:text>&#xA;</xsl:text>
-  <xsl:element name="html:fieldset">
-   <xsl:attribute name="xml:id">parameters_<xsl:value-of select="$author_id"/></xsl:attribute>
-   <xsl:text>&#xA;</xsl:text>
-   <xsl:element name="html:legend">
-    Used parameters
-   </xsl:element>
-   <xsl:text>&#xA;</xsl:text>
-   <!-- ne plait pas à firefox  ++
-    <xsl:element name="html:label">
-   -->
-    <xsl:for-each select="$user/parameters/parameter">
-     <xsl:sort order="ascending" data-type="text" select="@code"/>
-     <xsl:text>&#xA;</xsl:text>
-     <xsl:comment><xsl:value-of select="./value"/></xsl:comment>
-     <xsl:choose>
-      <xsl:when test="@code != 'zzz_other'">
-       <xsl:element name="html:input">
-        <xsl:attribute name="name">
-         <xsl:value-of select="name()"/><xsl:text>_</xsl:text><xsl:value-of select="@code"/>
-        </xsl:attribute>
-        <xsl:attribute name="type">checkbox</xsl:attribute>
-        <xsl:attribute name="value"><xsl:value-of select="./name"/></xsl:attribute>
-        <xsl:if test="$visu_modif= 'visu'">
-         <xsl:attribute name="readonly">1</xsl:attribute>
-        </xsl:if>
-        <xsl:if test="./value = 'yes'">
-         <xsl:attribute name="checked">1</xsl:attribute>
-        </xsl:if>
-        <xsl:value-of select="./name"/>
-       </xsl:element>
-      </xsl:when>
-      <xsl:when  test="@code = 'zzz_other'">
-       <xsl:element name="html:label">
-        Other :
-        <xsl:element name="html:input">
-         <xsl:attribute name="name">
-          <xsl:value-of select="name()"/><xsl:text>_</xsl:text><xsl:value-of select="@code"/>
-         </xsl:attribute>
-         <xsl:attribute name="type">text</xsl:attribute>
-         <xsl:attribute name="value"><xsl:value-of select="./value"/></xsl:attribute>
-        </xsl:element>
-       </xsl:element>
-      </xsl:when>
-     </xsl:choose>
-    </xsl:for-each>
-   <!-- ne plait pas à firefox  ++
-    </xsl:element>
-   -->
-   <xsl:text>&#xA;</xsl:text>
-  </xsl:element>
-  <xsl:text>&#xA;</xsl:text>
-</xsl:template>
-
-</xsl:stylesheet>
Index: unk/periods_db.xsl
===================================================================
--- /trunk/periods_db.xsl	(revision 355)
+++ 	(revision )
@@ -1,91 +1,0 @@
-<?xml version="1.0" encoding="iso-8859-1"?>
-<xsl:stylesheet
-version="1.0"
-xmlns:html="http://www.w3.org/1999/xhtml"
-xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
-
-<!--rst
-
-.. _periods_db.xsl:
-
-==============
-periods_db.xsl
-==============
-
-DESCRIPTION
-===========
-
-creation des élements periods de formulaire
-
-EVOLUTIONS
-==========
-
-$Id$
-$URL$
-
-- fplod 20110624T143549Z aedon.locean-ipsl.upmc.fr (Darwin)
-
-  * creation
-
--->
-
-<xsl:template name="periods">
- <xsl:param name="user"/>
- <xsl:param name="author_id"/>
- <xsl:param name="visu_modif"/>
-
-  <xsl:text>&#xA;</xsl:text>
-  <xsl:element name="html:fieldset">
-   <xsl:attribute name="xml:id">periods_<xsl:value-of select="$author_id"/></xsl:attribute>
-   <xsl:text>&#xA;</xsl:text>
-   <xsl:element name="html:legend">
-    Used periods
-   </xsl:element>
-   <xsl:text>&#xA;</xsl:text>
-   <!-- ne plait pas à firefox  ++
-    <xsl:element name="html:label">
-   -->
-    <xsl:for-each select="$user/periods/period">
-     <xsl:sort order="ascending" data-type="text" select="@code"/>
-     <xsl:text>&#xA;</xsl:text>
-     <xsl:comment><xsl:value-of select="./value"/></xsl:comment>
-     <xsl:choose>
-      <xsl:when test="@code != 'zzz_other'">
-       <xsl:element name="html:input">
-        <xsl:attribute name="name">
-         <xsl:value-of select="name()"/><xsl:text>_</xsl:text><xsl:value-of select="@code"/>
-        </xsl:attribute>
-        <xsl:attribute name="type">checkbox</xsl:attribute>
-        <xsl:attribute name="value"><xsl:value-of select="./name"/></xsl:attribute>
-        <xsl:if test="$visu_modif= 'visu'">
-         <xsl:attribute name="readonly">1</xsl:attribute>
-        </xsl:if>
-        <xsl:if test="./value = 'yes'">
-         <xsl:attribute name="checked">1</xsl:attribute>
-        </xsl:if>
-        <xsl:value-of select="./name"/>
-       </xsl:element>
-      </xsl:when>
-      <xsl:when  test="@code = 'zzz_other'">
-       <xsl:element name="html:label">
-        Other :
-        <xsl:element name="html:input">
-         <xsl:attribute name="name">
-          <xsl:value-of select="name()"/><xsl:text>_</xsl:text><xsl:value-of select="@code"/>
-         </xsl:attribute>
-         <xsl:attribute name="type">text</xsl:attribute>
-         <xsl:attribute name="value"><xsl:value-of select="./value"/></xsl:attribute>
-        </xsl:element>
-       </xsl:element>
-      </xsl:when>
-     </xsl:choose>
-    </xsl:for-each>
-   <!-- ne plait pas à firefox  ++
-    </xsl:element>
-   -->
-   <xsl:text>&#xA;</xsl:text>
-  </xsl:element>
-  <xsl:text>&#xA;</xsl:text>
-</xsl:template>
-
-</xsl:stylesheet>
Index: unk/personal_db.xsl
===================================================================
--- /trunk/personal_db.xsl	(revision 355)
+++ 	(revision )
@@ -1,94 +1,0 @@
-<?xml version="1.0" encoding="iso-8859-1"?>
-<xsl:stylesheet
-version="1.0"
-xmlns:html="http://www.w3.org/1999/xhtml"
-xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
-
-<!--rst
-
-.. _personal_db.xsl:
-
-===============
-personal_db.xsl
-===============
-
-DESCRIPTION
-===========
-
-creation des élements personal de formulaire
-
-EVOLUTIONS
-==========
-
-$Id$
-
-- fplod 2008-04-29T09:03:24Z aedon.locean-ipsl.upmc.fr (Darwin)
-
-  * chgt for dbk5
-
-- fplod 2007-04-26T10:28:19Z aedon.locean-ipsl.upmc.fr (Darwin)
-
-  * creation
-
--->
-
-<xsl:template name="personal">
- <xsl:param name="user"/>
- <xsl:param name="author_id"/>
- <xsl:param name="visu_modif"/> <!-- ++ readonly -->
-  <xsl:text>&#xA;</xsl:text>
-  <xsl:element name="html:fieldset">
-   <xsl:attribute name="xml:id">personal_<xsl:value-of select="$author_id"/></xsl:attribute>
-   <xsl:text>&#xA;</xsl:text>
-   <xsl:element name="html:legend">
-    Personal Information
-   </xsl:element>
-   <xsl:text>&#xA;</xsl:text>
-   <xsl:element name="html:label">
-     <xsl:text>Lastname: </xsl:text>
-     <xsl:text>&#xA;</xsl:text>
-     <xsl:element name="html:input">
-      <xsl:attribute name="name">personal_surname</xsl:attribute>
-      <xsl:attribute name="tabindex">1</xsl:attribute>
-      <xsl:attribute name="type">text</xsl:attribute>
-      <xsl:attribute name="value"><xsl:value-of select="$user/personname/surname"/></xsl:attribute>
-    </xsl:element>
-   </xsl:element>
-   <xsl:text>&#xA;</xsl:text>
-   <xsl:element name="html:label">
-    <xsl:text>Firstname: </xsl:text>
-    <xsl:text>&#xA;</xsl:text>
-    <xsl:element name="html:input">
-     <xsl:attribute name="name">personal_firstname</xsl:attribute>
-     <xsl:attribute name="tabindex">2</xsl:attribute>
-     <xsl:attribute name="type">text</xsl:attribute>
-     <xsl:attribute name="value"><xsl:value-of select="$user/personname/firstname"/></xsl:attribute>
-    </xsl:element>
-   </xsl:element>
-   <xsl:text>&#xA;</xsl:text>
-   <xsl:element name="html:label">
-    <xsl:text>Middlename: </xsl:text>
-    <xsl:text>&#xA;</xsl:text>
-    <xsl:element name="html:input">
-     <xsl:attribute name="name">personal_middlename</xsl:attribute>
-     <xsl:attribute name="tabindex">3</xsl:attribute>
-     <xsl:attribute name="type">text</xsl:attribute>
-     <xsl:attribute name="value"></xsl:attribute>  <!--++-->
-    </xsl:element>
-   </xsl:element>
-   <xsl:text>&#xA;</xsl:text>
-   <xsl:element name="html:label">
-    <xsl:text>email: </xsl:text>
-    <xsl:text>&#xA;</xsl:text>
-    <xsl:element name="html:input">
-     <xsl:attribute name="name">personal_email</xsl:attribute>
-     <xsl:attribute name="tabindex">4</xsl:attribute>
-     <xsl:attribute name="type">text</xsl:attribute>
-     <xsl:attribute name="value"></xsl:attribute>
-     <xsl:attribute name="value"><xsl:value-of select="$user/email"/></xsl:attribute>
-    </xsl:element>
-   </xsl:element>
-  </xsl:element>
-</xsl:template>
-
-</xsl:stylesheet>
Index: unk/phpversion.php
===================================================================
--- /trunk/phpversion.php	(revision 355)
+++ 	(revision )
@@ -1,19 +1,0 @@
-<?php
-
-/*
-module :
-
-update :
-$Id$
-fplod 2007-05-03T14:50:41Z aedon.locean-ipsl.upmc.fr (Darwin)
-creation
-*/
-
-/*
- Définit le fuseau horaire par défaut à utiliser. Disponible depuis PHP 5.1
-date_default_timezone_set('UTC'); ++
-*/
-error_reporting(E_ALL);
-
-echo phpversion();
-?>
Index: unk/platforms_db.xsl
===================================================================
--- /trunk/platforms_db.xsl	(revision 355)
+++ 	(revision )
@@ -1,99 +1,0 @@
-<?xml version="1.0" encoding="iso-8859-1"?>
-<xsl:stylesheet
-version="1.0"
-xmlns:html="http://www.w3.org/1999/xhtml"
-xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
-
-<!--rst
-
-.. _platforms_db.xsl:
-
-================
-platforms_db.xsl
-================
-
-DESCRIPTION
-===========
-
-creation des élements platforms de formulaire
-
-EVOLUTIONS
-==========
-
-$Id$
-
-- fplod 2008-04-29T09:05:29Z aedon.locean-ipsl.upmc.fr (Darwin)
-
-  * chgt for dbk5
-
-- fplod 2007-05-18T10:25:06Z aedon.locean-ipsl.upmc.fr (Darwin)
-
-  * correction pour cause de dysfonctionnement sous firefox (mais ok sous safari) :
-    Le 1er choix est modifié si on clique sur un des choix suivant
-
-- fplod 2007-04-26T10:14:40Z aedon.locean-ipsl.upmc.fr (Darwin)
-
-  * creation
-
--->
-
-<xsl:template name="platforms">
- <xsl:param name="user"/>
- <xsl:param name="author_id"/>
- <xsl:param name="visu_modif"/>
-
-  <xsl:text>&#xA;</xsl:text>
-  <xsl:element name="html:fieldset">
-   <xsl:attribute name="xml:id">platforms_<xsl:value-of select="$author_id"/></xsl:attribute>
-   <xsl:text>&#xA;</xsl:text>
-   <xsl:element name="html:legend">
-    Used platforms
-   </xsl:element>
-   <xsl:text>&#xA;</xsl:text>
-   <!-- ne plait pas à firefox  ++
-    <xsl:element name="html:label">
-   -->
-    <xsl:for-each select="$user/platforms/platform">
-     <xsl:sort order="ascending" data-type="text" select="@code"/>
-     <xsl:text>&#xA;</xsl:text>
-     <xsl:comment><xsl:value-of select="./value"/></xsl:comment>
-     <xsl:choose>
-      <xsl:when test="@code != 'zzz_other'">
-       <xsl:element name="html:input">
-        <xsl:attribute name="name">
-         <xsl:value-of select="name()"/><xsl:text>_</xsl:text><xsl:value-of select="@code"/>
-        </xsl:attribute>
-        <xsl:attribute name="type">checkbox</xsl:attribute>
-        <xsl:attribute name="value"><xsl:value-of select="./name"/></xsl:attribute>
-        <xsl:if test="$visu_modif= 'visu'">
-         <xsl:attribute name="readonly">1</xsl:attribute>
-        </xsl:if>
-        <xsl:if test="./value = 'yes'">
-         <xsl:attribute name="checked">1</xsl:attribute>
-        </xsl:if>
-        <xsl:value-of select="./name"/>
-       </xsl:element>
-      </xsl:when>
-      <xsl:when  test="@code = 'zzz_other'">
-       <xsl:element name="html:label">
-        Other :
-        <xsl:element name="html:input">
-         <xsl:attribute name="name">
-          <xsl:value-of select="name()"/><xsl:text>_</xsl:text><xsl:value-of select="@code"/>
-         </xsl:attribute>
-         <xsl:attribute name="type">text</xsl:attribute>
-         <xsl:attribute name="value"><xsl:value-of select="./value"/></xsl:attribute>
-        </xsl:element>
-       </xsl:element>
-      </xsl:when>
-     </xsl:choose>
-    </xsl:for-each>
-   <!-- ne plait pas à firefox  ++
-    </xsl:element>
-   -->
-   <xsl:text>&#xA;</xsl:text>
-  </xsl:element>
-  <xsl:text>&#xA;</xsl:text>
-</xsl:template>
-
-</xsl:stylesheet>
Index: unk/processors_db.xsl
===================================================================
--- /trunk/processors_db.xsl	(revision 355)
+++ 	(revision )
@@ -1,55 +1,0 @@
-<?xml version="1.0" encoding="iso-8859-1"?>
-<xsl:stylesheet
-version="1.0"
-xmlns:html="http://www.w3.org/1999/xhtml"
-xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
-
-<!--rst
-
-.. _processors_db.xsl:
-
-=================
-processors_db.xsl
-=================
-
-DESCRIPTION
-===========
-
-creation of processors elements for form
-
-EVOLUTIONS
-==========
-
-$Id$
-
-- fplod 2008-04-29T09:09:45Z aedon.locean-ipsl.upmc.fr (Darwin)
-
-  * chgt for dbk5
-
-- fplod 2007-04-26T15:49:44Z aedon.locean-ipsl.upmc.fr (Darwin)
-
-  * creation
-
--->
-
-<xsl:template name="processors">
- <xsl:param name="user"/>
- <xsl:param name="author_id"/>
- <xsl:param name="visu_modif"/> <!-- ++ readonly -->
- <xsl:text>&#xA;</xsl:text>
- <xsl:element name="html:fieldset">
-   <xsl:attribute name="xml:id">field_processors_<xsl:value-of select="$author_id"/></xsl:attribute>
-   <xsl:text>&#xA;</xsl:text>
-   <xsl:element name="html:legend">
-     Nb max of processors
-   </xsl:element>
-   <xsl:text>&#xA;</xsl:text>
-   <xsl:element name="html:textarea">
-     <xsl:attribute name="name">processors</xsl:attribute>
-     <xsl:attribute name="rows">1</xsl:attribute>
-     <xsl:attribute name="cols">8</xsl:attribute>
-     <xsl:value-of select="$user/processors"/>
-   </xsl:element>
- </xsl:element>
-</xsl:template>
-</xsl:stylesheet>
Index: unk/project_profile.sh
===================================================================
--- /trunk/project_profile.sh	(revision 355)
+++ 	(revision )
@@ -1,419 +1,0 @@
-#! /bin/sh
-#+
-#
-# .. program:: project_profile.sh
-#
-# ===================
-# project_profile.sh
-# ===================
-#
-# SYNOPSIS
-# ========
-#
-# On line usage:
-#
-# .. code-block:: sh
-#
-#  ./project_profile.sh -d directory -i indir -o outdir -t tempdir
-#
-# In :file:`${HOME}/.profile`, add the following line:
-#
-# .. code-block:: sh
-#
-#    . project_profile.sh -d directory  -i indir -o outdir -t tempdir
-#
-# DESCRIPTION
-# ===========
-#
-# .. option:: -d <directory>
-# .. option:: -i <indir>
-# .. option:: -o <outdir>
-# .. option:: -t <tempdir>
-# .. option:: -jv <jabref version>
-# .. option:: -j <jabref dir>
-#
-# define SUPERBIB environment
-#
-# ${PROJECT} is the base directory of tools.
-#
-# ${PROJECT_LOG} is the directory where log files will be written.
-#
-# ${PROJECT_ID} is the directory where input files must be.
-#
-# ${PROJECT_OD}  is the directory where output files will be written.
-#
-# MANPATH++
-#
-# :envvar:`${xmlcmd}` is set to either xml or xmlstarlet if one of these
-# is available.
-#
-# EXAMPLES
-# ========
-#
-# For fplod, on cratos.locean-ipsl.upmc.fr:
-#
-# .. code-block:: bash
-#
-#    cd /usr/home/fplod/src/superbib/superbib_ws/
-#    SUPERBIB=${HOME}/superbib_ws/
-#    export SUPERBIB
-#    . ${SUPERBIB}/project_profile.sh \
-#    -d ${SUPERBIB} \
-#    -i /usr/temp/${LOGNAME}/superbib_d/ \
-#    -o /usr/temp/${LOGNAME}/superbib_d/ \
-#    -t /usr/temp/${LOGNAME}/log/ \
-#    -jv 2.6 \
-#    -j /usr/home/incas/francoise/jabref-2.6_cratos/
-#    -b ++
-#
-# TODO
-# ====
-#
-# ++ option bavarde
-#
-# ++ machine dependant
-#
-# ++ pas de MANPATH dÃ©fini par dÃ©faut sur zeus
-#
-# rÃ©intÃ©gration de bibliolocean dans trunk ou projet bibliolocean Ã  part
-#
-# doc sur jabref dir bibtool
-#
-# EVOLUTIONS
-# ==========
-#
-# $Id$
-#
-# $URL$
-#
-# - fplod 20131010T113730Z callisto.locean-ipsl.upmc.fr (Linux)
-#
-#   * dynamic xmlstarlet vs xml
-#
-# - fplod 20130418T110932Z cratos.locean-ipsl.upmc.fr (Linux)
-#
-#   * add PYTHONPATH (seems to be need be sphinx-apidoc + sphinx-build)
-#
-# - fplod 20120629T120311Z cratos (Linux)
-#
-#   * path with branches/bibliolocean/src
-#
-# - fplod 20120405T085555Z cratos (Linux)
-#
-#   * rename and replace SUPERBIB by PROJECT
-#
-# - fplod 20100426T094821Z aedon.locean-ipsl.upmc.fr (Darwin)
-#
-#   * improve PATH and MANPATH modification
-#
-# - fplod 20100423T144248Z aedon.locean-ipsl.upmc.fr (Darwin)
-#
-#   * add error handling on mkdir
-#
-# - fplod 2008-10-31T11:17:24Z aedon.locean-ipsl.upmc.fr (Darwin)
-#
-#   * creation ++ pas encore en service
-#
-#-
-system=$(uname)
-case "${system}" in
-    AIX|IRIX64)
-        echo " www : no specific posix checking"
-    ;;
-    *)
-        set -o posix
-    ;;
-esac
-unset system
-#
-set -u
-#
-# as this script might be launch in .profile, command is forced.
-command=project_profile.sh
-#
-usage=" Usage : ${command} -d directory -i indir -o outdir -t tempdir -jv jabrefversion -j jabrefdir -b bibtooldir"
-#
-pb=0
-#
-minargcount=14
-maxargcount=14
-narg=${#}
-#
-if [ ${narg} -lt ${minargcount} ]
-then
-    echo "eee : not enough arguments (${narg} vs ${minargcount})"
-    echo "${usage}"
-    # nb : no exit because this file should be launched by login process
-    pb=1
-fi
-unset minargcount
-#
-if [ ${narg} -gt ${maxargcount} ]
-then
-    echo "eee : too many arguments (${narg} vs ${maxargcount})"
-    echo "${usage}"
-    # nb : no exit because this file should be launched by login process
-    pb=1
-fi
-unset maxargcount
-unset narg
-#
-if [ ${pb} -eq 0 ]
-then
-    while [ ${#} -gt 0 ]
-    do
-        case ${1} in
-            -d)
-                # directory for application chosen by user
-                # (see svn checkout command used)
-                directory=${2}
-                shift
-            ;;
-            -i)
-                # directory for inputs chosen by user
-                indir=${2}
-                shift
-            ;;
-            -o)
-                # directory for outputs chosen by user
-                outdir=${2}
-                shift
-            ;;
-            -t)
-                # directory for temporary outputs chosen by user
-                tempdir=${2}
-                shift
-            ;;
-            -jv)
-                jabrefversion=${2}
-                shift
-            ;;
-            -j)
-                jabrefdir=${2}
-                shift
-            ;;
-            -b)
-                bibtooldir=${2}
-                shift
-            ;;
-            *)
-                # other choice
-                echo "eee : unknown option ${1}"
-                echo "${usage}"
-                # nb : no exit because this file should be launched by
-                # login process
-            ;;
-        esac
-        # next flag
-        shift
-    done
-    unset usage
-fi
-#
-if [ ${pb} -eq 0 ]
-then
-    # check for ${directory}
-    if [ ! -d ${directory} ]
-    then
-        echo " eee : ${directory} not found"
-        # nb : no exit because this file should be launched by login process
-    fi
-    #
-    # check for permission on directory
-    if [ ! -x ${directory} ]
-    then
-        echo " eee : ${directory} not reachable"
-        # nb : no exit because this file should be launched by login process
-    fi
-    #
-    PROJECT=${directory}
-    export PROJECT
-    #
-    # add PROJECT tools to PATH
-    # if not already done
-    suppath=$(echo ${PROJECT} | tr -s "/")
-    echo ${PATH} | grep -q "${suppath}:"
-    test_path=${?}
-    if [ ${test_path} -ne 0 ]
-    then
-        PATH=${suppath}:${PATH}
-        export PATH
-    else
-        # option bavarde oui/non pas encore implantÃ©e ++
-        echo "${command} : iii : ${suppath} already in \${PATH}"
-    fi
-    unset test_path
-    unset suppath
-    #
-    suppath=$(echo ${PROJECT}/../branches/bibliolocean/src | tr -s "/")
-    echo ${PATH} | grep -q "${suppath}:"
-    test_path=${?}
-    if [ ${test_path} -ne 0 ]
-    then
-        PATH=${suppath}:${PATH}
-        export PATH
-    else
-        # option bavarde oui/non pas encore implantÃ©e ++
-        echo "${command} : iii : ${suppath} already in \${PATH}"
-    fi
-    unset test_path
-    #
-    # add PROJECT tools to PYTHONPATH
-    # if not already done
-    suppath=$(echo ${PROJECT}/aeres/scripts/ | tr -s "/")
-    echo ${PYTHONPATH} | grep -q "${suppath}:"
-    test_path=${?}
-    if [ ${test_path} -ne 0 ]
-    then
-        PYTHONPATH=${suppath}:${PYTHONPATH}
-        export PYTHONPATH
-    else
-        # option bavarde oui/non pas encore implantÃ©e ++
-        echo "${command} : iii : ${suppath} already in \${PYTHONPATH}"
-    fi
-    unset test_path
-    unset suppath
-    #
-    # add PROJECT tools to PYTHONPATH
-    # if not already done
-    suppath=$(echo ${PROJECT}/| tr -s "/")
-    echo ${PYTHONPATH} | grep -q "${suppath}:"
-    test_path=${?}
-    if [ ${test_path} -ne 0 ]
-    then
-        PYTHONPATH=${suppath}:${PYTHONPATH}
-        export PYTHONPATH
-    else
-        # option bavarde oui/non pas encore implantÃ©e ++
-        echo "${command} : iii : ${suppath} already in \${PYTHONPATH}"
-    fi
-    unset test_path
-    unset suppath
-    #
-    # add PROJECT manuals to MANPATH
-    # if not already done
-    suppath=$(echo ${PROJECT}/doc/manuals/man | tr -s "/")
-    echo ${MANPATH} | grep -q "${suppath}:"
-    test_manpath=${?}
-    if [ ${test_manpath} -ne 0 ]
-    then
-        MANPATH=${suppath}:${MANPATH}
-        export MANPATH
-    else
-        # option bavarde oui/non pas encore implantÃ©e ++
-        echo "${command} : iii : ${suppath} already in \${MANPATH}"
-    fi
-    unset test_manpath
-    unset suppath
-    #
-    PROJECT_LOG=${tempdir}
-    export PROJECT_LOG
-    unset tempdir
-    if [ ! -d ${PROJECT_LOG} ]
-    then
-        mkdir -p ${PROJECT_LOG}
-        status=${?}
-        if [ ${status} -ne 0 ]
-        then
-            echo "${command} : eee : can not create \${PROJECT_LOG}"
-            # nb : no exit because this file should be launched by login process
-        else
-            echo "${command} : iii : creation of \${PROJECT_LOG}"
-        fi
-        unset status
-    fi
-    # check for permission on PROJECT_LOG
-    if [ ! -x ${PROJECT_LOG} ]
-    then
-        echo " eee : ${PROJECT_LOG} not reachable"
-        # nb : no exit because this file should be launched by login process
-    fi
-    #
-    # check for permission on PROJECT_LOG
-    if [ ! -w ${PROJECT_LOG} ]
-    then
-        echo " eee : ${PROJECT_LOG} not writable"
-        # nb : no exit because this file shouldreachable be launched
-        # by login process
-    fi
-    #
-    EDITOR=vi
-    export EDITOR
-    #
-    # io directories
-    PROJECT_ID=${indir}
-    export PROJECT_ID
-    unset indir
-    if [ ! -d ${PROJECT_ID} ]
-    then
-        mkdir -p ${PROJECT_ID}
-        echo "${command} : iii : creation of \${PROJECT_ID}"
-    fi
-    # check for permission on PROJECT_ID
-    if [ ! -x ${PROJECT_ID} ]
-    then
-        echo " eee : ${PROJECT_ID} not reachable"
-        # nb : no exit because this file should be launched by login process
-    fi
-    #
-    PROJECT_OD=${outdir}
-    export PROJECT_OD
-    unset outdir
-    if [ ! -d ${PROJECT_OD} ]
-    then
-        mkdir -p ${PROJECT_OD}
-        echo "${command} : iii : creation of \${PROJECT_OD}"
-    fi
-    # check for permission on PROJECT_OD
-    if [ ! -x ${PROJECT_OD} ]
-    then
-        echo " eee : ${PROJECT_OD} not reachable"
-        # nb : no exit because this file should be launched by login process
-    fi
-    if [ ! -w ${PROJECT_OD} ]
-    then
-        echo " eee : ${PROJECT_OD} not writable"
-        # nb : no exit because this file should be launched by login process
-    fi
-    #
-    JABREF_DIR=${jabrefdir}
-    export JABREF_DIR
-    unset jabref_dir
-    JABREF_VERSION=${jabrefversion}
-    export JABREF_VERSION
-    unset jabrefversion
-    #
-    BIBTOOL_DIR=${bibtooldir}
-    export BIBTOOL_DIR
-    unset bibtooldir
-    PATH=${BIBTOOL_DIR}:${PATH}
-    export PATH
-    #
-    # test if which xml is available xml or xmlstarlet
-    tool=xml
-    type ${tool} 1> /dev/null 2>&1
-    status=${?}
-    if [ ${status} -ne 0 ]
-    then
-        #echo "${command} : www : tool ${tool} not found"
-        tool=xmlstarlet
-        type ${tool} 1> /dev/null 2>&1
-        status=${?}
-        if [ ${status} -ne 0 ]
-        then
-            echo "${command} : eee : tool ${tool} not found"
-        else
-            xmlcmd=xmlstarlet
-        fi
-    else
-        xmlcmd=xml
-    fi
-    export xmlcmd
-    #
-    unset status
-    unset tool
-fi
-unset pb
-# end
-unset command
-# nb : no exit because this file should be launched by login process
Index: unk/regions_db.xsl
===================================================================
--- /trunk/regions_db.xsl	(revision 355)
+++ 	(revision )
@@ -1,91 +1,0 @@
-<?xml version="1.0" encoding="iso-8859-1"?>
-<xsl:stylesheet
-version="1.0"
-xmlns:html="http://www.w3.org/1999/xhtml"
-xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
-
-<!--rst
-
-.. _regions_db.xsl:
-
-==============
-regions_db.xsl
-==============
-
-DESCRIPTION
-===========
-
-creation des élements regions de formulaire
-
-EVOLUTIONS
-==========
-
-$Id$
-$URL$
-
-- fplod 20110624T143549Z aedon.locean-ipsl.upmc.fr (Darwin)
-
-  * creation
-
--->
-
-<xsl:template name="regions">
- <xsl:param name="user"/>
- <xsl:param name="author_id"/>
- <xsl:param name="visu_modif"/>
-
-  <xsl:text>&#xA;</xsl:text>
-  <xsl:element name="html:fieldset">
-   <xsl:attribute name="xml:id">regions_<xsl:value-of select="$author_id"/></xsl:attribute>
-   <xsl:text>&#xA;</xsl:text>
-   <xsl:element name="html:legend">
-    Used regions
-   </xsl:element>
-   <xsl:text>&#xA;</xsl:text>
-   <!-- ne plait pas à firefox  ++
-    <xsl:element name="html:label">
-   -->
-    <xsl:for-each select="$user/regions/region">
-     <xsl:sort order="ascending" data-type="text" select="@code"/>
-     <xsl:text>&#xA;</xsl:text>
-     <xsl:comment><xsl:value-of select="./value"/></xsl:comment>
-     <xsl:choose>
-      <xsl:when test="@code != 'zzz_other'">
-       <xsl:element name="html:input">
-        <xsl:attribute name="name">
-         <xsl:value-of select="name()"/><xsl:text>_</xsl:text><xsl:value-of select="@code"/>
-        </xsl:attribute>
-        <xsl:attribute name="type">checkbox</xsl:attribute>
-        <xsl:attribute name="value"><xsl:value-of select="./name"/></xsl:attribute>
-        <xsl:if test="$visu_modif= 'visu'">
-         <xsl:attribute name="readonly">1</xsl:attribute>
-        </xsl:if>
-        <xsl:if test="./value = 'yes'">
-         <xsl:attribute name="checked">1</xsl:attribute>
-        </xsl:if>
-        <xsl:value-of select="./name"/>
-       </xsl:element>
-      </xsl:when>
-      <xsl:when  test="@code = 'zzz_other'">
-       <xsl:element name="html:label">
-        Other :
-        <xsl:element name="html:input">
-         <xsl:attribute name="name">
-          <xsl:value-of select="name()"/><xsl:text>_</xsl:text><xsl:value-of select="@code"/>
-         </xsl:attribute>
-         <xsl:attribute name="type">text</xsl:attribute>
-         <xsl:attribute name="value"><xsl:value-of select="./value"/></xsl:attribute>
-        </xsl:element>
-       </xsl:element>
-      </xsl:when>
-     </xsl:choose>
-    </xsl:for-each>
-   <!-- ne plait pas à firefox  ++
-    </xsl:element>
-   -->
-   <xsl:text>&#xA;</xsl:text>
-  </xsl:element>
-  <xsl:text>&#xA;</xsl:text>
-</xsl:template>
-
-</xsl:stylesheet>
Index: unk/select_form.php
===================================================================
--- /trunk/select_form.php	(revision 355)
+++ 	(revision )
@@ -1,97 +1,0 @@
-<?php
-
-/*
-module :
-++
-
-update :
-++
-$Id$
-fplod 2007-04-18T15:20:58Z aedon.locean-ipsl.upmc.fr (Darwin)
-creation
-d'après /usr/home/jv/WWW/Cirene/diary.php
-/usr/home/opatlod/NEMO/users/visu_nemo_users.php
-*/
-
-/*
- Définit le fuseau horaire par défaut à utiliser. Disponible depuis PHP 5.1
-date_default_timezone_set('UTC'); ++
-*/
-/* ++ à décommenter
-*/
-error_reporting(E_ALL);
-
-/*
-retrieve global information
-*/
-$DATE_ISO8601_mod = 'Y-m-d\TH:i:s\Z'; /* +Z - fraction seconde */
-
-/* ++ str_split n'existe pas en 4.4. */
-if(!function_exists('str_split')){
-function str_split($str, $l=1) {
-    do {$ret[]=substr($str,0,$l); $str=substr($str,$l); }
-    while($str != "");
-    return $ret;
-}
-}
-
-$author_id = '';
-/*
-retrieve form data
-*/
-
-$personal_surname=$_POST['personal_surname'];
-$personal_firstname=$_POST['personal_firstname'];
-
-/*
-handle form data
-if personal_surname and personal_firstname are empty, go on error ++
-if personal_surname and personal_firstname are not empty we have to build
-an id (SURNAME_f), check if the file SURNAME_f.html exists.
-
-$tr_low_letters = str_split('abcdefghijklmnopqrstuvwxyz éèçàùëöñó');
-$tr_up_letters = str_split('ABCDEFGHIJKLMNOPQRSTUVWXYZ_EECAUEONO');
-
-$personal_surname_flat=str_replace($tr_low_letters, $tr_up_letters, $personal_surname);
-$personal_firstname_flat=str_replace($tr_up_letters, $tr_low_letters, $personal_firstname);
-
-$personal_surname_upper=strtoupper($personal_surname_flat);
-$personal_firstname_lower = strtolower($personal_firstname_flat);
-$personal_firstname_lower1 = substr($personal_firstname_lower,0,1);
-
-$author_id = $personal_surname_upper . '_' . $personal_firstname_lower1;
-echo ' author_id : ' . $author_id;
-
-$filename='../en/many/bibnemomaf04/' ;
-$filename='../en/many/bibnemomaf04/' . $author_id;
-$filename='../en/many/bibnemomaf04/' . $author_id . 'php';
-$filename='../en/many/bibnemomaf04/' . $author_id . '.php';
-$filename='../en/many/bibnemomaf04/' . $author_id . '\.php';
-echo 'filename'  . $filename;
-
-if (!file_exists($filename)) {
-  $template='../en/many/bibnemomaf04/new.php';
-  header('Location: ' . $template);
-}
-else
-{
-  header('Location: '. $filename);
-}
-
-/* si pb il faut afficher toutes les information succeptibles de comprendre
-et suggérer à l'utilisateur de nous les envoyer par mail
-*/
-echo 'date : ' . date($DATE_ISO8601_mod);
-echo ' author_id : ' . $author_id;
-echo $_SERVER['HTTP_USER_AGENT'];
-echo 'phpversion : ' . phpversion();
-echo $_POST['personal_surname'];
-echo "<p>personal_surname : $personal_surname</p>";
-echo 'personal_surname_upper : ' . $personal_surname_upper;
-echo 'personal_firstname : ' . $personal_firstname;
-echo "<p>personal_firstname_lower : $personal_firstname_lower</p>";
-echo "<p>personal_firstname_lower1 : $personal_firstname_lower1</p>";
-echo "<p>author_id : $author_id</p>";
-echo "<a href='$filename'>$filename</a>";
-
-?>
Index: unk/select_id.xsl
===================================================================
--- /trunk/select_id.xsl	(revision 355)
+++ 	(revision )
@@ -1,112 +1,0 @@
-<?xml version="1.0" encoding="iso-8859-1"?>
-<xsl:stylesheet
-version="1.0"
-xmlns:d="http://docbook.org/ns/docbook"
-xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
-xmlns:html="http://www.w3.org/1999/xhtml">
-
-<!--rst
-
-.. _select_id.xsl:
-
-=============
-select_id.xsl
-=============
-
-DESCRIPTION
-===========
-
-creation d'un ensemble select avec tous les identifiants d'auteur
-
-TODO
-====
-
-xforms
-<OPTGROUP label="PortMaster 3"> A B C cf http://www.la-grange.net/w3c/html4.01/interact/forms.html#edef-OPTION
-
-EVOLUTIONS
-==========
-
-$Id$
-
-- fplod 2008-04-29T15:21:42Z aedon.locean-ipsl.upmc.fr (Darwin)
-
-  * chgt for dbk5 in
-
-- fplod 2008-04-28T15:13:56Z aedon.locean-ipsl.upmc.fr (Darwin)
-
-  * chgt for dbk5 out
-
-- fplod 2007-10-17T08:09:03Z aedon.locean-ipsl.upmc.fr (Darwin)
-
-  * improve sort (diacriticals)
-
-- fplod 2007-05-18T14:52:55Z aedon.locean-ipsl.upmc.fr (Darwin)
-
-  * modif gestion id
-
-- fplod 2007-05-18T08:03:40Z aedon.locean-ipsl.upmc.fr (Darwin)
-
-  * correction pour homnymes partiels
-
-- fplod 2007-04-20T12:49:26Z aedon.locean-ipsl.upmc.fr (Darwin)
-
-  * d'après http://enacit1.epfl.ch/exercices_html/ex_boutons.html
-    Navigation par menu déroulant
-
-- fplod 2007-04-18T09:23:37Z aedon.locean-ipsl.upmc.fr (Darwin)
-
-  * creation
-
--->
-
-<xsl:include href="firstname_id.xsl"/>
-<xsl:include href="surname_id.xsl"/>
-
-<xsl:output
- method="xml"
- indent="yes"
- omit-xml-declaration="no"/>
-
-<xsl:variable name="list_author_ids" select="///d:author[not( self::node() = following::d:author )]"/>
-<xsl:template name="author_ids">
-<xsl:element name="html:select">
- <xsl:attribute name="version">5.0</xsl:attribute>
-<!--d'après http://enacit1.epfl.ch/exercices_html/ex_boutons.html
-Navigation par menu déroulant
--->
- <xsl:attribute name="onChange">document.location=this.options[this.selectedIndex].value</xsl:attribute>
- <xsl:attribute name="size">1</xsl:attribute>
- <!-- one empty -->
- <xsl:element name="html:option">
-   <xsl:attribute name="value">#</xsl:attribute>
-   <xsl:attribute name="SELECTED"/>
-   Choose one of these known authors id
- </xsl:element>
- <xsl:for-each select="///d:author[not( self::node() = following::d:author )]">
-  <xsl:sort order="ascending" data-type="text" select="translate(.,'abcdefghijklmnopqrstuvwxyz éèçàùëöñó', 'ABCDEFGHIJKLMNOPQRSTUVWXYZ_EECAUEONO')"/>
-  <xsl:element name="html:option">
-   <xsl:variable name="author_id">
-<xsl:call-template name="surname_id">
- <xsl:with-param name="surname" select="d:personname/d:surname"/>
-</xsl:call-template>
-<xsl:text>_</xsl:text>
-<xsl:call-template name="firstname_id">
- <xsl:with-param name="firstname" select="d:personname/d:firstname"/>
-</xsl:call-template>
-   </xsl:variable>
-   <xsl:variable name="path">../many/superbib02/</xsl:variable>
-   <xsl:variable name="ext">php</xsl:variable>
-   <xsl:variable name="url"><xsl:value-of select="$path"/><xsl:value-of select="$author_id"/>.<xsl:value-of select="$ext"/></xsl:variable>
-   <xsl:attribute name="value"><xsl:value-of select="$url"/></xsl:attribute>
-   <xsl:value-of select="$author_id"/>
-  </xsl:element>
- </xsl:for-each>
-</xsl:element>
-</xsl:template>
-
-<xsl:template match="d:bibliography">
- <xsl:call-template name="author_ids"/>
-</xsl:template>
-
-</xsl:stylesheet>
Index: unk/server.php
===================================================================
--- /trunk/server.php	(revision 355)
+++ 	(revision )
@@ -1,20 +1,0 @@
-<?php
-
-/*
-module :
-++
-
-update :
-$Id$
-fplod 2007-05-09T09:13:20Z aedon.locean-ipsl.upmc.fr (Darwin)
-creation
-*/
-
-/*
- Définit le fuseau horaire par défaut à utiliser. Disponible depuis PHP 5.1
-date_default_timezone_set('UTC'); ++
-*/
-error_reporting(E_ALL);
-
-echo $_SERVER['HTTP_USER_AGENT'];
-?>
Index: unk/style.css
===================================================================
--- /trunk/style.css	(revision 355)
+++ 	(revision )
@@ -1,329 +1,0 @@
-/* Feuille de style DocBook du projet Traduc.org                */
-/* DocBook CSS stylesheet of the Traduc.org project             */
-
-/* (c) Jean-Philippe Guérard - 14 août 2004                     */
-/* (c) Jean-Philippe Guérard - 14 August 2004                   */
-
-/* Cette feuille de style est libre, vous pouvez la             */
-/* redistribuer et la modifier selon les termes de la Licence   */
-/* Art Libre. Vous trouverez un exemplaire de cette Licence sur */
-/* http://tigreraye.org/Petit-guide-du-traducteur.html#licence-art-libre */
-
-/* This work of art is free, you can redistribute it and/or     */
-/* modify it according to terms of the Free Art license. You    */
-/* will find a specimen of this license on the Copyleft         */
-/* Attitude web site: http://artlibre.org as well as on other   */
-/* sites.                                                       */
-/* Please note that the French version of this licence as shown */
-/* on http://tigreraye.org/Petit-guide-du-traducteur.html#licence-art-libre */
-/* is only official licence of this document. The English       */
-/* is only provided to help you understand this licence.        */
-
-/* La dernière version de cette feuille de style est toujours   */
-/* disponible sur : http://tigreraye.org/style.css              */
-/* Elle est également disponible sur :                          */
-/* http://www.traduc.org/docs/HOWTO/lecture/style.css           */
-
-/* The latest version of this stylesheet is available from:     */
-/* http://tigreraye.org/style.css                               */
-/* It is also available on:                                     */
-/* http://www.traduc.org/docs/HOWTO/lecture/style.css           */
-
-/* N'hésitez pas à envoyer vos commentaires et corrections à    */
-/* Jean-Philippe Guérard <jean-philippe.guerard@tigreraye.org>  */
-
-/* Please send feedback and bug reports to                      */
-/* Jean-Philippe Guérard <jean-philippe.guerard@tigreraye.org>  */
-
-/* $Id$ */
-
-/* Présentation générale du document */
-/* Overall document presentation */
-
-body {
-    font-family: serif ;
-    margin: 7%;
-    background-color: white;
-}
-
-/* Taille du texte */
-/* Text size */
-
-* { font-size: 100%; }
-
-/* Gestion des textes mis en relief imbriqués */
-/* Embedded emphasis */
-
-em { font-style: italic; }
-i { font-style: italic; }
-
-em em { font-style: normal; }
-i  i  { font-style: normal; }
-i  em { font-style: normal; }
-em i  { font-style: normal; }
-
-em em em { font-style: italic; }
-em em i  { font-style: italic; }
-em i  em { font-style: italic; }
-em i  i  { font-style: italic; }
-i  em em { font-style: italic; }
-i  em i  { font-style: italic; }
-i  i  em { font-style: italic; }
-i  i  i  { font-style: italic; }
-
-/* Titres */
-/* Titles */
-
-h1 { font-size: 200%; font-weight: 900; }
-h2 { font-size: 160%; font-weight: 900; }
-h3 { font-size: 130%; font-weight: bold; }
-h4 { font-size: 115%; font-weight: bold; }
-h5 { font-size: 108%; font-weight: bold; }
-h6 {                  font-weight: bold; }
-
-/* Nom de famille en petites majuscules (uniquement en français) */
-/* Last names in small caps (for French only) */
-
-*[class~="surname"]:lang(fr) { font-variant: small-caps; }
-
-/* Historique des révision */
-/* Revision History */
-
-div[class~="revhistory"] > table {
-  border: solid 1px #AAA;
-  background: #f0f0f0;
-}
-
-div[class~="revhistory"] > table td {
-  border: solid 1px #AAA;
-}
-
-/* Blocs de citation */
-/* Quotation blocs */
-
-div[class~="blockquote"] {
-  border: none;
-}
-
-div[class~="blockquote"] > table {
-  border: none;
-}
-
-/* Blocs litéraux : fond gris clair */
-/* Literal blocs: light gray background */
-
-*[class~="literallayout"] {
-  background: #f0f0f0;
-  padding: 5px;
-  margin: 5px;
-}
-
-/* Programmes et captures texte : fond bleu clair */
-/* Listing and text screen snapshots: light blue background */
-
-*[class~="programlisting"], *[class~="screen"] {
-  background: #f0f0ff;
-  padding: 5px;
-  margin: 5px;
-}
-
-/* Les textes à remplacer sont surlignés en vert pâle */
-/* Replaceable text in highlighted in pale green */
-
-*[class~="replaceable"] { 
-    background-color: #98fb98;
-    font-style: normal; }
-
-/* Tables : fonds gris clair & bords simples */
-/* Tables: light gray background and solid borders */
-
-*[class~="table"] *[class~="title"] { width:100%; border: 0px; }
-
-table {
-    border: 1px solid #aaa;
-    border-collapse: collapse;
-    padding: 2px;
-    margin: 5px;
-}
-
-/* Listes simples en style table */
-/* Simples lists in table presentation */
-
-table[class~="simplelist"] {
-    background-color: #F0F0F0;
-    margin: 5px;
-    border: solid 1px #AAA;
-}
-
-table[class~="simplelist"] td {
-    border: solid 1px #AAA;
-}
-
-/* Les tables */
-/* Tables */
-
-*[class~="table"] table {
-    background-color: #F0F0F0;
-    border: solid 1px #AAA;
-}
-*[class~="informaltable"] table { background-color: #F0F0F0; }
-
-th,td {
-    vertical-align: baseline;
-    text-align: left;
-    padding: 0.1em 0.3em;
-    empty-cells: show; 
-}
-
-/* Alignement des colonnes */
-/* Columns alignment */
-
-td[align=center] ,  th[align=center]  { text-align: center; }
-td[align=right] ,   th[align=right]   { text-align: right; }
-td[align=left] ,    th[align=left]    { text-align: left; }
-td[align=justify] , th[align=justify] { text-align: justify; }
-
-/* Pas de marge autour des images */
-/* No inside margins for images */
-
-img { border: 0; }
-
-/* Les liens ne sont pas soulignés */
-/* No underlines for links */
-
-:link , :visited , :active { text-decoration: none; }
-
-/* Prudence : cadre jaune et fond jaune clair */
-/* Caution: yellow border and light yellow background */
-
-*[class~="caution"] {
-    border: solid 2px yellow;
-    background-color: #ffffe0;
-    padding: 5px 1em;
-    margin: 5px;
-}
-
-*[class~="caution"] th {
-    vertical-align: middle
-}
-
-*[class~="caution"] table {
-    background-color: #ffffe0;
-    border: none;
-}
-
-pre + div[class~="caution"] {
-    margin-top: +1.5em;
-}
-
-/* Note importante : cadre jaune et fond jaune clair */
-/* Important: yellow border and light yellow background */
-
-*[class~="important"] {
-    border: solid 2px yellow;
-    background-color: #ffffe0;
-    padding: 5px 1em;
-    margin: 5px;
-}
-
-*[class~="important"] th {
-    vertical-align: middle
-}
-
-*[class~="important"] table  {
-    background-color: #ffffe0;
-    border: none;
-}
-
-pre + div[class~="important"] {
-    margin-top: +1.5em;
-}
-
-/* Mise en évidence : texte légèrement plus grand */
-/* Highlights: slightly larger texts */
-
-*[class~="highlights"] {
-    font-size:  110%;
-}
-
-/* Note : cadre bleu et fond bleu clair */
-/* Notes: blue border and light blue background */
-
-*[class~="note"]   {
-    border: solid 2px #7099C5;
-    background-color: #f0f0ff;
-    padding: 5px 1em;
-    margin: 5px;
-}
-
-*[class~="note"] th {
-    vertical-align: middle
-}
-
-*[class~="note"] table {
-    background-color: #f0f0ff;
-    border: none;
-}
-
-pre + div[class~="note"] {
-    margin-top: +1.5em;
-}
-
-/* Astuce : cadre vert et fond vert clair */
-/* Tip: green border and light green background */
-
-*[class~="tip"] {
-    border: solid 2px #00ff00;
-    background-color: #f0ffff;
-    padding: 5px 1em;
-    margin: 5px;
-}
-
-*[class~="tip"] th {
-    vertical-align: middle;
-}
-
-*[class~="tip"] table {
-    background-color: #f0ffff;
-    border: none;
-}
-
-pre + div[class~="tip"] {
-    margin-top: +1.5em;
-}
-
-/* Avertissement : cadre rouge et fond rouge clair */
-/* Warning: red border and light red background */
-
-*[class~="warning"] {
-    border: solid 2px #ff0000;
-    background-color: #fff0f0; 
-    padding: 5px 1em;
-    margin: 5px;
-}
-
-*[class~="warning"] th {
-    vertical-align: middle;
-}
-                    
-
-*[class~="warning"] table {
-    background-color: #fff0f0;
-    border: none;
-}
-
-pre + div[class~="warning"] {
-    margin-top: +1.5em;
-}
-
-/* Listes de renvois */
-/* Callout lists */
-
-*[class~="calloutlist"] table {
-    background-color: #e0e0ee;
-    border: none;
-}
-
-/* Fin */
-/* The End */
-
Index: unk/superbib.css
===================================================================
--- /trunk/superbib.css	(revision 355)
+++ 	(revision )
@@ -1,27 +1,0 @@
-/*
-module :
-feuille de style CSS 
-
-update :
-$Id$
-fplod 2007-03-30T10:27:22Z aedon.locean-ipsl.upmc.fr (Darwin)
-d'aprÃšs /usr/home/opatlod/WWW/NEMO_v1/6_Menu/2_page/index.html
-*/
-
-body {
-bgcolor : #ffffff;
-}
-#javascript {border-bottom: 1px solid #a1a5a9; font-family: "Luc
-ida Grande", arial, verdana, sans-serif; padding: 5px 0 5px 0; background-color:
- #ffffcc}
-
-/*
-je n'ai pas encore tout compris aux sujets des impressions
-*/
-
-@media print {
-     input[type="submit"] { display : none }
-     div[class="informaltable"] { display : none } /* pour ne pas imprimer
-la table des annÃ©es/auteurs*/
-     a[href="#top"] { display : none } /* pour ne pas imprimer le lien sur top*/
-   }
Index: unk/superbib01_html.xsl
===================================================================
--- /trunk/superbib01_html.xsl	(revision 355)
+++ 	(revision )
@@ -1,77 +1,0 @@
-<?xml version='1.0' encoding='ISO-8859-1'?>
-<xsl:stylesheet
-xmlns:d="http://docbook.org/ns/docbook"
-xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
-version="1.0">
-
-<!--rst
-
-.. _superbib01_html.xsl:
-
-===================
-superbib01_html.xsl
-===================
-
-transformation docbook en un html
-
-EVOLUTION
-=========
-
-$Id$
-
-- fplod 2008-09-17T10:23:44Z aedon.locean-ipsl.upmc.fr (Darwin)
-
-  * add a link to project homepage at the bottom of the page
-
-- fplod 2007-03-30T09:55:19Z aedon.locean-ipsl.upmc.fr (Darwin)
-
-  * création
-
--->
-
-<xsl:import href="http://docbook.sourceforge.net/release/xsl/current/xhtml/docbook.xsl"/>
-
-<xsl:output method="xml"
-encoding="utf-8"
-indent="yes"
-omit-xml-declaration="no"
-doctype-public="-//W3C//DTD XHTML 1.0 Strict//EN"
-doctype-system="http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"/>
-
-<xsl:include href="titlepage.superbib.xsl"/>
-<xsl:include href="message_lang.xsl"/>
-
-<xsl:template match="*" mode="book.titlepage.mode"/>
-<xsl:param name="generate.toc">
-article nop
-</xsl:param>
-<xsl:param name="css.decoration" select="0"/>
-<xsl:param name="section.autolabel" select="0"/>
-
-<!--
-Personalisation de bas de page
--->
-<xsl:template name="user.footer.content">
- <xsl:call-template name="para_lastupdate">
-  <xsl:with-param name="language" select="/article/@xml:lang"/>
-  <xsl:with-param name="date" select="$makedate"/>
-  <xsl:with-param name="mode" select="'html'"/>
- </xsl:call-template>
-
- <hr/>
- <para>
- <xsl:call-template name="back">
-  <xsl:with-param name="language" select="/article/@xml:lang"/>
- </xsl:call-template>
- <xsl:text> </xsl:text>
- <xsl:element name="a">
-  <xsl:attribute name="href">
-   <xsl:value-of select="document('main.xml')//d:bibliosource[@xml:id='homepage']"/>
-  </xsl:attribute>
-  <xsl:value-of select="document('main.xml')//d:keyword[@xml:id='project']"/> home page
-  </xsl:element>
-  </para>
-
-</xsl:template>
-
-</xsl:stylesheet>
Index: unk/superbib01_rest.xsl
===================================================================
--- /trunk/superbib01_rest.xsl	(revision 355)
+++ 	(revision )
@@ -1,204 +1,0 @@
-<?xml version="1.0" encoding="iso-8859-1"?>
-<xsl:stylesheet
-version="1.0"
-xmlns:d="http://docbook.org/ns/docbook"
-xmlns:xl="http://www.w3.org/1999/xlink"
-xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
-
-<!--rst
-
-.. _superbib01_xml.xsl:
-
-==================
-superbib01_xml.xsl
-==================
-
-produce a DocBook 5 with bibliograhy references sorted by years
-
-SEE ALSO
-========
-
-:ref:`biblioentry_rest.xsl`
-
-TODO
-====
-
-link sur top chaque section
-:ref:`top` ../../images/globalicondl11x10_up.gif
-
-tableau d'années
-
-EVOLUTIONS
-==========
-
-$Id$
-
-- fplod 2001228
-
-  * recreation
-
--->
-
-<xsl:output
- method="text"
- indent="yes"/>
-
-<xsl:include href="biblioentry_rest.xsl"/>
-
-<xsl:variable name="list_years" select="///d:pubdate[not( self::node() = following::d:pubdate )]"/>
-
-<xsl:variable name="project">
- <xsl:value-of select="document('main.xml')//d:keyword[@xml:id='project']"/>
-</xsl:variable>
-
-<xsl:template name="years">
-<!--
-creation of an informatable of nb years
-each entry of the table is a link #year_xxxx
--->
-<xsl:element name="informaltable">
- <xsl:attribute name="xml:id">years</xsl:attribute>
- <xsl:attribute name="summary">years of publications</xsl:attribute>
- <xsl:element name="tgroup">
-  <xsl:variable name="nb_cols" select="count($list_years)"/>
-  <xsl:attribute name="cols"><xsl:value-of select="$nb_cols"/></xsl:attribute>
-  <xsl:attribute name="align">center</xsl:attribute>
-  <xsl:attribute name="colsep">1</xsl:attribute>
-  <xsl:attribute name="rowsep">1</xsl:attribute>
-  <xsl:for-each select="///d:pubdate[not( self::node() = following::d:pubdate )]">
-   <xsl:sort order="descending" data-type="number" select="."/>
-   <xsl:element name="colspec">
-    <xsl:attribute name="colname">year_<xsl:value-of select="."/></xsl:attribute>
-   </xsl:element>
-  </xsl:for-each>
-  <xsl:element name="tbody">
-   <xsl:element name="row">
-    <xsl:for-each select="///d:pubdate[not( self::node() = following::d:pubdate )]">
-     <xsl:sort order="descending" data-type="number" select="."/>
-     <xsl:element name="entry">
-      <xsl:attribute name="colname"><xsl:text>year_</xsl:text><xsl:value-of select="."/></xsl:attribute>
-      <xsl:element name="link">
-       <xsl:attribute name="xl:href"><xsl:text>#year_</xsl:text><xsl:value-of select="."/></xsl:attribute>
-       <xsl:value-of select="."/>
-      </xsl:element>
-     </xsl:element>
-    </xsl:for-each>
-   </xsl:element>
-   <xsl:element name="row">
-    <xsl:for-each select="///d:pubdate[not( self::node() = following::d:pubdate )]">
-     <xsl:sort order="descending" data-type="number" select="."/>
-     <xsl:element name="entry">
-      <xsl:attribute name="colname"><xsl:text>year_</xsl:text><xsl:value-of select="."/></xsl:attribute>
-      <xsl:element name="emphasis">
-       <xsl:attribute name="role">bold</xsl:attribute>
-<xsl:variable name="nb_current">
- <xsl:variable name="current_year"><xsl:value-of select="."/></xsl:variable>
- <xsl:value-of select="count(/descendant::d:biblioentry[child::d:biblioset[child::d:pubdate=$current_year]])"/>
-</xsl:variable>
-       <xsl:value-of select="$nb_current"/>
-      </xsl:element>
-     </xsl:element>
-    </xsl:for-each>
-   </xsl:element>
-   <xsl:variable name="year_min">
-    <xsl:value-of select="///d:pubdate[not(. &gt; ///d:pubdate)]"/>
-   </xsl:variable>
-   <xsl:variable name="year_max">
-    <xsl:value-of select="///d:pubdate[not(. &lt; ///d:pubdate)]"/>
-   </xsl:variable>
-   <xsl:element name="row">
-    <xsl:element name="entry">
-     <xsl:attribute name="namest"><xsl:value-of select="concat('year_',$year_max)"/></xsl:attribute>
-      <xsl:attribute name="nameend"><xsl:value-of select="concat('year_',$year_min)"/></xsl:attribute>
-     <xsl:element name="emphasis">
-      <xsl:attribute name="role">bold</xsl:attribute>
-       <xsl:value-of select="count(/descendant::d:biblioentry)"/>
-     </xsl:element>
-    </xsl:element>
-   </xsl:element>
-  </xsl:element>
- </xsl:element>
-</xsl:element>
-</xsl:template>
-
-<xsl:template match="d:bibliography">
-
-<xsl:value-of select="$project"/> - Publications - Papers by years
-==================================================================
-
-.. _top:
-
-This page intents to provide an exhaustive list of the papers that have used
-<xsl:value-of select="$project"/> and/or results from them.
-Obvioulsy many papers are missing.
-If you find omissions or mistakes please ask some modification via
-:ref:`main`
-
-You can also see **<xsl:value-of select="$project"/> - Publications - Papers** sorted by
-authors in :ref:`superbib02`
-or in :ref:`superbib01many` several
-one by author)
-
-<xsl:call-template name="para_lastupdate_bib">
- <xsl:with-param name="language" select="@xml:lang"/>
- <xsl:with-param name="date" select="d:info/d:date"/>
- <xsl:with-param name="mode" select="'rest'"/>
-</xsl:call-template>
-
-<xsl:call-template name="years"/>
-
-.. _fig_pubbyyears:
-
-.. figure:: ../../images/years.png
-   :alt:[years.png]
-
-   Nb of publications by years
-
-.. _intro:
-
-Introduction
-============
-
-This document provide bibliography sorted by year.
-
-   <!-- loop on years -->
-   <xsl:for-each select="$list_years">
-    <xsl:sort order="descending" data-type="number" select="."/>
-    <xsl:call-template name="one_year">
-     <xsl:with-param name="year" select="."/>
-    </xsl:call-template>
-   </xsl:for-each>
-</xsl:template>
-
-<xsl:template match="d:info/d:date"/>
-<xsl:template match="d:bibliography/d:title"/>
-
-<xsl:template name="one_year">
-<xsl:param name="year"/>
-<!--
- <xsl:message>call template avec <xsl:value-of select="$year"/></xsl:message>
- <xsl:message>noeud courant <xsl:value-of select="name(.)"/></xsl:message>
- <xsl:message>
-year_<xsl:value-of select="$year"/> : <xsl:value-of select="count(/descendant::d:biblioentry[child::d:biblioset[child::d:pubdate=$year]]) + count(/descendant::d:biblioentry[child::d:date=$year])"/>
-</xsl:message>
--->
-
-.. _<xsl:value-of select="concat('year_',$year)"/>:
-
-<xsl:value-of select="$year"/>
-=========
-
-   <xsl:for-each select="/descendant::d:biblioentry[child::d:biblioset[child::d:pubdate=$year]]|/descendant::d:biblioentry[child::d:date=$year]">
-    <xsl:sort order="ascending" data-type="text" select="translate(./authorgroup/author/personname,'abcdefghijklmnopqrstuvwxyz éèçàùëöñó','ABCDEFGHIJKLMNOPQRSTUVWXYZ_EECAUEONO')"/>
-    <xsl:text>&#xA;</xsl:text>
-    <xsl:text>- </xsl:text>
-    <xsl:call-template name="one_biblioentry_rest">
-     <xsl:with-param name="visu_modif" select="'visu'"/>
-     <xsl:with-param name="type" select="'raw'"/>
-     <xsl:with-param name="my_biblioentry" select="."/>
-    </xsl:call-template>
-    <xsl:text>&#xA;</xsl:text>
-   </xsl:for-each>
-</xsl:template>
-
-</xsl:stylesheet>
Index: unk/superbib01_txt.xsl
===================================================================
--- /trunk/superbib01_txt.xsl	(revision 355)
+++ 	(revision )
@@ -1,71 +1,0 @@
-<?xml version='1.0' encoding='ISO-8859-1'?>
-<xsl:stylesheet
-xmlns:d="http://docbook.org/ns/docbook"
-xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
-version="1.0">
-
-<!--rst
-
-.. _superbib01_txt.xsl:
-
-==================
-superbib01_txt.xsl
-==================
-
-DESCRIPTION
-===========
-
-transformation of a DocBook file into a text file eatable by bibopa.sh
-
-EXAMPLES
-========
-
-example pour test demo1
-
-.. code-block:: sh
-
-  xsltproc \-\-param makedate "'$(date -u +"%Y-%m-%dT%H:%M:%SZ")'" \
-  \-\-output /tmp/bibdemo1_dbk5.txt \
-  superbib01_txt.xsl data/bibdemo1_dbk5.xml
-  bibopa.sh -p demo1 -i /tmp/bibdemo1_dbk5.txt -t raw -l fr
-  diff biblio.xml data/bibdemo1_dbk5.xml
-
-EVOLUTIONS
-==========
-
-$Id$
-
-- fplod 2008-05-06T13:06:45Z aedon.locean-ipsl.upmc.fr (Darwin)
-
-  * reactivation to provide opposite action of bibopa.sh
-
-- fplod 2007-04-06T14:27:24Z zeus.locean-ipsl.upmc.fr (Linux)
-
-  * creation
-
--->
-
-<!--
-<xsl:import href="http://docbook.sourceforge.net/release/xsl/current/xhtml/docbook.xsl"/>
--->
-
-<xsl:output method="text"
-encoding="ISO-8859-1"
-indent="yes"/>
-
-<xsl:include href="biblioentry_xml.xsl"/>
-
-<xsl:template match="d:bibliography">
-<xsl:text># update </xsl:text><xsl:value-of select="$makedate"/>
-<xsl:text>&#xA;</xsl:text>
-<xsl:for-each select="d:biblioentry">
- <xsl:call-template name="one_biblioentry">
- <xsl:with-param name="visu_modif" select="'visu'"/>
- <xsl:with-param name="type" select="'raw'"/>
- <xsl:with-param name="my_biblioentry" select="."/>
-</xsl:call-template>
-<xsl:text>&#xA;</xsl:text>
-
-</xsl:for-each>
-</xsl:template>
-</xsl:stylesheet>
Index: unk/superbib01_xml.xsl
===================================================================
--- /trunk/superbib01_xml.xsl	(revision 355)
+++ 	(revision )
@@ -1,283 +1,0 @@
-<?xml version="1.0" encoding="iso-8859-1"?>
-<xsl:stylesheet
-version="1.0"
-xmlns:d="http://docbook.org/ns/docbook"
-xmlns:xl="http://www.w3.org/1999/xlink"
-xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
-
-<!--rst
-
-.. _superbib01_xml.xsl:
-
-==================
-superbib01_xml.xsl
-==================
-
-produce a DocBook 5 with bibliograhy references sorted by years
-
-TODO
-====
-
-EVOLUTIONS
-==========
-
-$Id$
-
-- fplod 20110629T135204Z cratos.locean-ipsl.upmc.fr (Linux)
-
-  * authorgroup is found in main.xml
-
-- fplod 2008-09-17T10:40:43Z aedon.locean-ipsl.upmc.fr (Darwin)
-
-  * project name from main.xml file instead of a fixed one
-
-- fplod 2008-04-30T10:32:48Z aedon.locean-ipsl.upmc.fr (Darwin)
-
-  * language inherited from biblio.xml
-
-- fplod 2008-04-29T15:23:51Z aedon.locean-ipsl.upmc.fr (Darwin)
-
-  * chgt for dbk5 in ++
-
-- fplod 2008-04-29T07:46:20Z aedon.locean-ipsl.upmc.fr (Darwin)
-
-  * chgt for dbk5 out
-
-- fplod 2007-10-17T08:01:14Z aedon.locean-ipsl.upmc.fr (Darwin)
-
-  * improve authors sort (diacriticals)
-
-- fplod 2007-06-08T08:36:48Z aedon.locean-ipsl.upmc.fr (Darwin)
-
-  * add total nb of publications in one cell. quite interesting usage of
-    XPATH to determine mininum and maximum value of a element !
-
-- fplod 2007-05-21T14:06:53Z aedon.locean-ipsl.upmc.fr (Darwin)
-
-  * ajout de plot nbpub/years
-
-- fplod 2007-05-04T08:02:29Z aedon.locean-ipsl.upmc.fr (Darwin)
-
-  * externalisation de biblioentry
-  * passage de itemizedlist à sect1 pour homogénéisation sur présentation par auteur(et parce que je préfère)
-
-- fplod 2007-04-02T08:53:30Z aedon.locean-ipsl.upmc.fr (Darwin)
-
-  * journal dans biblioset
-
-- fplod 2007-03-30T12:38:34Z aedon.locean-ipsl.upmc.fr (Darwin)
-
-  * creation
-
--->
-
-<xsl:output
- method="xml"
- indent="yes"
- omit-xml-declaration="no"/>
-
-<xsl:include href="biblioentry_xml.xsl"/>
-
-<xsl:variable name="list_years" select="///d:pubdate[not( self::node() = following::d:pubdate )]"/>
-
-<xsl:variable name="project">
- <xsl:value-of select="document('main.xml')//d:keyword[@xml:id='project']"/>
-</xsl:variable>
-
-<xsl:template name="years">
-<!--
-creation of an informatable of nb years
-each entry of the table is a link #year_xxxx
--->
-<xsl:element name="informaltable">
- <xsl:attribute name="xml:id">years</xsl:attribute>
- <xsl:attribute name="summary">years of publications</xsl:attribute>
- <xsl:element name="tgroup">
-  <xsl:variable name="nb_cols" select="count($list_years)"/>
-  <xsl:attribute name="cols"><xsl:value-of select="$nb_cols"/></xsl:attribute>
-  <xsl:attribute name="align">center</xsl:attribute>
-  <xsl:attribute name="colsep">1</xsl:attribute>
-  <xsl:attribute name="rowsep">1</xsl:attribute>
-  <xsl:for-each select="///d:pubdate[not( self::node() = following::d:pubdate )]">
-   <xsl:sort order="descending" data-type="number" select="."/>
-   <xsl:element name="colspec">
-    <xsl:attribute name="colname">year_<xsl:value-of select="."/></xsl:attribute>
-   </xsl:element>
-  </xsl:for-each>
-  <xsl:element name="tbody">
-   <xsl:element name="row">
-    <xsl:for-each select="///d:pubdate[not( self::node() = following::d:pubdate )]">
-     <xsl:sort order="descending" data-type="number" select="."/>
-     <xsl:element name="entry">
-      <xsl:attribute name="colname"><xsl:text>year_</xsl:text><xsl:value-of select="."/></xsl:attribute>
-      <xsl:element name="link">
-       <xsl:attribute name="xl:href"><xsl:text>#year_</xsl:text><xsl:value-of select="."/></xsl:attribute>
-       <xsl:value-of select="."/>
-      </xsl:element>
-     </xsl:element>
-    </xsl:for-each>
-   </xsl:element>
-   <xsl:element name="row">
-    <xsl:for-each select="///d:pubdate[not( self::node() = following::d:pubdate )]">
-     <xsl:sort order="descending" data-type="number" select="."/>
-     <xsl:element name="entry">
-      <xsl:attribute name="colname"><xsl:text>year_</xsl:text><xsl:value-of select="."/></xsl:attribute>
-      <xsl:element name="emphasis">
-       <xsl:attribute name="role">bold</xsl:attribute>
-<xsl:variable name="nb_current">
- <xsl:variable name="current_year"><xsl:value-of select="."/></xsl:variable>
- <xsl:value-of select="count(/descendant::d:biblioentry[child::d:biblioset[child::d:pubdate=$current_year]])"/>
-</xsl:variable>
-       <xsl:value-of select="$nb_current"/>
-      </xsl:element>
-     </xsl:element>
-    </xsl:for-each>
-   </xsl:element>
-   <xsl:variable name="year_min">
-    <xsl:value-of select="///d:pubdate[not(. &gt; ///d:pubdate)]"/>
-   </xsl:variable>
-   <xsl:variable name="year_max">
-    <xsl:value-of select="///d:pubdate[not(. &lt; ///d:pubdate)]"/>
-   </xsl:variable>
-   <xsl:element name="row">
-    <xsl:element name="entry">
-     <xsl:attribute name="namest"><xsl:value-of select="concat('year_',$year_max)"/></xsl:attribute>
-      <xsl:attribute name="nameend"><xsl:value-of select="concat('year_',$year_min)"/></xsl:attribute>
-     <xsl:element name="emphasis">
-      <xsl:attribute name="role">bold</xsl:attribute>
-       <xsl:value-of select="count(/descendant::d:biblioentry)"/>
-     </xsl:element>
-    </xsl:element>
-   </xsl:element>
-  </xsl:element>
- </xsl:element>
-</xsl:element>
-</xsl:template>
-
-<xsl:template match="d:bibliography">
-
-<xsl:element name="article">
-<xsl:attribute name="version">5.0</xsl:attribute>
-<xsl:attribute name="xmlns">http://docbook.org/ns/docbook</xsl:attribute>
-<xsl:attribute name="xml:lang"><xsl:value-of select="@xml:lang"/></xsl:attribute>
-<title><xsl:value-of select="$project"/> - Publications - Papers by years</title>
-<info>
-<authorgroup>
-	<xsl:copy-of select="document('main.xml')//d:info/d:authorgroup"/>
-</authorgroup>
-<keywordset>
-<keyword><xsl:value-of select="$project"/></keyword>
-</keywordset>
-<!-- ++ date -->
-</info>
-<para xml:id="top">
-This page intents to provide an exhaustive list of the papers that have used
-<xsl:value-of select="$project"/> and/or results from them.
-Obvioulsy many papers are missing.
-If you find omissions or mistakes please ask some modification via
-<xsl:element name="link">
- <xsl:attribute name="xl:href">
-  <xsl:value-of select="'./main.php'"/>
- </xsl:attribute>
- <xsl:value-of select="document('main.xml')/d:article/d:title"/>
- <xsl:text> main page</xsl:text>
-</xsl:element>.
-</para>
-<para>
-You can also see <quote><xsl:value-of select="$project"/> - Publications - Papers</quote> sorted by
-authors in
-<xsl:element name="link">
- <xsl:attribute name="xl:href">
-  <xsl:value-of select="'./superbib02.html'"/>
- </xsl:attribute>
- <xsl:text>one big document </xsl:text>
-</xsl:element>
-<xsl:text> or in </xsl:text>
-<xsl:element name="link">
- <xsl:attribute name="xl:href">
-  <xsl:value-of select="'../many/superbib01/index.html'"/>
- </xsl:attribute>
- <xsl:text>several </xsl:text>
-</xsl:element> <xsl:text> (one by author)</xsl:text>.
-</para>
-
-<xsl:call-template name="para_lastupdate_bib">
- <xsl:with-param name="language" select="@xml:lang"/>
- <xsl:with-param name="date" select="d:info/d:date"/>
- <xsl:with-param name="mode" select="'dbk'"/>
-</xsl:call-template>
-
-<xsl:call-template name="years"/>
-
-<figure xml:id="fig_pubbyyears"><title>Nb of publications by years</title>
-<mediaobject>
-<imageobject>
-<imagedata fileref="../../images/years.png" format="PNG"/>
-</imageobject>
-<textobject><phrase>[years.png]</phrase></textobject>
-</mediaobject>
-</figure>
-
-<sect1 xml:id="intro">
-<title>Introduction</title>
-<para>
-This document provide bibliography sorted by year.
-</para>
-</sect1>
-
-   <!-- loop on years -->
-   <xsl:for-each select="$list_years">
-    <xsl:sort order="descending" data-type="number" select="."/>
-    <xsl:call-template name="one_year">
-     <xsl:with-param name="year" select="."/>
-    </xsl:call-template>
-   </xsl:for-each>
-</xsl:element>
-</xsl:template>
-
-<xsl:template match="d:info/d:date"/>
-<xsl:template match="d:bibliography/d:title"/>
-
-<xsl:template name="one_year">
-<xsl:param name="year"/>
-<!--
- <xsl:message>call template avec <xsl:value-of select="$year"/></xsl:message>
- <xsl:message>noeud courant <xsl:value-of select="name(.)"/></xsl:message>
- <xsl:message>
-year_<xsl:value-of select="$year"/> : <xsl:value-of select="count(/descendant::d:biblioentry[child::d:biblioset[child::d:pubdate=$year]]) + count(/descendant::d:biblioentry[child::d:date=$year])"/>
-</xsl:message>
--->
- <xsl:element name="sect1">
-  <xsl:attribute name="xml:id"><xsl:value-of select="concat('year_',$year)"/></xsl:attribute>
-  <xsl:element name="title">
-   <xsl:value-of select="$year"/>
-   <xsl:element name="link">
-   <xsl:attribute name="xl:href"><xsl:text>#top</xsl:text></xsl:attribute>
-   <xsl:element name="inlinemediaobject">
-     <xsl:element name="imageobject">
-      <xsl:element name="imagedata">
-       <xsl:attribute name="fileref">../../images/globalicondl11x10_up.gif</xsl:attribute>
-      </xsl:element>
-     </xsl:element>
-     <xsl:element name="textobject">
-      <xsl:element name="phrase">
-       <xsl:text>top</xsl:text>
-      </xsl:element>
-     </xsl:element>
-    </xsl:element>
-   </xsl:element>
-  </xsl:element>
-  <orderedlist>
-   <xsl:for-each select="/descendant::d:biblioentry[child::d:biblioset[child::d:pubdate=$year]]|/descendant::d:biblioentry[child::d:date=$year]">
-    <xsl:sort order="ascending" data-type="text" select="translate(./authorgroup/author/personname,'abcdefghijklmnopqrstuvwxyz éèçàùëöñó','ABCDEFGHIJKLMNOPQRSTUVWXYZ_EECAUEONO')"/>
-    <xsl:call-template name="one_biblioentry">
-     <xsl:with-param name="visu_modif" select="'visu'"/>
-     <xsl:with-param name="type" select="'raw'"/>
-     <xsl:with-param name="my_biblioentry" select="."/>
-    </xsl:call-template>
-   </xsl:for-each>
-  </orderedlist>
- </xsl:element>
-</xsl:template>
-
-</xsl:stylesheet>
Index: unk/superbib02_html.xsl
===================================================================
--- /trunk/superbib02_html.xsl	(revision 355)
+++ 	(revision )
@@ -1,76 +1,0 @@
-<?xml version='1.0' encoding='ISO-8859-1'?>
-<xsl:stylesheet
-xmlns:d="http://docbook.org/ns/docbook"
-xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
-version="1.0">
-
-<!--rst
-
-.. _superbib02_html.xsl:
-
-===================
-superbib02_html.xsl
-===================
-
-transformation docbook en plusieurs html
-
-EVOLUTIONS
-==========
-
-$Id$
-
-- fplod 2008-09-17T10:23:44Z aedon.locean-ipsl.upmc.fr (Darwin)
-
-  * add a link to project homepage at the bottom of the page
-
-- fplod 2007-04-06T10:30:31Z aedon.locean-ipsl.upmc.fr (Darwin)
-
-  * création
-
--->
-
-<xsl:import href="http://docbook.sourceforge.net/release/xsl/current/xhtml/chunk.xsl"/>
-
-<xsl:output method="xml"
-encoding="utf-8"
-indent="yes"
-omit-xml-declaration="no"
-doctype-public="-//W3C//DTD XHTML 1.0 Strict//EN"
-doctype-system="http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"/>
-
-<xsl:include href="titlepage.superbib.xsl"/>
-<xsl:include href="message_lang.xsl"/>
-
-<xsl:template match="*" mode="book.titlepage.mode"/>
-<xsl:param name="generate.toc">
-article nop
-</xsl:param>
-<xsl:param name="section.autolabel" select="0"/>
-<xsl:param name="css.decoration" select="0"/>
-<xsl:param name="chunk.section.depth" select="1"/>
-<xsl:param name="use.id.as.filename" select="1"/>
-
-<!--
-Personalisation de bas de page
--->
-<xsl:template name="user.footer.content">
- <xsl:call-template name="para_lastupdate">
-  <xsl:with-param name="language" select="/article/@xml:lang"/>
-  <xsl:with-param name="date" select="$makedate"/>
-  <xsl:with-param name="mode" select="'html'"/>
- </xsl:call-template>
- <para>
- <xsl:call-template name="back">
-  <xsl:with-param name="language" select="/article/@xml:lang"/>
- </xsl:call-template>
- <xsl:text> </xsl:text>
-  <xsl:element name="a">
-  <xsl:attribute name="href">
-   <xsl:value-of select="document('main.xml')//d:bibliosource[@xml:id='homepage']"/>
-  </xsl:attribute>
-  <xsl:value-of select="document('main.xml')//d:keyword[@xml:id='project']"/> home page
-  </xsl:element>
-  </para>
-</xsl:template>
-
-</xsl:stylesheet>
Index: unk/superbib02_rest.xsl
===================================================================
--- /trunk/superbib02_rest.xsl	(revision 355)
+++ 	(revision )
@@ -1,154 +1,0 @@
-<?xml version="1.0" encoding="iso-8859-1"?>
-<xsl:stylesheet
-version="1.0"
-xmlns:d="http://docbook.org/ns/docbook"
-xmlns:xl="http://www.w3.org/1999/xlink"
-xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
-
-<!--rst
-
-.. _superbib02_rest.xsl:
-
-===================
-superbib02_rest.xsl
-===================
-
-produce a DocBook 5 with bibliograhy references sorted by authors
-
-TODO
-====
-
-make it beautifull
-
-EVOLUTIONS
-==========
-
-$Id$
-
-$URL$
-
-- fplod 20120229
-
-  * creation from superbib02_xml.xsl
-
--->
-
-<xsl:output
- method="text"
- indent="yes"/>
-
-<xsl:include href="firstname_id.xsl"/>
-<xsl:include href="surname_id.xsl"/>
-<xsl:include href="table_authors.xsl"/>
-<xsl:include href="biblioentry_rest.xsl"/>
-
-<xsl:variable name="list_author_ids" select="///d:author[not( self::node() = following::d:author )]"/>
-
-<xsl:variable name="project">
- <xsl:value-of select="document('main.xml')//d:keyword[@xml:id='project']"/>
-</xsl:variable>
-
-<xsl:template match="d:bibliography">
-
-<xsl:value-of select="$project"/> - Publications - Papers by authors
-====================================================================
-
-.. meta::
-   :keyword: <xsl:value-of select="$project"/>
-
-.. _top:
-
-This page intents to provide an exhaustive list of the papers that have used <xsl:value-of select="$project"/> and/or results from them. Obvioulsy many papers are missing. If you find omissions or mistakes please ask some modification via
-++lien <xsl:value-of select="'./main.php'"/>
- <xsl:value-of select="document('main.xml')/d:article/d:title"/>
-
- You can also see **<xsl:value-of select="$project"/> - Publications - Papers** sorted by
-++lien  <xsl:value-of select="'./superbib01.html'"/>
-
-<xsl:text>years</xsl:text>
-
-<xsl:call-template name="para_lastupdate_bib">
- <xsl:with-param name="language" select="@xml:lang"/>
- <xsl:with-param name="date" select="'ginette'"/>
- <!-- ++
- <xsl:with-param name="date" select="d:info/d:date"/>
- -->
- <xsl:with-param name="mode" select="'rest'"/>
-</xsl:call-template>
-
-.. _intro:
-
-Introduction
-=============
-
-This document provide bibliography sorted by author's id (**SURNAME_f**).
-
-<xsl:call-template name="table_authors">
-<xsl:with-param name="linktype" select="'internal'"/>
-</xsl:call-template>
-
-<!-- loop on author_ids -->
-<xsl:for-each select="$list_author_ids">
-<xsl:sort order="ascending" data-type="text" select="translate(.,'abcdefghijklmnopqrstuvwxyz éèçàùëöñó', 'ABCDEFGHIJKLMNOPQRSTUVWXYZ_EECAUEONO')"/>
-<xsl:variable name="author_id2">
-<xsl:call-template name="surname_id">
- <xsl:with-param name="surname" select="d:personname/d:surname"/>
-</xsl:call-template>
-<xsl:text>_</xsl:text>
-<xsl:call-template name="firstname_id">
- <xsl:with-param name="firstname" select="d:personname/d:firstname"/>
-</xsl:call-template>
-</xsl:variable>
-<xsl:call-template name="one_author_id">
-<xsl:with-param name="author_id" select="$author_id2"/>
-<xsl:with-param name="author_name" select="."/>
-</xsl:call-template>
-</xsl:for-each>
-
-</xsl:template>
-
-<xsl:template match="d:info/d:date"/>
-<xsl:template match="d:bibliography/d:title"/>
-
-<xsl:template name="one_author_id">
-<xsl:param name="author_id"/>
-<xsl:param name="author_name"/>
-
-.. _<xsl:value-of select="$author_id"/>:
-
-<xsl:value-of select="normalize-space($author_name/d:personname/d:firstname)"/><xsl:text> </xsl:text><xsl:value-of select="normalize-space($author_name/d:personname/d:surname)"/>
-+++++++++++++++++++++++++++++++++++++++++++++++
-
-.. |top| image:: ../../images/globalicondl11x10_up.gif
-
-_top:: `ref:`top`
-
-   |top|
-
-   <xsl:for-each select="//d:biblioentry">
-    <xsl:sort order="descending" data-type="number" select="./d:biblioset/d:pubdate"/>
-    <xsl:for-each select="descendant::d:author">
-     <xsl:sort order="ascending" data-type="text" select="./d:personname/d:surname"/>
-     <xsl:sort order="ascending" data-type="text" select="./d:personname/d:firstname"/>
-     <xsl:variable name="author_id2">
-<xsl:call-template name="surname_id">
- <xsl:with-param name="surname" select="d:personname/d:surname"/>
-</xsl:call-template>
-      <xsl:text>_</xsl:text>
-<xsl:call-template name="firstname_id">
- <xsl:with-param name="firstname" select="d:personname/d:firstname"/>
-</xsl:call-template>
-     </xsl:variable>
-
-     <xsl:if test="$author_id2 = $author_id">
-  <xsl:call-template name="one_biblioentry_rest">
-   <xsl:with-param name="visu_modif" select="'visu'"/>
-   <xsl:with-param name="type" select="'raw'"/>
-   <xsl:with-param name="my_biblioentry" select="ancestor::d:biblioentry"/>
-  </xsl:call-template>
-     </xsl:if>
-    </xsl:for-each>
-   </xsl:for-each>
-</xsl:template>
-
-</xsl:stylesheet>
Index: unk/superbib02_txt.xsl
===================================================================
--- /trunk/superbib02_txt.xsl	(revision 355)
+++ 	(revision )
@@ -1,72 +1,0 @@
-<?xml version='1.0' encoding='ISO-8859-1'?>
-<xsl:stylesheet
-xmlns:d="http://docbook.org/ns/docbook"
-xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
-version="1.0">
-
-<!--rst
-
-.. _superbib02_txt.xsl:
-
-==================
-superbib02_txt.xsl 
-==================
-
-DESCRIPTION
-===========
-
-transformation of a DocBook file into a BibTeX file
-
-EXAMPLES
-========
-
-example pour test demo1
-
-.. code-block:: sh
-
-   xsltproc \-\-param makedate "'$(date -u +"%Y-%m-%dT%H:%M:%SZ")'" \
-   \-\-output /tmp/bibdemo1_dbk5.bib \
-   superbib02_txt.xsl data/bibdemo1_dbk5.xml
-   bibopa.sh -p demo1 -i /tmp/bibdemo1_dbk5.bib -t bibtex -l fr
-   diff biblio.xml data/bibdemo1_dbk5.xml
-
-TODO
-====
-
-not finished
-
-EVOLUTIONS
-==========
-
-$Id$
-
-- fplod 2008-05-13T15:12:47Z aedon.locean-ipsl.upmc.fr (Darwin)
-
-  * creation
-
--->
-
-<!--
-<xsl:import href="http://docbook.sourceforge.net/release/xsl/current/xhtml/docbook.xsl"/>
--->
-
-<xsl:output method="text"
-encoding="ISO-8859-1"
-indent="yes"/>
-
-<xsl:include href="biblioentry_xml.xsl"/>
-
-<xsl:template match="d:bibliography">
-<xsl:text>% update </xsl:text><xsl:value-of select="$makedate"/>
-<xsl:text>&#xA;</xsl:text>
-<xsl:for-each select="d:biblioentry">
- <xsl:call-template name="one_biblioentry">
- <xsl:with-param name="visu_modif" select="'visu'"/>
- <xsl:with-param name="type" select="'bibtex'"/>
- <xsl:with-param name="my_biblioentry" select="."/>
-</xsl:call-template>
-<xsl:text>&#xA;</xsl:text>
-
-</xsl:for-each>
-</xsl:template>
-</xsl:stylesheet>
Index: unk/superbib02_xml.xsl
===================================================================
--- /trunk/superbib02_xml.xsl	(revision 355)
+++ 	(revision )
@@ -1,231 +1,0 @@
-<?xml version="1.0" encoding="iso-8859-1"?>
-<xsl:stylesheet
-version="1.0"
-xmlns:d="http://docbook.org/ns/docbook"
-xmlns:xl="http://www.w3.org/1999/xlink"
-xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
-
-<!--rst
-
-.. _superbib02_xml.xsl:
-
-==================
-superbib02_xml.xsl
-==================
-
-produce a DocBook 5 with bibliograhy references sorted by authors
-
-TODO
-====
-
-EVOLUTIONS
-==========
-
-$Id$
-
-- fplod 20110629T135204Z cratos.locean-ipsl.upmc.fr (Linux)
-
-  * authorgroup is found in main.xml
-
-- fplod 2008-09-17T10:40:43Z aedon.locean-ipsl.upmc.fr (Darwin)
-
-  * project name from main.xml file instead of a fixed one
-
-- fplod 2008-04-30T15:02:03Z aedon.locean-ipsl.upmc.fr (Darwin)
-
-  * language inherited from biblio.xml
-
-- fplod 2008-04-29T08:01:08Z aedon.locean-ipsl.upmc.fr (Darwin)
-
-  * chgt for dbk5
-
-- fplod 2007-10-17T07:49:19Z aedon.locean-ipsl.upmc.fr (Darwin)
-
-  * improve sort (diacriticals)
-
-- fplod 2007-05-18T14:31:33Z aedon.locean-ipsl.upmc.fr (Darwin)
-
-  * modif gestion id
-
-- fplod 2007-05-16T15:15:36Z aedon.locean-ipsl.upmc.fr (Darwin)
-
-  * correction pour homonymes partiels
-
-- fplod 2007-05-04T08:17:56Z aedon.locean-ipsl.upmc.fr (Darwin)
-
-  * externalisation de biblioentry
-
-- fplod 2007-04-02T08:53:30Z aedon.locean-ipsl.upmc.fr (Darwin)
-
-  * journal dans biblioset
-
-- fplod 2007-03-30T12:38:34Z aedon.locean-ipsl.upmc.fr (Darwin)
-
-  * creation
-
--->
-
-<xsl:output
- method="xml"
- indent="yes"
- encoding="utf-8"
- omit-xml-declaration="no"/>
-
-<xsl:include href="firstname_id.xsl"/>
-<xsl:include href="surname_id.xsl"/>
-<xsl:include href="table_authors.xsl"/>
-<xsl:include href="biblioentry_xml.xsl"/>
-
-<xsl:variable name="list_author_ids" select="///d:author[not( self::node() = following::d:author )]"/>
-
-<xsl:variable name="project">
- <xsl:value-of select="document('main.xml')//d:keyword[@xml:id='project']"/>
-</xsl:variable>
-
-<xsl:template match="d:bibliography">
-
-<xsl:element name="article">
-<xsl:attribute name="version">5.0</xsl:attribute>
-<xsl:attribute name="xmlns">http://docbook.org/ns/docbook</xsl:attribute>
-<xsl:attribute name="xml:lang"><xsl:value-of select="@xml:lang"/></xsl:attribute>
-<title><xsl:value-of select="$project"/> - Publications - Papers by authors</title>
-<info>
-<authorgroup>
-<xsl:copy-of select="document('main.xml')//d:info/d:authorgroup"/>
-</authorgroup>
-<keywordset>
-<keyword><xsl:value-of select="$project"/></keyword>
-</keywordset>
-<!-- ++ date -->
-</info>
-<para xml:id="top">
- This page intents to provide an exhaustive list of the papers that have used <xsl:value-of select="$project"/> and/or results from them. Obvioulsy many papers are missing. If you find omissions or mistakes please ask some modification via
-<xsl:element name="link">
- <xsl:attribute name="xl:href">
-  <xsl:value-of select="'./main.php'"/>
- </xsl:attribute>
- <xsl:value-of select="document('main.xml')/d:article/d:title"/>
- <xsl:text> main page</xsl:text>
-</xsl:element>.
-</para>
-<para>
-You can also see <quote><xsl:value-of select="$project"/> - Publications - Papers</quote> sorted by
-<xsl:element name="link">
- <xsl:attribute name="xl:href">
-  <xsl:value-of select="'./superbib01.html'"/>
- </xsl:attribute>
-<xsl:text>years</xsl:text>
-</xsl:element>.
-</para>
-
-<xsl:call-template name="para_lastupdate_bib">
- <xsl:with-param name="language" select="@xml:lang"/>
- <xsl:with-param name="date" select="d:info/d:date"/>
- <xsl:with-param name="mode" select="'dbk'"/>
-</xsl:call-template>
-
-<sect1 xml:id="intro">
-<title>Introduction</title>
-<para>
-This document provide bibliography sorted by author's id (<emphasis>SURNAME_f</emphasis>).
-</para>
-
-<xsl:call-template name="table_authors">
-<xsl:with-param name="linktype" select="'internal'"/>
-</xsl:call-template>
-</sect1>
-
-<!-- loop on author_ids -->
-<xsl:for-each select="$list_author_ids">
-<xsl:sort order="ascending" data-type="text" select="translate(.,'abcdefghijklmnopqrstuvwxyz éèçàùëöñó', 'ABCDEFGHIJKLMNOPQRSTUVWXYZ_EECAUEONO')"/>
-<xsl:variable name="author_id2">
-<xsl:call-template name="surname_id">
- <xsl:with-param name="surname" select="d:personname/d:surname"/>
-</xsl:call-template>
-<xsl:text>_</xsl:text>
-<xsl:call-template name="firstname_id">
- <xsl:with-param name="firstname" select="d:personname/d:firstname"/>
-</xsl:call-template>
-</xsl:variable>
-<!--
-<xsl:message terminate="no">
-noeud courant <xsl:value-of select="name(.)"/>
-author <xsl:value-of select="ancestor::d:author"/>
-author_id2 <xsl:value-of select="$author_id2"/>
-</xsl:message>
--->
-<xsl:call-template name="one_author_id">
-<xsl:with-param name="author_id" select="$author_id2"/>
-<xsl:with-param name="author_name" select="."/>
-</xsl:call-template>
-</xsl:for-each>
-
-</xsl:element>
-</xsl:template>
-
-<xsl:template match="d:info/d:date"/>
-<xsl:template match="d:bibliography/d:title"/>
-
-<xsl:template name="one_author_id">
-<xsl:param name="author_id"/>
-<xsl:param name="author_name"/>
-<xsl:element name="sect1">
-<xsl:attribute name="xml:id">
-<xsl:value-of select="$author_id"/>
-</xsl:attribute>
-<xsl:element name="title">
-<xsl:value-of select="normalize-space($author_name/d:personname/d:firstname)"/><xsl:text> </xsl:text><xsl:value-of select="normalize-space($author_name/d:personname/d:surname)"/>
-<xsl:element name="link">
-<xsl:attribute name="xl:href"><xsl:text>#top</xsl:text></xsl:attribute>
-<xsl:element name="inlinemediaobject">
-<xsl:element name="imageobject">
-<xsl:element name="imagedata">
-<xsl:attribute name="fileref">../../images/globalicondl11x10_up.gif</xsl:attribute>
-</xsl:element>
-     </xsl:element>
-     <xsl:element name="textobject">
-      <xsl:element name="phrase">
-       <xsl:text>top</xsl:text>
-      </xsl:element>
-     </xsl:element>
-    </xsl:element>
-   </xsl:element>
-  </xsl:element>
-  <xsl:element name="orderedlist">
-   <xsl:for-each select="//d:biblioentry">
-    <xsl:sort order="descending" data-type="number" select="./d:biblioset/d:pubdate"/>
-    <xsl:for-each select="descendant::d:author">
-     <xsl:sort order="ascending" data-type="text" select="./d:personname/d:surname"/>
-     <xsl:sort order="ascending" data-type="text" select="./d:personname/d:firstname"/>
-     <xsl:variable name="author_id2">
-<xsl:call-template name="surname_id">
- <xsl:with-param name="surname" select="d:personname/d:surname"/>
-</xsl:call-template>
-      <xsl:text>_</xsl:text>
-<xsl:call-template name="firstname_id">
- <xsl:with-param name="firstname" select="d:personname/d:firstname"/>
-</xsl:call-template>
-     </xsl:variable>
-
-<!--
-     <xsl:message terminate="no">
-      ref #<xsl:value-of select="position()"/>
-      _id appel <xsl:value-of select="$author_id"/>
-      _id fabrique <xsl:value-of select="$author_id2"/>
-      egal ? <xsl:value-of select="$author_id2 = $author_id"/>
-     </xsl:message>
--->
-     <xsl:if test="$author_id2 = $author_id">
-  <xsl:call-template name="one_biblioentry">
-   <xsl:with-param name="visu_modif" select="'visu'"/>
-   <xsl:with-param name="type" select="'raw'"/>
-   <xsl:with-param name="my_biblioentry" select="ancestor::d:biblioentry"/>
-  </xsl:call-template>
-     </xsl:if>
-    </xsl:for-each>
-   </xsl:for-each>
-  </xsl:element>
- </xsl:element>
-</xsl:template>
-
-</xsl:stylesheet>
Index: unk/superbib_author.xsl
===================================================================
--- /trunk/superbib_author.xsl	(revision 355)
+++ 	(revision )
@@ -1,77 +1,0 @@
-<?xml version='1.0' encoding='ISO-8859-1'?>
-<xsl:stylesheet
-version="1.0"
-xmlns:d="http://docbook.org/ns/docbook"
-xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
-
-<!--rst
-
-.. _superbib_author.xsl:
-
-===================
-superbib_author.xsl
-===================
-
-DESCRIPTION
-===========
-
-production de la liste d'auteur (nom_prenom)
-
-++ pour l'instant
-
-.. code-block:: bash
-
-   xsltproc superbib_author.xsl biblio.xml | sort -u
-
-TODO
-====
-
-tri unique
-doublon caché ie masson_s et masson_sebastien
-middle name
-
-EVOLUTIONS
-==========
-
-$Id$
-
-- fplod 2008-04-30T06:53:06Z aedon.locean-ipsl.upmc.fr (Darwin)
-
-  * chgt for dbk5 in
-
-- fplod 2007-04-03T13:10:11Z aedon.locean-ipsl.upmc.fr (Darwin)
-
-  * creation
-
--->
-
-<xsl:output
- method="text"/>
-
-<xsl:template match="d:bibliography">
- <xsl:apply-templates select="descendant::d:author"/>
-</xsl:template>
-
-<xsl:template name="author">
-<!-- ++ middle name -->
-   <xsl:variable name="lowersurname">
-   <xsl:value-of select="translate(d:surname,'ABCDEFGHIJKLMNOPQRSTUVWXYZ','abcdefghijklmnopqrstuvwxyz')"/>
-   </xsl:variable>
-   <xsl:variable name="lowerfirstname">
-   <xsl:value-of select="translate(d:firstname,'ABCDEFGHIJKLMNOPQRSTUVWXYZ','abcdefghijklmnopqrstuvwxyz')"/>
-   </xsl:variable>
-   <xsl:variable name="lowerfirstnamenob">
-    <xsl:value-of select="translate($lowerfirstname,' ','_')"/>
-   </xsl:variable>
-   <xsl:variable name="lowerfirstnamenobnod">
-    <xsl:value-of select="translate($lowerfirstnamenob,'.','')"/>
-   </xsl:variable>
-   <xsl:variable name="id_author">
-<xsl:value-of select='concat($lowersurname,"_")'/>
-<xsl:value-of select='$lowerfirstnamenobnod'/>
-   </xsl:variable>
-<xsl:value-of select='$id_author'/>
-</xsl:template>
-
-</xsl:stylesheet>
-
Index: unk/superbib_pdf.xsl
===================================================================
--- /trunk/superbib_pdf.xsl	(revision 355)
+++ 	(revision )
@@ -1,45 +1,0 @@
-<?xml version='1.0' encoding='ISO-8859-1'?>
-<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
-
-<!--rst
-
-.. _superbib_pdf.xsl:
-
-================
-superbib_pdf.xsl
-================
-
-DESCRIPTION
-===========
-
-transformation docbook en un pdf
-
-EVOLUTIONS
-==========
-
-$Id$
-
-- fplod 2007-04-03T12:53:38Z aedon.locean-ipsl.upmc.fr (Darwin)
-
-  * création
-    d'après http://dblatex.sourceforge.net/doc/sec-custom.html
-
--->
-
-<xsl:include href="titlepage.superbib.xsl"/>
-
-<xsl:template match="*" mode="book.titlepage.mode"/>
-<!-- ++
-<xsl:param name="toc.section.depth" select="3"/>
-<xsl:param name="section.autolabel" select="1"/>
--->
-<!-- ++ pas pris en compte -->
-<xsl:param name="generate.toc">
-article nop
-</xsl:param>
-<xsl:param name="section.autolabel" select="0"/>
-
-<xsl:param name="latex.hyperparam">colorlinks,linkcolor=blue</xsl:param>
-<xsl:param name="latex.class.options">a4paper,14pt,twoside,openright</xsl:param><!-- ++ pas pris en compte -->
-
-</xsl:stylesheet>
Index: unk/superbibmany01_html.xsl
===================================================================
--- /trunk/superbibmany01_html.xsl	(revision 355)
+++ 	(revision )
@@ -1,83 +1,0 @@
-<?xml version='1.0' encoding='ISO-8859-1'?>
-<xsl:stylesheet
-xmlns:d="http://docbook.org/ns/docbook"
-xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
-version="1.0">
-
-<!--rst
-
-.. _superbibmany01_html.xsl:
-
-=======================
-superbibmany01_html.xsl
-=======================
-
-transformation docbook en plusieurs html
-
-EVOLUTIONS
-==========
-
-$Id$
-
-- fplod 2008-09-17T10:23:44Z aedon.locean-ipsl.upmc.fr (Darwin)
-
-  * add a link to project homepage at the bottom of the page
-
-- fplod 2007-05-04T09:05:49Z aedon.locean-ipsl.upmc.fr (Darwin)
-
-  * création à partir de bibnemomaf02_html.xsl mais user.footer.navigation
-    au lieu de user.footer.content
-
--->
-
-<xsl:import href="http://docbook.sourceforge.net/release/xsl/current/xhtml/chunk.xsl"/>
-
-<xsl:output method="xml"
-encoding="utf-8"
-indent="yes"
-omit-xml-declaration="no"
-doctype-public="-//W3C//DTD XHTML 1.0 Strict//EN"
-doctype-system="http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"/>
-
-<xsl:include href="message_lang.xsl"/>
-<xsl:include href="titlepage.superbib.xsl"/>
-
-<xsl:template match="*" mode="book.titlepage.mode"/>
-<xsl:param name="generate.toc">
-article nop
-</xsl:param>
-<xsl:param name="section.autolabel" select="0"/>
-<xsl:param name="css.decoration" select="0"/>
-<xsl:param name="chunk.section.depth" select="1"/>
-<xsl:param name="use.id.as.filename" select="1"/>
-<xsl:param name="chunker.output.doctype-public">"-//W3C//DTD XHTML 1.0 Strict//EN"</xsl:param>
-<xsl:param name="chunker.output.omit-xml-declaration">no</xsl:param>
-<xsl:param name="chunker.output.encoding">utf-8</xsl:param>
-<xsl:param name="chunker.output.indent">yes</xsl:param>
-<xsl:param name="doctype-system">"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"</xsl:param>
-
-<!--
-Personalisation de bas de page
--->
-<xsl:template name="user.footer.navigation">
- <xsl:call-template name="para_lastupdate">
-  <xsl:with-param name="language" select="/article/@xml:lang"/>
-  <xsl:with-param name="date" select="$makedate"/>
-  <xsl:with-param name="mode" select="'html'"/>
- </xsl:call-template>
- <hr/>
- <para>
- <xsl:call-template name="back">
-  <xsl:with-param name="language" select="/article/@xml:lang"/>
- </xsl:call-template>
- <xsl:text> </xsl:text>
-  <xsl:element name="a">
-  <xsl:attribute name="href">
-   <xsl:value-of select="document('main.xml')//d:bibliosource[@xml:id='homepage'
-]"/>
-  </xsl:attribute>
-  <xsl:value-of select="document('main.xml')//d:keyword[@xml:id='project']"/> home page
-  </xsl:element>
-  </para>
-</xsl:template>
-</xsl:stylesheet>
Index: unk/superbibmany01_xml.xsl
===================================================================
--- /trunk/superbibmany01_xml.xsl	(revision 355)
+++ 	(revision )
@@ -1,218 +1,0 @@
-<?xml version="1.0" encoding="iso-8859-1"?>
-<xsl:stylesheet
-xmlns:d="http://docbook.org/ns/docbook"
-xmlns:xl="http://www.w3.org/1999/xlink"
-xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
-version="1.0">
-
-<!--rst
-
-.. _superbibmany01_xml.xsl:
-
-======================
-superbibmany01_xml.xsl
-======================
-
-produce one DocBook 5 with bibliograhy references of one author in each
-
-DESCRIPTION
-===========
-
-produce one DocBook 5 with bibliograhy references of one author in each
-
-this DocBook will be chuncked for html output
-
-TODO
-====
-
-EVOLUTIONS
-==========
-
-$Id$
-
-- fplod 20110629T135204Z cratos.locean-ipsl.upmc.fr (Linux)
-
-  * authorgroup is found in main.xml
-
-- fplod 2008-09-17T09:49:51Z aedon.locean-ipsl.upmc.fr (Darwin)
-
-  * project name from main.xml file instead of a fixed one
-
-- fplod 2008-04-30T14:52:20Z aedon.locean-ipsl.upmc.fr (Darwin)
-
-  * language inherited from biblio.xml
-
-- fplod 2008-04-29T15:57:17Z aedon.locean-ipsl.upmc.fr (Darwin)
-
-  * chgt for dbk5 in
-
-- fplod 2008-04-29T08:20:09Z aedon.locean-ipsl.upmc.fr (Darwin)
-
-  * chgt for dbk5 out
-
-- fplod 2007-10-17T08:03:44Z aedon.locean-ipsl.upmc.fr (Darwin)
-
-  * improve sort (diacriticals)
-
-- fplod 2007-05-18T14:57:52Z aedon.locean-ipsl.upmc.fr (Darwin)
-
-  * modif gestion id
-
-- fplod 2007-05-16T15:19:57Z aedon.locean-ipsl.upmc.fr (Darwin)
-
-  * correction pour homonymes partiels
-
-- fplod 2007-05-04T09:23:05Z aedon.locean-ipsl.upmc.fr (Darwin)
-
-  * création à partir de bibnemomaf02_xml.xsl mais liens externes
-
--->
-
-<xsl:output
- method="xml"
- indent="yes"
- omit-xml-declaration="no"/>
-
-<xsl:include href="firstname_id.xsl"/>
-<xsl:include href="surname_id.xsl"/>
-<xsl:include href="table_authors.xsl"/>
-<xsl:include href="biblioentry_xml.xsl"/>
-
-<xsl:variable name="list_author_ids" select="///d:author[not( self::node() = following::d:author )]"/>
-<xsl:variable name="project">
- <xsl:value-of select="document('main.xml')//d:keyword[@xml:id='project']"/>
-</xsl:variable>
-
-<xsl:template match="d:bibliography">
-
-<xsl:element name="article">
-<xsl:attribute name="version">5.0</xsl:attribute>
-<xsl:attribute name="xmlns">http://docbook.org/ns/docbook</xsl:attribute>
-<xsl:attribute name="xml:lang"><xsl:value-of select="@xml:lang"/></xsl:attribute>
-<title><xsl:value-of select="$project"/> - Publications - Papers by authors</title>
-<info>
-<authorgroup>
-<xsl:copy-of select="document('main.xml')//d:info/d:authorgroup"/>
-</authorgroup>
-<keywordset>
-<keyword><xsl:value-of select="$project"/></keyword>
-</keywordset>
-<!-- ++ date -->
-</info>
-<para>
- This page intents to provide an exhaustive list of the papers that have used <xsl:value-of select="$project"/> and/or results from them. Obvioulsy many papers are missing. If you find omissions or mistakes please ask some modification via
-<xsl:element name="link">
- <xsl:attribute name="xl:href">
-  <xsl:value-of select="'../../one/main.php'"/>
- </xsl:attribute>
- <xsl:value-of select="document('main.xml')/d:article/d:title"/>
- <xsl:text> main page</xsl:text>
-</xsl:element>.
-</para>
-<para>
-You can also see <quote><xsl:value-of select="$project"/> - Publications - Papers</quote> sorted by
-<xsl:element name="link">
- <xsl:attribute name="xl:href">
-  <xsl:value-of select="'../../one/superbib01.html'"/>
- </xsl:attribute>
-<xsl:text>years</xsl:text>
-</xsl:element>.
-</para>
-<xsl:call-template name="para_lastupdate_bib">
- <xsl:with-param name="language" select="@xml:lang"/>
- <xsl:with-param name="date" select="d:info/d:date"/>
-</xsl:call-template>
-
-<sect1 xml:id="intro">
-<title>Introduction</title>
-<para>
-This document provide bibliography sorted by author's id (<emphasis>SURNAME_f</emphasis>).
-</para>
-
-<xsl:call-template name="table_authors">
-<xsl:with-param name="linktype" select="'external'"/>
-</xsl:call-template>
-</sect1>
-
-<!-- loop on author_ids -->
-<xsl:for-each select="$list_author_ids">
-<xsl:sort order="ascending" data-type="text" select="translate(.,'abcdefghijklmnopqrstuvwxyz éèçàùëöñó', 'ABCDEFGHIJKLMNOPQRSTUVWXYZ_EECAUEONO')"/>
-<xsl:variable name="author_id2">
-<xsl:call-template name="surname_id">
- <xsl:with-param name="surname" select="d:personname/d:surname"/>
-</xsl:call-template>
-<xsl:text>_</xsl:text>
-<xsl:call-template name="firstname_id">
- <xsl:with-param name="firstname" select="d:personname/d:firstname"/>
-</xsl:call-template>
-</xsl:variable>
-<!--
-<xsl:message terminate="no">
-noeud courant <xsl:value-of select="name(.)"/>
-author <xsl:value-of select="."/>
-author_id2 <xsl:value-of select="$author_id2"/>
-</xsl:message>
--->
-<xsl:call-template name="one_author_id">
-<xsl:with-param name="author_id" select="$author_id2"/>
-<xsl:with-param name="author_name" select="."/>
-</xsl:call-template>
-</xsl:for-each>
-
-</xsl:element>
-</xsl:template>
-
-<xsl:template match="d:info/d:date"/>
-<xsl:template match="d:bibliography/d:title"/>
-
-<xsl:template name="one_author_id">
-<xsl:param name="author_id"/>
-<xsl:param name="author_name"/>
-<xsl:element name="sect1">
-<xsl:attribute name="xml:id">
-<xsl:value-of select="$author_id"/>
-</xsl:attribute>
-<xsl:element name="title">
-<xsl:value-of select="normalize-space($author_name/d:personname/d:firstname)"/><xsl:text> </xsl:text><xsl:value-of select="normalize-space($author_name/d:personname/d:surname)"/>
-</xsl:element>
-  <xsl:element name="orderedlist">
-  <!--
-    <xsl:for-each select="/descendant::d:biblioentry[descendant::d:author=$author_name]">
-  -->
-   <xsl:for-each select="//d:biblioentry">
-    <xsl:sort order="descending" data-type="number" select="./d:biblioset/d:pubdate"/>
-
-    <xsl:for-each select="descendant::d:author">
-     <xsl:sort order="ascending" data-type="text" select="translate(./d:personname,'abcdefghijklmnopqrstuvwxyz éèçàùëöñó', 'ABCDEFGHIJKLMNOPQRSTUVWXYZ_EECAUEONO')"/>
-     <xsl:variable name="author_id2">
-<xsl:call-template name="surname_id">
- <xsl:with-param name="surname" select="d:personname/d:surname"/>
-</xsl:call-template>
-<xsl:text>_</xsl:text>
-<xsl:call-template name="firstname_id">
- <xsl:with-param name="firstname" select="d:personname/d:firstname"/>
-</xsl:call-template>
-     </xsl:variable>
-
-<!--
-     <xsl:message terminate="no">
-      ref #<xsl:value-of select="position()"/>
-      _id appel <xsl:value-of select="$author_id"/>
-      _id fabrique <xsl:value-of select="$author_id2"/>
-      egal ? <xsl:value-of select="$author_id2 = $author_id"/>
-     </xsl:message>
--->
-     <xsl:if test="$author_id2 = $author_id">
-  <xsl:call-template name="one_biblioentry">
-   <xsl:with-param name="visu_modif" select="'visu'"/>
-   <xsl:with-param name="type" select="'raw'"/>
-   <xsl:with-param name="my_biblioentry" select="ancestor::d:biblioentry"/>
-  </xsl:call-template>
-     </xsl:if>
-    </xsl:for-each>
-   </xsl:for-each>
-  </xsl:element>
- </xsl:element>
-</xsl:template>
-
-</xsl:stylesheet>
Index: unk/superbibmany02_html.xsl
===================================================================
--- /trunk/superbibmany02_html.xsl	(revision 355)
+++ 	(revision )
@@ -1,78 +1,0 @@
-<?xml version='1.0' encoding='ISO-8859-1'?>
-<xsl:stylesheet
-xmlns:d="http://docbook.org/ns/docbook"
-xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
-version="1.0">
-
-<!--rst
-
-.. _superbibmany02_html.xsl:
-
-=======================
-superbibmany02_html.xsl
-=======================
-
-transformation docbook en plusieurs html avec formulaire
-
-EVOLUTIONS
-==========
-
-$Id$
-
-- fplod 2008-09-17T10:23:44Z aedon.locean-ipsl.upmc.fr (Darwin)
-
-  * add a link to project homepage at the bottom of the page
-
-- fplod 2007-04-06T10:30:31Z aedon.locean-ipsl.upmc.fr (Darwin)
-
-  * création
-
--->
-
-<xsl:import href="http://docbook.sourceforge.net/release/xsl/current/xhtml/chunk.xsl"/>
-
-<xsl:include href="titlepage.superbib.xsl"/>
-<xsl:include href="message_lang.xsl"/>
-
-<xsl:include href="form_html.xsl"/>
-
-<xsl:template match="*" mode="book.titlepage.mode"/>
-<xsl:param name="generate.toc">
-article nop
-</xsl:param>
-<xsl:param name="section.autolabel" select="0"/>
-<xsl:param name="css.decoration" select="0"/>
-<xsl:param name="chunk.section.depth" select="1"/>
-<xsl:param name="use.id.as.filename" select="1"/>
-<xsl:param name="chunker.output.doctype-public">"-//W3C//DTD XHTML 1.0 Strict//EN"</xsl:param>
-<xsl:param name="chunker.output.omit-xml-declaration">yes</xsl:param> <!-- parce que .php -->
-<xsl:param name="chunker.output.encoding">utf-8</xsl:param>
-<xsl:param name="chunker.output.indent">yes</xsl:param>
-<xsl:param name="doctype-system">"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"</xsl:param>
-
-<!--
-Personalisation de bas de page
--->
-<xsl:template name="user.footer.navigation">
- <xsl:call-template name="para_lastupdate">
-  <xsl:with-param name="language" select="/article/@xml:lang"/>
-  <xsl:with-param name="date" select="$makedate"/>
-  <xsl:with-param name="mode" select="'html'"/>
- </xsl:call-template>
- <hr/>
- <para>
- <xsl:call-template name="back">
-  <xsl:with-param name="language" select="/article/@xml:lang"/>
- </xsl:call-template>
- <xsl:text> </xsl:text>
- <xsl:element name="a">
-  <xsl:attribute name="href">
-   <xsl:value-of select="document('main.xml')//d:bibliosource[@xml:id='homepage']"/>
-  </xsl:attribute>
-  <xsl:value-of select="document('main.xml')//d:keyword[@xml:id='project']"/> home page
-  </xsl:element>
-  </para>
-
-</xsl:template>
-
-</xsl:stylesheet>
Index: unk/superbibmany02_xml.xsl
===================================================================
--- /trunk/superbibmany02_xml.xsl	(revision 355)
+++ 	(revision )
@@ -1,201 +1,0 @@
-<?xml version="1.0" encoding="iso-8859-1"?>
-<xsl:stylesheet
-xmlns:d="http://docbook.org/ns/docbook"
-xmlns:xl="http://www.w3.org/1999/xlink"
-xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
-version="1.0">
-
-<!--rst
-
-.. _superbibmany02_xml.xsl:
-
-======================
-superbibmany02_xml.xsl
-======================
-
-DESCRIPTION
-===========
-
-produce one DocBook 5 with a form containing bibliograhy references and general
-information of one author/user
-
-this DocBook will be chuncked for html output
-
-TODO
-====
-
-EVOLUTIONS
-==========
-
-$Id$
-
-- fplod 20110629T135204Z cratos.locean-ipsl.upmc.fr (Linux)
-
-  * authorgroup is found in main.xml
-
-- fplod 2008-09-17T10:40:43Z aedon.locean-ipsl.upmc.fr (Darwin)
-
-  * project name from main.xml file instead of a fixed one
-
-- fplod 2008-04-30T14:52:55Z aedon.locean-ipsl.upmc.fr (Darwin)
-
-  * language inherited from biblio.xml
-
-- fplod 2008-04-30T06:44:31Z aedon.locean-ipsl.upmc.fr (Darwin)
-
-  * chgt for dbk5 in
-
-- fplod 2007-10-17T08:06:40Z aedon.locean-ipsl.upmc.fr (Darwin)
-
-  * improve sort (diacriticals)
-
-- fplod 2007-05-18T14:59:29Z aedon.locean-ipsl.upmc.fr (Darwin)
-
-  * modif gestion id
-
-- fplod 2007-05-16T15:28:56Z aedon.locean-ipsl.upmc.fr (Darwin)
-
-  * correction pour homonymes partiels
-
-- fplod 2007-05-15T15:07:37Z aedon.locean-ipsl.upmc.fr (Darwin)
-
-  * modification to see user/userid="template" information if author_id
-    doesn't exit in users datafile
-
-- fplod 2007-04-16T08:10:06Z aedon.locean-ipsl.upmc.fr (Darwin)
-
-  * creation
-
--->
-
-<xsl:output
- method="xml"
- indent="yes"
- encoding="ISO-8859-1"
- omit-xml-declaration="yes"/>
-
-<xsl:include href="firstname_id.xsl"/>
-<xsl:include href="surname_id.xsl"/>
-<xsl:include href="table_authors.xsl"/>
-<xsl:include href="form_db.xsl"/>
-
-<xsl:variable name="list_author_ids" select="///d:author[not( self::node() = following::d:author )]"/>
-
-<xsl:variable name="project">
- <xsl:value-of select="document('main.xml')//d:keyword[@xml:id='project']"/>
-</xsl:variable>
-
-<xsl:template match="d:bibliography">
-
-<xsl:element name="article">
-<xsl:attribute name="version">5.0</xsl:attribute>
-<xsl:attribute name="xmlns">http://docbook.org/ns/docbook</xsl:attribute>
-<xsl:attribute name="xml:lang"><xsl:value-of select="@xml:lang"/></xsl:attribute>
-<title><xsl:value-of select="$project"/> - Known users</title>
-<info>
-<authorgroup>
-<xsl:copy-of select="document('main.xml')//d:info/d:authorgroup"/>
-</authorgroup>
-<keywordset>
-<keyword><xsl:value-of select="$project"/></keyword>
-</keywordset>
-<!-- ++ date -->
-</info>
-<sect1 xml:id="intro">
-<title>Intro</title>
- <xsl:element name="para">
-These pages intent to provide an form for every known user of <xsl:value-of select="$project"/> with bibliography and information.
- </xsl:element>
-<xsl:element name="para">
-   The mail sent by filling these forms will be used to update
-<link xl:href="../../one/main.php"><xsl:value-of select="$project"/>-Publications-Papers</link>
-and <link xl:href="../../one/user.html"><xsl:value-of select="$project"/> Users</link>.
-</xsl:element>
-
-<xsl:call-template name="para_lastupdate_bib">
- <xsl:with-param name="language" select="@xml:lang"/>
- <xsl:with-param name="date" select="d:info/d:date"/>
- <xsl:with-param name="mode" select="'dbk'"/>
-</xsl:call-template>
-
-<xsl:call-template name="para_lastupdate_user">
- <xsl:with-param name="language" select="@xml:lang"/>
- <xsl:with-param name="date" select="document('user.xml')/users/date"/>
- <xsl:with-param name="mode" select="'dbk'"/>
-</xsl:call-template>
-
-<xsl:call-template name="table_authors">
- <xsl:with-param name="linktype" select="'external'"/>
-</xsl:call-template>
-
-</sect1>
-
-<!-- loop on author_ids -->
-<xsl:for-each select="$list_author_ids">
- <xsl:sort order="ascending" data-type="text" select="translate(.,'abcdefghijklmnopqrstuvwxyz éèçàùëöñó', 'ABCDEFGHIJKLMNOPQRSTUVWXYZ_EECAUEONO')"/>
- <xsl:variable name="author_id2">
-<xsl:call-template name="surname_id">
- <xsl:with-param name="surname" select="d:personname/d:surname"/>
-</xsl:call-template>
-<xsl:text>_</xsl:text>
-<xsl:call-template name="firstname_id">
- <xsl:with-param name="firstname" select="d:personname/d:firstname"/>
-</xsl:call-template>
-</xsl:variable>
-<!--
-<xsl:message terminate="no">
- noeud courant <xsl:value-of select="name(.)"/>
- author <xsl:value-of select="."/>
- author_id2 <xsl:value-of select="$author_id2"/>
-</xsl:message>
--->
- <xsl:call-template name="one_author_id">
-  <xsl:with-param name="author_id" select="$author_id2"/>
-  <xsl:with-param name="author_name" select="."/>
- </xsl:call-template>
-</xsl:for-each>
-
-</xsl:element>
-</xsl:template>
-
-<xsl:template match="d:info/d:date"/>
-<xsl:template match="d:bibliography/d:title"/>
-
-<xsl:template name="one_author_id">
- <xsl:param name="author_id"/>
- <xsl:param name="author_name"/>
- <xsl:element name="sect1">
-  <xsl:attribute name="xml:id">
-   <xsl:value-of select="$author_id"/>
-  </xsl:attribute>
-  <xsl:element name="title">
-<xsl:value-of select="normalize-space($author_name/d:personname/d:firstname)"/><xsl:text> </xsl:text><xsl:value-of select="normalize-space($author_name/d:personname/d:surname)"/>
-  </xsl:element>
-  <xsl:element name="para">
-   The mail sent by filling this form will be used to update
-<link xl:href="../../one/main.php"><xsl:value-of select="$project"/> Publications-Papers</link>
-and <link xl:href="../../one/user.html"><xsl:value-of select="$project"/> Users</link>.
-  </xsl:element>
-
-  <xsl:choose>
-   <xsl:when test="document('user.xml')/users/user[descendant::userid=$author_id]/userid = $author_id">
-    <xsl:call-template name="form_db">
-     <xsl:with-param name="author_id" select="$author_id"/>
-     <xsl:with-param name="user" select="document('user.xml')/users/user[descendant::userid=$author_id]"/>
-     <xsl:with-param name="visu_modif" select="'modif'"/>
-     <xsl:with-param name="bibmode" select="'yes'"/>
-    </xsl:call-template>
-   </xsl:when>
-   <xsl:otherwise>
-    <xsl:call-template name="form_db">
-     <xsl:with-param name="author_id" select="$author_id"/>
-     <xsl:with-param name="user" select="document('user.xml')/users/user[descendant::userid='template']"/>
-     <xsl:with-param name="visu_modif" select="'modif'"/>
-     <xsl:with-param name="bibmode" select="'yes'"/>
-    </xsl:call-template>
-   </xsl:otherwise>
-  </xsl:choose>
- </xsl:element>
-</xsl:template>
-
-</xsl:stylesheet>
Index: unk/surname_id.xsl
===================================================================
--- /trunk/surname_id.xsl	(revision 355)
+++ 	(revision )
@@ -1,53 +1,0 @@
-<?xml version="1.0" encoding="iso-8859-1"?>
-<xsl:stylesheet
-version="1.0"
-xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
-
-<!--rst
-
-.. _surname_id.xsl:
-
-==============
-surname_id.xsl
-==============
-
-DESCRIPTION
-===========
-
-génération de la partie "nom" de l'id
-
-EVOLUTIONS
-==========
-
-$Id$
-
-- fplod 2008-05-05T12:13:12Z aedon.locean-ipsl.upmc.fr (Darwin)
-
-  * simplification and replace single quote by underscore
-
-- fplod 2007-05-18T13:03:39Z aedon.locean-ipsl.upmc.fr (Darwin)
-
-  * creation
-    cf http://www.dpawson.co.uk/xsl/sect2/N7998.html
-    There's a trick to this::
-
-       translate($x, translate($x, 'abcde', ''), '')
-
-    will remove all characters except a,b,c,d, and e from your string $x.
-    et String split into elements dans http://www.dpawson.co.uk/xsl/sect2/N7240.html
-    http://www.dpawson.co.uk/xsl/sect2/N7240.html
-    cf. http://www.dpawson.co.uk/xsl/sect2/N7240.html CRLF to BR
-
--->
-
-<xsl:template name="surname_id">
- <xsl:param name="surname"/>
-  <xsl:variable name="surname1">
-   <xsl:variable name="single-quote">'</xsl:variable>
-   <xsl:variable name="underscore">_</xsl:variable>
-   <xsl:value-of select="translate($surname,$single-quote,$underscore)"/>
-  </xsl:variable>
-  <xsl:value-of select="translate($surname1, 'abcdefghijklmnopqrstuvwxyz éèçàùëöñó', 'ABCDEFGHIJKLMNOPQRSTUVWXYZ_EECAUEONO')"/>
-
-</xsl:template>
-</xsl:stylesheet>
Index: unk/table_authors.xsl
===================================================================
--- /trunk/table_authors.xsl	(revision 355)
+++ 	(revision )
@@ -1,148 +1,0 @@
-<?xml version="1.0" encoding="iso-8859-1"?>
-<xsl:stylesheet
-version="1.0"
-xmlns:d="http://docbook.org/ns/docbook"
-xmlns:xl="http://www.w3.org/1999/xlink"
-xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
-
-<!--rst
-
-.. _table_authors.xsl:
-
-=================
-table_authors.xsl
-=================
-
-DESCRIPTION
-===========
-
-creation of a table with every author with an associated external or internal link
-
-EVOLUTIONS
-==========
-
-$Id$
-
-- fplod 2008-05-16T13:38:07Z aedon.locean-ipsl.upmc.fr (Darwin)
-
-  * handling less than 8 different authors
-
-- fplod 2008-04-29T15:45:13Z aedon.locean-ipsl.upmc.fr (Darwin)
-
-  * chgt for dbk5 in
-
-- fplod 2008-04-29T08:04:57Z aedon.locean-ipsl.upmc.fr (Darwin)
-
-  * chgt for dbk5 out
-
-- fplod 2007-10-17T07:48:19Z aedon.locean-ipsl.upmc.fr (Darwin)
-
-  * improve sort (diacriticals)
-
-- fplod 2007-05-18T14:40:38Z aedon.locean-ipsl.upmc.fr (Darwin)
-
-  * modif gestion des id
-
-- fplod 2007-05-16T15:01:39Z aedon.locean-ipsl.upmc.fr (Darwin)
-
-  * correction pour homonymes partiels
-
-- fplod 2007-04-18T13:32:33Z aedon.locean-ipsl.upmc.fr (Darwin)
-
-  * creation
-
--->
-
-<xsl:output
- method="xml"
- indent="yes"
- omit-xml-declaration="no"/>
-
-<xsl:template name="table_authors">
-<xsl:param name="linktype"/>
-<!--
-creation of an informatable of 8 cols max
-each entry of the table is a link #SURNAME_f
--->
-
-<xsl:variable name="nb_auth"
-              select="count(///d:author[not( self::node() = following::d:author )])"/>
-
-<xsl:variable name="nb_cols_max" select="8"/>
-
-<xsl:variable name="nb_cols">
-<xsl:choose>
- <xsl:when test="($nb_auth > $nb_cols_max)">
-  <xsl:value-of select="$nb_cols_max"/>
- </xsl:when>
- <xsl:otherwise>
-  <xsl:value-of select="$nb_auth"/>
- </xsl:otherwise>
-</xsl:choose>
-</xsl:variable>
-
-<xsl:element name="informaltable">
- <xsl:attribute name="xml:id">author_ids</xsl:attribute>
- <xsl:attribute name="summary">author_ids of publications</xsl:attribute>
- <xsl:attribute name="width">80%</xsl:attribute>
- <xsl:element name="tgroup">
-  <xsl:attribute name="cols"><xsl:value-of select="$nb_cols"/></xsl:attribute>
-  <xsl:attribute name="align">center</xsl:attribute>
-  <xsl:attribute name="colsep">1</xsl:attribute>
-  <xsl:attribute name="rowsep">1</xsl:attribute>
-  <xsl:element name="tbody">
-   <xsl:for-each select="///d:author[not( self::node() = following::d:author )]">
-    <xsl:sort order="ascending" data-type="text" select="translate(.,'abcdefghijklmnopqrstuvwxyz éèçàùëöñó', 'ABCDEFGHIJKLMNOPQRSTUVWXYZ_EECAUEONO')"/>
-    <xsl:if test="position() = 1 or position() mod $nb_cols = 1">
-     <xsl:text>&#xA;</xsl:text>
-     <xsl:comment> début de row <xsl:value-of select="position()"/></xsl:comment>
-      <xsl:text disable-output-escaping="yes">
-      <![CDATA[
-<row>
-]]>
-     </xsl:text>
-    </xsl:if>
-    <xsl:text>&#xA;</xsl:text>
-    <xsl:element name="entry">
-     <xsl:variable name="author_id">
-<xsl:call-template name="surname_id">
- <xsl:with-param name="surname" select="d:personname/d:surname"/>
-</xsl:call-template>
-<xsl:text>_</xsl:text>
-<xsl:call-template name="firstname_id">
- <xsl:with-param name="firstname" select="d:personname/d:firstname"/>
-</xsl:call-template>
-     </xsl:variable>
-     <xsl:text>&#xA;</xsl:text>
-     <xsl:element name="link">
-      <xsl:choose>
-       <xsl:when test="$linktype='internal'">
-        <xsl:attribute name="xl:href"><xsl:text>#</xsl:text><xsl:value-of select="$author_id"/></xsl:attribute>
-       </xsl:when>
-       <xsl:when test="$linktype='external'">
-        <xsl:attribute name="xl:href"><xsl:value-of select="concat($author_id,$html.ext)"/></xsl:attribute>
-       </xsl:when>
-       <xsl:otherwise>
-        <xsl:message terminate="yes">
-eee : unknown linktype = <xsl:value-of select="$linktype"/>
-        </xsl:message>
-       </xsl:otherwise>
-      </xsl:choose>
-<xsl:value-of select="normalize-space(d:personname/d:firstname)"/><xsl:text> </xsl:text><xsl:value-of select="normalize-space(d:personname/d:surname)"/>
-     </xsl:element>
-    </xsl:element>
-    <xsl:if test="position() mod $nb_cols = 0 or position()=last()">
-     <xsl:text>&#xA;</xsl:text>
-     <xsl:comment> fin de row <xsl:value-of select="position()"/></xsl:comment>
-     <xsl:text disable-output-escaping="yes">
-     <![CDATA[
-</row>
-]]>
-     </xsl:text>
-    </xsl:if>
-   </xsl:for-each>
-  </xsl:element>
- </xsl:element>
-</xsl:element>
-</xsl:template>
-</xsl:stylesheet>
Index: unk/template_db.xsl
===================================================================
--- /trunk/template_db.xsl	(revision 355)
+++ 	(revision )
@@ -1,134 +1,0 @@
-<?xml version="1.0" encoding="iso-8859-1"?>
-<xsl:stylesheet
-version="1.0"
-xmlns:html="http://www.w3.org/1999/xhtml"
-xmlns:d="http://docbook.org/ns/docbook"
-xmlns:xl="http://www.w3.org/1999/xlink"
-xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
-
-<!--rst
-
-.. _template_db.xsl:
-
-===============
-template_db.xsl
-===============
-
-création du prototype de formulaire utilisateur
-
-TODO
-====
-
-EVOLUTIONS
-==========
-
-$Id$
-
-- fplod 20110629T135204Z cratos.locean-ipsl.upmc.fr (Linux)
-
-  * authorgroup is found in main.xml
-
-- fplod 2008-09-17T09:49:51Z aedon.locean-ipsl.upmc.fr (Darwin)
-
-  * project name from main.xml file instead of a fixed one
-
-- fplod 2008-04-30T13:30:47Z aedon.locean-ipsl.upmc.fr (Darwin)
-
-  * language inherited from biblio.xml
-
-- fplod 2008-04-29T10:28:37Z aedon.locean-ipsl.upmc.fr (Darwin)
-
-  * chgt for dbk5
-
-- fplod 2007-04-26T09:31:32Z aedon.locean-ipsl.upmc.fr (Darwin)
-
-  * creation
-
--->
-
-<xsl:output
- method="xml"
- indent="yes"
- encoding="ISO-8859-1"
- omit-xml-declaration="no"/>
-
-<xsl:include href="form_db.xsl"/>
-
-<xsl:template match="users">
-
- <xsl:apply-templates select="user[child::userid='template']"/>
-</xsl:template>
-
-<xsl:template match="user[child::userid='template']">
-<xsl:variable name="project">
- <xsl:value-of select="document('main.xml')//d:keyword[@xml:id='project']"/>
-</xsl:variable>
-
-<xsl:element name="article">
-<xsl:attribute name="version">5.0</xsl:attribute>
-<xsl:attribute name="xmlns">http://docbook.org/ns/docbook</xsl:attribute>
-<xsl:attribute name="xml:lang"><xsl:value-of select="/d:bibliography/@xml:lang"/></xsl:attribute>
-<xsl:attribute name="xml:id">template_form</xsl:attribute>
-
- <title><xsl:value-of select="$project"/> - Template</title>
-<info>
-<authorgroup>
-<xsl:copy-of select="document('main.xml')//d:info/d:authorgroup"/>
-</authorgroup>
-<keywordset>
-<keyword><xsl:value-of select="$project"/></keyword>
-</keywordset>
-<!-- ++ date -->
-</info>
- <xsl:text>&#xA;</xsl:text>
-
- <xsl:comment>
-  template form from template userid in user.xml.
-<xsl:call-template name="para_lastupdate_user">
- <xsl:with-param name="language" select="document('biblio.xml')/d:bibliography/@xml:lang"/>
-
- <xsl:with-param name="date" select="ancestor::users/child::date"/>
-</xsl:call-template>
- </xsl:comment>
-
- <xsl:text>&#xA;</xsl:text>
- <xsl:element name="sect1">
-  <xsl:attribute name="xml:id">intro</xsl:attribute>
-  <title>Context</title>
-  <xsl:element name="para">
-   The mail sent by filling this form will be used to update
-<link xl:href="main.php"><xsl:value-of select="$project"/>-Publications-Papers</link>
-and <link xl:href="user.html"><xsl:value-of select="$project"/> Users</link>.
-  </xsl:element>
- </xsl:element>
- <xsl:text>&#xA;</xsl:text>
- <xsl:element name="sect1">
-  <xsl:attribute name="xml:id"><xsl:value-of select="userid"/></xsl:attribute>
-  <xsl:text>&#xA;</xsl:text>
-  <xsl:choose>
-   <xsl:when test="userid != 'template'">
-    <xsl:element name="title">
-     <xsl:value-of select="personname/firstname"/> <xsl:text> </xsl:text> <xsl:value-of select="personname/surname"/>
-    </xsl:element>
-   </xsl:when>
-   <xsl:otherwise>
-    <xsl:element name="title">Template</xsl:element>
-   </xsl:otherwise>
-  </xsl:choose>
-  <xsl:text>&#xA;</xsl:text>
-  <xsl:element name="para">
-   <xsl:value-of select="email"/>
-  </xsl:element>
-  <xsl:text>&#xA;</xsl:text>
-  <xsl:call-template name="form_db">
-   <xsl:with-param name="author_id" select="userid"/>
-   <xsl:with-param name="user" select="."/>
-   <xsl:with-param name="visu_modif" select="'modif'"/>
-   <xsl:with-param name="bibmode" select="'no'"/>
-  </xsl:call-template>
- <xsl:text>&#xA;</xsl:text>
- </xsl:element>
-</xsl:element>
-</xsl:template>
-
-</xsl:stylesheet>
Index: unk/timestamp.php
===================================================================
--- /trunk/timestamp.php	(revision 355)
+++ 	(revision )
@@ -1,44 +1,0 @@
-<?php
-
-/*rst
-
-.. _timestamp.php:
-
-=============
-timestamp.php
-=============
-
-------
-+todo+
-------
-
-TODO
-====
-
-++ quand on sera passer en PHP => 5.1
-
-++ - decommenter date_default_timezone_set('UTC')
-
-++ - remplacer gmdate par date 
-
-EVOLUTIONS
-==========
-
-$Id$
-
-- fplod 2007-05-09T09:14:02Z aedon.locean-ipsl.upmc.fr (Darwin)
-
-  * creation
-
-*/
-
-/*
- Définit le fuseau horaire par défaut à utiliser. Disponible depuis PHP 5.1
-date_default_timezone_set('UTC'); ++
-*/
-error_reporting(E_ALL);
-
-$DATE_ISO8601_mod = 'Y-m-d\TH:i:s\Z'; /* +Z - fraction seconde */
-
-echo gmdate($DATE_ISO8601_mod);
-?>
Index: unk/titlepage.superbib.xml
===================================================================
--- /trunk/titlepage.superbib.xml	(revision 355)
+++ 	(revision )
@@ -1,672 +1,0 @@
-<!--
-original location :
-/usr/home/fplod/src/superbib_ws/titlepage.superbib.xml sur aedon.locean-ipsl.upmc.fr
-
-update :
-$Id$
-fplod 2007-03-29T09:27:23Z aedon.locean-ipsl.upmc.fr (Darwin)
-creation
--->
-<t:templates xmlns:t="http://nwalsh.com/docbook/xsl/template/1.0"
-	     xmlns:param="http://nwalsh.com/docbook/xsl/template/1.0/param"
-             xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
-
-<!-- ==================================================================== -->
-
-<t:titlepage t:element="article" t:wrapper="div" class="titlepage">
-  <t:titlepage-content t:side="recto">
-    <title/>
-    <subtitle/>
-    <corpauthor/>
-<!--
-    <authorgroup/>
-    <author/>
--->
-    <othercredit/>
-    <releaseinfo/>
-    <copyright/>
-    <legalnotice/>
-    <pubdate/>
-    <revision/>
-    <revhistory/>
-    <abstract/>
-  </t:titlepage-content>
-
-  <t:titlepage-content t:side="verso">
-  </t:titlepage-content>
-
-  <t:titlepage-separator>
-    <hr/>
-  </t:titlepage-separator>
-
-  <t:titlepage-before t:side="recto">
-  </t:titlepage-before>
-
-  <t:titlepage-before t:side="verso">
-  </t:titlepage-before>
-</t:titlepage>
-
-<!-- ==================================================================== -->
-
-<t:titlepage t:element="set" t:wrapper="div" class="titlepage">
-  <t:titlepage-content t:side="recto">
-    <title/>
-    <subtitle/>
-    <corpauthor/>
-    <authorgroup/>
-    <author/>
-    <othercredit/>
-    <releaseinfo/>
-    <copyright/>
-    <legalnotice/>
-    <pubdate/>
-    <revision/>
-    <revhistory/>
-    <abstract/>
-  </t:titlepage-content>
-
-  <t:titlepage-content t:side="verso">
-  </t:titlepage-content>
-
-  <t:titlepage-separator>
-    <hr/>
-  </t:titlepage-separator>
-
-  <t:titlepage-before t:side="recto">
-  </t:titlepage-before>
-
-  <t:titlepage-before t:side="verso">
-  </t:titlepage-before>
-</t:titlepage>
-
-<!-- ==================================================================== -->
-
-<t:titlepage t:element="book" t:wrapper="div" class="titlepage">
-  <t:titlepage-content t:side="recto">
-    <title/>
-    <subtitle/>
-    <corpauthor/>
-    <authorgroup/>
-    <author/>
-    <affiliation/>
-    <address/>
-    <othercredit/>
-    <releaseinfo/>
-    <copyright/>
-    <legalnotice/>
-    <pubdate/>
-    <revision/>
-    <revhistory/>
-    <abstract/>
-  </t:titlepage-content>
-
-  <t:titlepage-content t:side="verso">
-  </t:titlepage-content>
-
-  <t:titlepage-separator>
-    <hr/>
-  </t:titlepage-separator>
-
-  <t:titlepage-before t:side="recto">
-  </t:titlepage-before>
-
-  <t:titlepage-before t:side="verso">
-  </t:titlepage-before>
-</t:titlepage>
-
-<!-- ==================================================================== -->
-
-<t:titlepage t:element="part" t:wrapper="div" class="titlepage">
-  <t:titlepage-content t:side="recto">
-    <title/>
-    <subtitle/>
-    <corpauthor/>
-    <authorgroup/>
-    <author/>
-    <othercredit/>
-    <releaseinfo/>
-    <copyright/>
-    <legalnotice/>
-    <pubdate/>
-    <revision/>
-    <revhistory/>
-    <abstract/>
-  </t:titlepage-content>
-
-  <t:titlepage-content t:side="verso">
-  </t:titlepage-content>
-
-  <t:titlepage-separator>
-  </t:titlepage-separator>
-
-  <t:titlepage-before t:side="recto">
-  </t:titlepage-before>
-
-  <t:titlepage-before t:side="verso">
-  </t:titlepage-before>
-</t:titlepage>
-
-<t:titlepage t:element="partintro" t:wrapper="div">
-  <t:titlepage-content t:side="recto">
-    <title/>
-    <subtitle/>
-    <corpauthor/>
-    <authorgroup/>
-    <author/>
-    <othercredit/>
-    <releaseinfo/>
-    <copyright/>
-    <legalnotice/>
-    <pubdate/>
-    <revision/>
-    <revhistory/>
-    <abstract/>
-  </t:titlepage-content>
-
-  <t:titlepage-content t:side="verso">
-  </t:titlepage-content>
-
-  <t:titlepage-separator>
-  </t:titlepage-separator>
-
-  <t:titlepage-before t:side="recto">
-  </t:titlepage-before>
-
-  <t:titlepage-before t:side="verso">
-  </t:titlepage-before>
-</t:titlepage>
-
-<!-- ==================================================================== -->
-
-<t:titlepage t:element="reference" t:wrapper="div" class="titlepage">
-  <t:titlepage-content t:side="recto">
-    <title/>
-    <subtitle/>
-    <corpauthor/>
-    <authorgroup/>
-    <author/>
-    <othercredit/>
-    <releaseinfo/>
-    <copyright/>
-    <legalnotice/>
-    <pubdate/>
-    <revision/>
-    <revhistory/>
-    <abstract/>
-  </t:titlepage-content>
-
-  <t:titlepage-content t:side="verso">
-  </t:titlepage-content>
-
-  <t:titlepage-separator>
-    <hr/>
-  </t:titlepage-separator>
-
-  <t:titlepage-before t:side="recto">
-  </t:titlepage-before>
-
-  <t:titlepage-before t:side="verso">
-  </t:titlepage-before>
-</t:titlepage>
-
-<!-- ==================================================================== -->
-
-<t:titlepage t:element="refentry" t:wrapper="div" class="titlepage">
-  <t:titlepage-content t:side="recto">
-<!-- uncomment this if you want refentry titlepages
-    <title t:force="1"
-	   t:named-template="refentry.title"
-	   param:node="ancestor-or-self::refentry[1]"/>
--->
-  </t:titlepage-content>
-
-  <t:titlepage-content t:side="verso">
-  </t:titlepage-content>
-
-  <t:titlepage-separator/>
-
-  <t:titlepage-before t:side="recto">
-  </t:titlepage-before>
-
-  <t:titlepage-before t:side="verso">
-  </t:titlepage-before>
-</t:titlepage>
-
-<!-- ==================================================================== -->
-
-  <t:titlepage t:element="dedication" t:wrapper="div" class="titlepage">
-    <t:titlepage-content t:side="recto">
-    <title
-	   t:force="1"
-	   t:named-template="component.title"
-	   param:node="ancestor-or-self::dedication[1]"/>
-    <subtitle/>
-    </t:titlepage-content>
-
-  <t:titlepage-content t:side="verso">
-  </t:titlepage-content>
-
-  <t:titlepage-separator>
-  </t:titlepage-separator>
-
-  <t:titlepage-before t:side="recto">
-  </t:titlepage-before>
-
-  <t:titlepage-before t:side="verso">
-  </t:titlepage-before>
-</t:titlepage>
-
-<!-- ==================================================================== -->
-
-<t:titlepage t:element="preface" t:wrapper="div" class="titlepage">
-  <t:titlepage-content t:side="recto">
-    <title/>
-    <subtitle/>
-    <corpauthor/>
-    <authorgroup/>
-    <author/>
-    <othercredit/>
-    <releaseinfo/>
-    <copyright/>
-    <legalnotice/>
-    <pubdate/>
-    <revision/>
-    <revhistory/>
-    <abstract/>
-  </t:titlepage-content>
-
-  <t:titlepage-content t:side="verso">
-  </t:titlepage-content>
-
-  <t:titlepage-separator>
-  </t:titlepage-separator>
-
-  <t:titlepage-before t:side="recto">
-  </t:titlepage-before>
-
-  <t:titlepage-before t:side="verso">
-  </t:titlepage-before>
-</t:titlepage>
-
-<!-- ==================================================================== -->
-
-<t:titlepage t:element="chapter" t:wrapper="div" class="titlepage">
-  <t:titlepage-content t:side="recto">
-    <title/>
-    <subtitle/>
-    <corpauthor/>
-    <authorgroup/>
-    <author/>
-    <othercredit/>
-    <releaseinfo/>
-    <copyright/>
-    <legalnotice/>
-    <pubdate/>
-    <revision/>
-    <revhistory/>
-    <abstract/>
-  </t:titlepage-content>
-
-  <t:titlepage-content t:side="verso">
-  </t:titlepage-content>
-
-  <t:titlepage-separator>
-  </t:titlepage-separator>
-
-  <t:titlepage-before t:side="recto">
-  </t:titlepage-before>
-
-  <t:titlepage-before t:side="verso">
-  </t:titlepage-before>
-</t:titlepage>
-
-<!-- ==================================================================== -->
-
-<t:titlepage t:element="appendix" t:wrapper="div" class="titlepage">
-  <t:titlepage-content t:side="recto">
-    <title/>
-    <subtitle/>
-    <corpauthor/>
-    <authorgroup/>
-    <author/>
-    <othercredit/>
-    <releaseinfo/>
-    <copyright/>
-    <legalnotice/>
-    <pubdate/>
-    <revision/>
-    <revhistory/>
-    <abstract/>
-  </t:titlepage-content>
-
-  <t:titlepage-content t:side="verso">
-  </t:titlepage-content>
-
-  <t:titlepage-separator>
-  </t:titlepage-separator>
-
-  <t:titlepage-before t:side="recto">
-  </t:titlepage-before>
-
-  <t:titlepage-before t:side="verso">
-  </t:titlepage-before>
-</t:titlepage>
-
-<!-- ==================================================================== -->
-
-<t:titlepage t:element="section" t:wrapper="div" class="titlepage">
-  <t:titlepage-content t:side="recto">
-    <title/>
-    <subtitle/>
-    <corpauthor/>
-    <authorgroup/>
-    <author/>
-    <othercredit/>
-    <releaseinfo/>
-    <copyright/>
-    <legalnotice/>
-    <pubdate/>
-    <revision/>
-    <revhistory/>
-    <abstract/>
-  </t:titlepage-content>
-
-  <t:titlepage-content t:side="verso">
-  </t:titlepage-content>
-
-  <t:titlepage-separator>
-    <xsl:if test="count(parent::*)='0'"><hr/></xsl:if>
-  </t:titlepage-separator>
-
-  <t:titlepage-before t:side="recto">
-  </t:titlepage-before>
-
-  <t:titlepage-before t:side="verso">
-  </t:titlepage-before>
-</t:titlepage>
-
-<t:titlepage t:element="sect1" t:wrapper="div" class="titlepage">
-  <t:titlepage-content t:side="recto">
-    <title/>
-    <subtitle/>
-    <corpauthor/>
-    <authorgroup/>
-    <author/>
-    <othercredit/>
-    <releaseinfo/>
-    <copyright/>
-    <legalnotice/>
-    <pubdate/>
-    <revision/>
-    <revhistory/>
-    <abstract/>
-  </t:titlepage-content>
-
-  <t:titlepage-content t:side="verso">
-  </t:titlepage-content>
-
-  <t:titlepage-separator>
-    <xsl:if test="count(parent::*)='0'"><hr/></xsl:if>
-  </t:titlepage-separator>
-
-  <t:titlepage-before t:side="recto">
-  </t:titlepage-before>
-
-  <t:titlepage-before t:side="verso">
-  </t:titlepage-before>
-</t:titlepage>
-
-<t:titlepage t:element="sect2" t:wrapper="div" class="titlepage">
-  <t:titlepage-content t:side="recto">
-    <title/>
-    <subtitle/>
-    <corpauthor/>
-    <authorgroup/>
-    <author/>
-    <othercredit/>
-    <releaseinfo/>
-    <copyright/>
-    <legalnotice/>
-    <pubdate/>
-    <revision/>
-    <revhistory/>
-    <abstract/>
-  </t:titlepage-content>
-
-  <t:titlepage-content t:side="verso">
-  </t:titlepage-content>
-
-  <t:titlepage-separator>
-    <xsl:if test="count(parent::*)='0'"><hr/></xsl:if>
-  </t:titlepage-separator>
-
-  <t:titlepage-before t:side="recto">
-  </t:titlepage-before>
-
-  <t:titlepage-before t:side="verso">
-  </t:titlepage-before>
-</t:titlepage>
-
-<t:titlepage t:element="sect3" t:wrapper="div" class="titlepage">
-  <t:titlepage-content t:side="recto">
-    <title/>
-    <subtitle/>
-    <corpauthor/>
-    <authorgroup/>
-    <author/>
-    <othercredit/>
-    <releaseinfo/>
-    <copyright/>
-    <legalnotice/>
-    <pubdate/>
-    <revision/>
-    <revhistory/>
-    <abstract/>
-  </t:titlepage-content>
-
-  <t:titlepage-content t:side="verso">
-  </t:titlepage-content>
-
-  <t:titlepage-separator>
-    <xsl:if test="count(parent::*)='0'"><hr/></xsl:if>
-  </t:titlepage-separator>
-
-  <t:titlepage-before t:side="recto">
-  </t:titlepage-before>
-
-  <t:titlepage-before t:side="verso">
-  </t:titlepage-before>
-</t:titlepage>
-
-<t:titlepage t:element="sect4" t:wrapper="div" class="titlepage">
-  <t:titlepage-content t:side="recto">
-    <title/>
-    <subtitle/>
-    <corpauthor/>
-    <authorgroup/>
-    <author/>
-    <othercredit/>
-    <releaseinfo/>
-    <copyright/>
-    <legalnotice/>
-    <pubdate/>
-    <revision/>
-    <revhistory/>
-    <abstract/>
-  </t:titlepage-content>
-
-  <t:titlepage-content t:side="verso">
-  </t:titlepage-content>
-
-  <t:titlepage-separator>
-    <xsl:if test="count(parent::*)='0'"><hr/></xsl:if>
-  </t:titlepage-separator>
-
-  <t:titlepage-before t:side="recto">
-  </t:titlepage-before>
-
-  <t:titlepage-before t:side="verso">
-  </t:titlepage-before>
-</t:titlepage>
-
-<t:titlepage t:element="sect5" t:wrapper="div" class="titlepage">
-  <t:titlepage-content t:side="recto">
-    <title/>
-    <subtitle/>
-    <corpauthor/>
-    <authorgroup/>
-    <author/>
-    <othercredit/>
-    <releaseinfo/>
-    <copyright/>
-    <legalnotice/>
-    <pubdate/>
-    <revision/>
-    <revhistory/>
-    <abstract/>
-  </t:titlepage-content>
-
-  <t:titlepage-content t:side="verso">
-  </t:titlepage-content>
-
-  <t:titlepage-separator>
-    <xsl:if test="count(parent::*)='0'"><hr/></xsl:if>
-  </t:titlepage-separator>
-
-  <t:titlepage-before t:side="recto">
-  </t:titlepage-before>
-
-  <t:titlepage-before t:side="verso">
-  </t:titlepage-before>
-</t:titlepage>
-
-<t:titlepage t:element="simplesect" t:wrapper="div" class="titlepage">
-  <t:titlepage-content t:side="recto">
-    <title/>
-    <subtitle/>
-    <corpauthor/>
-    <authorgroup/>
-    <author/>
-    <othercredit/>
-    <releaseinfo/>
-    <copyright/>
-    <legalnotice/>
-    <pubdate/>
-    <revision/>
-    <revhistory/>
-    <abstract/>
-  </t:titlepage-content>
-
-  <t:titlepage-content t:side="verso">
-  </t:titlepage-content>
-
-  <t:titlepage-separator>
-    <xsl:if test="count(parent::*)='0'"><hr/></xsl:if>
-  </t:titlepage-separator>
-
-  <t:titlepage-before t:side="recto">
-  </t:titlepage-before>
-
-  <t:titlepage-before t:side="verso">
-  </t:titlepage-before>
-</t:titlepage>
-
-<!-- ==================================================================== -->
-
-<t:titlepage t:element="bibliography" t:wrapper="div" class="titlepage">
-  <t:titlepage-content t:side="recto">
-    <title
-	   t:force="1"
-	   t:named-template="component.title"
-	   param:node="ancestor-or-self::bibliography[1]"/>
-    <subtitle/>
-  </t:titlepage-content>
-
-  <t:titlepage-content t:side="verso">
-  </t:titlepage-content>
-
-  <t:titlepage-separator>
-  </t:titlepage-separator>
-
-  <t:titlepage-before t:side="recto">
-  </t:titlepage-before>
-
-  <t:titlepage-before t:side="verso">
-  </t:titlepage-before>
-</t:titlepage>
-
-<!-- ==================================================================== -->
-
-<t:titlepage t:element="glossary" t:wrapper="div" class="titlepage">
-  <t:titlepage-content t:side="recto">
-    <title
-	   t:force="1"
-	   t:named-template="component.title"
-	   param:node="ancestor-or-self::glossary[1]"/>
-    <subtitle/>
-  </t:titlepage-content>
-
-  <t:titlepage-content t:side="verso">
-  </t:titlepage-content>
-
-  <t:titlepage-separator>
-  </t:titlepage-separator>
-
-  <t:titlepage-before t:side="recto">
-  </t:titlepage-before>
-
-  <t:titlepage-before t:side="verso">
-  </t:titlepage-before>
-</t:titlepage>
-
-<!-- ==================================================================== -->
-
-<t:titlepage t:element="index" t:wrapper="div" class="titlepage">
-  <t:titlepage-content t:side="recto">
-    <title
-	   t:force="1"
-	   t:named-template="component.title"
-	   param:node="ancestor-or-self::index[1]"/>
-    <subtitle/>
-  </t:titlepage-content>
-
-  <t:titlepage-content t:side="verso">
-  </t:titlepage-content>
-
-  <t:titlepage-separator>
-  </t:titlepage-separator>
-
-  <t:titlepage-before t:side="recto">
-  </t:titlepage-before>
-
-  <t:titlepage-before t:side="verso">
-  </t:titlepage-before>
-</t:titlepage>
-
-<!-- ==================================================================== -->
-
-<t:titlepage t:element="setindex" t:wrapper="div" class="titlepage">
-  <t:titlepage-content t:side="recto">
-    <title
-	   t:force="1"
-	   t:named-template="component.title"
-	   param:node="ancestor-or-self::setindex[1]"/>
-    <subtitle/>
-  </t:titlepage-content>
-
-  <t:titlepage-content t:side="verso">
-  </t:titlepage-content>
-
-  <t:titlepage-separator>
-  </t:titlepage-separator>
-
-  <t:titlepage-before t:side="recto">
-  </t:titlepage-before>
-
-  <t:titlepage-before t:side="verso">
-  </t:titlepage-before>
-</t:titlepage>
-
-<!-- ==================================================================== -->
-
-</t:templates>
Index: unk/twindoi.sh
===================================================================
--- /trunk/twindoi.sh	(revision 355)
+++ 	(revision )
@@ -1,233 +1,0 @@
-#! /bin/sh
-#+
-#
-# .. program:: twindoi.sh
-#
-# ==========
-# twindoi.sh
-# ==========
-#
-# SYNOPSIS
-# ========
-#
-# .. code-block:: bash
-#
-#    twindoi.sh -i filein -t type
-#
-# DESCRIPTION
-# ===========
-#
-# .. option:: -i <filein>
-# .. option:: -t <type>
-#
-# detection of duplicate DOI
-#
-# EXAMPLES
-# ========
-#
-# To detect duplicate DOI in a raw file:
-#
-# .. code-block:: bash
-#
-#    twindoi.sh -i data/biball.txt -t raw
-#
-# To detect duplicate DOI in a XML/DocBook file:
-#
-# .. code-block:: bash
-#
-#    twindoi.sh -i data/biball.xml -t xml
-#
-# To detect duplicate DOI in a bibtex file:
-#
-# .. code-block:: bash
-#
-#    twindoi.sh -i data/biball.xml -t bibtex
-#
-# TODO
-# ====
-#
-# option debug
-#
-# the following command which is not convenient
-# (xml vs txt) did not give any alert and check inside xml comments
-#
-# .. code-block:: bash
-#
-#    twindoi.sh -i data/biball.xml -t raw
-#
-# EVOLUTIONS
-# ==========
-#
-# $Id$
-#
-# - fplod 20131010T113730Z callisto.locean-ipsl.upmc.fr (Linux)
-#
-#   * dynamic xmlstarlet vs xml
-#
-# - fplod 20120521T080342Z cratos (Linux)
-#
-#   * rename type variable to ftype to avoid usage of a reserved word
-#   * revision of indentation
-#   * typo
-#   * add bibtex as file type
-#
-# - fplod 20100318T083708Z aedon.locean-ipsl.upmc.fr (Darwin)
-#
-#   * unset
-#
-# - fplod 2008-05-05T14:26:31Z aedon.locean-ipsl.upmc.fr (Darwin)
-#
-#   * usage of xml(starlet) for doi extraction in xml file
-#
-# - fplod 2007-06-20T16:12:22Z aedon.locean-ipsl.upmc.fr (Darwin)
-#
-#   * consolidation and homogenisation
-#
-# - smasson 2007-06-20T16:11:47Z
-#
-#   * creation
-#
-#-
-#
-system=$(uname)
-case "${system}" in
-    AIX|IRIX64)
-        echo "${command} : www : no specific posix checking"
-    ;;
-    *)
-        set -o posix
-    ;;
-esac
-unset system
-#
-set -u
-action=$(basename ${0} .sh)
-command=$(basename ${0})
-log_date=$(date -u +"%Y%m%dT%H%M%SZ")
-log=${PROJECT_LOG}/$(basename ${command} .sh).log.${log_date}
-#
-tool=${xmlcmd}
-type ${tool} 1> /dev/null 2>&1
-status=${?}
-if [ ${status} -ne 0 ]
-then
-    echo "${command} : eee : tool ${tool} not found"
-    exit 1
-fi
-unset tool
-unset status
-#
-usage=" Usage : ${command} -i filein -t type"
-#
-minargcount=4
-#echo " narg ${#}"
-if [ ${#} -lt ${minargcount} ]
-then
-    echo "${command} : eee : not enough arguments"
-    echo "${usage}"
-    exit 1
-fi
-unset minargcount
-#
-while [ ${#} -gt 0 ]
-do
-    case ${1} in
-        -i)
-            filein=${2}
-            shift
-        ;;
-        -t)
-            ftype=${2}
-            shift
-        ;;
-        *)
-            # other choice
-            echo "${command} : eee : unknown option ${1}"
-            echo "${usage}"
-            exit 1
-        ;;
-    esac
-    # next flag
-    shift
-done
-unset usage
-#
-# check for filein
-if [ ! -f ${filein} ]
-then
-    echo "${command} : eee : ${filein} not found"
-    exit 1
-fi
-#
-case ${ftype} in
-    raw) # file like data/biball.txt
-        fileraw=${filein}
-    ;;
-    xml) # file like data/biball.xml
-        filexml=${filein}
-    ;;
-    bibtex) # file like data/biball.bib
-        filebibtex=${filein}
-    ;;
-    *)
-       echo "${command} : eee : type should be raw, xml or bibtex"
-       exit 1
-    ;;
-esac
-unset filein
-#
-case ${ftype} in
-    raw)
-        grep -i "doi:" ${fileraw} | \
-        sed -e "s/^.*doi: *//" | \
-        sed -e "s/^\(.*\)\.$/ \1/" | \
-        grep -v "???" | \
-        sort -d > ${PROJECT_LOG}/${action}${$}.txt
-    ;;
-    bibtex)
-        grep -i "doi *= *" ${filebibtex} | \
-        sed -e "s/^.*doi *= *//" | \
-        sed -e "s/^\(.*\)\.$/ \1/" | \
-        grep -v "???" | \
-        sort -d > ${PROJECT_LOG}/${action}${$}.txt
-    ;;
-    xml)
-        ${xmlcmd} sel -N dbk="http://docbook.org/ns/docbook" \
-        -t -m "//dbk:biblioid[@class='doi']" -v . -n ${filexml} | \
-        grep  -v "???" | \
-        sort -d > ${PROJECT_LOG}/${action}${$}.txt
-    ;;
-    *)
-        echo "${command} : eee : error unknown file type ${ftype}"
-        exit 1
-    ;;
-esac
-unset ftype
-#
-nl=$( cat ${PROJECT_LOG}/${action}${$}.txt | wc -l )
-if [ ${nl} -eq 0 ]
-then
-    echo "${command} : www : no DOI found in ${filein}"
-    rm ${PROJECT_LOG}/${action}${$}.txt 2> /dev/null
-    exit 1
-fi
-n=1
-while [ ${n} -lt ${nl} ]
-do
-    l1=$( head -${n} ${PROJECT_LOG}/${action}${$}.txt | tail -1 )
-    l2=$( head -$(( ${n} + 1 )) ${PROJECT_LOG}/${action}${$}.txt | tail -1 )
-    [ "${l1}" == "${l2}" ] && echo "${command} : eee : line ${n} : ${l1}"
-    unset l1
-    unset l2
-    n=$(( ${n} + 1 ))
-done
-unset n
-unset nl
-#
-rm ${PROJECT_LOG}/${action}${$}.txt 2> /dev/null
-unset command
-unset log
-unset log_date
-#
-#++set
-exit 0
Index: unk/user_db.xsl
===================================================================
--- /trunk/user_db.xsl	(revision 355)
+++ 	(revision )
@@ -1,237 +1,0 @@
-<?xml version="1.0" encoding="iso-8859-1"?>
-<xsl:stylesheet
-version="1.0"
-xmlns:d="http://docbook.org/ns/docbook"
-xmlns:xl="http://www.w3.org/1999/xlink"
-xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
-
-<!--rst
-
-.. _user_db.xsl:
-
-===========
-user_db.xsl
-===========
-
-creation des élements de formulaire (sans saisie) d'après les info user
-
-TODO
-====
-
-++ recup authors dans main pas bon
-
-EVOLUTIONS
-==========
-
-$Id$
-
-- fplod 20110629T135204Z cratos.locean-ipsl.upmc.fr (Linux)
-
-  * authorgroup is found in main.xml
-
-- fplod 20110624T144535Z cratos.locean-ipsl.upmc.fr (Linux)
-
-  * add parameters, regions, periods
-  * only show template user characteristics : for example processors for NEMO
-    but not for TROPFLUX
-
-- fplod 2008-09-17T09:49:51Z aedon.locean-ipsl.upmc.fr (Darwin)
-
-  * project name from main.xml file instead of a fixed one
-
-- fplod 2008-04-30T13:55:17Z aedon.locean-ipsl.upmc.fr (Darwin)
-
-  * language inherited from biblio.xml
-
-- fplod 2008-04-29T10:23:26Z aedon.locean-ipsl.upmc.fr (Darwin)
-
-  * chgt for dbk5
-
-- fplod 2007-06-06T10:20:22Z aedon.locean-ipsl.upmc.fr (Darwin)
-
-  * add middle name
-
-- fplod 2007-05-04T10:26:02Z aedon.locean-ipsl.upmc.fr (Darwin)
-
-  * homogéneisation sur bibnemo pr auteur et par année
-
-- fplod 2007-04-20T15:31:20Z aedon.locean-ipsl.upmc.fr (Darwin)
-
-  * creation
-
--->
-
-<xsl:include href="message_lang.xsl"/>
-<xsl:include href="components_db.xsl"/>
-<xsl:include href="compilers_db.xsl"/>
-<xsl:include href="platforms_db.xsl"/>
-<xsl:include href="processors_db.xsl"/>
-<xsl:include href="regions_db.xsl"/>
-<xsl:include href="parameters_db.xsl"/>
-<xsl:include href="periods_db.xsl"/>
-
-<xsl:output
- method="xml"
- indent="yes"
- encoding="ISO-8859-1"
- omit-xml-declaration="no"/>
-
-<xsl:template match="users">
-
-<xsl:variable name="project">
- <xsl:value-of select="document('main.xml')//d:keyword[@xml:id='project']"/>
-</xsl:variable>
-
-<xsl:element name="article">
-<xsl:attribute name="version">5.0</xsl:attribute>
-<xsl:attribute name="xmlns">http://docbook.org/ns/docbook</xsl:attribute>
-<xsl:attribute name="xml:lang"><xsl:value-of select="/d:bibliography/@xml:lang"/></xsl:attribute>
-<xsl:attribute name="xml:id">users</xsl:attribute>
-
-<title><xsl:value-of select="$project"/> Users</title>
-<info>
-<authorgroup>
-<xsl:copy-of select="document('main.xml')//d:info/d:authorgroup"/>
-</authorgroup>
-<keywordset>
-<keyword><xsl:value-of select="$project"/></keyword>
-</keywordset>
-</info>
-<para xml:id="top">
-
-This page intents to provide an exhaustive list of authors or users of <xsl:value-of select="$project"/>.
-</para>
-<para>
-If you find omissions or mistakes please ask some modification via
-<xsl:element name="link">
- <xsl:attribute name="xl:href">
-  <xsl:value-of select="'./main.php'"/>
- </xsl:attribute>
- <xsl:value-of select="document('main.xml')/d:article/d:title"/>
- <xsl:text> main page</xsl:text>
-</xsl:element>.
-</para>
-<para>
-Yoy can also see <quote><xsl:value-of select="$project"/> - Publications - Papers</quote> sorted by
-authors in
-<xsl:element name="link">
- <xsl:attribute name="xl:href">
-  <xsl:value-of select="'./superbib02.html'"/>
- </xsl:attribute>
- <xsl:text>one big document </xsl:text>
-</xsl:element>
-<xsl:text> or in </xsl:text>
-<xsl:element name="link">
- <xsl:attribute name="xl:href">
-  <xsl:value-of select="'../many/superbib01/index.html'"/>
- </xsl:attribute>
- <xsl:text>several </xsl:text>
-</xsl:element> <xsl:text> (one by author)</xsl:text>.
-</para>
-
-<xsl:call-template name="para_lastupdate_user">
- <xsl:with-param name="language" select="document('biblio.xml')/d:bibliography/@xml:lang"/>
- <xsl:with-param name="date" select="./date"/>
-</xsl:call-template>
-
-<sect1 xml:id="intro">
-<title>Introduction</title>
-<para>
-This document provide user's information sorted by user's id (<emphasis>SURNAME_f</emphasis>).
-</para>
-</sect1>
-
- <xsl:for-each select="user">
- <xsl:sort order="ascending" data-type="text" select="userid"/>
-  <xsl:if test="userid != 'template'">
-   <xsl:apply-templates select="."/>
-  </xsl:if>
- </xsl:for-each>
- </xsl:element>
-</xsl:template>
-
-<xsl:template match="user">
- <xsl:text>&#xA;</xsl:text>
- <xsl:element name="sect1">
-  <xsl:attribute name="xml:id"><xsl:value-of select="userid"/></xsl:attribute>
-  <xsl:text>&#xA;</xsl:text>
-  <xsl:element name="title">
-   <xsl:value-of select="personname/firstname"/> <xsl:text> </xsl:text> <xsl:value-of select="personname/othername[@role='mi']"/> <xsl:text> </xsl:text> <xsl:value-of select="personname/surname"/>
-   <xsl:element name="link">
-    <xsl:attribute name="xl:href"><xsl:text>#top</xsl:text></xsl:attribute>
-    <xsl:element name="inlinemediaobject">
-     <xsl:element name="imageobject">
-      <xsl:element name="imagedata">
-       <xsl:attribute name="fileref">../../images/globalicondl11x10_up.gif</xsl:attribute>
-      </xsl:element>
-     </xsl:element>
-     <xsl:element name="textobject">
-      <xsl:element name="phrase">
-       <xsl:text>top</xsl:text>
-      </xsl:element>
-     </xsl:element>
-    </xsl:element>
-   </xsl:element>
-  </xsl:element>
-  <xsl:text>&#xA;</xsl:text>
-  <xsl:element name="para">
-   <xsl:value-of select="email"/>
-  </xsl:element>
-  <xsl:text>&#xA;</xsl:text>
-  <xsl:element name="para"> <!-- ++ para ou form -->
-   <xsl:if test="document('user.xml')/users/user[descendant::userid='template']/components">
-       <xsl:call-template name="components">
-        <xsl:with-param name="user" select="."/>
-        <xsl:with-param name="author_id" select="./userid"/>
-        <xsl:with-param name="visu_modif" select="'visu'"/>
-       </xsl:call-template>
-   </xsl:if>
-   <xsl:if test="document('user.xml')/users/user[descendant::userid='template']/platforms">
-       <xsl:call-template name="platforms">
-        <xsl:with-param name="user" select="."/>
-        <xsl:with-param name="author_id" select="./userid"/>
-        <xsl:with-param name="visu_modif" select="'visu'"/>
-       </xsl:call-template>
-   </xsl:if>
-   <xsl:if test="document('user.xml')/users/user[descendant::userid='template']/processors">
-       <xsl:call-template name="processors">
-        <xsl:with-param name="user" select="."/>
-        <xsl:with-param name="author_id" select="./userid"/>
-        <xsl:with-param name="visu_modif" select="'visu'"/>
-       </xsl:call-template>
-   </xsl:if>
-   <xsl:if test="document('user.xml')/users/user[descendant::userid='template']/compilers">
-       <xsl:call-template name="compilers">
-        <xsl:with-param name="user" select="."/>
-        <xsl:with-param name="author_id" select="./userid"/>
-        <xsl:with-param name="visu_modif" select="'visu'"/>
-       </xsl:call-template>
-   </xsl:if>
-   <xsl:if test="document('user.xml')/users/user[descendant::userid='template']/parameters">
-       <xsl:call-template name="parameters">
-        <xsl:with-param name="user" select="."/>
-        <xsl:with-param name="author_id" select="./userid"/>
-        <xsl:with-param name="visu_modif" select="'visu'"/>
-       </xsl:call-template>
-   </xsl:if>
-   <xsl:if test="document('user.xml')/users/user[descendant::userid='template']/regions">
-       <xsl:call-template name="regions">
-        <xsl:with-param name="user" select="."/>
-        <xsl:with-param name="author_id" select="./userid"/>
-        <xsl:with-param name="visu_modif" select="'visu'"/>
-       </xsl:call-template>
-   </xsl:if>
-   <xsl:if test="document('user.xml')/users/user[descendant::userid='template']/periods">
-       <xsl:call-template name="periods">
-        <xsl:with-param name="user" select="."/>
-        <xsl:with-param name="author_id" select="./userid"/>
-        <xsl:with-param name="visu_modif" select="'visu'"/>
-       </xsl:call-template>
-   </xsl:if>
-  <xsl:text>&#xA;</xsl:text>
-  </xsl:element>
- <xsl:text>&#xA;</xsl:text>
- </xsl:element>
-</xsl:template>
-
-</xsl:stylesheet>
Index: unk/user_html.xsl
===================================================================
--- /trunk/user_html.xsl	(revision 355)
+++ 	(revision )
@@ -1,78 +1,0 @@
-<?xml version='1.0' encoding='ISO-8859-1'?>
-<xsl:stylesheet
-xmlns:d="http://docbook.org/ns/docbook"
-xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
-version="1.0">
-
-<!--rst
-
-.. _user_html.xsl:
-
-=============
-user_html.xsl
-=============
-
-transformation docbook en plusieurs html avec formulaire
-
-EVOLUTIONS
-==========
-
-$Id$
-
-- fplod 2008-09-17T10:23:44Z aedon.locean-ipsl.upmc.fr (Darwin)
-
-  * add a link to project homepage at the bottom of the page
-
-- fplod 2007-04-18T08:15:46Z aedon.locean-ipsl.upmc.fr (Darwin)
-
-  * création
-
--->
-
-<xsl:import href="http://docbook.sourceforge.net/release/xsl/current/xhtml/docbook.xsl"/>
-
-<xsl:output method="xml"
-encoding="utf-8"
-indent="yes"
-omit-xml-declaration="yes"
-doctype-public="-//W3C//DTD XHTML 1.0 Strict//EN"
-doctype-system="http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"/>
-
-<xsl:include href="titlepage.superbib.xsl"/>
-<xsl:include href="message_lang.xsl"/>
-
-<xsl:include href="form_html.xsl"/>
-
-<xsl:template match="*" mode="book.titlepage.mode"/>
-<xsl:param name="generate.toc">
-article nop
-</xsl:param>
-<xsl:param name="css.decoration" select="0"/>
-<xsl:param name="section.autolabel" select="0"/>
-
-<!--
-Personalisation de bas de page
--->
-<xsl:template name="user.footer.content">
- <xsl:call-template name="para_lastupdate">
-  <xsl:with-param name="language" select="document('biblio.xml')/d:bibliography/@xml:lang"/>
-  <xsl:with-param name="date" select="$makedate"/>
-  <xsl:with-param name="mode" select="'html'"/>
- </xsl:call-template>
-
- <hr/>
- <para>
- <xsl:call-template name="back">
-  <xsl:with-param name="language" select="document('biblio.xml')/d:bibliography/@xml:lang"/>
- </xsl:call-template>
- <xsl:text> </xsl:text>
-  <xsl:element name="a">
-  <xsl:attribute name="href">
-   <xsl:value-of select="document('main.xml')//d:bibliosource[@xml:id='homepage']"/>
-  </xsl:attribute>
-  <xsl:value-of select="document('main.xml')//d:keyword[@xml:id='project']"/> home page
-  </xsl:element>
-  </para>
-</xsl:template>
-
-</xsl:stylesheet>
Index: unk/user_rest.xsl
===================================================================
--- /trunk/user_rest.xsl	(revision 355)
+++ 	(revision )
@@ -1,73 +1,0 @@
-<?xml version='1.0' encoding='ISO-8859-1'?>
-<xsl:stylesheet
-xmlns:d="http://docbook.org/ns/docbook"
-xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
-version="1.0">
-
-<!--rst
-
-.. _user_rest.xsl:
-
-=============
-user_rest.xsl
-=============
-
-transformation docbook en plusieurs rest avec formulaire
-
-TODO
-====
-
-make it work
-
-EVOLUTIONS
-==========
-
-$URL$ 
-$Id$ 
-
-- fplod 20110629T123732Z cratos.locean-ipsl.upmc.fr (Linux)
-
-  * création
-
--->
-
-<xsl:output method="text"/>
-
-<xsl:include href="titlepage.superbib.xsl"/>
-<xsl:include href="message_lang.xsl"/>
-
-<xsl:include href="form_rest.xsl"/>
-
-<xsl:template match="*" mode="book.titlepage.mode"/>
-<xsl:param name="generate.toc">
-article nop
-</xsl:param>
-<xsl:param name="css.decoration" select="0"/>
-<xsl:param name="section.autolabel" select="0"/>
-
-<!--
-Personalisation de bas de page
--->
-<xsl:template name="user.footer.content">
- <xsl:call-template name="para_lastupdate">
-  <xsl:with-param name="language" select="document('biblio.xml')/d:bibliography/@xml:lang"/>
-  <xsl:with-param name="date" select="$makedate"/>
-  <xsl:with-param name="mode" select="'rest'"/>
- </xsl:call-template>
-
- <hr/>
- <para>
- <xsl:call-template name="back">
-  <xsl:with-param name="language" select="document('biblio.xml')/d:bibliography/@xml:lang"/>
- </xsl:call-template>
- <xsl:text> </xsl:text>
-  <xsl:element name="a">
-  <xsl:attribute name="href">
-   <xsl:value-of select="document('main.xml')//d:bibliosource[@xml:id='homepage']"/>
-  </xsl:attribute>
-  <xsl:value-of select="document('main.xml')//d:keyword[@xml:id='project']"/> home page
-  </xsl:element>
-  </para>
-</xsl:template>
-
-</xsl:stylesheet>
Index: unk/years_gnuplot.xsl
===================================================================
--- /trunk/years_gnuplot.xsl	(revision 355)
+++ 	(revision )
@@ -1,156 +1,0 @@
-<?xml version="1.0" encoding="iso-8859-1"?>
-<xsl:stylesheet
-version="1.0"
-xmlns:d="http://docbook.org/ns/docbook"
-xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
-
-<!--rst
-
-.. _year_gnuplot.xsl:
-
-================
-year_gnuplot.xsl
-================
-
-DESCRIPTION
-===========
-
-production d'un fichier de commande gnuplot avec données incorporées pour
-le graphe publications/année
-
-TODO
-====
-
-understand message "avoid all points y value undefined"
-when this line is process::
-
-  set xrange [<xsl:value-of select="$yyyy_min"/>:<xsl:value-of select="$yyyy_max"/>]
-
-EVOLUTIONS
-==========
-
-$Id$
-
-$URL$
-
-- fplod 20120228
-
-  * rewrite ReST header
-  * remove svg stuff
-  * add min and max year computation thanks to
-    http://www.dpawson.co.uk/xsl/sect2/N5121.html#d6617e433 max(), min() and avg() functions
-    but not used because of gnuplot issue
-
-- fplod 2008-04-30T06:50:45Z aedon.locean-ipsl.upmc.fr (Darwin)
-
-  * chgt for dbk5 in
-
-- fplod 2007-05-21T12:52:07Z aedon.locean-ipsl.upmc.fr (Darwin)
-
-  * creation
-    d'après /Users/pinsard/ES/src/estimation/src/estimation_graph1_gnuplot.xsl
-
--->
-
-<xsl:output
- method="text"
- encoding="ISO-8859-1"
- indent="yes"/>
-
-<xsl:include href="biblioentry_xml.xsl"/>
-
-<xsl:variable name="list_years" select="///d:pubdate[not( self::node() = following::d:pubdate )]"/>
-
-<xsl:variable name="yyyy_max">
-     <xsl:for-each select="$list_years">
-       <xsl:sort data-type="number" order="descending"/>
-       <xsl:if test="position()=1">
-	  <xsl:value-of select="."/>
-       </xsl:if>
-     </xsl:for-each>
-</xsl:variable>
-
-<xsl:variable name="yyyy_min">
-     <xsl:for-each select="$list_years">
-       <xsl:sort data-type="number" order="ascending"/>
-       <xsl:if test="position()=1">
-	  <xsl:value-of select="."/>
-       </xsl:if>
-     </xsl:for-each>
-</xsl:variable>
-
-<xsl:template match="d:bibliography">
-#+
-# .. _years_gnuplot.gnu:
-#
-# DESCRIPTION
-# ===========
-#
-# EXAMPLES
-# ========
-#
-# :: 
-#
-#  $ gnuplot years_gnuplot.gnu
-#
-# EVOLUTIONS
-# ===========
-#
-# - <xsl:value-of select="$makedate"/>
-#
-#   * created by :ref:`years_gnuplot.xsl`
-#
-#-
-reset
-#
-# codage iso pour les diacritiques
-set encoding iso_8859_1
-#
-set size 1.0, 1.0
-set origin 0.0, 0.0
-#
-# pas de légendes
-set nokey
-#
-# definition of axes
-set xlabel "Year"
-set xdata time
-set timefmt "%Y"
-set format x "%Y"
-#set xrange [<xsl:value-of select="$yyyy_min"/>:<xsl:value-of select="$yyyy_max"/>] # commented to understand message "avoid all points y value undefined"
-set xrange [*:*]
-set yrange [*:*]
-set ylabel "Nb of publications"
-# titre sur le graphique
-set title "nb of publications by year date : <xsl:value-of select="$makedate"/>"
-#
-set term png
-set output "<xsl:value-of select="$path"/>/years.png"
-
-plot '-' using 1:2 with lines
-   <!-- loop on years -->
-   <xsl:for-each select="$list_years">
-    <xsl:sort order="ascending" data-type="number" select="."/>
-    <xsl:call-template name="one_year">
-     <xsl:with-param name="year" select="."/>
-    </xsl:call-template>
-   </xsl:for-each>
-   <xsl:text>e</xsl:text>
-   <xsl:text>&#xA;</xsl:text>
-</xsl:template>
-
-<xsl:template name="one_yearcount">
-<xsl:param name="year"/>
-<xsl:value-of select="count(/descendant::d:biblioentry[child::d:biblioset[child::d:pubdate=$year]]) "/>
-<xsl:text> </xsl:text>
-</xsl:template>
-
-<xsl:template name="one_year">
-<xsl:param name="year"/>
-<xsl:value-of select="$year"/>
-<xsl:text> </xsl:text>
-<xsl:value-of select="count(/descendant::d:biblioentry[child::d:biblioset[child::d:pubdate=$year]]) "/>
-<xsl:text>&#xA;</xsl:text>
-</xsl:template>
-
-</xsl:stylesheet>
Index: unk/years_matplotlib.xsl
===================================================================
--- /trunk/years_matplotlib.xsl	(revision 355)
+++ 	(revision )
@@ -1,129 +1,0 @@
-<?xml version="1.0" encoding="iso-8859-1"?>
-<xsl:stylesheet
-version="1.0"
-xmlns:d="http://docbook.org/ns/docbook"
-xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
-
-<!--rst
-
-.. _years_matplotlib.xsl:
-
-====================
-years_matplotlib.xsl
-====================
-
-DESCRIPTION
-===========
-
-production d'un fichier de commande matplotlb avec données incorporées pour
-le graphe publications/année
-
-EXAMPLES
-========
-
-.. code-block:: sh
-
-  xsltproc \-\-param makedate $((date)) \-\-param path "'.'" \-\-output ginette.py years_matplotlib.xsl biblio.xml
-  python ginette.py
-  open ++.png
-
-TODO
-====
-
-x time axe with yyyy labels
-
-add in makefile
-
-see http://matplotlib.sourceforge.net/examples/pylab_examples/demo_ribbon_box.html
-
-doctest
-
-EVOLUTIONS
-==========
-
-$Id$
-
-$URL$
-
-- fplod 20120228
-
-  * add yticks and ylim
-  * remove plot_shox to avoid interaction
-
-- fplod 20110627T144044Z aedon.locean-ipsl.upmc.fr (Darwin)
-
-  * creation draft
-
--->
-
-<xsl:output
- method="text"
- encoding="ISO-8859-1"
- indent="yes"/>
-
-<xsl:include href="biblioentry_xml.xsl"/>
-
-<xsl:variable name="list_years" select="///d:pubdate[not( self::node() = following::d:pubdate )]"/>
-
-<xsl:template match="d:bibliography">
-""""
-
-EXAMPLES
-========
-
-.. code-block:: bash
-
-   python years_matplotlib.py
-
-EVOLUTIONS
-==========
-
-<xsl:value-of select="$makedate"/>
-
-"""
-
-import matplotlib.pyplot as plot
-import numpy as np
-import datetime
-
-fig = plot.figure()
-ax = fig.gca()
-
-# definition of axes
-ax.set_xlabel('Year')
-ax.set_ylabel('Nb of publications')
-# titre sur le graphique
-plot.title('nb of publications by year date : <xsl:value-of select="$makedate"/>')
-#
-
-dates=[]
-values=[]
-   <!-- loop on years -->
-   <xsl:for-each select="$list_years">
-    <xsl:sort order="ascending" data-type="number" select="."/>
-    <xsl:call-template name="one_year">
-     <xsl:with-param name="year" select="."/>
-    </xsl:call-template>
-   </xsl:for-each>
-
-ax.set_ylim(min(values)-1, max(values)+1)
-ax.set_xlim(dates[0]-0.5, dates[-1]+0.5)
-plot.yticks(np.arange(min(values)-1,max(values)+1,1))
-plot.bar(dates, values,width=0.5)
-
-# avoid overlap on labels
-fig.autofmt_xdate()
-#
-fig.savefig('<xsl:value-of select="$path"/>/years.png')
-
-</xsl:template>
-
-<xsl:template name="one_year">
-<xsl:param name="year"/>
-dates.append(<xsl:value-of select="$year"/>)
-<xsl:text> </xsl:text>
-values.append(<xsl:value-of select="count(/descendant::d:biblioentry[child::d:biblioset[child::d:pubdate=$year]]) "/>)
-<xsl:text>&#xA;</xsl:text>
-</xsl:template>
-
-</xsl:stylesheet>
Index: unk/years_ploticus.xsl
===================================================================
--- /trunk/years_ploticus.xsl	(revision 355)
+++ 	(revision )
@@ -1,121 +1,0 @@
-<?xml version="1.0" encoding="iso-8859-1"?>
-<xsl:stylesheet
-version="1.0"
-xmlns:d="http://docbook.org/ns/docbook"
-xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
-
-<!--rst
-
-.. _year_ploticus.xsl:
-
-=================
-year_ploticus.xsl
-=================
-
-DESCRIPTION
-===========
-
-production d'un fichier de commande ploticus avec données incorporées pour
-le graphe publications/année
-
-SEE ALSO
-========
-
-alternative :ref:`years_gnuplot.xsl`  (but no histogram, only linepoints)
-
-TODO
-====
-
-voir une solution svg http://www.chez.com/xml/exemples/xslt/barchart/
-
-alternative matplotlib
-
-EVOLUTIONS
-==========
-
-$Id$
-
-- fplod 20120228
-
-  * rewrite ReST header
-  * ploticus command is now (version 2.41) pl
-  * ploticus now accept 4 digits year
-
-- fplod 2008-05-05T09:48:05Z aedon.locean-ipsl.upmc.fr (Darwin)
-
-  * force 2 digits format for years
-
-- fplod 2008-04-29T15:28:53Z aedon.locean-ipsl.upmc.fr (Darwin)
-
-  * chgt for dbk5 in years_ploticus.xsl 
-
-- fplod yyymmdd?
-
-  * inspired by /sw/share/ploticus2/pltestsuite/bars3.htm
-    creation
--->
-
-<xsl:output method="text"/>
-
-<xsl:include href="biblioentry_xml.xsl"/>
-
-<xsl:key name="key_years" match="///d:pubdate" use="."/>
-
-<xsl:template match="d:bibliography">
-#
-# .. code-block:: sh
-#
-#    pl -o years.png png years.ploticus
-#
-# FILES
-# =====
-#
-# years.ploticus
-#
-# EVOLUTIONS
-# ==========
-#
-# <xsl:value-of select="$makedate"/>
-#
-#proc getdata
-data:
-<!-- loop on years -->
-<xsl:for-each select="///d:pubdate[generate-id(.) = generate-id(key('key_years', .)[1])]">
- <xsl:sort order="ascending" data-type="number" select="."/>
- <xsl:call-template name="one_year">
-  <xsl:with-param name="year" select="."/>
- </xsl:call-template>
-</xsl:for-each>
-
-#proc areadef
-  title: Nb of publications by year date : <xsl:value-of select="$makedate"/>
-  titledetails: align=center
-  xaxis.label: Year
-  xscaletype: date yyyy
-  xaxis.stubs: inc 2 year
-  xaxis.stubformat: yyyy
-  xautorange: datafield=1
-  yaxis.label: Nb of publications
-  yautorange: datafield=2
-  yaxis.stubs: inc
-  yaxis.location: min-0.25
-
-#proc bars
-  lenfield: 2
-  locfield: 1
-  color: red
-  barwidth: 0.25
-  outline: no
-
-</xsl:template>
-
-<xsl:template name="one_year">
- <xsl:param name="year"/>
- <xsl:value-of select="format-number(($year),'0000')"/>
-
- <xsl:text> </xsl:text>
- <xsl:value-of select="count(/descendant::d:biblioentry[child::d:biblioset[child::d:pubdate=$year]]) "/>
- <xsl:text>&#xA;</xsl:text>
-</xsl:template>
-
-</xsl:stylesheet>
