Changeset b1a51ac1 for stylesheets/lfs-xsl/docbook-xsl-1.78.1/fo/index.xsl
- Timestamp:
- 12/10/2013 11:37:38 PM (11 years ago)
- Branches:
- 7.5-systemd, 7.6-systemd, 7.7-systemd, 7.8-systemd, 7.9-systemd
- Children:
- 112db9d
- Parents:
- f2a5108
- File:
-
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
stylesheets/lfs-xsl/docbook-xsl-1.78.1/fo/index.xsl
rf2a5108 rb1a51ac1 1 1 <?xml version='1.0'?> 2 2 <!DOCTYPE xsl:stylesheet [ 3 <!ENTITY primary 'normalize-space(concat(primary/@sortas, primary[not(@sortas)]))'> 4 <!ENTITY secondary 'normalize-space(concat(secondary/@sortas, secondary[not(@sortas)]))'> 5 <!ENTITY tertiary 'normalize-space(concat(tertiary/@sortas, tertiary[not(@sortas)]))'> 3 <!ENTITY % common.entities SYSTEM "../common/entities.ent"> 4 %common.entities; 6 5 ]> 7 6 <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" … … 11 10 12 11 <!-- ******************************************************************** 13 $Id $12 $Id: index.xsl 9286 2012-04-19 10:10:58Z bobstayton $ 14 13 ******************************************************************** 15 14 … … 117 116 </xsl:call-template> 118 117 119 <fo:block id="{$id}"> 118 <fo:block id="{$id}" 119 xsl:use-attribute-sets="component.titlepage.properties"> 120 120 <xsl:call-template name="index.titlepage"/> 121 121 </fo:block> … … 296 296 <xsl:variable name="wrapper.name"> 297 297 <xsl:choose> 298 <xsl:when test="$axf.extensions != 0 ">298 <xsl:when test="$axf.extensions != 0 or $fop1.extensions != 0"> 299 299 <xsl:call-template name="inline.or.block"/> 300 300 </xsl:when> … … 447 447 <xsl:attribute name="start-indent"> 448 448 <xsl:choose> 449 <xsl:when test="preceding-sibling::tertiaryie">3pc</xsl:when> 450 <xsl:when test="preceding-sibling::secondaryie">2pc</xsl:when> 449 <xsl:when test="(preceding-sibling::tertiaryie | 450 preceding-sibling::secondaryie)[last()] 451 [self::tertiaryie]">3pc</xsl:when> 452 <xsl:when test="(preceding-sibling::tertiaryie | 453 preceding-sibling::secondaryie)[last()] 454 [self::secondaryie]">2pc</xsl:when> 451 455 <xsl:otherwise>1pc</xsl:otherwise> 452 456 </xsl:choose> … … 467 471 <xsl:param name="parentnode" select=".."/> 468 472 469 <xsl:variable name="parent" select=" local-name($parentnode)"/>470 471 <xsl:variable name="block.parents" select="'|answer|appendix|appendixinfo|article|articleinfo|bibliodiv|bibliography|bibliographyinfo|blockinfo|blockquote|bookinfo|callout|caution|chapter|chapterinfo|dedication|example|figure|formalpara|funcsynopsisinfo|glossary|glossaryinfo|glossdef|glossdiv|glossentry|highlights|important|index|indexinfo|info|informalexample|informalfigure|informaltable|itemizedlist|legalnotice|listitem|msgexplan|msgtext|note|objectinfo|orderedlist|partinfo|partintro|preface|prefaceinfo|procedure|qandadiv|qandaset|question|refentry|refentryinfo|referenceinfo|refmeta|refmiscinfo|refsect1|refsect1info|refsect2|refsect2info|refsect3|refsect3info|refsection|refsectioninfo|refsynopsisdiv|refsynopsisdivinfo|revdescription|screeninfo|sect1|sect1info|sect2|sect2info|sect3|sect3info|sect4|sect4info|sect5|sect5info|section|sectioninfo|setindex|setindexinfo|setinfo|sidebar|sidebarinfo|simplesect|step|table|task|taskprerequisites|taskrelated|tasksummary|tip| variablelist|warning|'"/>473 <xsl:variable name="parent" select="concat('|', local-name($parentnode), '|')"/> 474 475 <xsl:variable name="block.parents" select="'|answer|appendix|appendixinfo|article|articleinfo|bibliodiv|bibliography|bibliographyinfo|blockinfo|blockquote|bookinfo|callout|caution|chapter|chapterinfo|dedication|example|figure|formalpara|funcsynopsisinfo|glossary|glossaryinfo|glossdef|glossdiv|glossentry|highlights|important|index|indexinfo|info|informalexample|informalfigure|informaltable|itemizedlist|legalnotice|listitem|msgexplan|msgtext|note|objectinfo|orderedlist|partinfo|partintro|preface|prefaceinfo|procedure|qandadiv|qandaset|question|refentry|refentryinfo|referenceinfo|refmeta|refmiscinfo|refsect1|refsect1info|refsect2|refsect2info|refsect3|refsect3info|refsection|refsectioninfo|refsynopsisdiv|refsynopsisdivinfo|revdescription|screeninfo|sect1|sect1info|sect2|sect2info|sect3|sect3info|sect4|sect4info|sect5|sect5info|section|sectioninfo|setindex|setindexinfo|setinfo|sidebar|sidebarinfo|simplesect|step|table|task|taskprerequisites|taskrelated|tasksummary|tip|topic|variablelist|warning|'"/> 472 476 473 477 <xsl:choose> 474 <xsl:when test="contains($parent, $block.parents)">fo:block</xsl:when> 478 <xsl:when test="contains($block.parents, $parent)">fo:block</xsl:when> 479 <xsl:when test="$fop1.extensions != 0">fo:wrapper</xsl:when> 475 480 <xsl:otherwise>fo:inline</xsl:otherwise> 476 481 </xsl:choose>
Note:
See TracChangeset
for help on using the changeset viewer.