Ignore:
Timestamp:
12/10/2013 11:37:38 PM (11 years ago)
Author:
Krejzi <krejzi@…>
Branches:
7.5-systemd, 7.6-systemd, 7.7-systemd, 7.8-systemd, 7.9-systemd
Children:
112db9d
Parents:
f2a5108
Message:

Import new branch

git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/systemd/BOOK@10389 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

File:
1 moved

Legend:

Unmodified
Added
Removed
  • stylesheets/lfs-xsl/docbook-xsl-1.78.1/fo/division.xsl

    rf2a5108 rb1a51ac1  
    66
    77<!-- ********************************************************************
    8      $Id$
     8     $Id: division.xsl 9730 2013-03-15 15:26:25Z bobstayton $
    99     ********************************************************************
    1010
     
    2525  </xsl:variable>
    2626  <xsl:variable name="title">
    27     <xsl:apply-templates select="$node" mode="object.title.markup"/>
    28   </xsl:variable>
    29 
    30   <xsl:if test="$passivetex.extensions != 0">
    31     <fotex:bookmark xmlns:fotex="http://www.tug.org/fotex"
    32                     fotex-bookmark-level="1"
    33                     fotex-bookmark-label="{$id}">
    34       <xsl:value-of select="$title"/>
    35     </fotex:bookmark>
    36   </xsl:if>
     27    <xsl:apply-templates select="$node" mode="object.title.markup">
     28      <xsl:with-param name="allow-anchors" select="1"/>
     29    </xsl:apply-templates>
     30  </xsl:variable>
    3731
    3832  <fo:block keep-with-next.within-column="always"
     
    6458
    6559  <xsl:variable name="preamble"
    66                 select="*[not(self::book or self::setindex)]"/>
    67 
    68   <xsl:variable name="content" select="book|setindex"/>
     60                select="*[not(self::book or self::set or self::setindex)]"/>
     61
     62  <xsl:variable name="content" select="book|set|setindex"/>
    6963
    7064  <xsl:variable name="titlepage-master-reference">
     
    258252
    259253  <xsl:apply-templates select="dedication" mode="dedication"/>
     254  <xsl:apply-templates select="acknowledgements" mode="acknowledgements"/>
    260255
    261256  <xsl:call-template name="make.book.tocs"/>
     
    331326        <xsl:call-template name="list.of.titles">
    332327          <xsl:with-param name="titles" select="'table'"/>
    333           <xsl:with-param name="nodes" select=".//table"/>
     328          <xsl:with-param name="nodes" select=".//table[not(@tocentry = 0)]"/>
    334329        </xsl:call-template>
    335330      </xsl:with-param>
     
    499494  </xsl:variable>
    500495
    501   <xsl:variable name="nodes" select="reference|
    502                                      preface|
    503                                      chapter|
    504                                      appendix|
    505                                      article|
    506                                      bibliography|
    507                                      glossary|
    508                                      index"/>
     496  <xsl:variable name="nodes" select="$part/reference|
     497                                     $part/preface|
     498                                     $part/chapter|
     499                                     $part/appendix|
     500                                     $part/article|
     501                                     $part/bibliography|
     502                                     $part/glossary|
     503                                     $part/index"/>
    509504
    510505  <xsl:if test="count($nodes) &gt; 0 and contains($toc.params, 'toc')">
Note: See TracChangeset for help on using the changeset viewer.