Ignore:
Timestamp:
02/29/12 17:14:19 (12 years ago)
Author:
pinsard
Message:

going on with restsuperbibmany01_xml.xsl

File:
1 copied

Legend:

Unmodified
Added
Removed
  • trunk/superbib02_rest.xsl

    r151 r152  
    88<!--rst 
    99 
    10 .. _superbib02_xml.xsl: 
     10.. _superbib02_rest.xsl: 
    1111 
    12 ================== 
    13 superbib02_xml.xsl 
    14 ================== 
     12=================== 
     13superbib02_rest.xsl 
     14=================== 
    1515 
    1616produce a DocBook 5 with bibliograhy references sorted by authors 
     
    1919==== 
    2020 
     21make it beautifull 
     22 
    2123EVOLUTIONS 
    2224========== 
     
    2426$Id$ 
    2527 
    26 - fplod 20110629T135204Z cratos.locean-ipsl.upmc.fr (Linux) 
     28$URL$ 
    2729 
    28   * authorgroup is found in main.xml 
     30- fplod 20120229 
    2931 
    30 - fplod 2008-09-17T10:40:43Z aedon.locean-ipsl.upmc.fr (Darwin) 
    31  
    32   * project name from main.xml file instead of a fixed one 
    33  
    34 - fplod 2008-04-30T15:02:03Z aedon.locean-ipsl.upmc.fr (Darwin) 
    35  
    36   * language inherited from biblio.xml 
    37  
    38 - fplod 2008-04-29T08:01:08Z aedon.locean-ipsl.upmc.fr (Darwin) 
    39  
    40   * chgt for dbk5 
    41  
    42 - fplod 2007-10-17T07:49:19Z aedon.locean-ipsl.upmc.fr (Darwin) 
    43  
    44   * improve sort (diacriticals) 
    45  
    46 - fplod 2007-05-18T14:31:33Z aedon.locean-ipsl.upmc.fr (Darwin) 
    47  
    48   * modif gestion id 
    49  
    50 - fplod 2007-05-16T15:15:36Z aedon.locean-ipsl.upmc.fr (Darwin) 
    51  
    52   * correction pour homonymes partiels 
    53  
    54 - fplod 2007-05-04T08:17:56Z aedon.locean-ipsl.upmc.fr (Darwin) 
    55  
    56   * externalisation de biblioentry 
    57  
    58 - fplod 2007-04-02T08:53:30Z aedon.locean-ipsl.upmc.fr (Darwin) 
    59  
    60   * journal dans biblioset 
    61  
    62 - fplod 2007-03-30T12:38:34Z aedon.locean-ipsl.upmc.fr (Darwin) 
    63  
    64   * creation 
     32  * creation from superbib02_xml.xsl 
    6533 
    6634--> 
     
    6836 
    6937<xsl:output 
    70  method="xml" 
    71  indent="yes" 
    72  encoding="utf-8" 
    73  omit-xml-declaration="no"/> 
     38 method="text" 
     39 indent="yes"/> 
    7440 
    7541<xsl:include href="firstname_id.xsl"/> 
    7642<xsl:include href="surname_id.xsl"/> 
    7743<xsl:include href="table_authors.xsl"/> 
    78 <xsl:include href="biblioentry_xml.xsl"/> 
     44<xsl:include href="biblioentry_rest.xsl"/> 
    7945 
    8046<xsl:variable name="list_author_ids" select="///d:author[not( self::node() = following::d:author )]"/> 
     
    8652<xsl:template match="d:bibliography"> 
    8753 
    88 <xsl:element name="article"> 
    89 <xsl:attribute name="version">5.0</xsl:attribute> 
    90 <xsl:attribute name="xmlns">http://docbook.org/ns/docbook</xsl:attribute> 
    91 <xsl:attribute name="xml:lang"><xsl:value-of select="@xml:lang"/></xsl:attribute> 
    92 <title><xsl:value-of select="$project"/> - Publications - Papers by authors</title> 
    93 <info> 
    94 <authorgroup> 
    95 <xsl:copy-of select="document('main.xml')//d:info/d:authorgroup"/> 
    96 </authorgroup> 
    97 <keywordset> 
    98 <keyword><xsl:value-of select="$project"/></keyword> 
    99 </keywordset> 
    100 <!-- ++ date --> 
    101 </info> 
    102 <para xml:id="top"> 
    103  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 
    104 <xsl:element name="link"> 
    105  <xsl:attribute name="xl:href"> 
    106   <xsl:value-of select="'./main.php'"/> 
    107  </xsl:attribute> 
     54<xsl:value-of select="$project"/> - Publications - Papers by authors 
     55==================================================================== 
     56 
     57.. meta:: 
     58   :keyword: <xsl:value-of select="$project"/> 
     59 
     60.. _top: 
     61 
     62This 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 
     63++lien <xsl:value-of select="'./main.php'"/> 
    10864 <xsl:value-of select="document('main.xml')/d:article/d:title"/> 
    109  <xsl:text> main page</xsl:text> 
    110 </xsl:element>. 
    111 </para> 
    112 <para> 
    113 You can also see <quote><xsl:value-of select="$project"/> - Publications - Papers</quote> sorted by 
    114 <xsl:element name="link"> 
    115  <xsl:attribute name="xl:href"> 
    116   <xsl:value-of select="'./superbib01.html'"/> 
    117  </xsl:attribute> 
     65 
     66 You can also see **<xsl:value-of select="$project"/> - Publications - Papers** sorted by 
     67++lien  <xsl:value-of select="'./superbib01.html'"/> 
     68 
    11869<xsl:text>years</xsl:text> 
    119 </xsl:element>. 
    120 </para> 
    12170 
    12271<xsl:call-template name="para_lastupdate_bib"> 
    12372 <xsl:with-param name="language" select="@xml:lang"/> 
     73 <xsl:with-param name="date" select="'ginette'"/> 
     74 <!-- ++ 
    12475 <xsl:with-param name="date" select="d:info/d:date"/> 
     76 --> 
     77 <xsl:with-param name="mode" select="'rest'"/> 
    12578</xsl:call-template> 
    12679 
    127 <sect1 xml:id="intro"> 
    128 <title>Introduction</title> 
    129 <para> 
    130 This document provide bibliography sorted by author's id (<emphasis>SURNAME_f</emphasis>). 
    131 </para> 
     80.. _intro: 
     81 
     82Introduction 
     83============= 
     84 
     85This document provide bibliography sorted by author's id (**SURNAME_f**). 
    13286 
    13387<xsl:call-template name="table_authors"> 
    13488<xsl:with-param name="linktype" select="'internal'"/> 
    13589</xsl:call-template> 
    136 </sect1> 
    13790 
    13891<!-- loop on author_ids --> 
     
    148101</xsl:call-template> 
    149102</xsl:variable> 
    150 <!-- 
    151 <xsl:message terminate="no"> 
    152 noeud courant <xsl:value-of select="name(.)"/> 
    153 author <xsl:value-of select="ancestor::d:author"/> 
    154 author_id2 <xsl:value-of select="$author_id2"/> 
    155 </xsl:message> 
    156 --> 
    157103<xsl:call-template name="one_author_id"> 
    158104<xsl:with-param name="author_id" select="$author_id2"/> 
     
    161107</xsl:for-each> 
    162108 
    163 </xsl:element> 
    164109</xsl:template> 
    165110 
     
    170115<xsl:param name="author_id"/> 
    171116<xsl:param name="author_name"/> 
    172 <xsl:element name="sect1"> 
    173 <xsl:attribute name="xml:id"> 
    174 <xsl:value-of select="$author_id"/> 
    175 </xsl:attribute> 
    176 <xsl:element name="title"> 
     117 
     118.. _<xsl:value-of select="$author_id"/>: 
     119 
    177120<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)"/> 
    178 <xsl:element name="link"> 
    179 <xsl:attribute name="xl:href"><xsl:text>#top</xsl:text></xsl:attribute> 
    180 <xsl:element name="inlinemediaobject"> 
    181 <xsl:element name="imageobject"> 
    182 <xsl:element name="imagedata"> 
    183 <xsl:attribute name="fileref">../../images/globalicondl11x10_up.gif</xsl:attribute> 
    184 </xsl:element> 
    185      </xsl:element> 
    186      <xsl:element name="textobject"> 
    187       <xsl:element name="phrase"> 
    188        <xsl:text>top</xsl:text> 
    189       </xsl:element> 
    190      </xsl:element> 
    191     </xsl:element> 
    192    </xsl:element> 
    193   </xsl:element> 
    194   <xsl:element name="orderedlist"> 
     121+++++++++++++++++++++++++++++++++++++++++++++++ 
     122 
     123.. |top| image:: ../../images/globalicondl11x10_up.gif 
     124 
     125_top:: `ref:`top` 
     126 
     127 
     128   |top| 
     129 
    195130   <xsl:for-each select="//d:biblioentry"> 
    196131    <xsl:sort order="descending" data-type="number" select="./d:biblioset/d:pubdate"/> 
     
    208143     </xsl:variable> 
    209144 
    210 <!-- 
    211      <xsl:message terminate="no"> 
    212       ref #<xsl:value-of select="position()"/> 
    213       _id appel <xsl:value-of select="$author_id"/> 
    214       _id fabrique <xsl:value-of select="$author_id2"/> 
    215       egal ? <xsl:value-of select="$author_id2 = $author_id"/> 
    216      </xsl:message> 
    217 --> 
    218145     <xsl:if test="$author_id2 = $author_id"> 
    219   <xsl:call-template name="one_biblioentry"> 
     146  <xsl:call-template name="one_biblioentry_rest"> 
    220147   <xsl:with-param name="visu_modif" select="'visu'"/> 
    221148   <xsl:with-param name="type" select="'raw'"/> 
     
    225152    </xsl:for-each> 
    226153   </xsl:for-each> 
    227   </xsl:element> 
    228  </xsl:element> 
    229154</xsl:template> 
    230155 
Note: See TracChangeset for help on using the changeset viewer.