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/multilib, 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/math.xsl

    r09a35dd r15c7d39  
    77
    88<!-- ********************************************************************
    9      $Id$
     9     $Id: math.xsl 9647 2012-10-26 17:42:03Z bobstayton $
    1010     ********************************************************************
    1111
     
    1717
    1818<xsl:template match="inlineequation">
    19   <xsl:choose>
    20     <xsl:when test="$passivetex.extensions != 0 and $tex.math.in.alt != ''">
    21       <xsl:apply-templates select="alt[@role='tex'] | inlinemediaobject/textobject[@role='tex']">
    22         <xsl:with-param name="output.delims">
    23           <xsl:call-template name="tex.math.output.delims"/>
    24         </xsl:with-param>
    25       </xsl:apply-templates>
    26     </xsl:when>
    27     <xsl:otherwise>
    28       <xsl:apply-templates/>
    29     </xsl:otherwise>
    30   </xsl:choose>
     19  <xsl:apply-templates/>
    3120</xsl:template>
    3221
     
    5948
    6049<xsl:template match="equation/graphic | informalequation/graphic">
    61   <xsl:if test="$passivetex.extensions = 0 or $tex.math.in.alt = ''">
     50  <xsl:if test="$tex.math.in.alt = ''">
    6251    <fo:block>
    6352      <xsl:call-template name="process.image"/>
     
    6958                     inlineequation/inlinemediaobject/textobject[@role='tex']" priority="1">
    7059  <xsl:param name="output.delims" select="1"/>
    71   <xsl:if test="$passivetex.extensions != 0 and $tex.math.in.alt != ''">
    72     <xsl:processing-instruction name="xmltex">
    73       <xsl:if test="$output.delims != 0">
    74         <xsl:text>$</xsl:text>
    75       </xsl:if>
    76       <xsl:value-of select="."/>
    77       <xsl:if test="$output.delims != 0">
    78         <xsl:text>$</xsl:text>
    79       </xsl:if>
    80     </xsl:processing-instruction>
    81   </xsl:if>
    8260</xsl:template>
    8361
     
    8866    <xsl:call-template name="tex.math.output.delims"/>
    8967  </xsl:variable>
    90   <xsl:if test="$passivetex.extensions != 0 and $tex.math.in.alt != ''">
    91     <xsl:processing-instruction name="xmltex">
    92       <xsl:if test="$output.delims != 0">
    93         <xsl:text>$$</xsl:text>
    94       </xsl:if>
    95       <xsl:value-of select="."/>
    96       <xsl:if test="$output.delims != 0">
    97         <xsl:text>$$</xsl:text>
    98       </xsl:if>
    99     </xsl:processing-instruction>
    100   </xsl:if>
    101 </xsl:template>
    102 
    103 <xsl:template match="alt[@role='tex']">
    104   <xsl:if test="$passivetex.extensions != 0 and $tex.math.in.alt != ''">
    105     <xsl:message>
    106       Your equation is misplaced. It should be in inlineequation, equation or informalequation.
    107     </xsl:message>
    108   </xsl:if>
    10968</xsl:template>
    11069
Note: See TracChangeset for help on using the changeset viewer.