Changeset 410e228b for stylesheets


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

Location:
stylesheets/lfs-xsl/docbook-xsl-snapshot
Files:
56 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>
  • stylesheets/lfs-xsl/docbook-xsl-snapshot/common/gentext.xsl

    r2262b78 r410e228b  
    155155</xsl:template>
    156156
    157 <xsl:template match="section|sect1|sect2|sect3|sect4|sect5" 
     157<xsl:template match="section|sect1|sect2|sect3|sect4|sect5"
    158158              mode="is.autonumber">
    159159  <xsl:call-template name="label.this.section"/>
     
    230230  <xsl:variable name="context">
    231231    <xsl:choose>
    232       <xsl:when test="string($autonumber) != 0 
     232      <xsl:when test="string($autonumber) != 0
    233233                      and $number-and-title-template != 0
    234234                      and $xref.with.number.and.title != 0">
    235235         <xsl:value-of select="'xref-number-and-title'"/>
    236236      </xsl:when>
    237       <xsl:when test="string($autonumber) != 0 
     237      <xsl:when test="string($autonumber) != 0
    238238                      and $number-template != 0">
    239239         <xsl:value-of select="'xref-number'"/>
     
    342342  </xsl:variable>
    343343
    344 <!-- 
     344<!--
    345345  <xsl:message>
    346346    <xsl:text>object.xref.markup: </xsl:text>
     
    771771  <xsl:if test="($pagetype = 'nopage' or $docnametype = 'nodocname')
    772772                  and local-name($referrer) != 'olink'
    773                   and $labeltype = '' 
     773                  and $labeltype = ''
    774774                  and $titletype = ''">
    775775    <xsl:apply-templates select="." mode="object.xref.template">
  • stylesheets/lfs-xsl/docbook-xsl-snapshot/common/l10n.dtd

    r2262b78 r410e228b  
    1212<!ENTITY % letters "%prefix;:letters">
    1313<!ENTITY % l "%prefix;:l">
    14 <!ENTITY % lang "lang NMTOKEN #IMPLIED"> 
     14<!ENTITY % lang "lang NMTOKEN #IMPLIED">
    1515
    1616<!ELEMENT %i18n; ((%l10n;)+)>
  • stylesheets/lfs-xsl/docbook-xsl-snapshot/common/labels.xsl

    r2262b78 r410e228b  
    7979                      ancestor::part">
    8080        <xsl:variable name="part.label">
    81           <xsl:apply-templates select="ancestor::part" 
     81          <xsl:apply-templates select="ancestor::part"
    8282                               mode="label.markup"/>
    8383        </xsl:variable>
    8484        <xsl:if test="$part.label != ''">
    8585          <xsl:value-of select="$part.label"/>
    86           <xsl:apply-templates select="ancestor::part" 
     86          <xsl:apply-templates select="ancestor::part"
    8787                               mode="intralabel.punctuation"/>
    8888        </xsl:if>
     
    114114                      ancestor::part">
    115115        <xsl:variable name="part.label">
    116           <xsl:apply-templates select="ancestor::part" 
     116          <xsl:apply-templates select="ancestor::part"
    117117                               mode="label.markup"/>
    118118        </xsl:variable>
    119119        <xsl:if test="$part.label != ''">
    120120          <xsl:value-of select="$part.label"/>
    121           <xsl:apply-templates select="ancestor::part" 
     121          <xsl:apply-templates select="ancestor::part"
    122122                               mode="intralabel.punctuation"/>
    123123        </xsl:if>
     
    149149                      ancestor::part">
    150150        <xsl:variable name="part.label">
    151           <xsl:apply-templates select="ancestor::part" 
     151          <xsl:apply-templates select="ancestor::part"
    152152                               mode="label.markup"/>
    153153        </xsl:variable>
    154154        <xsl:if test="$part.label != ''">
    155155          <xsl:value-of select="$part.label"/>
    156           <xsl:apply-templates select="ancestor::part" 
     156          <xsl:apply-templates select="ancestor::part"
    157157                               mode="intralabel.punctuation"/>
    158158        </xsl:if>
     
    197197                      ancestor::part">
    198198        <xsl:variable name="part.label">
    199           <xsl:apply-templates select="ancestor::part" 
     199          <xsl:apply-templates select="ancestor::part"
    200200                               mode="label.markup"/>
    201201        </xsl:variable>
    202202        <xsl:if test="$part.label != ''">
    203203          <xsl:value-of select="$part.label"/>
    204           <xsl:apply-templates select="ancestor::part" 
     204          <xsl:apply-templates select="ancestor::part"
    205205                               mode="intralabel.punctuation"/>
    206206        </xsl:if>
     
    278278      <xsl:value-of select="@label"/>
    279279    </xsl:when>
    280     <xsl:when test="$label != 0">     
     280    <xsl:when test="$label != 0">
    281281      <xsl:variable name="format">
    282282        <xsl:call-template name="autolabel.format">
     
    687687            <xsl:apply-templates select="$pchap" mode="intralabel.punctuation"/>
    688688          </xsl:if>
    689           <xsl:number count="procedure[title]" format="1" 
     689          <xsl:number count="procedure[title]" format="1"
    690690                      from="chapter|appendix" level="any"/>
    691691        </xsl:when>
    692692        <xsl:otherwise>
    693           <xsl:number count="procedure[title]" format="1" 
     693          <xsl:number count="procedure[title]" format="1"
    694694                      from="book|article" level="any"/>
    695695        </xsl:otherwise>
     
    722722            <xsl:apply-templates select="$pchap" mode="intralabel.punctuation"/>
    723723          </xsl:if>
    724           <xsl:number format="1" count="equation[title or info/title]" 
     724          <xsl:number format="1" count="equation[title or info/title]"
    725725                      from="chapter|appendix" level="any"/>
    726726        </xsl:when>
    727727        <xsl:otherwise>
    728           <xsl:number format="1" count="equation[title or info/title]" 
     728          <xsl:number format="1" count="equation[title or info/title]"
    729729                      from="book|article" level="any"/>
    730730        </xsl:otherwise>
     
    784784
    785785  <xsl:choose>
    786     <xsl:when test="$level &lt;= $section.autolabel.max.depth">     
     786    <xsl:when test="$level &lt;= $section.autolabel.max.depth">
    787787      <xsl:value-of select="$section.autolabel"/>
    788788    </xsl:when>
     
    795795<refdescription id="label.this.section-desc">
    796796<para>Returns true if the specified section should be labelled.
    797 By default, this template returns zero unless 
     797By default, this template returns zero unless
    798798the section level is less than or equal to the value of the
    799799<literal>$section.autolabel.max.depth</literal> parameter, in
     
    816816    </xsl:when>
    817817    <xsl:otherwise>1</xsl:otherwise>
    818   </xsl:choose> 
     818  </xsl:choose>
    819819</xsl:template>
    820820
     
    838838        <xsl:when test="$format='upperroman' or $format='I'">
    839839          <xsl:value-of select="'I'"/>
    840         </xsl:when>     
     840        </xsl:when>
    841841        <xsl:when test="$format='arabicindic' or $format='&#x661;'">
    842842          <xsl:value-of select="'&#x661;'"/>
     
    858858<refdescription id="autolabel.format-desc">
    859859<para>Returns format passed as parameter if non zero. Supported
    860   format are 'arabic' or '1', 'loweralpha' or 'a', 'lowerroman' or 'i', 
     860  format are 'arabic' or '1', 'loweralpha' or 'a', 'lowerroman' or 'i',
    861861  'upperlapha' or 'A', 'upperroman' or 'I', 'arabicindic' or '&#x661;'.
    862   If its not one of these then 
     862  If its not one of these then
    863863  returns the default format.</para>
    864864</refdescription>
  • stylesheets/lfs-xsl/docbook-xsl-snapshot/common/olink.xsl

    r2262b78 r410e228b  
    3535  </xsl:variable>
    3636
    37   <xsl:variable name="target.database" 
     37  <xsl:variable name="target.database"
    3838      select="document($target.database.filename,/)"/>
    3939
     
    125125                  $targetptr.att != ''">
    126126      <xsl:for-each select="$target.database">
    127         <xsl:variable name="key" 
    128                       select="concat($targetdoc.att, '/', 
     127        <xsl:variable name="key"
     128                      select="concat($targetdoc.att, '/',
    129129                                     $targetptr.att, '/',
    130130                                     $target.lang)"/>
     
    148148         targetptr.att = not blank
    149149         prefer.internal.olink = not zero
    150          current.docid = not blank 
     150         current.docid = not blank
    151151    -->
    152152    <xsl:if test="$targetdoc.att != '' and
     
    155155                  $prefer.internal.olink != 0">
    156156      <xsl:for-each select="$target.database">
    157         <xsl:variable name="key" 
    158                       select="concat($current.docid, '/', 
     157        <xsl:variable name="key"
     158                      select="concat($current.docid, '/',
    159159                                     $targetptr.att, '/',
    160160                                     $target.lang)"/>
     
    177177    <!-- targetdoc.att = blank
    178178         targetptr.att = not blank
    179          current.docid = not blank 
     179         current.docid = not blank
    180180    -->
    181181    <xsl:if test="string-length($targetdoc.att) = 0 and
     
    184184      <!-- Must use a for-each to change context for keys to work -->
    185185      <xsl:for-each select="$target.database">
    186         <xsl:variable name="key" 
    187                       select="concat($current.docid, '/', 
     186        <xsl:variable name="key"
     187                      select="concat($current.docid, '/',
    188188                                     $targetptr.att, '/',
    189189                                     $target.lang)"/>
     
    206206    <!-- targetdoc.att = blank
    207207         targetptr.att = not blank
    208          current.docid = blank 
     208         current.docid = blank
    209209    -->
    210210    <!-- This is possible if only one document in the database -->
     
    214214                  count($target.database//document) = 1">
    215215      <xsl:for-each select="$target.database">
    216         <xsl:variable name="key" 
    217                       select="concat(.//document/@targetdoc, '/', 
     216        <xsl:variable name="key"
     217                      select="concat(.//document/@targetdoc, '/',
    218218                                     $targetptr.att, '/',
    219219                                     $target.lang)"/>
     
    253253
    254254      <xsl:for-each select="$target.database">
    255         <xsl:variable name="key" 
    256                       select="concat($targetdoc.att, '/', 
     255        <xsl:variable name="key"
     256                      select="concat($targetdoc.att, '/',
    257257                                     $rootid, '/',
    258258                                     $target.lang)"/>
     
    276276         targetptr.att = blank
    277277         prefer.internal.olink = not zero
    278          current.docid = not blank 
     278         current.docid = not blank
    279279    -->
    280280    <xsl:if test="$targetdoc.att != '' and
     
    295295
    296296      <xsl:for-each select="$target.database">
    297         <xsl:variable name="key" 
    298                       select="concat($current.docid, '/', 
     297        <xsl:variable name="key"
     298                      select="concat($current.docid, '/',
    299299                                     $rootid, '/',
    300300                                     $target.lang)"/>
     
    387387      <xsl:value-of select="$selected.key"/>
    388388    </xsl:when>
    389     <xsl:when test="string-length($selected.key) = 0 and 
     389    <xsl:when test="string-length($selected.key) = 0 and
    390390                    string-length($target.lang) = 0">
    391391      <!-- No match on last try, and we are done -->
     
    412412
    413413  <!-- recurse backwards to find the lang matching the index -->
    414   <xsl:variable name="firstlang" 
     414  <xsl:variable name="firstlang"
    415415                select="substring-before($olink.fallback.sequence, ' ')"/>
    416   <xsl:variable name="rest" 
     416  <xsl:variable name="rest"
    417417                select="substring-after($olink.fallback.sequence, ' ')"/>
    418418  <xsl:choose>
     
    436436
    437437  <!-- Prefer language of the olink element -->
    438   <xsl:value-of select="concat(normalize-space(concat($olink.lang, ' ', 
     438  <xsl:value-of select="concat(normalize-space(concat($olink.lang, ' ',
    439439                        $olink.lang.fallback.sequence)), ' ')"/>
    440440</xsl:template>
     
    484484                  <xsl:for-each select="$target.database" >
    485485                    <xsl:call-template name="targetpath" >
    486                       <xsl:with-param name="dirnode" 
     486                      <xsl:with-param name="dirnode"
    487487                          select="key('targetdoc-key', $current.docid)/parent::dir"/>
    488488                      <xsl:with-param name="targetdoc" select="$targetdoc"/>
     
    506506              </xsl:message>
    507507            </xsl:otherwise>
    508           </xsl:choose> 
     508          </xsl:choose>
    509509          <!-- In either case, add baseuri from its document entry-->
    510510          <xsl:variable name="docbaseuri">
     
    554554  <xsl:param name="object" select="NotAnElement"/>
    555555  <xsl:param name="object.targetdoc" select="$current.docid"/>
    556   <xsl:param name="object.lang" 
     556  <xsl:param name="object.lang"
    557557           select="concat($object/ancestor::*[last()]/@lang,
    558558                          $object/ancestor::*[last()]/@xml:lang)"/>
     
    608608  <xsl:param name="xrefstyle">
    609609    <xsl:choose>
    610       <xsl:when test="@role and not(@xrefstyle) 
     610      <xsl:when test="@role and not(@xrefstyle)
    611611                      and $use.role.as.xrefstyle != 0">
    612612        <xsl:value-of select="@role"/>
     
    627627      <xsl:variable name="xref.text" >
    628628        <xsl:for-each select="$target.database" >
    629           <xsl:copy-of 
     629          <xsl:copy-of
    630630                  select="key('targetptr-key', $olink.key)/xreftext/node()" />
    631631        </xsl:for-each>
     
    647647        <xsl:variable name="candidate">
    648648          <xsl:for-each select="$target.database" >
    649             <xsl:value-of 
     649            <xsl:value-of
    650650                      select="key('targetptr-key', $olink.key)/@lang" />
    651651          </xsl:for-each>
     
    671671                        contains($xrefstyle, 'nopage')) and
    672672                        not(contains($xrefstyle, 'title')) and
    673                         not(contains($xrefstyle, 'label'))"> 
     673                        not(contains($xrefstyle, 'label'))">
    674674          <xsl:copy-of select="$xref.text"/>
    675675        </xsl:when>
     
    739739                <xsl:variable name="xref-number-and-title-context">
    740740                  <xsl:call-template name="gentext.template">
    741                     <xsl:with-param name="context" 
     741                    <xsl:with-param name="context"
    742742                                    select="'xref-number-and-title'"/>
    743743                    <xsl:with-param name="name" select="$target.elem"/>
     
    748748                <xsl:variable name="styled-xref-number-and-title-context">
    749749                  <xsl:call-template name="gentext.template">
    750                     <xsl:with-param name="context" 
     750                    <xsl:with-param name="context"
    751751                                    select="'xref-number-and-title'"/>
    752752                    <xsl:with-param name="name" select="$target.elem"/>
     
    757757
    758758                <xsl:choose>
    759                   <xsl:when test="$xref-number-and-title-context != 
     759                  <xsl:when test="$xref-number-and-title-context !=
    760760                                 $styled-xref-number-and-title-context and
    761761                                 $xref.number != '' and
    762762                                 $xref.with.number.and.title != 0">
    763                     <xsl:value-of 
     763                    <xsl:value-of
    764764                            select="$styled-xref-number-and-title-context"/>
    765765                  </xsl:when>
    766                   <xsl:when test="$xref-number-context != 
     766                  <xsl:when test="$xref-number-context !=
    767767                                 $styled-xref-number-context and
    768768                                 $xref.number != ''">
     
    775775                                 $xref.number != '' and
    776776                                 $xref.with.number.and.title != 0">
    777                     <xsl:value-of 
     777                    <xsl:value-of
    778778                            select="$xref-number-and-title-context"/>
    779779                    <xsl:if test="$olink.debug">
     
    859859            <xsl:with-param name="label">
    860860              <xsl:for-each select="$target.database" >
    861                 <xsl:value-of 
     861                <xsl:value-of
    862862                        select="key('targetptr-key', $olink.key)/@number" />
    863863              </xsl:for-each>
     
    865865            <xsl:with-param name="pagenumber">
    866866              <xsl:for-each select="$target.database" >
    867                 <xsl:value-of 
     867                <xsl:value-of
    868868                        select="key('targetptr-key', $olink.key)/@page" />
    869869              </xsl:for-each>
     
    871871            <xsl:with-param name="docname">
    872872              <xsl:for-each select="$target.database" >
    873                 <xsl:value-of 
     873                <xsl:value-of
    874874                       select="key('targetdoc-key', $targetdoc)/div[1]/ttl" />
    875875              </xsl:for-each>
     
    897897            <xsl:with-param name="label">
    898898              <xsl:for-each select="$target.database" >
    899                 <xsl:value-of 
     899                <xsl:value-of
    900900                          select="key('targetptr-key', $olink.key)/@number" />
    901901              </xsl:for-each>
     
    948948  <xsl:param name="targetdoc" select="''"/>
    949949
    950 <!-- 
     950<!--
    951951<xsl:message>dirnode is <xsl:value-of select="$dirnode/@name"/></xsl:message>
    952952<xsl:message>targetdoc is <xsl:value-of select="$targetdoc"/></xsl:message>
     
    995995  <xsl:param name="xrefstyle">
    996996    <xsl:choose>
    997       <xsl:when test="@role and not(@xrefstyle) 
     997      <xsl:when test="@role and not(@xrefstyle)
    998998                      and $use.role.as.xrefstyle != 0">
    999999        <xsl:value-of select="@role"/>
     
    10181018    </xsl:when>
    10191019    <xsl:when test="not(starts-with(normalize-space($xrefstyle),
    1020                         'select:') 
     1020                        'select:')
    10211021                and (contains($xrefstyle, 'page')
    10221022                     or contains($xrefstyle, 'Page')))
    1023                 and $current.docid != '' 
     1023                and $current.docid != ''
    10241024                and $current.docid != $targetdoc
    10251025                and $insert.olink.page.number = 'yes' ">
     
    10271027      <xsl:variable name="page-number">
    10281028        <xsl:for-each select="$target.database" >
    1029           <xsl:value-of 
     1029          <xsl:value-of
    10301030                 select="key('targetptr-key', $olink.key)/@page" />
    10311031        </xsl:for-each>
     
    10551055  <xsl:param name="xrefstyle">
    10561056    <xsl:choose>
    1057       <xsl:when test="@role and not(@xrefstyle) 
     1057      <xsl:when test="@role and not(@xrefstyle)
    10581058                      and $use.role.as.xrefstyle != 0">
    10591059        <xsl:value-of select="@role"/>
     
    10671067  <xsl:variable name="page">
    10681068    <xsl:for-each select="$target.database" >
    1069       <xsl:value-of 
     1069      <xsl:value-of
    10701070             select="key('targetptr-key', $olink.key)/@page" />
    10711071    </xsl:for-each>
     
    10771077
    10781078  <xsl:variable name="targetptr">
    1079     <xsl:value-of 
     1079    <xsl:value-of
    10801080          select="substring-before(substring-after($olink.key, '/'), '/')"/>
    10811081  </xsl:variable>
     
    10841084  <xsl:variable name="rootptr">
    10851085    <xsl:for-each select="$target.database" >
    1086       <xsl:value-of 
     1086      <xsl:value-of
    10871087             select="key('targetdoc-key', $targetdoc)/div[1]/@targetptr" />
    10881088    </xsl:for-each>
     
    10911091  <xsl:variable name="docname">
    10921092    <xsl:for-each select="$target.database" >
    1093       <xsl:value-of 
     1093      <xsl:value-of
    10941094             select="key('targetdoc-key', $targetdoc)/div[1]/ttl" />
    10951095    </xsl:for-each>
    10961096  </xsl:variable>
    10971097
    1098   <xsl:if test="not(starts-with(normalize-space($xrefstyle), 'select:') 
     1098  <xsl:if test="not(starts-with(normalize-space($xrefstyle), 'select:')
    10991099              and (contains($xrefstyle, 'docname')))
    11001100              and ($olink.doctitle = 'yes' or $olink.doctitle = '1')
    1101               and $current.docid != '' 
     1101              and $current.docid != ''
    11021102              and $rootptr != $targetptr
    11031103              and $current.docid != $targetdoc
     
    11241124  <xsl:param name="xrefstyle">
    11251125    <xsl:choose>
    1126       <xsl:when test="@role and not(@xrefstyle) 
     1126      <xsl:when test="@role and not(@xrefstyle)
    11271127                      and $use.role.as.xrefstyle != 0">
    11281128        <xsl:value-of select="@role"/>
     
    11371137                    and (contains($xrefstyle, 'page')
    11381138                         or contains($xrefstyle, 'Page')))
    1139                 and ( $insert.xref.page.number = 'yes' 
     1139                and ( $insert.xref.page.number = 'yes'
    11401140                   or $insert.xref.page.number = '1')
    11411141                or local-name($target) = 'para'">
  • stylesheets/lfs-xsl/docbook-xsl-snapshot/common/pi.xsl

    r2262b78 r410e228b  
    138138      </xsl:otherwise>
    139139    </xsl:choose>
    140   </xsl:variable> 
     140  </xsl:variable>
    141141  <xsl:variable name="padding">
    142142    <xsl:variable name="pi-padding">
     
    248248    <xsl:choose>
    249249      <!-- include extra test for Xalan quirk -->
    250       <xsl:when test="function-available('exsl:node-set') or 
     250      <xsl:when test="function-available('exsl:node-set') or
    251251        contains(system-property('xsl:vendor'),'Apache Software Foundation')">
    252252        <!-- We must preserve context node in order to get valid language -->
  • stylesheets/lfs-xsl/docbook-xsl-snapshot/common/refentry.xsl

    r2262b78 r410e228b  
    646646      <xsl:choose>
    647647        <xsl:when test="refmeta/refmiscinfo[@class = 'source' or @class = 'software']">
    648           <xsl:apply-templates 
     648          <xsl:apply-templates
    649649              select="refmeta/refmiscinfo[@class = 'source' or @class='software'][1]/node()"/>
    650650        </xsl:when>
     
    830830      <xsl:choose>
    831831        <xsl:when test="refmeta/refmiscinfo[@class = 'version']">
    832           <xsl:apply-templates 
     832          <xsl:apply-templates
    833833              select="refmeta/refmiscinfo[@class = 'version'][1]/node()"/>
    834834        </xsl:when>
     
    10121012        <xsl:choose>
    10131013          <xsl:when test="refmeta/refmiscinfo[@class = 'manual' or @class = 'sectdesc']">
    1014             <xsl:apply-templates 
     1014            <xsl:apply-templates
    10151015                select="refmeta/refmiscinfo[@class = 'manual' or @class = 'sectdesc'][1]/node()"/>
    10161016          </xsl:when>
  • stylesheets/lfs-xsl/docbook-xsl-snapshot/common/stripns.xsl

    r2262b78 r410e228b  
    282282              <xsl:when test="starts-with($base, 'file:/')
    283283                              and substring($base, 8, 1) = ':'">
    284                 <xsl:value-of select="concat('file:///', 
     284                <xsl:value-of select="concat('file:///',
    285285                                      substring-after($base,'file:/'))"/>
    286286              </xsl:when>
  • stylesheets/lfs-xsl/docbook-xsl-snapshot/common/table.xsl

    r2262b78 r410e228b  
    410410  <xsl:param name="colnum" select="0"/>
    411411  <xsl:param name="attribute" select="'colname'"/>
    412   <xsl:param name="colspec.ancestor" 
     412  <xsl:param name="colspec.ancestor"
    413413             select="(ancestor::tgroup|ancestor::entrytbl)
    414414                     [position() = last()]"/>
     
    489489  <xsl:param name="node" select="."/>
    490490
    491   <xsl:variable name="tgroup" select="$node/tgroup[1] | 
     491  <xsl:variable name="tgroup" select="$node/tgroup[1] |
    492492                                      $node/ancestor-or-self::tgroup[1]"/>
    493493
    494   <xsl:variable name="table" 
    495                 select="($node/ancestor-or-self::table | 
     494  <xsl:variable name="table"
     495                select="($node/ancestor-or-self::table |
    496496                         $node/ancestor-or-self::informaltable)[1]"/>
    497497
  • stylesheets/lfs-xsl/docbook-xsl-snapshot/common/targets.xsl

    r2262b78 r410e228b  
    2323<refdescription id="collect.targets-desc">
    2424<para>Processing the root element in the
    25 <literal role="mode">collect.targets</literal> mode produces 
     25<literal role="mode">collect.targets</literal> mode produces
    2626a set of target database elements that can be used by
    2727the olink mechanism to resolve external cross references.
     
    3535<para>
    3636A <literal>targets.filename</literal> parameter must be
    37 specified to receive the output if 
     37specified to receive the output if
    3838<literal>collect.xref.targets</literal> is
    3939set to <literal>yes</literal> so as to
     
    5454        The xref targets were not collected.
    5555      </xsl:message>
    56     </xsl:when> 
     56    </xsl:when>
    5757    <xsl:otherwise>
    5858      <xsl:choose>
     
    266266  <xsl:if test="@id or @xml:id">
    267267    <xsl:call-template name="obj"/>
    268   </xsl:if> 
     268  </xsl:if>
    269269  <xsl:apply-templates mode="olink.mode"/>
    270270</xsl:template>
  • stylesheets/lfs-xsl/docbook-xsl-snapshot/common/utility.xsl

    r2262b78 r410e228b  
    282282    </xsl:when>
    283283    <xsl:otherwise>
    284       <xsl:value-of 
     284      <xsl:value-of
    285285        select="substring($padVar,string-length($padVar) - $length + 1)"/>
    286286    </xsl:otherwise>
  • stylesheets/lfs-xsl/docbook-xsl-snapshot/fo/autoidx.xsl

    r2262b78 r410e228b  
    5555<xsl:key name="see-also"
    5656         match="indexterm[seealso]"
    57          use="concat(&primary;, &sep;, 
    58                      &secondary;, &sep;, 
     57         use="concat(&primary;, &sep;,
     58                     &secondary;, &sep;,
    5959                     &tertiary;, &sep;, seealso)"/>
    6060
    6161<xsl:key name="see"
    6262         match="indexterm[see]"
    63          use="concat(&primary;, &sep;, 
    64                      &secondary;, &sep;, 
     63         use="concat(&primary;, &sep;,
     64                     &secondary;, &sep;,
    6565                     &tertiary;, &sep;, see)"/>
    6666
     
    138138          <xsl:with-param name="role" select="$role"/>
    139139          <xsl:with-param name="type" select="$type"/>
    140           <xsl:sort select="translate(&primary;, &lowercase;, 
     140          <xsl:sort select="translate(&primary;, &lowercase;,
    141141                            &uppercase;)"/>
    142142        </xsl:apply-templates>
     
    313313                ref-key="{$primary}"/>
    314314            </xsl:if>
    315           </rx:page-index>       
     315          </rx:page-index>
    316316        </xsl:if>
    317317      </xsl:when>
    318318      <xsl:otherwise>
    319319        <xsl:variable name="page-number-citations">
    320           <xsl:for-each select="$refs[not(see) 
     320          <xsl:for-each select="$refs[not(see)
    321321                                and not(secondary)]">
    322322            <xsl:apply-templates select="." mode="reference">
     
    438438      <xsl:otherwise>
    439439        <xsl:variable name="page-number-citations">
    440           <xsl:for-each select="$refs[not(see) 
     440          <xsl:for-each select="$refs[not(see)
    441441                                and not(tertiary)]">
    442442            <xsl:apply-templates select="." mode="reference">
     
    483483          <xsl:sort select="translate(seealso, &lowercase;, &uppercase;)"/>
    484484      </xsl:apply-templates>
    485       <xsl:apply-templates select="$refs[tertiary and count(.|key('tertiary', concat($key, &sep;, &tertiary;))[&scope;][1]) = 1]" 
     485      <xsl:apply-templates select="$refs[tertiary and count(.|key('tertiary', concat($key, &sep;, &tertiary;))[&scope;][1]) = 1]"
    486486                           mode="index-tertiary">
    487487          <xsl:with-param name="scope" select="$scope"/>
     
    945945    </xsl:apply-templates>
    946946
    947     <xsl:apply-templates select="$refs[secondary and count(.|key('secondary', concat($key, &sep;, &secondary;))[&scope;][1]) = 1]" 
     947    <xsl:apply-templates select="$refs[secondary and count(.|key('secondary', concat($key, &sep;, &secondary;))[&scope;][1]) = 1]"
    948948                         mode="index-secondary-markup">
    949949      <xsl:with-param name="scope" select="$scope"/>
     
    998998      <xsl:sort select="translate(seealso, &lowercase;, &uppercase;)"/>
    999999    </xsl:apply-templates>
    1000     <xsl:apply-templates select="$refs[tertiary and count(.|key('tertiary', concat($key, &sep;, &tertiary;))[&scope;][1]) = 1]" 
     1000    <xsl:apply-templates select="$refs[tertiary and count(.|key('tertiary', concat($key, &sep;, &tertiary;))[&scope;][1]) = 1]"
    10011001                         mode="index-tertiary-markup">
    10021002      <xsl:with-param name="scope" select="$scope"/>
  • stylesheets/lfs-xsl/docbook-xsl-snapshot/fo/autotoc.xsl

    r2262b78 r410e228b  
    211211                 leader-alignment="reference-area"
    212212                 keep-with-next.within-line="always"/>
    213       <xsl:text> </xsl:text> 
     213      <xsl:text> </xsl:text>
    214214      <fo:basic-link internal-destination="{$id}">
    215215        <fo:page-number-citation ref-id="{$id}"/>
     
    338338                 leader-alignment="reference-area"
    339339                 keep-with-next.within-line="always"/>
    340       <xsl:text> </xsl:text> 
     340      <xsl:text> </xsl:text>
    341341      <fo:basic-link internal-destination="{$id}">
    342342        <fo:page-number-citation ref-id="{$id}"/>
     
    371371  <xsl:variable name="depth.from.context" select="count(ancestor::*)-count($toc-context/ancestor::*)"/>
    372372
    373   <xsl:if test="$toc.section.depth > 0 
     373  <xsl:if test="$toc.section.depth > 0
    374374                and $toc.max.depth > $depth.from.context
    375375                and $nodes">
     
    409409  <xsl:variable name="depth.from.context" select="count(ancestor::*)-count($toc-context/ancestor::*)"/>
    410410
    411   <xsl:if test="$toc.section.depth > 0 
     411  <xsl:if test="$toc.section.depth > 0
    412412                and $toc.max.depth > $depth.from.context
    413413                and $nodes">
     
    491491  <xsl:variable name="depth.from.context" select="count(ancestor::*)-count($toc-context/ancestor::*)"/>
    492492
    493   <xsl:if test="$toc.section.depth > 0 
     493  <xsl:if test="$toc.section.depth > 0
    494494                and $toc.max.depth > $depth.from.context
    495495                and $nodes">
     
    525525  <xsl:variable name="depth.from.context" select="count(ancestor::*)-count($toc-context/ancestor::*)"/>
    526526
    527   <xsl:if test="$toc.section.depth > 1 
     527  <xsl:if test="$toc.section.depth > 1
    528528                and $toc.max.depth > $depth.from.context
    529529                and sect2">
     
    533533      </xsl:attribute>
    534534
    535       <xsl:apply-templates select="sect2|qandaset[$qanda.in.toc != 0]" 
     535      <xsl:apply-templates select="sect2|qandaset[$qanda.in.toc != 0]"
    536536                           mode="toc">
    537537        <xsl:with-param name="toc-context" select="$toc-context"/>
     
    563563  <xsl:variable name="depth.from.context" select="count(ancestor::*)-count($toc-context/ancestor::*)"/>
    564564
    565   <xsl:if test="$toc.section.depth > 2 
     565  <xsl:if test="$toc.section.depth > 2
    566566                and $toc.max.depth > $depth.from.context
    567567                and sect3">
     
    573573      </xsl:attribute>
    574574
    575       <xsl:apply-templates select="sect3|qandaset[$qanda.in.toc != 0]" 
     575      <xsl:apply-templates select="sect3|qandaset[$qanda.in.toc != 0]"
    576576                           mode="toc">
    577577        <xsl:with-param name="toc-context" select="$toc-context"/>
     
    603603  <xsl:variable name="depth.from.context" select="count(ancestor::*)-count($toc-context/ancestor::*)"/>
    604604
    605   <xsl:if test="$toc.section.depth > 3 
     605  <xsl:if test="$toc.section.depth > 3
    606606                and $toc.max.depth > $depth.from.context
    607607                and sect4">
     
    613613      </xsl:attribute>
    614614
    615       <xsl:apply-templates select="sect4|qandaset[$qanda.in.toc != 0]" 
     615      <xsl:apply-templates select="sect4|qandaset[$qanda.in.toc != 0]"
    616616                           mode="toc">
    617617        <xsl:with-param name="toc-context" select="$toc-context"/>
     
    643643  <xsl:variable name="depth.from.context" select="count(ancestor::*)-count($toc-context/ancestor::*)"/>
    644644
    645   <xsl:if test="$toc.section.depth > 4 
     645  <xsl:if test="$toc.section.depth > 4
    646646                and $toc.max.depth > $depth.from.context
    647647                and sect5">
     
    653653      </xsl:attribute>
    654654
    655       <xsl:apply-templates select="sect5|qandaset[$qanda.in.toc != 0]" 
     655      <xsl:apply-templates select="sect5|qandaset[$qanda.in.toc != 0]"
    656656                           mode="toc">
    657657        <xsl:with-param name="toc-context" select="$toc-context"/>
     
    718718    </xsl:call-template>
    719719
    720     <xsl:if test="$toc.section.depth > $depth 
     720    <xsl:if test="$toc.section.depth > $depth
    721721                  and $toc.max.depth > $depth.from.context
    722722                  and section">
     
    728728        </xsl:attribute>
    729729
    730         <xsl:apply-templates select="section|qandaset[$qanda.in.toc != 0]" 
     730        <xsl:apply-templates select="section|qandaset[$qanda.in.toc != 0]"
    731731                           mode="toc">
    732732          <xsl:with-param name="toc-context" select="$toc-context"/>
     
    834834    </xsl:call-template>
    835835
    836     <xsl:if test="$toc.section.depth > $depth 
     836    <xsl:if test="$toc.section.depth > $depth
    837837                  and $toc.max.depth > $depth.from.context
    838838                  and (child::qandadiv or child::qandaentry)">
  • stylesheets/lfs-xsl/docbook-xsl-snapshot/fo/axf.xsl

    r2262b78 r410e228b  
    1818          <xsl:when test="$authors[self::authorgroup]">
    1919            <xsl:call-template name="person.name.list">
    20               <xsl:with-param name="person.list" 
     20              <xsl:with-param name="person.list"
    2121                 select="$authors/*[self::author|self::corpauthor|
    2222                               self::othercredit|self::editor]"/>
  • stylesheets/lfs-xsl/docbook-xsl-snapshot/fo/biblio.xsl

    r2262b78 r410e228b  
    328328</xsl:template>
    329329
    330 <xsl:template match="artheader|articleinfo|article/info" 
     330<xsl:template match="artheader|articleinfo|article/info"
    331331              mode="bibliography.mode">
    332332  <fo:inline>
     
    393393</xsl:template>
    394394
    395 <xsl:template match="biblioset/title|biblioset/citetitle" 
     395<xsl:template match="biblioset/title|biblioset/citetitle"
    396396              mode="bibliography.mode">
    397397  <xsl:variable name="relation" select="../@relation"/>
     
    565565
    566566<xsl:template match="indexterm" mode="bibliography.mode">
    567   <xsl:apply-templates select="."/> 
     567  <xsl:apply-templates select="."/>
    568568</xsl:template>
    569569
     
    886886</xsl:template>
    887887
    888 <xsl:template match="bibliomset/title|bibliomset/citetitle" 
     888<xsl:template match="bibliomset/title|bibliomset/citetitle"
    889889              mode="bibliomixed.mode">
    890890  <xsl:variable name="relation" select="../@relation"/>
     
    10111011
    10121012<xsl:template match="indexterm" mode="bibliomixed.mode">
    1013   <xsl:apply-templates select="."/> 
     1013  <xsl:apply-templates select="."/>
    10141014</xsl:template>
    10151015
  • stylesheets/lfs-xsl/docbook-xsl-snapshot/fo/block.xsl

    r2262b78 r410e228b  
    157157        <fo:float float="{$position}"
    158158                  clear="{$clear}">
    159           <fo:block-container 
     159          <fo:block-container
    160160                    start-indent="{$start.indent}"
    161161                    end-indent="{$end.indent}">
     
    180180          </fo:block>
    181181        </xsl:when>
    182         <xsl:when test="$axf.extensions != 0 and 
     182        <xsl:when test="$axf.extensions != 0 and
    183183                        ($position = 'left' or $position = 'start')">
    184184          <fo:float float="{$position}"
    185185                    clear="{$clear}">
    186             <fo:block-container 
     186            <fo:block-container
    187187                      inline-progression-dimension=".001mm"
    188188                      end-indent="{$start.indent} + {$width} + {$end.indent}">
     
    205205
    206206        </xsl:when>
    207         <xsl:when test="$axf.extensions != 0 and 
     207        <xsl:when test="$axf.extensions != 0 and
    208208                        ($position = 'right' or $position = 'end')">
    209209          <!-- Special case for handling inline floats in Antenna House-->
    210210          <fo:float float="{$position}"
    211211                    clear="{$clear}">
    212             <fo:block-container 
     212            <fo:block-container
    213213                      inline-progression-dimension=".001mm"
    214214                      end-indent="-{$body.end.indent}"
     
    297297        <xsl:with-param name="start.indent">
    298298          <xsl:choose>
    299             <xsl:when test="$position = 'start' or 
     299            <xsl:when test="$position = 'start' or
    300300                            $position = 'left'">0pt</xsl:when>
    301             <xsl:when test="$position = 'end' or 
     301            <xsl:when test="$position = 'end' or
    302302                            $position = 'right'">0.5em</xsl:when>
    303303            <xsl:otherwise>0pt</xsl:otherwise>
     
    306306        <xsl:with-param name="end.indent">
    307307          <xsl:choose>
    308             <xsl:when test="$position = 'start' or 
     308            <xsl:when test="$position = 'start' or
    309309                            $position = 'left'">0.5em</xsl:when>
    310             <xsl:when test="$position = 'end' or 
     310            <xsl:when test="$position = 'end' or
    311311                            $position = 'right'">0pt</xsl:when>
    312312            <xsl:otherwise>0pt</xsl:otherwise>
     
    361361    <xsl:with-param name="start.indent">
    362362      <xsl:choose>
    363         <xsl:when test="$position = 'start' or 
     363        <xsl:when test="$position = 'start' or
    364364                        $position = 'left'">0pt</xsl:when>
    365         <xsl:when test="$position = 'end' or 
     365        <xsl:when test="$position = 'end' or
    366366                        $position = 'right'">0.5em</xsl:when>
    367367        <xsl:otherwise>0pt</xsl:otherwise>
     
    370370    <xsl:with-param name="end.indent">
    371371      <xsl:choose>
    372         <xsl:when test="$position = 'start' or 
     372        <xsl:when test="$position = 'start' or
    373373                        $position = 'left'">0.5em</xsl:when>
    374         <xsl:when test="$position = 'end' or 
     374        <xsl:when test="$position = 'end' or
    375375                        $position = 'right'">0pt</xsl:when>
    376376        <xsl:otherwise>0pt</xsl:otherwise>
  • stylesheets/lfs-xsl/docbook-xsl-snapshot/fo/component.xsl

    r2262b78 r410e228b  
    353353      <xsl:variable name="toc.params">
    354354        <xsl:call-template name="find.path.params">
    355           <xsl:with-param name="table" 
     355          <xsl:with-param name="table"
    356356                          select="normalize-space($generate.toc)"/>
    357357        </xsl:call-template>
     
    359359      <xsl:if test="contains($toc.params, 'toc')">
    360360        <xsl:call-template name="component.toc">
    361           <xsl:with-param name="toc.title.p" 
     361          <xsl:with-param name="toc.title.p"
    362362                          select="contains($toc.params, 'title')"/>
    363363        </xsl:call-template>
     
    451451      <xsl:if test="contains($toc.params, 'toc')">
    452452        <xsl:call-template name="component.toc">
    453           <xsl:with-param name="toc.title.p" 
     453          <xsl:with-param name="toc.title.p"
    454454                          select="contains($toc.params, 'title')"/>
    455455        </xsl:call-template>
     
    543543      <xsl:if test="contains($toc.params, 'toc')">
    544544        <xsl:call-template name="component.toc">
    545           <xsl:with-param name="toc.title.p" 
     545          <xsl:with-param name="toc.title.p"
    546546                          select="contains($toc.params, 'title')"/>
    547547        </xsl:call-template>
     
    635635      <xsl:if test="contains($toc.params, 'toc')">
    636636        <xsl:call-template name="component.toc">
    637           <xsl:with-param name="toc.title.p" 
     637          <xsl:with-param name="toc.title.p"
    638638                          select="contains($toc.params, 'title')"/>
    639639        </xsl:call-template>
     
    677677
    678678    <xsl:if test="$passivetex.extensions != 0">
    679       <fotex:bookmark xmlns:fotex="http://www.tug.org/fotex" 
    680                       fotex-bookmark-level="{count(ancestor::*)+2}" 
     679      <fotex:bookmark xmlns:fotex="http://www.tug.org/fotex"
     680                      fotex-bookmark-level="{count(ancestor::*)+2}"
    681681                      fotex-bookmark-label="{$id}">
    682682        <xsl:value-of select="$titleabbrev"/>
  • stylesheets/lfs-xsl/docbook-xsl-snapshot/fo/division.xsl

    r2262b78 r410e228b  
    8888      <xsl:attribute name="format">
    8989        <xsl:call-template name="page.number.format">
    90           <xsl:with-param name="master-reference" 
     90          <xsl:with-param name="master-reference"
    9191                          select="$titlepage-master-reference"/>
    9292        </xsl:call-template>
     
    9595      <xsl:attribute name="initial-page-number">
    9696        <xsl:call-template name="initial.page.number">
    97           <xsl:with-param name="master-reference" 
     97          <xsl:with-param name="master-reference"
    9898                          select="$titlepage-master-reference"/>
    9999        </xsl:call-template>
     
    102102      <xsl:attribute name="force-page-count">
    103103        <xsl:call-template name="force.page.count">
    104           <xsl:with-param name="master-reference" 
     104          <xsl:with-param name="master-reference"
    105105                          select="$titlepage-master-reference"/>
    106106        </xsl:call-template>
     
    134134        <xsl:call-template name="set.flow.properties">
    135135          <xsl:with-param name="element" select="local-name(.)"/>
    136           <xsl:with-param name="master-reference" 
     136          <xsl:with-param name="master-reference"
    137137                          select="$titlepage-master-reference"/>
    138138        </xsl:call-template>
     
    204204        <xsl:call-template name="set.flow.properties">
    205205          <xsl:with-param name="element" select="local-name(.)"/>
    206           <xsl:with-param name="master-reference" 
     206          <xsl:with-param name="master-reference"
    207207                          select="$lot-master-reference"/>
    208208        </xsl:call-template>
     
    300300      <xsl:with-param name="content">
    301301        <xsl:call-template name="division.toc">
    302           <xsl:with-param name="toc.title.p" 
     302          <xsl:with-param name="toc.title.p"
    303303                          select="contains($toc.params, 'title')"/>
    304304        </xsl:call-template>
     
    352352  </xsl:if>
    353353
    354   <xsl:if test="contains($toc.params,'equation') and 
     354  <xsl:if test="contains($toc.params,'equation') and
    355355                 .//equation[title or info/title]">
    356356    <xsl:call-template name="page.sequence">
     
    362362        <xsl:call-template name="list.of.titles">
    363363          <xsl:with-param name="titles" select="'equation'"/>
    364           <xsl:with-param name="nodes" 
     364          <xsl:with-param name="nodes"
    365365                          select=".//equation[title or info/title]"/>
    366366        </xsl:call-template>
     
    369369  </xsl:if>
    370370
    371   <xsl:if test="contains($toc.params,'procedure') and 
     371  <xsl:if test="contains($toc.params,'procedure') and
    372372                 .//procedure[title or info/title]">
    373373    <xsl:call-template name="page.sequence">
     
    379379        <xsl:call-template name="list.of.titles">
    380380          <xsl:with-param name="titles" select="'procedure'"/>
    381           <xsl:with-param name="nodes" 
     381          <xsl:with-param name="nodes"
    382382                          select=".//procedure[title or info/title]"/>
    383383        </xsl:call-template>
     
    417417    <xsl:attribute name="format">
    418418      <xsl:call-template name="page.number.format">
    419         <xsl:with-param name="master-reference" 
     419        <xsl:with-param name="master-reference"
    420420                        select="$titlepage-master-reference"/>
    421421      </xsl:call-template>
     
    424424    <xsl:attribute name="initial-page-number">
    425425      <xsl:call-template name="initial.page.number">
    426         <xsl:with-param name="master-reference" 
     426        <xsl:with-param name="master-reference"
    427427                        select="$titlepage-master-reference"/>
    428428      </xsl:call-template>
     
    431431    <xsl:attribute name="force-page-count">
    432432      <xsl:call-template name="force.page.count">
    433         <xsl:with-param name="master-reference" 
     433        <xsl:with-param name="master-reference"
    434434                        select="$titlepage-master-reference"/>
    435435      </xsl:call-template>
     
    463463      <xsl:call-template name="set.flow.properties">
    464464        <xsl:with-param name="element" select="local-name(.)"/>
    465         <xsl:with-param name="master-reference" 
     465        <xsl:with-param name="master-reference"
    466466                        select="$titlepage-master-reference"/>
    467467      </xsl:call-template>
     
    517517        <xsl:call-template name="page.number.format">
    518518          <xsl:with-param name="element" select="'toc'"/>
    519           <xsl:with-param name="master-reference" 
     519          <xsl:with-param name="master-reference"
    520520                          select="$lot-master-reference"/>
    521521        </xsl:call-template>
     
    524524        <xsl:call-template name="initial.page.number">
    525525          <xsl:with-param name="element" select="'toc'"/>
    526           <xsl:with-param name="master-reference" 
     526          <xsl:with-param name="master-reference"
    527527                          select="$lot-master-reference"/>
    528528         </xsl:call-template>
     
    530530      <xsl:attribute name="force-page-count">
    531531        <xsl:call-template name="force.page.count">
    532           <xsl:with-param name="master-reference" 
     532          <xsl:with-param name="master-reference"
    533533                          select="$lot-master-reference"/>
    534534        </xsl:call-template>
     
    562562        <xsl:call-template name="set.flow.properties">
    563563          <xsl:with-param name="element" select="local-name(.)"/>
    564           <xsl:with-param name="master-reference" 
     564          <xsl:with-param name="master-reference"
    565565                          select="$lot-master-reference"/>
    566566        </xsl:call-template>
     
    568568        <xsl:call-template name="division.toc">
    569569          <xsl:with-param name="toc-context" select="$part"/>
    570           <xsl:with-param name="toc.title.p" 
     570          <xsl:with-param name="toc.title.p"
    571571                          select="contains($toc.params, 'title')"/>
    572572        </xsl:call-template>
  • stylesheets/lfs-xsl/docbook-xsl-snapshot/fo/docbook.xsl

    r2262b78 r410e228b  
    108108    <xsl:value-of select="name(.)"/>
    109109    <xsl:text>&gt;</xsl:text>
    110     <xsl:apply-templates/> 
     110    <xsl:apply-templates/>
    111111    <xsl:text>&lt;/</xsl:text>
    112112    <xsl:value-of select="name(.)"/>
     
    247247  <!-- Include all id values in XEP output -->
    248248  <xsl:if test="$xep.extensions != 0">
    249     <xsl:processing-instruction 
     249    <xsl:processing-instruction
    250250     name="xep-pdf-drop-unused-destinations">false</xsl:processing-instruction>
    251251  </xsl:if>
     
    274274    <xsl:if test="$fop1.extensions != 0">
    275275      <xsl:variable name="bookmarks">
    276         <xsl:apply-templates select="$document.element" 
     276        <xsl:apply-templates select="$document.element"
    277277                             mode="fop1.outline"/>
    278278      </xsl:variable>
  • stylesheets/lfs-xsl/docbook-xsl-snapshot/fo/footnote.xsl

    r2262b78 r410e228b  
    8989      <xsl:variable name="fnum">
    9090        <!-- FIXME: list in @from is probably not complete -->
    91         <xsl:number level="any" 
    92                     from="chapter|appendix|preface|article|refentry|bibliography" 
    93                     count="footnote[not(@label)][not(ancestor::table) and not(ancestor::informaltable)]|ulink[$ulink.footnotes != 0][node()][@url != .][not(ancestor::footnote)][$ulink.show != 0]" 
     91        <xsl:number level="any"
     92                    from="chapter|appendix|preface|article|refentry|bibliography"
     93                    count="footnote[not(@label)][not(ancestor::table) and not(ancestor::informaltable)]|ulink[$ulink.footnotes != 0][node()][@url != .][not(ancestor::footnote)][$ulink.show != 0]"
    9494                    format="1"/>
    9595      </xsl:variable>
  • stylesheets/lfs-xsl/docbook-xsl-snapshot/fo/formal.xsl

    r2262b78 r410e228b  
    4646
    4747  <xsl:choose>
    48     <!-- tables have their own templates and 
     48    <!-- tables have their own templates and
    4949         are not handled by formal.object -->
    5050    <xsl:when test="self::figure">
     
    132132
    133133  <xsl:choose>
    134     <!-- informaltables have their own templates and 
     134    <!-- informaltables have their own templates and
    135135         are not handled by formal.object -->
    136136    <xsl:when test="local-name(.) = 'equation'">
     
    181181    </xsl:when>
    182182    <xsl:otherwise>
    183       <fo:block id="{$id}" 
     183      <fo:block id="{$id}"
    184184                xsl:use-attribute-sets="informal.object.properties">
    185185        <xsl:if test="$keep.together != ''">
     
    378378      <xsl:text>Broken table: tr descendent of CALS Table.</xsl:text>
    379379      <xsl:text>The text in the first tr is:&#10;</xsl:text>
    380       <xsl:value-of 
     380      <xsl:value-of
    381381               select="(tgroup//tr)[1]"/>
    382382    </xsl:message>
     
    386386      <xsl:text>Broken table: row descendent of HTML table.</xsl:text>
    387387      <xsl:text>The text in the first row is:&#10;</xsl:text>
    388       <xsl:value-of 
     388      <xsl:value-of
    389389               select=".//row[1]"/>
    390390    </xsl:message>
  • stylesheets/lfs-xsl/docbook-xsl-snapshot/fo/glossary.xsl

    r2262b78 r410e228b  
    8484              <xsl:apply-templates select="$entries" mode="glossary.as.list">
    8585                <xsl:sort lang="{$language}"
    86                           select="translate(glossterm, $lowercase, 
     86                          select="translate(glossterm, $lowercase,
    8787                                            $uppercase)"/>
    8888              </xsl:apply-templates>
     
    101101          <xsl:apply-templates select="$entries" mode="glossary.as.blocks">
    102102            <xsl:sort lang="{$language}"
    103                       select="translate(glossterm, $lowercase, 
     103                      select="translate(glossterm, $lowercase,
    104104                                        $uppercase)"/>
    105105          </xsl:apply-templates>
     
    116116          <xsl:apply-templates select="$entries" mode="glossary.as.blocks">
    117117            <xsl:sort lang="{$language}"
    118                       select="translate(glossterm, $lowercase, 
     118                      select="translate(glossterm, $lowercase,
    119119                                        $uppercase)"/>
    120120          </xsl:apply-templates>
     
    137137              <xsl:apply-templates select="$entries" mode="glossary.as.list">
    138138                <xsl:sort lang="{$language}"
    139                           select="translate(glossterm, $lowercase, 
     139                          select="translate(glossterm, $lowercase,
    140140                                            $uppercase)"/>
    141141              </xsl:apply-templates>
     
    261261            <xsl:apply-templates select="glossentry" mode="glossary.as.list">
    262262              <xsl:sort lang="{$language}"
    263                         select="translate(glossterm, $lowercase, 
     263                        select="translate(glossterm, $lowercase,
    264264                                          $uppercase)"/>
    265265            </xsl:apply-templates>
     
    276276          <xsl:apply-templates select="glossentry" mode="glossary.as.blocks">
    277277            <xsl:sort lang="{$language}"
    278                       select="translate(glossterm, $lowercase, 
     278                      select="translate(glossterm, $lowercase,
    279279                                        $uppercase)"/>
    280280          </xsl:apply-templates>
     
    290290          <xsl:apply-templates select="glossentry" mode="glossary.as.blocks">
    291291            <xsl:sort lang="{$language}"
    292                       select="translate(glossterm, $lowercase, 
     292                      select="translate(glossterm, $lowercase,
    293293                                        $uppercase)"/>
    294294          </xsl:apply-templates>
     
    307307            <xsl:apply-templates select="glossentry" mode="glossary.as.list">
    308308              <xsl:sort lang="{$language}"
    309                         select="translate(glossterm, $lowercase, 
     309                        select="translate(glossterm, $lowercase,
    310310                                          $uppercase)"/>
    311311            </xsl:apply-templates>
     
    443443                <xsl:for-each select="$collection//glossentry">
    444444                  <xsl:sort lang="{$language}"
    445                             select="translate(glossterm, $lowercase, 
     445                            select="translate(glossterm, $lowercase,
    446446                                              $uppercase)"/>
    447447                  <xsl:variable name="cterm" select="glossterm"/>
    448448                  <xsl:if test="$terms[@baseform = $cterm or . = $cterm]">
    449                     <xsl:apply-templates select="." 
     449                    <xsl:apply-templates select="."
    450450                                         mode="auto-glossary-as-list"/>
    451451                  </xsl:if>
     
    456456                  <xsl:variable name="cterm" select="glossterm"/>
    457457                  <xsl:if test="$terms[@baseform = $cterm or . = $cterm]">
    458                     <xsl:apply-templates select="." 
     458                    <xsl:apply-templates select="."
    459459                                         mode="auto-glossary-as-list"/>
    460460                  </xsl:if>
     
    470470              <xsl:for-each select="$collection//glossentry">
    471471                <xsl:sort lang="{$language}"
    472                           select="translate(glossterm, $lowercase, 
     472                          select="translate(glossterm, $lowercase,
    473473                                            $uppercase)"/>
    474474                <xsl:variable name="cterm" select="glossterm"/>
    475475                <xsl:if test="$terms[@baseform = $cterm or . = $cterm]">
    476                   <xsl:apply-templates select="." 
     476                  <xsl:apply-templates select="."
    477477                                       mode="auto-glossary-as-blocks"/>
    478478                </xsl:if>
     
    483483                <xsl:variable name="cterm" select="glossterm"/>
    484484                <xsl:if test="$terms[@baseform = $cterm or . = $cterm]">
    485                   <xsl:apply-templates select="." 
     485                  <xsl:apply-templates select="."
    486486                                       mode="auto-glossary-as-blocks"/>
    487487                </xsl:if>
     
    498498                <xsl:for-each select="$collection//glossentry">
    499499                  <xsl:sort lang="{$language}"
    500                             select="translate(glossterm, $lowercase, 
     500                            select="translate(glossterm, $lowercase,
    501501                                              $uppercase)"/>
    502502                  <xsl:variable name="cterm" select="glossterm"/>
    503503                  <xsl:if test="$terms[@baseform = $cterm or . = $cterm]">
    504                     <xsl:apply-templates select="." 
     504                    <xsl:apply-templates select="."
    505505                                         mode="auto-glossary-as-list"/>
    506506                  </xsl:if>
     
    511511                  <xsl:variable name="cterm" select="glossterm"/>
    512512                  <xsl:if test="$terms[@baseform = $cterm or . = $cterm]">
    513                     <xsl:apply-templates select="." 
     513                    <xsl:apply-templates select="."
    514514                                         mode="auto-glossary-as-list"/>
    515515                  </xsl:if>
     
    709709        <xsl:apply-templates select="$entries" mode="glossary.as.list">
    710710          <xsl:sort lang="{$language}"
    711                     select="translate(glossterm, $lowercase, 
     711                    select="translate(glossterm, $lowercase,
    712712                                      $uppercase)"/>
    713713        </xsl:apply-templates>
     
    750750            <xsl:choose>
    751751              <xsl:when test="acronym|abbrev">
    752                 <xsl:apply-templates select="acronym|abbrev" 
     752                <xsl:apply-templates select="acronym|abbrev"
    753753                                     mode="glossary.as.list"/>
    754754                <xsl:text> (</xsl:text>
    755                 <xsl:apply-templates select="glossterm" 
     755                <xsl:apply-templates select="glossterm"
    756756                                     mode="glossary.as.list"/>
    757757                <xsl:text>)</xsl:text>
    758758              </xsl:when>
    759759              <xsl:otherwise>
    760                 <xsl:apply-templates select="glossterm" 
     760                <xsl:apply-templates select="glossterm"
    761761                                     mode="glossary.as.list"/>
    762762              </xsl:otherwise>
     
    769769            <xsl:if test="acronym|abbrev">
    770770              <xsl:text> (</xsl:text>
    771               <xsl:apply-templates select="acronym|abbrev" 
     771              <xsl:apply-templates select="acronym|abbrev"
    772772                                   mode="glossary.as.list"/>
    773773              <xsl:text>)</xsl:text>
     
    934934      <xsl:apply-templates select="$entries" mode="glossary.as.blocks">
    935935        <xsl:sort lang="{$language}"
    936                   select="translate(glossterm, $lowercase, 
     936                  select="translate(glossterm, $lowercase,
    937937                                    $uppercase)"/>
    938938      </xsl:apply-templates>
     
    958958
    959959  <fo:block xsl:use-attribute-sets="list.item.spacing"
    960            keep-with-next.within-column="always" 
     960           keep-with-next.within-column="always"
    961961           keep-together.within-column="always">
    962962    <xsl:call-template name="anchor">
  • stylesheets/lfs-xsl/docbook-xsl-snapshot/fo/graphics.xsl

    r2262b78 r410e228b  
    113113      <xsl:when test="$format = 'GIF89a'">image/gif</xsl:when>
    114114      <xsl:otherwise>
    115           <xsl:value-of select="concat('image/', 
     115          <xsl:value-of select="concat('image/',
    116116            translate($format, &uppercase;, &lowercase;))"/>
    117117      </xsl:otherwise>
     
    146146      <xsl:when test="$ignore.image.scaling != 0">0</xsl:when>
    147147      <xsl:when test="@contentwidth">0</xsl:when>
    148       <xsl:when test="@contentdepth and 
     148      <xsl:when test="@contentdepth and
    149149                      @contentdepth != '100%'">0</xsl:when>
    150150      <xsl:when test="@scale">0</xsl:when>
     
    170170      <xsl:when test="local-name(.) = 'graphic'
    171171                      or local-name(.) = 'inlinegraphic'">
    172         <!-- handle legacy graphic and inlinegraphic by new template --> 
     172        <!-- handle legacy graphic and inlinegraphic by new template -->
    173173        <xsl:call-template name="mediaobject.filename">
    174174          <xsl:with-param name="object" select="."/>
     
    379379          <xsl:message terminate="yes">
    380380            <xsl:text>Cannot insert </xsl:text><xsl:value-of select="$filename"/>
    381             <xsl:text>. Check use.extensions and textinsert.extension parameters.</xsl:text> 
     381            <xsl:text>. Check use.extensions and textinsert.extension parameters.</xsl:text>
    382382          </xsl:message>
    383383        </xsl:otherwise>
     
    499499          <xsl:message terminate="yes">
    500500            <xsl:text>Cannot insert </xsl:text><xsl:value-of select="$filename"/>
    501             <xsl:text>. Check use.extensions and textinsert.extension parameters.</xsl:text> 
     501            <xsl:text>. Check use.extensions and textinsert.extension parameters.</xsl:text>
    502502          </xsl:message>
    503503        </xsl:otherwise>
     
    581581      <xsl:message terminate="yes">
    582582        <xsl:text>Cannot insert </xsl:text><xsl:value-of select="$filename"/>
    583         <xsl:text>. Check use.extensions and textinsert.extension parameters.</xsl:text> 
     583        <xsl:text>. Check use.extensions and textinsert.extension parameters.</xsl:text>
    584584      </xsl:message>
    585585    </xsl:otherwise>
  • stylesheets/lfs-xsl/docbook-xsl-snapshot/fo/htmltbl.xsl

    r2262b78 r410e228b  
    118118            <xsl:attribute name="column-width">
    119119              <xsl:choose>
    120                 <xsl:when test="$fop.extensions != 0 and 
     120                <xsl:when test="$fop.extensions != 0 and
    121121                                contains(@width, '%')">
    122122                  <xsl:value-of select="concat('proportional-column-width(',
  • stylesheets/lfs-xsl/docbook-xsl-snapshot/fo/info.xsl

    r2262b78 r410e228b  
    1818     some of these elements are needed because the elements are
    1919     processed from named templates that are called with modes.
    20      Since modes aren't sticky, these rules apply. 
     20     Since modes aren't sticky, these rules apply.
    2121     (TODO: clarify this comment) -->
    2222
  • stylesheets/lfs-xsl/docbook-xsl-snapshot/fo/inline.xsl

    r2262b78 r410e228b  
    3939  <xsl:choose>
    4040    <xsl:when test="$xhref
    41                     and (not($node/@xlink:type) or 
     41                    and (not($node/@xlink:type) or
    4242                         $node/@xlink:type='simple')">
    4343
     
    771771      <xsl:choose>
    772772        <xsl:when test="$target">
    773           <fo:basic-link internal-destination="{@linkend}" 
     773          <fo:basic-link internal-destination="{@linkend}"
    774774                         xsl:use-attribute-sets="xref.properties">
    775775            <xsl:call-template name="inline.italicseq"/>
  • stylesheets/lfs-xsl/docbook-xsl-snapshot/fo/lists.xsl

    r2262b78 r410e228b  
    4141
    4242  <!-- Preserve order of PIs and comments -->
    43   <xsl:apply-templates 
     43  <xsl:apply-templates
    4444      select="*[not(self::listitem
    4545                or self::title
     
    4949
    5050  <xsl:variable name="content">
    51     <xsl:apply-templates 
     51    <xsl:apply-templates
    5252          select="listitem
    5353                  |comment()[preceding-sibling::listitem]
     
    172172    <xsl:when test="$itemsymbol='triangle'">&#x2023;</xsl:when>
    173173    <xsl:when test="$itemsymbol='point'">&#x203A;</xsl:when>
    174     <xsl:when test="$itemsymbol='hand'"><fo:inline 
     174    <xsl:when test="$itemsymbol='hand'"><fo:inline
    175175                         font-family="Wingdings 2">A</fo:inline></xsl:when>
    176176    -->
     
    204204
    205205  <!-- Preserve order of PIs and comments -->
    206   <xsl:apply-templates 
     206  <xsl:apply-templates
    207207      select="*[not(self::listitem
    208208                or self::title
     
    212212
    213213  <xsl:variable name="content">
    214     <xsl:apply-templates 
     214    <xsl:apply-templates
    215215          select="listitem
    216216                  |comment()[preceding-sibling::listitem]
     
    307307</xsl:template>
    308308
    309 <xsl:template match="listitem/*[1][local-name()='para' or 
    310                                    local-name()='simpara' or 
     309<xsl:template match="listitem/*[1][local-name()='para' or
     310                                   local-name()='simpara' or
    311311                                   local-name()='formalpara']
    312                      |glossdef/*[1][local-name()='para' or 
    313                                    local-name()='simpara' or 
     312                     |glossdef/*[1][local-name()='para' or
     313                                   local-name()='simpara' or
    314314                                   local-name()='formalpara']
    315                      |step/*[1][local-name()='para' or 
    316                                    local-name()='simpara' or 
     315                     |step/*[1][local-name()='para' or
     316                                   local-name()='simpara' or
    317317                                   local-name()='formalpara']
    318                      |callout/*[1][local-name()='para' or 
    319                                    local-name()='simpara' or 
     318                     |callout/*[1][local-name()='para' or
     319                                   local-name()='simpara' or
    320320                                   local-name()='formalpara']"
    321321              priority="2">
     
    429429
    430430  <!-- Preserve order of PIs and comments -->
    431   <xsl:apply-templates 
     431  <xsl:apply-templates
    432432    select="*[not(self::varlistentry
    433433              or self::title
     
    484484    <xsl:when test="string-length($term.text) &gt; $longest">
    485485      <xsl:call-template name="longest.term">
    486         <xsl:with-param name="longest" 
     486        <xsl:with-param name="longest"
    487487            select="string-length($term.text)"/>
    488488        <xsl:with-param name="maxlength" select="$maxlength"/>
     
    545545
    546546  <!-- Preserve order of PIs and comments -->
    547   <xsl:apply-templates 
     547  <xsl:apply-templates
    548548    select="*[not(self::varlistentry
    549549              or self::title
     
    577577  <xsl:variable name="id"><xsl:call-template name="object.id"/></xsl:variable>
    578578
    579   <fo:block id="{$id}" xsl:use-attribute-sets="list.item.spacing" 
    580       keep-together.within-column="always" 
     579  <fo:block id="{$id}" xsl:use-attribute-sets="list.item.spacing"
     580      keep-together.within-column="always"
    581581      keep-with-next.within-column="always">
    582582    <xsl:apply-templates select="term"/>
     
    655655        <xsl:attribute name="table-layout">auto</xsl:attribute>
    656656        <xsl:if test="$explicit.table.width != ''">
    657           <xsl:attribute name="width"><xsl:value-of 
     657          <xsl:attribute name="width"><xsl:value-of
    658658          select="$explicit.table.width"/></xsl:attribute>
    659659        </xsl:if>
     
    661661      <xsl:otherwise>
    662662        <xsl:attribute name="table-layout">fixed</xsl:attribute>
    663         <xsl:attribute name="width"><xsl:value-of 
     663        <xsl:attribute name="width"><xsl:value-of
    664664                                      select="$table.width"/></xsl:attribute>
    665665      </xsl:otherwise>
     
    748748        <xsl:attribute name="table-layout">auto</xsl:attribute>
    749749        <xsl:if test="$explicit.table.width != ''">
    750           <xsl:attribute name="width"><xsl:value-of 
     750          <xsl:attribute name="width"><xsl:value-of
    751751                             select="$explicit.table.width"/></xsl:attribute>
    752752        </xsl:if>
     
    754754      <xsl:otherwise>
    755755        <xsl:attribute name="table-layout">fixed</xsl:attribute>
    756         <xsl:attribute name="width"><xsl:value-of 
     756        <xsl:attribute name="width"><xsl:value-of
    757757                                      select="$table.width"/></xsl:attribute>
    758758      </xsl:otherwise>
     
    929929                |processing-instruction()[not(preceding-sibling::step)]"/>
    930930
    931   <xsl:variable name="steps" 
     931  <xsl:variable name="steps"
    932932                select="step
    933933                        |comment()[preceding-sibling::step]
     
    10251025<xsl:template match="step/title">
    10261026  <fo:block font-weight="bold"
    1027             keep-together.within-column="always" 
     1027            keep-together.within-column="always"
    10281028            keep-with-next.within-column="always">
    10291029    <xsl:apply-templates/>
     
    11591159    <!-- The above restores alignment altered by image align attribute -->
    11601160    <xsl:if test="title|info/title">
    1161       <xsl:apply-templates select="(title|info/title)[1]" 
     1161      <xsl:apply-templates select="(title|info/title)[1]"
    11621162                           mode="list.title.mode"/>
    11631163    </xsl:if>
    11641164
    11651165    <!-- Preserve order of PIs and comments -->
    1166     <xsl:apply-templates 
     1166    <xsl:apply-templates
    11671167         select="*[not(self::callout or self::title or self::titleabbrev)]
    11681168                   |comment()[not(preceding-sibling::callout)]
  • stylesheets/lfs-xsl/docbook-xsl-snapshot/fo/math.xsl

    r2262b78 r410e228b  
    6666</xsl:template>
    6767
    68 <xsl:template match="inlineequation/alt[@role='tex'] | 
     68<xsl:template match="inlineequation/alt[@role='tex'] |
    6969                     inlineequation/inlinemediaobject/textobject[@role='tex']" priority="1">
    7070  <xsl:param name="output.delims" select="1"/>
  • stylesheets/lfs-xsl/docbook-xsl-snapshot/fo/pagesetup.xsl

    r2262b78 r410e228b  
    12461246        <fo:conditional-page-master-reference master-reference="titlepage-odd"
    12471247                                              odd-or-even="odd"/>
    1248         <fo:conditional-page-master-reference 
     1248        <fo:conditional-page-master-reference
    12491249                                              odd-or-even="even">
    12501250          <xsl:attribute name="master-reference">
     
    12671267        <fo:conditional-page-master-reference master-reference="lot-odd"
    12681268                                              odd-or-even="odd"/>
    1269         <fo:conditional-page-master-reference 
     1269        <fo:conditional-page-master-reference
    12701270                                              odd-or-even="even">
    12711271          <xsl:attribute name="master-reference">
     
    12881288        <fo:conditional-page-master-reference master-reference="front-odd"
    12891289                                              odd-or-even="odd"/>
    1290         <fo:conditional-page-master-reference 
     1290        <fo:conditional-page-master-reference
    12911291                                              odd-or-even="even">
    12921292          <xsl:attribute name="master-reference">
     
    13091309        <fo:conditional-page-master-reference master-reference="body-odd"
    13101310                                              odd-or-even="odd"/>
    1311         <fo:conditional-page-master-reference 
     1311        <fo:conditional-page-master-reference
    13121312                                              odd-or-even="even">
    13131313          <xsl:attribute name="master-reference">
     
    13301330        <fo:conditional-page-master-reference master-reference="back-odd"
    13311331                                              odd-or-even="odd"/>
    1332         <fo:conditional-page-master-reference 
     1332        <fo:conditional-page-master-reference
    13331333                                              odd-or-even="even">
    13341334          <xsl:attribute name="master-reference">
     
    13511351        <fo:conditional-page-master-reference master-reference="index-odd"
    13521352                                              odd-or-even="odd"/>
    1353         <fo:conditional-page-master-reference 
     1353        <fo:conditional-page-master-reference
    13541354                                              odd-or-even="even">
    13551355          <xsl:attribute name="master-reference">
     
    13731373          <fo:conditional-page-master-reference master-reference="titlepage-odd-draft"
    13741374                                                odd-or-even="odd"/>
    1375           <fo:conditional-page-master-reference 
     1375          <fo:conditional-page-master-reference
    13761376                                                odd-or-even="even">
    13771377            <xsl:attribute name="master-reference">
     
    13941394          <fo:conditional-page-master-reference master-reference="lot-odd-draft"
    13951395                                                odd-or-even="odd"/>
    1396           <fo:conditional-page-master-reference 
     1396          <fo:conditional-page-master-reference
    13971397                                                odd-or-even="even">
    13981398            <xsl:attribute name="master-reference">
     
    14151415          <fo:conditional-page-master-reference master-reference="front-odd-draft"
    14161416                                                odd-or-even="odd"/>
    1417           <fo:conditional-page-master-reference 
     1417          <fo:conditional-page-master-reference
    14181418                                                odd-or-even="even">
    14191419            <xsl:attribute name="master-reference">
     
    14361436          <fo:conditional-page-master-reference master-reference="body-odd-draft"
    14371437                                                odd-or-even="odd"/>
    1438           <fo:conditional-page-master-reference 
     1438          <fo:conditional-page-master-reference
    14391439                                                odd-or-even="even">
    14401440            <xsl:attribute name="master-reference">
     
    14571457          <fo:conditional-page-master-reference master-reference="back-odd-draft"
    14581458                                                odd-or-even="odd"/>
    1459           <fo:conditional-page-master-reference 
     1459          <fo:conditional-page-master-reference
    14601460                                                odd-or-even="even">
    14611461            <xsl:attribute name="master-reference">
     
    14781478          <fo:conditional-page-master-reference master-reference="index-odd-draft"
    14791479                                                odd-or-even="odd"/>
    1480           <fo:conditional-page-master-reference 
     1480          <fo:conditional-page-master-reference
    14811481                                                odd-or-even="even">
    14821482            <xsl:attribute name="master-reference">
     
    22032203  <!-- Select the first content that the stylesheet places
    22042204       after the TOC -->
    2205   <xsl:variable name="first.book.content" 
     2205  <xsl:variable name="first.book.content"
    22062206                select="ancestor::book/*[
    22072207                          not(self::title or
     
    22232223        <!-- Change page.number.format if not -->
    22242224        <xsl:when test="$element = 'preface'">auto-odd</xsl:when>
    2225         <xsl:when test="($element = 'dedication' or $element = 'article') 
     2225        <xsl:when test="($element = 'dedication' or $element = 'article')
    22262226                    and not(preceding::chapter
    22272227                            or preceding::preface
  • stylesheets/lfs-xsl/docbook-xsl-snapshot/fo/param.xsl

    r2262b78 r410e228b  
    413413  <xsl:attribute name="space-before.maximum">1.2em</xsl:attribute>
    414414</xsl:attribute-set>
    415 <xsl:param name="olink.doctitle">no</xsl:param> 
     415<xsl:param name="olink.doctitle">no</xsl:param>
    416416<xsl:param name="olink.base.uri"/>
    417417<xsl:param name="olink.debug" select="0"/>
     
    855855<xsl:param name="ulink.show" select="1"/>
    856856<xsl:param name="use.extensions" select="0"/>
    857 <xsl:param name="use.local.olink.style" select="0"/> 
     857<xsl:param name="use.local.olink.style" select="0"/>
    858858<xsl:param name="use.role.as.xrefstyle" select="1"/>
    859859<xsl:param name="use.role.for.mediaobject" select="1"/>
  • stylesheets/lfs-xsl/docbook-xsl-snapshot/fo/passivetex.xsl

    r2262b78 r410e228b  
    77     $Id$
    88     ********************************************************************
    9       This extension stops PassiveTeX from merging subsequent '-' to 
     9      This extension stops PassiveTeX from merging subsequent '-' to
    1010      dashes. You must set passivetex.extensions to '1' if you want get
    1111      this functionality.
  • stylesheets/lfs-xsl/docbook-xsl-snapshot/fo/pi.xsl

    r2262b78 r410e228b  
    132132  <refsee role="params">
    133133    <para><parameter>sidebar.float.type parameter</parameter>,
    134       <parameter>sidebar.float.width parameter</parameter>, 
     134      <parameter>sidebar.float.width parameter</parameter>,
    135135      <parameter>sidebar.properties attribute-set</parameter>,
    136136      <parameter>sidebar.title.properties</parameter>
     
    341341    <xsl:with-param name="attribute" select="'label-width'"/>
    342342  </xsl:call-template>
    343 </xsl:template> 
     343</xsl:template>
    344344
    345345<doc:pi name="dbfo_linenumbering.everyNth" xmlns="">
     
    657657  <refsee role="params">
    658658    <para><parameter>sidebar.float.type parameter</parameter>,
    659       <parameter>sidebar.float.width parameter</parameter>, 
     659      <parameter>sidebar.float.width parameter</parameter>,
    660660      <parameter>sidebar.properties attribute-set</parameter>,
    661661      <parameter>sidebar.title.properties</parameter>
     
    898898    </xsl:when>
    899899    <xsl:when test="following-sibling::para">
    900       <fo:block space-after="0pt" 
     900      <fo:block space-after="0pt"
    901901        xsl:use-attribute-sets="normal.para.spacing">
    902902        <xsl:copy-of select="$spacer"/>
     
    907907      following-sibling::example or
    908908      following-sibling::equation">
    909       <fo:block space-after="0pt" 
     909      <fo:block space-after="0pt"
    910910        xsl:use-attribute-sets="formal.object.properties">
    911911        <xsl:copy-of select="$spacer"/>
     
    916916      following-sibling::informalexample or
    917917      following-sibling::informalequation">
    918       <fo:block space-after="0pt" 
     918      <fo:block space-after="0pt"
    919919        xsl:use-attribute-sets="informal.object.properties">
    920920        <xsl:copy-of select="$spacer"/>
     
    925925      following-sibling::variablelist or
    926926      following-sibling::simplelist">
    927       <fo:block space-after="0pt" 
     927      <fo:block space-after="0pt"
    928928        xsl:use-attribute-sets="informal.object.properties">
    929929        <xsl:copy-of select="$spacer"/>
     
    932932    <xsl:when test="following-sibling::listitem or
    933933      following-sibling::step">
    934       <fo:list-item space-after="0pt" 
     934      <fo:list-item space-after="0pt"
    935935        xsl:use-attribute-sets="informal.object.properties">
    936936        <fo:list-item-label/>
     
    946946      following-sibling::sect5 or
    947947      following-sibling::section">
    948       <fo:block space-after="0pt" 
     948      <fo:block space-after="0pt"
    949949        xsl:use-attribute-sets="section.title.properties">
    950950        <xsl:copy-of select="$spacer"/>
  • stylesheets/lfs-xsl/docbook-xsl-snapshot/fo/profile-docbook.xsl

    r2262b78 r410e228b  
    104104    <xsl:value-of select="name(.)"/>
    105105    <xsl:text>&gt;</xsl:text>
    106     <xsl:apply-templates/> 
     106    <xsl:apply-templates/>
    107107    <xsl:text>&lt;/</xsl:text>
    108108    <xsl:value-of select="name(.)"/>
  • stylesheets/lfs-xsl/docbook-xsl-snapshot/fo/qandaset.xsl

    r2262b78 r410e228b  
    6666      </xsl:choose>
    6767
    68       <xsl:if test="(contains($toc.params, 'toc') and $toc != '0') 
     68      <xsl:if test="(contains($toc.params, 'toc') and $toc != '0')
    6969                    or $toc = '1'">
    7070        <xsl:call-template name="qandaset.toc">
     
    264264        <xsl:if test="string-length($label.content) &gt; 0">
    265265                        <fo:block font-weight="bold">
    266                           <xsl:copy-of select="$label.content"/>         
     266                          <xsl:copy-of select="$label.content"/>
    267267                        </fo:block>
    268268        </xsl:if>
  • stylesheets/lfs-xsl/docbook-xsl-snapshot/fo/refentry.xsl

    r2262b78 r410e228b  
    197197
    198198  <xsl:choose>
    199     <xsl:when test="not(parent::*) or 
    200                     (parent::reference and $refentry.pagebreak != 0) or 
     199    <xsl:when test="not(parent::*) or
     200                    (parent::reference and $refentry.pagebreak != 0) or
    201201                    parent::part">
    202202      <!-- make a page sequence -->
     
    563563<!--     </xsl:call-template> -->
    564564<!-- -->
    565   <xsl:param name="section" 
    566              select="(ancestor::refsynopsysdiv 
     565  <xsl:param name="section"
     566             select="(ancestor::refsynopsysdiv
    567567                     |ancestor::refsection
    568568                     |ancestor::refsect1
     
    604604
    605605    <xsl:if test="$passivetex.extensions != 0">
    606       <fotex:bookmark xmlns:fotex="http://www.tug.org/fotex" 
    607                       fotex-bookmark-level="{$level + 2 + $offset}" 
     606      <fotex:bookmark xmlns:fotex="http://www.tug.org/fotex"
     607                      fotex-bookmark-level="{$level + 2 + $offset}"
    608608                      fotex-bookmark-label="{$id}">
    609609        <xsl:value-of select="$title"/>
  • stylesheets/lfs-xsl/docbook-xsl-snapshot/fo/sections.xsl

    r2262b78 r410e228b  
    5454          <xsl:element name="fo:{$section.container.element}"
    5555                       use-attribute-sets="section.level1.properties">
    56             <xsl:attribute name="id"><xsl:value-of 
     56            <xsl:attribute name="id"><xsl:value-of
    5757                                select="$id"/></xsl:attribute>
    5858            <xsl:call-template name="section.content"/>
     
    6262          <xsl:element name="fo:{$section.container.element}"
    6363                       use-attribute-sets="section.level2.properties">
    64             <xsl:attribute name="id"><xsl:value-of 
     64            <xsl:attribute name="id"><xsl:value-of
    6565                                select="$id"/></xsl:attribute>
    6666            <xsl:call-template name="section.content"/>
     
    7070          <xsl:element name="fo:{$section.container.element}"
    7171                       use-attribute-sets="section.level3.properties">
    72             <xsl:attribute name="id"><xsl:value-of 
     72            <xsl:attribute name="id"><xsl:value-of
    7373                                select="$id"/></xsl:attribute>
    7474            <xsl:call-template name="section.content"/>
     
    7878          <xsl:element name="fo:{$section.container.element}"
    7979                       use-attribute-sets="section.level4.properties">
    80             <xsl:attribute name="id"><xsl:value-of 
     80            <xsl:attribute name="id"><xsl:value-of
    8181                                select="$id"/></xsl:attribute>
    8282            <xsl:call-template name="section.content"/>
     
    8686          <xsl:element name="fo:{$section.container.element}"
    8787                       use-attribute-sets="section.level5.properties">
    88             <xsl:attribute name="id"><xsl:value-of 
     88            <xsl:attribute name="id"><xsl:value-of
    8989                                select="$id"/></xsl:attribute>
    9090            <xsl:call-template name="section.content"/>
     
    9494          <xsl:element name="fo:{$section.container.element}"
    9595                       use-attribute-sets="section.level6.properties">
    96             <xsl:attribute name="id"><xsl:value-of 
     96            <xsl:attribute name="id"><xsl:value-of
    9797                                select="$id"/></xsl:attribute>
    9898            <xsl:call-template name="section.content"/>
     
    114114
    115115  <xsl:if test="contains($toc.params, 'toc')
    116                 and (count(ancestor::section)+1) &lt;= 
     116                and (count(ancestor::section)+1) &lt;=
    117117                $generate.section.toc.level">
    118118    <xsl:call-template name="section.toc">
    119       <xsl:with-param name="toc.title.p" 
     119      <xsl:with-param name="toc.title.p"
    120120                      select="contains($toc.params, 'title')"/>
    121121    </xsl:call-template>
     
    187187      </xsl:call-template>
    188188
    189       <fo:block id="{$id}" 
     189      <fo:block id="{$id}"
    190190            xsl:use-attribute-sets="section.level1.properties">
    191191        <xsl:call-template name="section.titlepage"/>
     
    199199
    200200      <xsl:if test="contains($toc.params, 'toc')
    201                     and (count(ancestor::section)+1) &lt;= 
     201                    and (count(ancestor::section)+1) &lt;=
    202202                    $generate.section.toc.level">
    203203        <xsl:call-template name="section.toc">
    204           <xsl:with-param name="toc.title.p" 
     204          <xsl:with-param name="toc.title.p"
    205205                          select="contains($toc.params, 'title')"/>
    206206        </xsl:call-template>
     
    236236              priority="2">
    237237
    238   <xsl:variable name="section" 
     238  <xsl:variable name="section"
    239239                select="(ancestor::section |
    240240                        ancestor::simplesect |
     
    296296
    297297    <xsl:if test="$passivetex.extensions != 0">
    298       <fotex:bookmark xmlns:fotex="http://www.tug.org/fotex" 
    299                       fotex-bookmark-level="{$level + 2}" 
     298      <fotex:bookmark xmlns:fotex="http://www.tug.org/fotex"
     299                      fotex-bookmark-level="{$level + 2}"
    300300                      fotex-bookmark-label="{$id}">
    301301        <xsl:value-of select="$marker.title"/>
     
    329329  <xsl:element name="fo:{$section.container.element}"
    330330               use-attribute-sets="section.level1.properties">
    331     <xsl:attribute name="id"><xsl:value-of 
     331    <xsl:attribute name="id"><xsl:value-of
    332332                        select="$id"/></xsl:attribute>
    333333    <xsl:call-template name="sect1.titlepage"/>
     
    342342                  and $generate.section.toc.level &gt;= 1">
    343343      <xsl:call-template name="section.toc">
    344         <xsl:with-param name="toc.title.p" 
     344        <xsl:with-param name="toc.title.p"
    345345                        select="contains($toc.params, 'title')"/>
    346346      </xsl:call-template>
     
    412412      </xsl:call-template>
    413413
    414       <fo:block id="{$id}" 
     414      <fo:block id="{$id}"
    415415                xsl:use-attribute-sets="section.level1.properties">
    416416        <xsl:call-template name="sect1.titlepage"/>
     
    426426                    and $generate.section.toc.level &gt;= 1">
    427427        <xsl:call-template name="section.toc">
    428           <xsl:with-param name="toc.title.p" 
     428          <xsl:with-param name="toc.title.p"
    429429                          select="contains($toc.params, 'title')"/>
    430430        </xsl:call-template>
     
    444444  <xsl:element name="fo:{$section.container.element}"
    445445               use-attribute-sets="section.level2.properties">
    446     <xsl:attribute name="id"><xsl:value-of 
     446    <xsl:attribute name="id"><xsl:value-of
    447447                        select="$id"/></xsl:attribute>
    448448    <xsl:call-template name="sect2.titlepage"/>
     
    457457                   and $generate.section.toc.level &gt;= 2">
    458458      <xsl:call-template name="section.toc">
    459         <xsl:with-param name="toc.title.p" 
     459        <xsl:with-param name="toc.title.p"
    460460                        select="contains($toc.params, 'title')"/>
    461461      </xsl:call-template>
     
    474474  <xsl:element name="fo:{$section.container.element}"
    475475               use-attribute-sets="section.level3.properties">
    476     <xsl:attribute name="id"><xsl:value-of 
     476    <xsl:attribute name="id"><xsl:value-of
    477477                        select="$id"/></xsl:attribute>
    478478    <xsl:call-template name="sect3.titlepage"/>
     
    487487                  and $generate.section.toc.level &gt;= 3">
    488488      <xsl:call-template name="section.toc">
    489         <xsl:with-param name="toc.title.p" 
     489        <xsl:with-param name="toc.title.p"
    490490                        select="contains($toc.params, 'title')"/>
    491491      </xsl:call-template>
     
    504504  <xsl:element name="fo:{$section.container.element}"
    505505               use-attribute-sets="section.level4.properties">
    506     <xsl:attribute name="id"><xsl:value-of 
     506    <xsl:attribute name="id"><xsl:value-of
    507507                        select="$id"/></xsl:attribute>
    508508    <xsl:call-template name="sect4.titlepage"/>
     
    517517                  and $generate.section.toc.level &gt;= 4">
    518518      <xsl:call-template name="section.toc">
    519         <xsl:with-param name="toc.title.p" 
     519        <xsl:with-param name="toc.title.p"
    520520                        select="contains($toc.params, 'title')"/>
    521521      </xsl:call-template>
     
    534534  <xsl:element name="fo:{$section.container.element}"
    535535               use-attribute-sets="section.level5.properties">
    536     <xsl:attribute name="id"><xsl:value-of 
     536    <xsl:attribute name="id"><xsl:value-of
    537537                        select="$id"/></xsl:attribute>
    538538    <xsl:call-template name="sect5.titlepage"/>
     
    547547                  and $generate.section.toc.level &gt;= 5">
    548548      <xsl:call-template name="section.toc">
    549         <xsl:with-param name="toc.title.p" 
     549        <xsl:with-param name="toc.title.p"
    550550                        select="contains($toc.params, 'title')"/>
    551551      </xsl:call-template>
     
    563563
    564564  <xsl:element name="fo:{$section.container.element}">
    565     <xsl:attribute name="id"><xsl:value-of 
     565    <xsl:attribute name="id"><xsl:value-of
    566566                        select="$id"/></xsl:attribute>
    567567    <xsl:call-template name="simplesect.titlepage"/>
  • stylesheets/lfs-xsl/docbook-xsl-snapshot/fo/table.xsl

    r2262b78 r410e228b  
    180180  <xsl:param name="table.block"/>
    181181  <xsl:choose>
    182     <xsl:when test="@orient='land' and 
    183                     $fop.extensions = 0 and 
     182    <xsl:when test="@orient='land' and
     183                    $fop.extensions = 0 and
    184184                    $passivetex.extensions = 0" >
    185185      <fo:block-container reference-orientation="90"
     
    10691069      </xsl:if>
    10701070
    1071       <xsl:if test="$colsep.inherit &gt; 0 and 
     1071      <xsl:if test="$colsep.inherit &gt; 0 and
    10721072                      $col &lt; ancestor::tgroup/@cols">
    10731073        <xsl:call-template name="border">
     
    11101110    <xsl:otherwise>
    11111111      <!-- HTML table -->
    1112       <xsl:variable name="border" 
     1112      <xsl:variable name="border"
    11131113                    select="(ancestor::table |
    11141114                             ancestor::informaltable)[last()]/@border"/>
     
    14771477    <xsl:text>proportional-column-width(</xsl:text>
    14781478    <xsl:choose>
    1479       <xsl:when test="substring-before($colwidth, '*') != ''"> 
     1479      <xsl:when test="substring-before($colwidth, '*') != ''">
    14801480        <xsl:value-of select="substring-before($colwidth, '*')"/>
    14811481      </xsl:when>
  • stylesheets/lfs-xsl/docbook-xsl-snapshot/fo/titlepage.templates.xml

    r2262b78 r410e228b  
    10221022  <t:titlepage t:element="sidebar" t:wrapper="fo:block">
    10231023    <t:titlepage-content t:side="recto">
    1024       <title 
     1024      <title
    10251025             font-family="{$title.fontset}"
    10261026             font-weight="bold"/>
  • stylesheets/lfs-xsl/docbook-xsl-snapshot/fo/toc.xsl

    r2262b78 r410e228b  
    3636            <xsl:call-template name="page.number.format">
    3737              <xsl:with-param name="element" select="'toc'"/>
    38               <xsl:with-param name="master-reference" 
     38              <xsl:with-param name="master-reference"
    3939                              select="$master-reference"/>
    4040            </xsl:call-template>
     
    4444            <xsl:call-template name="initial.page.number">
    4545              <xsl:with-param name="element" select="'toc'"/>
    46               <xsl:with-param name="master-reference" 
     46              <xsl:with-param name="master-reference"
    4747                              select="$master-reference"/>
    4848            </xsl:call-template>
     
    5151          <xsl:attribute name="force-page-count">
    5252            <xsl:call-template name="force.page.count">
    53               <xsl:with-param name="master-reference" 
     53              <xsl:with-param name="master-reference"
    5454                              select="$master-reference"/>
    5555            </xsl:call-template>
     
    8282            <xsl:call-template name="set.flow.properties">
    8383              <xsl:with-param name="element" select="local-name(.)"/>
    84               <xsl:with-param name="master-reference" 
     84              <xsl:with-param name="master-reference"
    8585                              select="$master-reference"/>
    8686            </xsl:call-template>
     
    104104            <xsl:call-template name="page.number.format">
    105105              <xsl:with-param name="element" select="'toc'"/>
    106               <xsl:with-param name="master-reference" 
     106              <xsl:with-param name="master-reference"
    107107                              select="$master-reference"/>
    108108            </xsl:call-template>
     
    112112            <xsl:call-template name="initial.page.number">
    113113              <xsl:with-param name="element" select="'toc'"/>
    114               <xsl:with-param name="master-reference" 
     114              <xsl:with-param name="master-reference"
    115115                              select="$master-reference"/>
    116116            </xsl:call-template>
  • stylesheets/lfs-xsl/docbook-xsl-snapshot/fo/xep.xsl

    r2262b78 r410e228b  
    1919<xsl:template name="xep-document-information">
    2020  <rx:meta-info>
    21     <xsl:variable name="authors" 
     21    <xsl:variable name="authors"
    2222                  select="(//author|//editor|//corpauthor|//authorgroup)[1]"/>
    2323    <xsl:if test="$authors">
     
    2626          <xsl:when test="$authors[self::authorgroup]">
    2727            <xsl:call-template name="person.name.list">
    28               <xsl:with-param name="person.list" 
     28              <xsl:with-param name="person.list"
    2929                        select="$authors/*[self::author|self::corpauthor|
    3030                               self::othercredit|self::editor]"/>
  • stylesheets/lfs-xsl/docbook-xsl-snapshot/fo/xref.xsl

    r2262b78 r410e228b  
    1818
    1919<!-- Use internal variable for olink xlink role for consistency -->
    20 <xsl:variable 
     20<xsl:variable
    2121      name="xolink.role">http://docbook.org/xlink/role/olink</xsl:variable>
    2222
     
    5151  <xsl:variable name="xrefstyle">
    5252    <xsl:choose>
    53       <xsl:when test="@role and not(@xrefstyle) 
     53      <xsl:when test="@role and not(@xrefstyle)
    5454                      and $use.role.as.xrefstyle != 0">
    5555        <xsl:value-of select="@role"/>
     
    124124      <!-- page numbers only for local targets -->
    125125    </xsl:when>
    126     <xsl:when test="starts-with(normalize-space($xrefstyle), 'select:') 
     126    <xsl:when test="starts-with(normalize-space($xrefstyle), 'select:')
    127127                  and contains($xrefstyle, 'nopage')">
    128128      <!-- negative xrefstyle in instance turns it off -->
    129129    </xsl:when>
    130130    <!-- positive xrefstyle already handles it -->
    131     <xsl:when test="not(starts-with(normalize-space($xrefstyle), 'select:') 
     131    <xsl:when test="not(starts-with(normalize-space($xrefstyle), 'select:')
    132132                  and (contains($xrefstyle, 'page')
    133133                       or contains($xrefstyle, 'Page')))
    134                   and ( $insert.xref.page.number = 'yes' 
     134                  and ( $insert.xref.page.number = 'yes'
    135135                     or $insert.xref.page.number = '1')
    136136                  or local-name($target) = 'para'">
     
    788788  <xsl:variable name="xrefstyle">
    789789    <xsl:choose>
    790       <xsl:when test="@role and not(@xrefstyle) 
     790      <xsl:when test="@role and not(@xrefstyle)
    791791                      and $use.role.as.xrefstyle != 0">
    792792        <xsl:value-of select="@role"/>
     
    852852    </xsl:when>
    853853    <!-- negative xrefstyle in instance turns it off -->
    854     <xsl:when test="starts-with(normalize-space($xrefstyle), 'select:') 
     854    <xsl:when test="starts-with(normalize-space($xrefstyle), 'select:')
    855855                  and contains($xrefstyle, 'nopage')">
    856856    </xsl:when>
    857     <xsl:when test="(starts-with(normalize-space($xrefstyle), 'select:') 
    858                   and $insert.link.page.number = 'maybe' 
     857    <xsl:when test="(starts-with(normalize-space($xrefstyle), 'select:')
     858                  and $insert.link.page.number = 'maybe'
    859859                  and (contains($xrefstyle, 'page')
    860860                       or contains($xrefstyle, 'Page')))
    861                   or ( $insert.link.page.number = 'yes' 
     861                  or ( $insert.link.page.number = 'yes'
    862862                     or $insert.link.page.number = '1')
    863863                  or local-name($target) = 'para'">
     
    939939    <xsl:variable name="fnum">
    940940      <!-- FIXME: list in @from is probably not complete -->
    941       <xsl:number level="any" 
    942                   from="chapter|appendix|preface|article|refentry|bibliography[not(parent::article)]" 
    943                   count="footnote[not(@label)][not(ancestor::tgroup)]|ulink[node()][@url != .][not(ancestor::footnote)]" 
     941      <xsl:number level="any"
     942                  from="chapter|appendix|preface|article|refentry|bibliography[not(parent::article)]"
     943                  count="footnote[not(@label)][not(ancestor::tgroup)]|ulink[node()][@url != .][not(ancestor::footnote)]"
    944944                  format="1"/>
    945945    </xsl:variable>
     
    10331033      </xsl:variable>
    10341034
    1035       <xsl:variable name="target.database" 
     1035      <xsl:variable name="target.database"
    10361036          select="document($target.database.filename, /)"/>
    10371037
     
    11861186
    11871187  <xsl:variable name="targetptr">
    1188     <xsl:value-of 
     1188    <xsl:value-of
    11891189       select="substring-before(substring-after($olink.key, '/'), '/')"/>
    11901190  </xsl:variable>
     
    11931193    <xsl:variable name="candidate">
    11941194      <xsl:for-each select="$target.database" >
    1195         <xsl:value-of 
     1195        <xsl:value-of
    11961196                  select="key('targetptr-key', $olink.key)/@lang" />
    11971197      </xsl:for-each>
     
    12071207  </xsl:variable>
    12081208
    1209   <xsl:if test="$current.docid = $targetdoc and 
     1209  <xsl:if test="$current.docid = $targetdoc and
    12101210                $olink.lang = $target.lang">
    12111211    <xsl:variable name="targets" select="key('id',$targetptr)"/>
     
    13951395  </xsl:variable>
    13961396
    1397   <xsl:variable name="target.database" 
     1397  <xsl:variable name="target.database"
    13981398      select="document($target.database.filename, /)"/>
    13991399
  • stylesheets/lfs-xsl/docbook-xsl-snapshot/profiling/profile-mode.xsl

    r2262b78 r410e228b  
    3434    </xsl:if>
    3535  </xsl:variable>
    36   <xsl:variable name="audience.ok" 
     36  <xsl:variable name="audience.ok"
    3737                        select="not(@audience) or not($profile.audience) or
    3838                                $audience.content != '' or @audience = ''"/>
     
    167167    </xsl:if>
    168168  </xsl:variable>
    169   <xsl:variable name="wordsize.ok" 
     169  <xsl:variable name="wordsize.ok"
    170170                        select="not(@wordsize) or not($profile.wordsize) or
    171171                                $wordsize.content != '' or @wordsize = ''"/>
     
    179179    </xsl:if>
    180180  </xsl:variable>
    181   <xsl:variable name="attribute.ok" 
    182                 select="not(@*[local-name()=$profile.attribute]) or 
    183                         not($profile.value) or $attribute.content != '' or 
    184                         @*[local-name()=$profile.attribute] = '' or 
     181  <xsl:variable name="attribute.ok"
     182                select="not(@*[local-name()=$profile.attribute]) or
     183                        not($profile.value) or $attribute.content != '' or
     184                        @*[local-name()=$profile.attribute] = '' or
    185185                        not($profile.attribute)"/>
    186186
    187   <xsl:if test="$arch.ok and 
    188                 $audience.ok and 
    189                 $condition.ok and 
    190                 $conformance.ok and 
    191                 $lang.ok and 
    192                 $os.ok and 
    193                 $revision.ok and 
    194                 $revisionflag.ok and 
    195                 $role.ok and 
    196                 $security.ok and 
    197                 $status.ok and 
    198                 $userlevel.ok and 
    199                 $vendor.ok and 
    200                 $wordsize.ok and 
     187  <xsl:if test="$arch.ok and
     188                $audience.ok and
     189                $condition.ok and
     190                $conformance.ok and
     191                $lang.ok and
     192                $os.ok and
     193                $revision.ok and
     194                $revisionflag.ok and
     195                $role.ok and
     196                $security.ok and
     197                $status.ok and
     198                $userlevel.ok and
     199                $vendor.ok and
     200                $wordsize.ok and
    201201                $attribute.ok">
    202202    <xsl:copy>
  • stylesheets/lfs-xsl/docbook-xsl-snapshot/profiling/profile.xsl

    r2262b78 r410e228b  
    1111<xsl:param name="profile.baseuri.fixup" select="false()"/>
    1212
    13 <!-- If you need to validate profiled content against DTD, 
     13<!-- If you need to validate profiled content against DTD,
    1414     create customization that will import this stylesheet and
    15      will use xsl:output (see example bellow) to output reference 
    16      to the desired DTD version. --> 
     15     will use xsl:output (see example bellow) to output reference
     16     to the desired DTD version. -->
    1717<!-- Generate DocBook instance with correct DOCTYPE -->
    1818<!--
    19 <xsl:output method="xml" 
     19<xsl:output method="xml"
    2020            doctype-public="-//OASIS//DTD DocBook XML V4.5//EN"
    2121            doctype-system="http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd"/>
  • stylesheets/lfs-xsl/docbook-xsl-snapshot/xhtml/autoidx-kimber.xsl

    r2262b78 r410e228b  
    5252    <xsl:message terminate="yes">
    5353      <xsl:text>ERROR: the 'kimber' index method requires the </xsl:text>
    54       <xsl:text>Innodata Isogen 
     54      <xsl:text>Innodata Isogen
    5555Java extensions for </xsl:text>
    56       <xsl:text>internationalized indexes. 
     56      <xsl:text>internationalized indexes.
    5757Install those </xsl:text>
    5858      <xsl:text>extensions, or use a different index method.
  • stylesheets/lfs-xsl/docbook-xsl-snapshot/xhtml/autoidx.xsl

    r2262b78 r410e228b  
    9898        <dl>
    9999          <xsl:apply-templates select="$others[count(.|key('primary',                                        normalize-space(concat(primary/@sortas, primary[not(@sortas) or @sortas = &quot;&quot;])))[count(ancestor::node()|$scope) = count(ancestor::node()) and ($role = @role or $type = @type or (string-length($role) = 0 and string-length($type) = 0))][1]) = 1]" mode="index-symbol-div">
    100             <xsl:with-param name="position" select="position()"/>                               
     100            <xsl:with-param name="position" select="position()"/>
    101101            <xsl:with-param name="scope" select="$scope"/>
    102102            <xsl:with-param name="role" select="$role"/>
  • stylesheets/lfs-xsl/docbook-xsl-snapshot/xhtml/changebars.xsl

    r2262b78 r410e228b  
    2424<style type="text/css">
    2525<xsl:text>
    26 div.added    { background-color: #ffff99; 
     26div.added    { background-color: #ffff99;
    2727               text-decoration: underline; }
    2828div.deleted  { text-decoration: line-through;
     
    3131div.off      {  }
    3232
    33 span.added   { background-color: #ffff99; 
     33span.added   { background-color: #ffff99;
    3434               text-decoration: underline; }
    3535span.deleted { text-decoration: line-through;
  • stylesheets/lfs-xsl/docbook-xsl-snapshot/xhtml/chunk-common.xsl

    r2262b78 r410e228b  
    950950              </xsl:message>
    951951            </xsl:otherwise>
    952           </xsl:choose> 
     952          </xsl:choose>
    953953          <!-- In either case, add baseuri from its document entry-->
    954954          <xsl:variable name="docbaseuri">
     
    998998<xsl:template name="upward.path">
    999999  <xsl:param name="path" select="''"/>
    1000   <xsl:choose> 
     1000  <xsl:choose>
    10011001    <!-- Don't bother with absolute uris -->
    10021002    <xsl:when test="contains($path, ':')"/>
  • stylesheets/lfs-xsl/docbook-xsl-snapshot/xhtml/chunk.xsl

    r2262b78 r410e228b  
    2727<!-- chunk-common.xsl contains all the named templates for chunking.
    2828     In a customization file, you import chunk-common.xsl, then
    29      add any customized chunking templates of the same name. 
    30      They will have import precedence over the original 
     29     add any customized chunking templates of the same name.
     30     They will have import precedence over the original
    3131     chunking templates in chunk-common.xsl. -->
    3232<xsl:import href="chunk-common.xsl"/>
  • stylesheets/lfs-xsl/docbook-xsl-snapshot/xhtml/formal.xsl

    r2262b78 r410e228b  
    3636            <xsl:apply-templates/>
    3737          </div>
    38           <!-- HACK: This doesn't belong inside formal.object; it 
    39                should be done by the table template, but I want 
     38          <!-- HACK: This doesn't belong inside formal.object; it
     39               should be done by the table template, but I want
    4040               the link to be inside the DIV, so... -->
    4141          <xsl:if test="local-name(.) = 'table'">
     
    4848          <xsl:if test="$spacing.paras != 0"><p/></xsl:if>
    4949          <div class="{$class}-contents"><xsl:apply-templates/></div>
    50           <!-- HACK: This doesn't belong inside formal.object; it 
    51                should be done by the table template, but I want 
     50          <!-- HACK: This doesn't belong inside formal.object; it
     51               should be done by the table template, but I want
    5252               the link to be inside the DIV, so... -->
    5353          <xsl:if test="local-name(.) = 'table'">
     
    107107      <xsl:apply-templates/>
    108108
    109       <!-- HACK: This doesn't belong inside formal.object; it 
    110            should be done by the table template, but I want 
     109      <!-- HACK: This doesn't belong inside formal.object; it
     110           should be done by the table template, but I want
    111111           the link to be inside the DIV, so... -->
    112112      <xsl:if test="local-name(.) = 'informaltable'">
  • stylesheets/lfs-xsl/docbook-xsl-snapshot/xhtml/graphics.xsl

    r2262b78 r410e228b  
    192192    <xsl:choose>
    193193      <xsl:when test="local-name(.) = 'graphic'                       or local-name(.) = 'inlinegraphic'">
    194         <!-- handle legacy graphic and inlinegraphic by new template --> 
     194        <!-- handle legacy graphic and inlinegraphic by new template -->
    195195        <xsl:call-template name="mediaobject.filename">
    196196          <xsl:with-param name="object" select="."/>
     
    804804                      <xsl:value-of select="$units"/>
    805805                      <xsl:text> </xsl:text>
    806                       <xsl:value-of 
     806                      <xsl:value-of
    807807                            select="round($x1p * $intrinsicwidth div 100.0)"/>
    808808                      <xsl:text>,</xsl:text>
     
    810810                                       - ($y2p * $intrinsicdepth div 100.0))"/>
    811811                      <xsl:text>,</xsl:text>
    812                       <xsl:value-of select="round($x2p * 
     812                      <xsl:value-of select="round($x2p *
    813813                                            $intrinsicwidth div 100.0)"/>
    814814                      <xsl:text>,</xsl:text>
  • stylesheets/lfs-xsl/docbook-xsl-snapshot/xhtml/info.xsl

    r2262b78 r410e228b  
    1818     some of these elements are needed because the elements are
    1919     processed from named templates that are called with modes.
    20      Since modes aren't sticky, these rules apply. 
     20     Since modes aren't sticky, these rules apply.
    2121     (TODO: clarify this comment) -->
    2222
  • stylesheets/lfs-xsl/docbook-xsl-snapshot/xhtml/math.xsl

    r2262b78 r410e228b  
    5757        <xsl:otherwise>
    5858          <xsl:message>
    59             Unsupported TeX math notation: 
     59            Unsupported TeX math notation:
    6060            <xsl:value-of select="$tex.math.in.alt"/>
    6161          </xsl:message>
     
    7070
    7171<xsl:template name="tex.math.plain.head">
    72   <xsl:text>\nopagenumbers 
     72  <xsl:text>\nopagenumbers
    7373</xsl:text>
    7474</xsl:template>
    7575
    7676<xsl:template name="tex.math.plain.tail">
    77   <xsl:text>\bye 
     77  <xsl:text>\bye
    7878</xsl:text>
    7979</xsl:template>
     
    101101    <xsl:text>\special{dvi2bitmap outputfile </xsl:text>
    102102    <xsl:value-of select="$filename"/>
    103     <xsl:text>} 
     103    <xsl:text>}
    104104</xsl:text>
    105105    <xsl:if test="$output.delims != 0">
     
    108108    <xsl:value-of select="$tex"/>
    109109    <xsl:if test="$output.delims != 0">
    110       <xsl:text>$ 
    111 </xsl:text>
    112     </xsl:if>
    113     <xsl:text>\vfill\eject 
     110      <xsl:text>$
     111</xsl:text>
     112    </xsl:if>
     113    <xsl:text>\vfill\eject
    114114</xsl:text>
    115115  </xsl:if>
     
    138138    <xsl:text>\special{dvi2bitmap outputfile </xsl:text>
    139139    <xsl:value-of select="$filename"/>
    140     <xsl:text>} 
     140    <xsl:text>}
    141141</xsl:text>
    142142    <xsl:if test="$output.delims != 0">
     
    145145    <xsl:value-of select="$tex"/>
    146146    <xsl:if test="$output.delims != 0">
    147       <xsl:text>$$ 
    148 </xsl:text>
    149     </xsl:if>
    150     <xsl:text>\vfill\eject 
     147      <xsl:text>$$
     148</xsl:text>
     149    </xsl:if>
     150    <xsl:text>\vfill\eject
    151151</xsl:text>
    152152  </xsl:if>
     
    158158
    159159<xsl:template name="tex.math.latex.head">
    160   <xsl:text>\documentclass{article} 
    161 </xsl:text>
    162   <xsl:text>\pagestyle{empty} 
    163 </xsl:text>
    164   <xsl:text>\begin{document} 
     160  <xsl:text>\documentclass{article}
     161</xsl:text>
     162  <xsl:text>\pagestyle{empty}
     163</xsl:text>
     164  <xsl:text>\begin{document}
    165165</xsl:text>
    166166</xsl:template>
    167167
    168168<xsl:template name="tex.math.latex.tail">
    169   <xsl:text>\end{document} 
     169  <xsl:text>\end{document}
    170170</xsl:text>
    171171</xsl:template>
     
    193193    <xsl:text>\special{dvi2bitmap outputfile </xsl:text>
    194194    <xsl:value-of select="$filename"/>
    195     <xsl:text>} 
    196 </xsl:text>
    197     <xsl:if test="$output.delims != 0"> 
     195    <xsl:text>}
     196</xsl:text>
     197    <xsl:if test="$output.delims != 0">
    198198      <xsl:text>$</xsl:text>
    199199    </xsl:if>
    200200    <xsl:value-of select="$tex"/>
    201     <xsl:if test="$output.delims != 0"> 
    202       <xsl:text>$ 
    203 </xsl:text>
    204     </xsl:if>
    205     <xsl:text>\newpage 
     201    <xsl:if test="$output.delims != 0">
     202      <xsl:text>$
     203</xsl:text>
     204    </xsl:if>
     205    <xsl:text>\newpage
    206206</xsl:text>
    207207  </xsl:if>
     
    230230    <xsl:text>\special{dvi2bitmap outputfile </xsl:text>
    231231    <xsl:value-of select="$filename"/>
    232     <xsl:text>} 
     232    <xsl:text>}
    233233</xsl:text>
    234234    <xsl:if test="$output.delims != 0">
     
    237237    <xsl:value-of select="$tex"/>
    238238    <xsl:if test="$output.delims != 0">
    239       <xsl:text>$$ 
    240 </xsl:text>
    241     </xsl:if>
    242     <xsl:text>\newpage 
     239      <xsl:text>$$
     240</xsl:text>
     241    </xsl:if>
     242    <xsl:text>\newpage
    243243</xsl:text>
    244244  </xsl:if>
  • stylesheets/lfs-xsl/docbook-xsl-snapshot/xhtml/oldchunker.xsl

    r2262b78 r410e228b  
    3939<refdescription xmlns="http://www.w3.org/1999/xhtml">
    4040<para>This character representation is used in files generated by chunking stylesheet. If
    41 you want to suppress entity references for characters with direct representation 
    42 in default.encoding, set this parameter to value <literal>native</literal>. 
     41you want to suppress entity references for characters with direct representation
     42in default.encoding, set this parameter to value <literal>native</literal>.
    4343</para>
    4444</refdescription>
  • stylesheets/lfs-xsl/docbook-xsl-snapshot/xhtml/param.xsl

    r2262b78 r410e228b  
    307307<xsl:param name="prefer.internal.olink" select="0"/>
    308308<xsl:param name="olink.lang.fallback.sequence"/>
    309 <xsl:param name="olink.doctitle">no</xsl:param> 
     309<xsl:param name="olink.doctitle">no</xsl:param>
    310310<xsl:param name="olink.fragid">fragid=</xsl:param>
    311311<xsl:param name="olink.outline.ext">.olink</xsl:param>
     
    400400<xsl:param name="use.extensions" select="0"/>
    401401<xsl:param name="use.id.as.filename" select="0"/>
    402 <xsl:param name="use.local.olink.style" select="0"/> 
     402<xsl:param name="use.local.olink.style" select="0"/>
    403403<xsl:param name="use.role.as.xrefstyle" select="1"/>
    404404<xsl:param name="use.role.for.mediaobject" select="1"/>
  • stylesheets/lfs-xsl/docbook-xsl-snapshot/xhtml/pi.xsl

    r2262b78 r410e228b  
    201201    <xsl:with-param name="attribute" select="'class'"/>
    202202  </xsl:call-template>
    203 </xsl:template> 
     203</xsl:template>
    204204
    205205<doc:pi xmlns="" name="dbhtml_dir">
     
    378378    <xsl:with-param name="attribute" select="'label-width'"/>
    379379  </xsl:call-template>
    380 </xsl:template> 
     380</xsl:template>
    381381
    382382<doc:pi xmlns="" name="dbhtml_linenumbering.everyNth">
     
    593593    <xsl:with-param name="attribute" select="'row-height'"/>
    594594  </xsl:call-template>
    595 </xsl:template> 
     595</xsl:template>
    596596
    597597<doc:pi xmlns="" name="dbhtml_start">
  • stylesheets/lfs-xsl/docbook-xsl-snapshot/xhtml/profile-chunk.xsl

    r2262b78 r410e228b  
    2727<!-- chunk-common.xsl contains all the named templates for chunking.
    2828     In a customization file, you import chunk-common.xsl, then
    29      add any customized chunking templates of the same name. 
    30      They will have import precedence over the original 
     29     add any customized chunking templates of the same name.
     30     They will have import precedence over the original
    3131     chunking templates in chunk-common.xsl. -->
    3232<xsl:import href="chunk-common.xsl"/>
Note: See TracChangeset for help on using the changeset viewer.