Changeset 73b79203 for stylesheets


Ignore:
Timestamp:
Feb 21, 2006, 1:51:11 AM (18 years ago)
Author:
Jim Gifford <clfs@…>
Children:
0e2e5b5
Parents:
73fdcb6
Message:

r945@server (orig r943): manuel | 2005-12-20 12:49:34 -0800
Changed book's title and copyright.

Location:
stylesheets
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • stylesheets/top-index.xsl

    r73fdcb6 r73b79203  
    230230    <div class="authorgroup">
    231231      <h3 class="author">
    232         <xsl:value-of select="author/firstname"/>
     232        <xsl:value-of select="author[1]/firstname"/>
    233233        <xsl:text> </xsl:text>
    234         <xsl:value-of select="author/surname"/>
     234        <xsl:value-of select="author[1]/surname"/>
     235      </h3>
     236      <h3 class="author">
     237        <xsl:value-of select="author[2]/firstname"/>
     238        <xsl:text> </xsl:text>
     239        <xsl:value-of select="author[2]/surname"/>
    235240      </h3>
    236241    </div>
     
    254259  </xsl:template>
    255260
     261  <xsl:template match="bibliosource">
     262    <div>
     263      <p class="copyright">
     264        <em>
     265          <xsl:apply-templates/>
     266        </em>
     267      </p>
     268    </div>
     269  </xsl:template>
     270
    256271  <xsl:template match="subtitle|author|firstname|surname|legalnotice"/>
    257272
  • stylesheets/xhtml/lfs-mixed.xsl

    r73fdcb6 r73b79203  
    183183  </xsl:template>
    184184
     185  <!-- Adding bibliosource to titlepage -->
     186  <xsl:template name="book.titlepage.recto">
     187    <xsl:choose>
     188      <xsl:when test="bookinfo/title">
     189        <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="bookinfo/title"/>
     190      </xsl:when>
     191      <xsl:when test="info/title">
     192        <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="info/title"/>
     193      </xsl:when>
     194      <xsl:when test="title">
     195        <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="title"/>
     196      </xsl:when>
     197    </xsl:choose>
     198
     199    <xsl:choose>
     200      <xsl:when test="bookinfo/subtitle">
     201        <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="bookinfo/subtitle"/>
     202      </xsl:when>
     203      <xsl:when test="info/subtitle">
     204        <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="info/subtitle"/>
     205      </xsl:when>
     206      <xsl:when test="subtitle">
     207        <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="subtitle"/>
     208      </xsl:when>
     209    </xsl:choose>
     210
     211    <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="bookinfo/corpauthor"/>
     212    <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="info/corpauthor"/>
     213    <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="bookinfo/authorgroup"/>
     214    <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="info/authorgroup"/>
     215    <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="bookinfo/author"/>
     216    <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="info/author"/>
     217    <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="bookinfo/othercredit"/>
     218    <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="info/othercredit"/>
     219    <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="bookinfo/releaseinfo"/>
     220    <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="info/releaseinfo"/>
     221    <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="bookinfo/copyright"/>
     222    <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="info/copyright"/>
     223    <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="bookinfo/bibliosource"/>
     224    <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="bookinfo/legalnotice"/>
     225    <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="info/legalnotice"/>
     226    <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="bookinfo/pubdate"/>
     227    <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="info/pubdate"/>
     228    <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="bookinfo/revision"/>
     229    <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="info/revision"/>
     230    <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="bookinfo/revhistory"/>
     231    <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="info/revhistory"/>
     232    <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="bookinfo/abstract"/>
     233    <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="info/abstract"/>
     234  </xsl:template>
     235
     236  <xsl:template match="bibliosource" mode="book.titlepage.recto.auto.mode">
     237    <div>
     238      <p class="copyright">
     239        <xsl:apply-templates/>
     240      </p>
     241    </div>
     242  </xsl:template>
     243
    185244</xsl:stylesheet>
Note: See TracChangeset for help on using the changeset viewer.