Ignore:
Timestamp:
01/05/14 07:47:52 (6 years ago)
Author:
julian.reschke@…
Message:

bump up document dates, update to latest version of rfc2629.xslt

File:
1 edited

Legend:

Unmodified
Added
Removed
  • rfc2629xslt/rfc2629toFO.xslt

    r2627 r2628  
    286286    <xsl:call-template name="add-anchor"/>
    287287    <xsl:apply-templates />
    288     <xsl:if test="(@title!='' or @anchor!='') and not(@suppress-title='true')">
     288    <xsl:if test="(@title!='') or (@anchor!='' and not(@suppress-title='true'))">
    289289      <xsl:variable name="n"><xsl:call-template name="get-figure-number"/></xsl:variable>
    290       <fo:block text-align="center" space-before=".5em" space-after="1em">Figure <xsl:value-of select="$n"/><xsl:if test="@title!=''">: <xsl:value-of select="@title" /></xsl:if></fo:block>
     290      <fo:block text-align="center" space-before=".5em" space-after="1em">
     291        <xsl:if test="not(starts-with($n,'u'))">
     292          <xsl:text>Figure </xsl:text>
     293          <xsl:value-of select="$n"/>
     294          <xsl:if test="@title!=''">: </xsl:if>
     295        </xsl:if>
     296        <xsl:if test="@title!=''">
     297          <xsl:value-of select="@title" />
     298        </xsl:if>
     299      </fo:block>
    291300    </xsl:if>
    292301  </fo:block>
     
    987996        <xsl:apply-templates select="back/references" />
    988997       
    989         <xsl:if test="$xml2rfc-ext-authors-section!='end'">
     998        <xsl:if test="$xml2rfc-ext-authors-section='before-appendices'">
    990999          <xsl:call-template name="insertAuthors" />
    9911000        </xsl:if>
     
    18511860  <xsl:apply-templates select="references" mode="toc" />
    18521861
    1853   <xsl:if test="$xml2rfc-ext-authors-section!='end'">
     1862  <xsl:if test="$xml2rfc-ext-authors-section!='before-appendices'">
    18541863    <xsl:apply-templates select="/rfc/front" mode="toc" />
    18551864  </xsl:if>
     
    19922001  <xsl:param name="tocparam" />
    19932002 
    1994   <xsl:variable name="depth" select="string-length(translate($number,'.ABCDEFGHIJKLMNOPQRSTUVWXYZ01234567890&#167;','.'))" />
     2003  <xsl:variable name="depth">
     2004    <!-- count the dots -->
     2005    <xsl:value-of select="string-length(translate($number,'.ABCDEFGHIJKLMNOPQRSTUVWXYZ01234567890&#167;','.'))"/>
     2006  </xsl:variable>
    19952007 
    19962008  <!-- handle tocdepth parameter -->
    19972009  <xsl:choose>
    1998     <xsl:when test="($tocparam='' or $tocparam='default') and string-length(translate($number,'.ABCDEFGHIJKLMNOPQRSTUVWXYZ01234567890&#167;','.')) &gt;= $parsedTocDepth">
     2010    <xsl:when test="(not($tocparam) or $tocparam='' or $tocparam='default') and $depth >= $parsedTocDepth">
    19992011      <!-- dropped entry because of depth-->
    20002012    </xsl:when>
     
    22652277  <xsl:call-template name="references-bookmarks" />
    22662278
    2267   <xsl:if test="$xml2rfc-ext-authors-section!='end'">
     2279  <xsl:if test="$xml2rfc-ext-authors-section!='before-appendices'">
    22682280    <xsl:apply-templates select="/rfc/front" mode="bookmarks" />
    22692281  </xsl:if>
     
    25532565    </fo:table>
    25542566    <xsl:apply-templates select="postamble" />
    2555     <xsl:if test="(@title!='' or @anchor!='') and not(@suppress-title='true')">
     2567    <xsl:if test="(@title!='') or (@anchor!='' and not(@suppress-title='true'))">
    25562568      <xsl:variable name="n"><xsl:call-template name="get-table-number"/></xsl:variable>
    2557       <fo:block text-align="center" space-before="1em" space-after="1em">Table <xsl:value-of select="$n"/><xsl:if test="@title!=''">: <xsl:value-of select="@title" /></xsl:if></fo:block>
     2569      <fo:block text-align="center" space-before="1em" space-after="1em">
     2570        <xsl:if test="not(starts-with($n,'u'))">
     2571          <xsl:text>Table </xsl:text>
     2572          <xsl:value-of select="$n"/>
     2573          <xsl:if test="@title!=''">: </xsl:if>
     2574        </xsl:if>
     2575        <xsl:if test="@title!=''">
     2576          <xsl:value-of select="@title" />
     2577        </xsl:if>
     2578      </fo:block>
    25582579    </xsl:if>
    25592580  </fo:block>
Note: See TracChangeset for help on using the changeset viewer.