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

Update stylesheets to docbook-xsl-1.78.1.

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

File:
1 moved

Legend:

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

    r09a35dd r15c7d39  
    1 <?xml version="1.0" encoding="ASCII"?>
     1<?xml version="1.0"?>
    22<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
    33
     
    55
    66<!-- ********************************************************************
    7      $Id$
     7     $Id: param.xweb 9673 2012-12-02 20:06:41Z bobstayton $
    88     ********************************************************************
    99
     
    2929  <xsl:attribute name="text-align">center</xsl:attribute>
    3030</xsl:attribute-set>
     31<xsl:param name="activate.external.olinks" select="1"/>
    3132<xsl:param name="admon.graphics.extension">.png</xsl:param>
    3233<xsl:param name="admon.graphics" select="0"/>
     
    4041  <xsl:attribute name="keep-with-next.within-column">always</xsl:attribute>
    4142</xsl:attribute-set>
     43<xsl:param name="base.dir"/>
    4244<xsl:attribute-set name="graphical.admonition.properties">
    4345  <xsl:attribute name="space-before.optimum">1em</xsl:attribute>
     
    5254  <xsl:attribute name="space-before.optimum">1em</xsl:attribute>
    5355  <xsl:attribute name="space-before.maximum">1.2em</xsl:attribute>
    54   <xsl:attribute name="margin-left">0.25in</xsl:attribute>
    55   <xsl:attribute name="margin-right">0.25in</xsl:attribute>
     56  <xsl:attribute name="margin-{$direction.align.start}">0.25in</xsl:attribute>
     57  <xsl:attribute name="margin-{$direction.align.end}">0.25in</xsl:attribute>
    5658</xsl:attribute-set>
    5759<xsl:param name="alignment">justify</xsl:param>
     
    5961<xsl:param name="arbortext.extensions" select="0"/>
    6062<xsl:attribute-set name="article.appendix.title.properties" use-attribute-sets="section.title.properties                          section.title.level1.properties">
    61   <xsl:attribute name="margin-left">
    62     <xsl:value-of select="$title.margin.left"/>
    63   </xsl:attribute>
    6463</xsl:attribute-set>
    6564<xsl:param name="author.othername.in.middle" select="1"/>
     
    7675<xsl:param name="bibliography.style">normal</xsl:param>
    7776<xsl:attribute-set name="blockquote.properties">
    78 <xsl:attribute name="margin-left">0.5in</xsl:attribute>
    79 <xsl:attribute name="margin-right">0.5in</xsl:attribute>
     77<xsl:attribute name="margin-{$direction.align.start}">0.5in</xsl:attribute>
     78<xsl:attribute name="margin-{$direction.align.end}">0.5in</xsl:attribute>
    8079<xsl:attribute name="space-after.minimum">0.5em</xsl:attribute>
    8180<xsl:attribute name="space-after.optimum">1em</xsl:attribute>
     
    9796</xsl:param>
    9897<xsl:param name="body.end.indent">0pt</xsl:param>
     98<xsl:param name="bookmarks.collapse" select="1"/>
    9999<xsl:param name="bridgehead.in.toc" select="0"/>
     100<xsl:attribute-set name="calloutlist.properties">
     101  <xsl:attribute name="space-before.optimum">1em</xsl:attribute>
     102  <xsl:attribute name="space-before.minimum">0.8em</xsl:attribute>
     103  <xsl:attribute name="space-before.maximum">1.2em</xsl:attribute>
     104  <xsl:attribute name="provisional-distance-between-starts">2.2em</xsl:attribute>
     105  <xsl:attribute name="provisional-label-separation">0.2em</xsl:attribute>
     106</xsl:attribute-set>
     107<xsl:attribute-set name="callout.properties">
     108</xsl:attribute-set>
    100109<xsl:param name="callout.defaultcolumn">60</xsl:param>
    101110
     
    112121<xsl:param name="callouts.extension" select="1"/>
    113122<xsl:param name="chapter.autolabel" select="1"/>
     123<xsl:param name="chunk.quietly" select="0"/>
    114124<xsl:param name="collect.xref.targets">no</xsl:param>
    115125<xsl:param name="column.count.back" select="1"/>
     
    140150    <xsl:choose>
    141151      <xsl:when test="((parent::article | parent::articleinfo | parent::info/parent::article) and not(ancestor::book) and not(self::bibliography))         or (parent::slides | parent::slidesinfo)">center</xsl:when>
    142       <xsl:otherwise>left</xsl:otherwise>
     152      <xsl:otherwise>start</xsl:otherwise>
    143153    </xsl:choose>
    144154  </xsl:attribute>
     
    161171<xsl:param name="default.table.width"/>
    162172<xsl:param name="default.table.frame">all</xsl:param>
     173<xsl:param name="default.table.rules">none</xsl:param>
    163174<xsl:param name="default.units">pt</xsl:param>
    164175<xsl:param name="dingbat.font.family">serif</xsl:param>
    165176<xsl:param name="double.sided" select="0"/>
    166 <xsl:param name="draft.mode">maybe</xsl:param>
    167 <xsl:param name="draft.watermark.image">http://docbook.sourceforge.net/release/images/draft.png</xsl:param>
     177<xsl:param name="draft.mode">no</xsl:param>
     178<xsl:param name="draft.watermark.image">images/draft.png</xsl:param>
    168179
    169180<xsl:param name="ebnf.assignment">
     
    175186<xsl:param name="ebnf.statement.terminator"/>
    176187<xsl:param name="email.delimiters.enabled" select="1"/>
     188<xsl:param name="email.mailto.enabled" select="0"/>
    177189<xsl:attribute-set name="equation.properties" use-attribute-sets="formal.object.properties"/>
    178 <xsl:attribute-set name="example.properties" use-attribute-sets="formal.object.properties"/>
     190<xsl:attribute-set name="equation.number.properties">
     191  <xsl:attribute name="text-align">end</xsl:attribute>
     192  <xsl:attribute name="display-align">center</xsl:attribute>
     193</xsl:attribute-set>
     194<xsl:attribute-set name="example.properties" use-attribute-sets="formal.object.properties">
     195    <xsl:attribute name="keep-together.within-column">auto</xsl:attribute>
     196</xsl:attribute-set>
     197<xsl:param name="exsl.node.set.available">
     198  <xsl:choose>
     199    <xsl:when xmlns:exsl="http://exslt.org/common" exsl:foo="" test="function-available('exsl:node-set') or                        contains(system-property('xsl:vendor'),                          'Apache Software Foundation')">1</xsl:when>
     200    <xsl:otherwise>0</xsl:otherwise>
     201  </xsl:choose>
     202</xsl:param>
    179203<xsl:attribute-set name="figure.properties" use-attribute-sets="formal.object.properties"/>
    180204<xsl:param name="firstterm.only.link" select="0"/>
     
    201225<xsl:param name="footnote.number.symbols"/>
    202226<xsl:attribute-set name="footnote.mark.properties">
     227  <xsl:attribute name="font-family"><xsl:value-of select="$body.fontset"/></xsl:attribute>
    203228  <xsl:attribute name="font-size">75%</xsl:attribute>
    204229  <xsl:attribute name="font-weight">normal</xsl:attribute>
     
    212237  <xsl:attribute name="text-align"><xsl:value-of select="$alignment"/></xsl:attribute>
    213238  <xsl:attribute name="start-indent">0pt</xsl:attribute>
     239  <xsl:attribute name="end-indent">0pt</xsl:attribute>
    214240  <xsl:attribute name="text-indent">0pt</xsl:attribute>
     241  <xsl:attribute name="hyphenate"><xsl:value-of select="$hyphenate"/></xsl:attribute>
     242  <xsl:attribute name="wrap-option">wrap</xsl:attribute>
     243  <xsl:attribute name="linefeed-treatment">treat-as-space</xsl:attribute>
    215244</xsl:attribute-set>
    216245<xsl:attribute-set name="footnote.sep.leader.properties">
     
    221250<xsl:param name="fop.extensions" select="0"/>
    222251<xsl:param name="fop1.extensions" select="0"/>
     252<xsl:param name="force.blank.pages" select="1"/>
    223253<xsl:attribute-set name="formal.object.properties">
    224254  <xsl:attribute name="space-before.minimum">0.5em</xsl:attribute>
     
    253283<xsl:param name="funcsynopsis.style">kr</xsl:param>
    254284<xsl:param name="function.parens" select="0"/>
     285<xsl:param name="generate.consistent.ids" select="0"/>
    255286<xsl:param name="generate.index" select="1"/>
    256287<xsl:param name="generate.section.toc.level" select="0"/>
     
    281312<xsl:param name="glossterm.separation">0.25in</xsl:param>
    282313<xsl:param name="glossterm.width">2in</xsl:param>
     314<xsl:attribute-set name="glossentry.list.item.properties">
     315  <xsl:attribute name="space-before.optimum">1em</xsl:attribute>
     316  <xsl:attribute name="space-before.minimum">0.8em</xsl:attribute>
     317  <xsl:attribute name="space-before.maximum">1.2em</xsl:attribute>
     318</xsl:attribute-set>
     319<xsl:attribute-set name="glossterm.list.properties">
     320</xsl:attribute-set>
     321<xsl:attribute-set name="glossterm.block.properties">
     322  <xsl:attribute name="space-before.optimum">1em</xsl:attribute>
     323  <xsl:attribute name="space-before.minimum">0.8em</xsl:attribute>
     324  <xsl:attribute name="space-before.maximum">1.2em</xsl:attribute>
     325  <xsl:attribute name="keep-with-next.within-column">always</xsl:attribute>
     326  <xsl:attribute name="keep-together.within-column">always</xsl:attribute>
     327</xsl:attribute-set>
     328<xsl:attribute-set name="glossdef.list.properties">
     329</xsl:attribute-set>
     330<xsl:attribute-set name="glossdef.block.properties">
     331  <xsl:attribute name="margin-{$direction.align.start}">.25in</xsl:attribute>
     332</xsl:attribute-set>
    283333<xsl:param name="graphic.default.extension"/>
    284334<xsl:attribute-set name="header.content.properties">
     
    300350<xsl:param name="highlight.default.language"/>
    301351<xsl:param name="highlight.source" select="0"/>
     352<xsl:param name="highlight.xslthl.config"/>
    302353<xsl:param name="hyphenate">true</xsl:param>
    303354<xsl:param name="hyphenate.verbatim" select="0"/>
     
    326377</xsl:attribute-set>
    327378<xsl:attribute-set name="index.div.title.properties">
    328   <xsl:attribute name="margin-left">0pt</xsl:attribute>
     379  <xsl:attribute name="margin-{$direction.align.start}">0pt</xsl:attribute>
    329380  <xsl:attribute name="font-size">14.4pt</xsl:attribute>
    330381  <xsl:attribute name="font-family"><xsl:value-of select="$title.fontset"/></xsl:attribute>
     
    395446<xsl:param name="margin.note.width">1in</xsl:param>
    396447<xsl:param name="marker.section.level">2</xsl:param>
    397 <xsl:param name="menuchoice.menu.separator"> &#8594; </xsl:param>
     448<xsl:param name="menuchoice.menu.separator"> </xsl:param>
    398449<xsl:param name="menuchoice.separator">+</xsl:param>
    399450<xsl:param name="monospace.font.family">monospace</xsl:param>
     
    407458  <xsl:attribute name="wrap-option">no-wrap</xsl:attribute>
    408459</xsl:attribute-set>
     460<xsl:param name="monospace.verbatim.font.width">0.60em</xsl:param>
    409461<xsl:param name="nominal.table.width">6in</xsl:param>
    410462<xsl:attribute-set name="normal.para.spacing">
     
    444496    <xsl:when test="$paper.type = 'USletter'">11in</xsl:when>
    445497    <xsl:when test="$paper.type = 'USlandscape'">8.5in</xsl:when>
     498    <xsl:when test="$paper.type = 'USlegal'">14in</xsl:when>
     499    <xsl:when test="$paper.type = 'USlegallandscape'">8.5in</xsl:when>
    446500    <xsl:when test="$paper.type = '4A0'">2378mm</xsl:when>
    447501    <xsl:when test="$paper.type = '2A0'">1682mm</xsl:when>
     
    510564  <xsl:choose>
    511565    <xsl:when test="$paper.type = 'USletter'">8.5in</xsl:when>
     566    <xsl:when test="$paper.type = 'USlandscape'">11in</xsl:when>
     567    <xsl:when test="$paper.type = 'USlegal'">8.5in</xsl:when>
     568    <xsl:when test="$paper.type = 'USlegallandscape'">14in</xsl:when>
    512569    <xsl:when test="$paper.type = '4A0'">1682mm</xsl:when>
    513570    <xsl:when test="$paper.type = '2A0'">1189mm</xsl:when>
     
    622679<xsl:attribute-set name="qanda.title.properties">
    623680  <xsl:attribute name="font-family">
    624     <xsl:value-of select="$title.font.family"/>
     681    <xsl:value-of select="$title.fontset"/>
    625682  </xsl:attribute>
    626683  <xsl:attribute name="font-weight">bold</xsl:attribute>
     
    636693<xsl:attribute-set name="refentry.title.properties">
    637694  <xsl:attribute name="font-family">
    638     <xsl:value-of select="$title.font.family"/>
     695    <xsl:value-of select="$title.fontset"/>
    639696  </xsl:attribute>
    640697  <xsl:attribute name="font-size">18pt</xsl:attribute>
     
    677734  <xsl:attribute name="font-selection-strategy">character-by-character</xsl:attribute>
    678735  <xsl:attribute name="line-height-shift-adjustment">disregard-shifts</xsl:attribute>
     736  <xsl:attribute name="writing-mode">
     737    <xsl:value-of select="$direction.mode"/>
     738  </xsl:attribute>
    679739</xsl:attribute-set>
    680740<xsl:param name="rootid"/>
     
    724784<xsl:attribute-set name="section.title.properties">
    725785  <xsl:attribute name="font-family">
    726     <xsl:value-of select="$title.font.family"/>
     786    <xsl:value-of select="$title.fontset"/>
    727787  </xsl:attribute>
    728788  <xsl:attribute name="font-weight">bold</xsl:attribute>
     
    732792  <xsl:attribute name="space-before.optimum">1.0em</xsl:attribute>
    733793  <xsl:attribute name="space-before.maximum">1.2em</xsl:attribute>
    734   <xsl:attribute name="text-align">left</xsl:attribute>
     794  <xsl:attribute name="text-align">start</xsl:attribute>
    735795  <xsl:attribute name="start-indent"><xsl:value-of select="$title.margin.left"/></xsl:attribute>
    736796</xsl:attribute-set>
     
    761821  <xsl:attribute name="border-color">black</xsl:attribute>
    762822  <xsl:attribute name="background-color">#DDDDDD</xsl:attribute>
    763   <xsl:attribute name="padding-left">12pt</xsl:attribute>
    764   <xsl:attribute name="padding-right">12pt</xsl:attribute>
     823  <xsl:attribute name="padding-start">12pt</xsl:attribute>
     824  <xsl:attribute name="padding-end">12pt</xsl:attribute>
    765825  <xsl:attribute name="padding-top">6pt</xsl:attribute>
    766826  <xsl:attribute name="padding-bottom">6pt</xsl:attribute>
    767   <xsl:attribute name="margin-left">0pt</xsl:attribute>
    768   <xsl:attribute name="margin-right">0pt</xsl:attribute>
     827  <xsl:attribute name="margin-{$direction.align.start}">0pt</xsl:attribute>
     828  <xsl:attribute name="margin-{$direction.align.end}">0pt</xsl:attribute>
    769829<!--
    770830  <xsl:attribute name="margin-top">6pt</xsl:attribute>
     
    793853<xsl:param name="table.cell.border.thickness">0.5pt</xsl:param>
    794854<xsl:attribute-set name="table.cell.padding">
    795   <xsl:attribute name="padding-left">2pt</xsl:attribute>
    796   <xsl:attribute name="padding-right">2pt</xsl:attribute>
     855  <xsl:attribute name="padding-start">2pt</xsl:attribute>
     856  <xsl:attribute name="padding-end">2pt</xsl:attribute>
    797857  <xsl:attribute name="padding-top">2pt</xsl:attribute>
    798858  <xsl:attribute name="padding-bottom">2pt</xsl:attribute>
     
    812872<xsl:param name="table.frame.border.style">solid</xsl:param>
    813873<xsl:param name="table.frame.border.thickness">0.5pt</xsl:param>
    814 <xsl:attribute-set name="table.properties" use-attribute-sets="formal.object.properties"/>
     874<xsl:attribute-set name="table.properties" use-attribute-sets="formal.object.properties">
     875  <xsl:attribute name="keep-together.within-column">auto</xsl:attribute>
     876</xsl:attribute-set>
    815877<xsl:param name="tablecolumns.extension" select="1"/>
    816878<xsl:attribute-set name="table.table.properties">
     
    818880  <xsl:attribute name="border-collapse">collapse</xsl:attribute>
    819881</xsl:attribute-set>
     882<xsl:attribute-set name="table.caption.properties">
     883  <xsl:attribute name="keep-together.within-column">always</xsl:attribute>
     884</xsl:attribute-set>
    820885 <xsl:param name="target.database.document">olinkdb.xml</xsl:param>
    821886<xsl:param name="targets.filename">target.db</xsl:param>
     887<xsl:attribute-set name="task.properties" use-attribute-sets="formal.object.properties">
     888    <xsl:attribute name="keep-together.within-column">auto</xsl:attribute>
     889</xsl:attribute-set>
    822890<xsl:param name="textdata.default.encoding"/>
    823891<xsl:param name="tex.math.delims" select="1"/>
     
    833901</xsl:param>
    834902<xsl:param name="toc.indent.width">24</xsl:param>
    835 <!-- inconsistent point specification? -->
     903<!-- inconsistant point specification? -->
    836904<xsl:attribute-set name="toc.line.properties">
    837905  <xsl:attribute name="text-align-last">justify</xsl:attribute>
     
    862930<xsl:param name="variablelist.max.termlength">24</xsl:param>
    863931<xsl:param name="variablelist.term.separator">, </xsl:param>
     932<xsl:attribute-set name="variablelist.term.properties">
     933</xsl:attribute-set>
    864934<xsl:param name="variablelist.term.break.after">0</xsl:param>
    865935<xsl:attribute-set name="verbatim.properties">
     
    877947  <xsl:attribute name="text-align">start</xsl:attribute>
    878948</xsl:attribute-set>
     949<xsl:param name="writing.mode">
     950  <xsl:call-template name="gentext">
     951    <xsl:with-param name="key">writing-mode</xsl:with-param>
     952    <xsl:with-param name="lang">
     953      <xsl:call-template name="l10n.language">
     954        <xsl:with-param name="target" select="/*[1]"/>
     955      </xsl:call-template>
     956    </xsl:with-param>
     957  </xsl:call-template>
     958</xsl:param>
    879959<xsl:param name="xep.extensions" select="0"/>
    880960<xsl:attribute-set name="xep.index.item.properties" use-attribute-sets="index.page.number.properties">
     
    888968<xsl:param name="xref.title-page.separator"><xsl:text> </xsl:text></xsl:param>
    889969<xsl:param name="xref.with.number.and.title" select="1"/>
     970<xsl:param name="region.inner.extent">0in</xsl:param>
     971<xsl:param name="region.outer.extent">0in</xsl:param>
     972<xsl:param name="body.margin.inner">0in</xsl:param>
     973<xsl:param name="body.margin.outer">0in</xsl:param>
     974<xsl:param name="side.region.precedence">false</xsl:param>
     975<xsl:attribute-set name="inner.region.content.properties">
     976</xsl:attribute-set>
     977<xsl:attribute-set name="outer.region.content.properties">
     978</xsl:attribute-set>
     979<xsl:attribute-set name="region.inner.properties">
     980  <xsl:attribute name="border-width">0</xsl:attribute>
     981  <xsl:attribute name="padding">0</xsl:attribute>
     982  <xsl:attribute name="reference-orientation">90</xsl:attribute>
     983</xsl:attribute-set>
     984<xsl:attribute-set name="region.outer.properties">
     985  <xsl:attribute name="border-width">0</xsl:attribute>
     986  <xsl:attribute name="padding">0</xsl:attribute>
     987  <xsl:attribute name="reference-orientation">90</xsl:attribute>
     988</xsl:attribute-set>
     989<xsl:attribute-set name="para.properties" use-attribute-sets="normal.para.spacing">
     990</xsl:attribute-set>
    890991
    891992</xsl:stylesheet>
     993
Note: See TracChangeset for help on using the changeset viewer.