Ignore:
Timestamp:
10/08/2013 08:03:29 PM (11 years ago)
Author:
Matthew Burgess <matthew@…>
Branches:
10.0, 10.0-rc1, 10.1, 10.1-rc1, 11.0, 11.0-rc1, 11.0-rc2, 11.0-rc3, 11.1, 11.1-rc1, 11.2, 11.2-rc1, 11.3, 11.3-rc1, 12.0, 12.0-rc1, 12.1, 12.1-rc1, 12.2, 12.2-rc1, 7.5, 7.6, 7.7, 7.8, 7.9, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, arm, bdubbs/gcc13, ml-11.0, multilib, renodr/libudev-from-systemd, s6-init, trunk, xry111/arm64, xry111/arm64-12.0, xry111/clfs-ng, xry111/lfs-next, xry111/loongarch, xry111/loongarch-12.0, xry111/loongarch-12.1, xry111/loongarch-12.2, xry111/mips64el, xry111/pip3, xry111/rust-wip-20221008, xry111/update-glibc
Children:
58675ce
Parents:
09a35dd
Message:

Update stylesheets to docbook-xsl-1.78.1.

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

File:
1 moved

Legend:

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

    r09a35dd r15c7d39  
    55
    66<!-- ********************************************************************
    7      $Id$
     7     $Id: fo.xsl 9720 2013-01-31 18:24:47Z bobstayton $
    88     ********************************************************************
    99
     
    1313
    1414     ******************************************************************** -->
     15
     16<!-- These variables set the margin-left or -right attribute value for FO output based on
     17     the writing-mode specified in the gentext file for the document's lang. -->
     18
     19<xsl:param name="direction.align.start">
     20  <xsl:choose>
     21    <!-- FOP does not support writing-mode="rl-tb" -->
     22    <xsl:when test="$fop.extensions != 0">left</xsl:when>
     23    <xsl:when test="$fop1.extensions != 0">left</xsl:when>
     24    <xsl:when test="starts-with($writing.mode, 'lr')">left</xsl:when>
     25    <xsl:when test="starts-with($writing.mode, 'rl')">right</xsl:when>
     26    <xsl:when test="starts-with($writing.mode, 'tb')">top</xsl:when>
     27    <xsl:otherwise>left</xsl:otherwise>
     28  </xsl:choose>
     29</xsl:param>
     30
     31<xsl:param name="direction.align.end">
     32  <xsl:choose>
     33    <xsl:when test="$fop.extensions != 0">right</xsl:when>
     34    <xsl:when test="$fop1.extensions != 0">right</xsl:when>
     35    <xsl:when test="starts-with($writing.mode, 'lr')">right</xsl:when>
     36    <xsl:when test="starts-with($writing.mode, 'rl')">left</xsl:when>
     37    <xsl:when test="starts-with($writing.mode, 'tb')">bottom</xsl:when>
     38    <xsl:otherwise>right</xsl:otherwise>
     39  </xsl:choose>
     40</xsl:param>
     41
     42<xsl:param name="direction.mode">
     43  <xsl:choose>
     44    <xsl:when test="$fop.extensions != 0 and
     45                    starts-with($writing.mode, 'rl')">
     46      <xsl:message>WARNING: FOP does not support right-to-left writing-mode</xsl:message>
     47      <xsl:text>lr-tb</xsl:text>
     48    </xsl:when>
     49    <xsl:when test="$fop1.extensions != 0 and
     50                    starts-with($writing.mode, 'rl')">
     51      <xsl:message>WARNING: FOP does not support right-to-left writing-mode</xsl:message>
     52      <xsl:text>lr-tb</xsl:text>
     53    </xsl:when>
     54    <xsl:when test="starts-with($writing.mode, 'lr')">lr-tb</xsl:when>
     55    <xsl:when test="starts-with($writing.mode, 'rl')">rl-tb</xsl:when>
     56    <xsl:when test="starts-with($writing.mode, 'tb')">tb-rl</xsl:when>
     57    <xsl:otherwise>lr-tb</xsl:otherwise>
     58  </xsl:choose>
     59</xsl:param>
     60
    1561
    1662<xsl:template name="anchor">
     
    4894
    4995  <xsl:choose>
    50     <xsl:when test="$dingbat.font.family = ''">
     96    <xsl:when test="$dingbat.fontset = ''">
    5197      <xsl:copy-of select="$symbol"/>
    5298    </xsl:when>
    5399    <xsl:otherwise>
    54       <fo:inline font-family="{$dingbat.font.family}">
     100      <fo:inline font-family="{$dingbat.fontset}">
    55101        <xsl:copy-of select="$symbol"/>
    56102      </fo:inline>
Note: See TracChangeset for help on using the changeset viewer.