Ignore:
Timestamp:
05/09/2008 01:00:42 PM (16 years ago)
Author:
Randy McMurchy <randy@…>
Branches:
10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 6.3, 6.3-rc1, 6.3-rc2, 6.3-rc3, 7.10, 7.4, 7.5, 7.6, 7.6-blfs, 7.6-systemd, 7.7, 7.8, 7.9, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, basic, bdubbs/svn, elogind, gnome, kde5-13430, kde5-14269, kde5-14686, kea, ken/TL2024, ken/inkscape-core-mods, ken/tuningfonts, krejzi/svn, lazarus, lxqt, nosym, perl-modules, plabs/newcss, plabs/python-mods, python3.11, qt5new, rahul/power-profiles-daemon, renodr/vulkan-addition, systemd-11177, systemd-13485, trunk, upgradedb, xry111/intltool, xry111/llvm18, xry111/soup3, xry111/test-20220226, xry111/xf86-video-removal
Children:
b48899b
Parents:
2262b78
Message:

Removed extraneous whitespace from the ends of line text

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@7431 af4574ff-66df-0310-9fd7-8a98e5e911e0

File:
1 edited

Legend:

Unmodified
Added
Removed
  • stylesheets/lfs-xsl/docbook-xsl-snapshot/common/common.xsl

    r2262b78 r410e228b  
    366366         (parsect  (ancestor-member node (section-element-list)))
    367367
    368          (defnum   (if (and %qanda-inherit-numeration% 
     368         (defnum   (if (and %qanda-inherit-numeration%
    369369                            %section-autolabel%)
    370370                       (if (node-list-empty? parsect)
     
    373373                       ""))
    374374
    375          (hnumber  (let loop ((numlist hnr) (number defnum) 
     375         (hnumber  (let loop ((numlist hnr) (number defnum)
    376376                              (sep (if (equal? defnum "") "" ".")))
    377377                     (if (null? numlist)
    378378                         number
    379                          (loop (cdr numlist) 
     379                         (loop (cdr numlist)
    380380                               (string-append number
    381381                                              sep
     
    383383                               "."))))
    384384         (cnumber  (child-number (parent node)))
    385          (number   (string-append hnumber 
     385         (number   (string-append hnumber
    386386                                  (if (equal? hnumber "")
    387387                                      ""
     
    822822the "right" object.</para>
    823823
    824 <para>This template relies on a template named 
     824<para>This template relies on a template named
    825825"select.mediaobject.index" to determine which object
    826826in the list is appropriate.</para>
     
    895895<varlistentry><term>count</term>
    896896<listitem>
    897 <para>The position in the list currently being considered by the 
     897<para>The position in the list currently being considered by the
    898898recursive process.</para>
    899899</listitem>
     
    915915  <xsl:choose>
    916916    <!-- Test for objects preferred by role -->
    917     <xsl:when test="$use.role.for.mediaobject != 0 
     917    <xsl:when test="$use.role.for.mediaobject != 0
    918918               and $preferred.mediaobject.role != ''
    919                and $olist[@role = $preferred.mediaobject.role]"> 
     919               and $olist[@role = $preferred.mediaobject.role]">
    920920
    921921      <!-- Get the first hit's position index -->
    922922      <xsl:for-each select="$olist">
    923923        <xsl:if test="@role = $preferred.mediaobject.role and
    924              not(preceding-sibling::*[@role = $preferred.mediaobject.role])"> 
    925           <xsl:value-of select="position()"/> 
     924             not(preceding-sibling::*[@role = $preferred.mediaobject.role])">
     925          <xsl:value-of select="position()"/>
    926926        </xsl:if>
    927927      </xsl:for-each>
    928928    </xsl:when>
    929929
    930     <xsl:when test="$use.role.for.mediaobject != 0 
     930    <xsl:when test="$use.role.for.mediaobject != 0
    931931               and $olist[@role = $stylesheet.result.type]">
    932932      <!-- Get the first hit's position index -->
    933933      <xsl:for-each select="$olist">
    934         <xsl:if test="@role = $stylesheet.result.type and 
    935               not(preceding-sibling::*[@role = $stylesheet.result.type])"> 
    936           <xsl:value-of select="position()"/> 
     934        <xsl:if test="@role = $stylesheet.result.type and
     935              not(preceding-sibling::*[@role = $stylesheet.result.type])">
     936          <xsl:value-of select="position()"/>
    937937        </xsl:if>
    938938      </xsl:for-each>
    939939    </xsl:when>
    940940    <!-- Accept 'html' for $stylesheet.result.type = 'xhtml' -->
    941     <xsl:when test="$use.role.for.mediaobject != 0 
     941    <xsl:when test="$use.role.for.mediaobject != 0
    942942               and $stylesheet.result.type = 'xhtml'
    943943               and $olist[@role = 'html']">
    944944      <!-- Get the first hit's position index -->
    945945      <xsl:for-each select="$olist">
    946         <xsl:if test="@role = 'html' and 
    947               not(preceding-sibling::*[@role = 'html'])"> 
    948           <xsl:value-of select="position()"/> 
     946        <xsl:if test="@role = 'html' and
     947              not(preceding-sibling::*[@role = 'html'])">
     948          <xsl:value-of select="position()"/>
    949949        </xsl:if>
    950950      </xsl:for-each>
     
    953953    <!-- If no selection by role, and there is only one object, use it -->
    954954    <xsl:when test="count($olist) = 1 and $count = 1">
    955       <xsl:value-of select="$count"/> 
     955      <xsl:value-of select="$count"/>
    956956    </xsl:when>
    957957
     
    967967                            and $object/@role='tex' and $stylesheet.result.type = 'fo'
    968968                            and $tex.math.in.alt != ''">
    969               <xsl:text>1</xsl:text> 
     969              <xsl:text>1</xsl:text>
    970970            </xsl:when>
    971971            <!-- The phrase is never used -->
     
    984984              <xsl:text>1</xsl:text>
    985985            </xsl:when>
    986             <!-- don't use graphic when output is FO, TeX Math is used 
     986            <!-- don't use graphic when output is FO, TeX Math is used
    987987                 and there is math in alt element -->
    988             <xsl:when test="$object/ancestor::equation and 
     988            <xsl:when test="$object/ancestor::equation and
    989989                            $object/ancestor::equation/alt[@role='tex']
    990990                            and $stylesheet.result.type = 'fo'
     
    16771677      <xsl:with-param name="filename">
    16781678        <xsl:call-template name="xml.base.dirs">
    1679           <xsl:with-param name="base.elem" 
     1679          <xsl:with-param name="base.elem"
    16801680                          select="$filename/ancestor-or-self::*
    16811681                                   [@xml:base != ''][1]"/>
     
    17211721  <xsl:param name="base.elem" select="NONODE"/>
    17221722
    1723   <!-- Recursively resolve xml:base attributes, up to a 
     1723  <!-- Recursively resolve xml:base attributes, up to a
    17241724       full path with : in uri -->
    17251725  <xsl:if test="$base.elem/ancestor::*[@xml:base != ''] and
    17261726                not(contains($base.elem/@xml:base, ':'))">
    17271727    <xsl:call-template name="xml.base.dirs">
    1728       <xsl:with-param name="base.elem" 
     1728      <xsl:with-param name="base.elem"
    17291729                      select="$base.elem/ancestor::*[@xml:base != ''][1]"/>
    17301730    </xsl:call-template>
Note: See TracChangeset for help on using the changeset viewer.