Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 82199 | Differences between
and this patch

Collapse All | Expand All

(-)handbook.xsl (-12 / +30 lines)
Lines 49-60 Link Here
49
    <xsl:for-each select="part">
49
    <xsl:for-each select="part">
50
      <xsl:variable name="curpart" select="position()" />
50
      <xsl:variable name="curpart" select="position()" />
51
      <li>
51
      <li>
52
        <xsl:if test="$full = 0">
52
        <xsl:choose>
53
          <b><a href="{/book/@link}?part={$curpart}&amp;chap=0"><xsl:value-of select="title" /></a></b>
53
          <xsl:when test="$full = 0">
54
        </xsl:if>
54
            <xsl:choose>
55
        <xsl:if test="$full = 1">
55
              <xsl:when test="$style != 'printable'">
56
          <b><a href="#book_part{$curpart}"><xsl:value-of select="title" /></a></b>
56
                <b><a href="{/book/@link}?part={$curpart}&amp;chap=0"><xsl:value-of select="title" /></a></b>
57
        </xsl:if>
57
              </xsl:when>
58
              <xsl:otherwise>
59
                <b><a href="{/book/@link}?part={$curpart}&amp;chap=0&amp;style=printable"><xsl:value-of select="title" /></a></b>
60
              </xsl:otherwise>
61
            </xsl:choose>
62
          </xsl:when>
63
          <xsl:otherwise>
64
            <b><a href="#book_part{$curpart}"><xsl:value-of select="title" /></a></b>
65
          </xsl:otherwise>
66
        </xsl:choose>
58
        <xsl:if test="abstract">
67
        <xsl:if test="abstract">
59
          <br />
68
          <br />
60
          <xsl:value-of select="abstract" />
69
          <xsl:value-of select="abstract" />
Lines 63-74 Link Here
63
          <xsl:for-each select="chapter">
72
          <xsl:for-each select="chapter">
64
            <xsl:variable name="curchap" select="position()" />
73
            <xsl:variable name="curchap" select="position()" />
65
            <li>
74
            <li>
66
              <xsl:if test="$full = 0">
75
              <xsl:choose>
67
                <b><a href="{/book/@link}?part={$curpart}&amp;chap={$curchap}"><xsl:value-of select="title" /></a></b>
76
                <xsl:when test="$full = 0">
68
              </xsl:if>
77
                  <xsl:choose>
69
              <xsl:if test="$full = 1">
78
                    <xsl:when test="$style != 'printable'">
70
                <b><a href="#book_part{$curpart}_chap{$curchap}"><xsl:value-of select="title" /></a></b>
79
                      <b><a href="{/book/@link}?part={$curpart}&amp;chap={$curchap}"><xsl:value-of select="title" /></a></b>
71
              </xsl:if>
80
                    </xsl:when>
81
                    <xsl:otherwise>
82
                      <b><a href="{/book/@link}?part={$curpart}&amp;chap={$curchap}&amp;style=printable"><xsl:value-of select="title" /></a></b>
83
                    </xsl:otherwise>
84
                  </xsl:choose>
85
                </xsl:when>
86
                <xsl:otherwise>
87
                  <b><a href="#book_part{$curpart}_chap{$curchap}"><xsl:value-of select="title" /></a></b>
88
                </xsl:otherwise>
89
              </xsl:choose>
72
              <xsl:if test="abstract">
90
              <xsl:if test="abstract">
73
                <br/>
91
                <br/>
74
                <xsl:value-of select="abstract" />
92
                <xsl:value-of select="abstract" />

Return to bug 82199