Changeset 15c7d39 for stylesheets/lfs-xsl/docbook-xsl-1.78.1/fo/param.xsl
- Timestamp:
- 10/08/2013 08:03:29 PM (11 years ago)
- 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
- 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"?> 2 2 <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"> 3 3 … … 5 5 6 6 <!-- ******************************************************************** 7 $Id $7 $Id: param.xweb 9673 2012-12-02 20:06:41Z bobstayton $ 8 8 ******************************************************************** 9 9 … … 29 29 <xsl:attribute name="text-align">center</xsl:attribute> 30 30 </xsl:attribute-set> 31 <xsl:param name="activate.external.olinks" select="1"/> 31 32 <xsl:param name="admon.graphics.extension">.png</xsl:param> 32 33 <xsl:param name="admon.graphics" select="0"/> … … 40 41 <xsl:attribute name="keep-with-next.within-column">always</xsl:attribute> 41 42 </xsl:attribute-set> 43 <xsl:param name="base.dir"/> 42 44 <xsl:attribute-set name="graphical.admonition.properties"> 43 45 <xsl:attribute name="space-before.optimum">1em</xsl:attribute> … … 52 54 <xsl:attribute name="space-before.optimum">1em</xsl:attribute> 53 55 <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> 56 58 </xsl:attribute-set> 57 59 <xsl:param name="alignment">justify</xsl:param> … … 59 61 <xsl:param name="arbortext.extensions" select="0"/> 60 62 <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>64 63 </xsl:attribute-set> 65 64 <xsl:param name="author.othername.in.middle" select="1"/> … … 76 75 <xsl:param name="bibliography.style">normal</xsl:param> 77 76 <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> 80 79 <xsl:attribute name="space-after.minimum">0.5em</xsl:attribute> 81 80 <xsl:attribute name="space-after.optimum">1em</xsl:attribute> … … 97 96 </xsl:param> 98 97 <xsl:param name="body.end.indent">0pt</xsl:param> 98 <xsl:param name="bookmarks.collapse" select="1"/> 99 99 <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> 100 109 <xsl:param name="callout.defaultcolumn">60</xsl:param> 101 110 … … 112 121 <xsl:param name="callouts.extension" select="1"/> 113 122 <xsl:param name="chapter.autolabel" select="1"/> 123 <xsl:param name="chunk.quietly" select="0"/> 114 124 <xsl:param name="collect.xref.targets">no</xsl:param> 115 125 <xsl:param name="column.count.back" select="1"/> … … 140 150 <xsl:choose> 141 151 <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> 143 153 </xsl:choose> 144 154 </xsl:attribute> … … 161 171 <xsl:param name="default.table.width"/> 162 172 <xsl:param name="default.table.frame">all</xsl:param> 173 <xsl:param name="default.table.rules">none</xsl:param> 163 174 <xsl:param name="default.units">pt</xsl:param> 164 175 <xsl:param name="dingbat.font.family">serif</xsl:param> 165 176 <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> 168 179 169 180 <xsl:param name="ebnf.assignment"> … … 175 186 <xsl:param name="ebnf.statement.terminator"/> 176 187 <xsl:param name="email.delimiters.enabled" select="1"/> 188 <xsl:param name="email.mailto.enabled" select="0"/> 177 189 <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> 179 203 <xsl:attribute-set name="figure.properties" use-attribute-sets="formal.object.properties"/> 180 204 <xsl:param name="firstterm.only.link" select="0"/> … … 201 225 <xsl:param name="footnote.number.symbols"/> 202 226 <xsl:attribute-set name="footnote.mark.properties"> 227 <xsl:attribute name="font-family"><xsl:value-of select="$body.fontset"/></xsl:attribute> 203 228 <xsl:attribute name="font-size">75%</xsl:attribute> 204 229 <xsl:attribute name="font-weight">normal</xsl:attribute> … … 212 237 <xsl:attribute name="text-align"><xsl:value-of select="$alignment"/></xsl:attribute> 213 238 <xsl:attribute name="start-indent">0pt</xsl:attribute> 239 <xsl:attribute name="end-indent">0pt</xsl:attribute> 214 240 <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> 215 244 </xsl:attribute-set> 216 245 <xsl:attribute-set name="footnote.sep.leader.properties"> … … 221 250 <xsl:param name="fop.extensions" select="0"/> 222 251 <xsl:param name="fop1.extensions" select="0"/> 252 <xsl:param name="force.blank.pages" select="1"/> 223 253 <xsl:attribute-set name="formal.object.properties"> 224 254 <xsl:attribute name="space-before.minimum">0.5em</xsl:attribute> … … 253 283 <xsl:param name="funcsynopsis.style">kr</xsl:param> 254 284 <xsl:param name="function.parens" select="0"/> 285 <xsl:param name="generate.consistent.ids" select="0"/> 255 286 <xsl:param name="generate.index" select="1"/> 256 287 <xsl:param name="generate.section.toc.level" select="0"/> … … 281 312 <xsl:param name="glossterm.separation">0.25in</xsl:param> 282 313 <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> 283 333 <xsl:param name="graphic.default.extension"/> 284 334 <xsl:attribute-set name="header.content.properties"> … … 300 350 <xsl:param name="highlight.default.language"/> 301 351 <xsl:param name="highlight.source" select="0"/> 352 <xsl:param name="highlight.xslthl.config"/> 302 353 <xsl:param name="hyphenate">true</xsl:param> 303 354 <xsl:param name="hyphenate.verbatim" select="0"/> … … 326 377 </xsl:attribute-set> 327 378 <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> 329 380 <xsl:attribute name="font-size">14.4pt</xsl:attribute> 330 381 <xsl:attribute name="font-family"><xsl:value-of select="$title.fontset"/></xsl:attribute> … … 395 446 <xsl:param name="margin.note.width">1in</xsl:param> 396 447 <xsl:param name="marker.section.level">2</xsl:param> 397 <xsl:param name="menuchoice.menu.separator"> →</xsl:param>448 <xsl:param name="menuchoice.menu.separator"> → </xsl:param> 398 449 <xsl:param name="menuchoice.separator">+</xsl:param> 399 450 <xsl:param name="monospace.font.family">monospace</xsl:param> … … 407 458 <xsl:attribute name="wrap-option">no-wrap</xsl:attribute> 408 459 </xsl:attribute-set> 460 <xsl:param name="monospace.verbatim.font.width">0.60em</xsl:param> 409 461 <xsl:param name="nominal.table.width">6in</xsl:param> 410 462 <xsl:attribute-set name="normal.para.spacing"> … … 444 496 <xsl:when test="$paper.type = 'USletter'">11in</xsl:when> 445 497 <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> 446 500 <xsl:when test="$paper.type = '4A0'">2378mm</xsl:when> 447 501 <xsl:when test="$paper.type = '2A0'">1682mm</xsl:when> … … 510 564 <xsl:choose> 511 565 <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> 512 569 <xsl:when test="$paper.type = '4A0'">1682mm</xsl:when> 513 570 <xsl:when test="$paper.type = '2A0'">1189mm</xsl:when> … … 622 679 <xsl:attribute-set name="qanda.title.properties"> 623 680 <xsl:attribute name="font-family"> 624 <xsl:value-of select="$title.font .family"/>681 <xsl:value-of select="$title.fontset"/> 625 682 </xsl:attribute> 626 683 <xsl:attribute name="font-weight">bold</xsl:attribute> … … 636 693 <xsl:attribute-set name="refentry.title.properties"> 637 694 <xsl:attribute name="font-family"> 638 <xsl:value-of select="$title.font .family"/>695 <xsl:value-of select="$title.fontset"/> 639 696 </xsl:attribute> 640 697 <xsl:attribute name="font-size">18pt</xsl:attribute> … … 677 734 <xsl:attribute name="font-selection-strategy">character-by-character</xsl:attribute> 678 735 <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> 679 739 </xsl:attribute-set> 680 740 <xsl:param name="rootid"/> … … 724 784 <xsl:attribute-set name="section.title.properties"> 725 785 <xsl:attribute name="font-family"> 726 <xsl:value-of select="$title.font .family"/>786 <xsl:value-of select="$title.fontset"/> 727 787 </xsl:attribute> 728 788 <xsl:attribute name="font-weight">bold</xsl:attribute> … … 732 792 <xsl:attribute name="space-before.optimum">1.0em</xsl:attribute> 733 793 <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> 735 795 <xsl:attribute name="start-indent"><xsl:value-of select="$title.margin.left"/></xsl:attribute> 736 796 </xsl:attribute-set> … … 761 821 <xsl:attribute name="border-color">black</xsl:attribute> 762 822 <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> 765 825 <xsl:attribute name="padding-top">6pt</xsl:attribute> 766 826 <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> 769 829 <!-- 770 830 <xsl:attribute name="margin-top">6pt</xsl:attribute> … … 793 853 <xsl:param name="table.cell.border.thickness">0.5pt</xsl:param> 794 854 <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> 797 857 <xsl:attribute name="padding-top">2pt</xsl:attribute> 798 858 <xsl:attribute name="padding-bottom">2pt</xsl:attribute> … … 812 872 <xsl:param name="table.frame.border.style">solid</xsl:param> 813 873 <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> 815 877 <xsl:param name="tablecolumns.extension" select="1"/> 816 878 <xsl:attribute-set name="table.table.properties"> … … 818 880 <xsl:attribute name="border-collapse">collapse</xsl:attribute> 819 881 </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> 820 885 <xsl:param name="target.database.document">olinkdb.xml</xsl:param> 821 886 <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> 822 890 <xsl:param name="textdata.default.encoding"/> 823 891 <xsl:param name="tex.math.delims" select="1"/> … … 833 901 </xsl:param> 834 902 <xsl:param name="toc.indent.width">24</xsl:param> 835 <!-- inconsist ent point specification? -->903 <!-- inconsistant point specification? --> 836 904 <xsl:attribute-set name="toc.line.properties"> 837 905 <xsl:attribute name="text-align-last">justify</xsl:attribute> … … 862 930 <xsl:param name="variablelist.max.termlength">24</xsl:param> 863 931 <xsl:param name="variablelist.term.separator">, </xsl:param> 932 <xsl:attribute-set name="variablelist.term.properties"> 933 </xsl:attribute-set> 864 934 <xsl:param name="variablelist.term.break.after">0</xsl:param> 865 935 <xsl:attribute-set name="verbatim.properties"> … … 877 947 <xsl:attribute name="text-align">start</xsl:attribute> 878 948 </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> 879 959 <xsl:param name="xep.extensions" select="0"/> 880 960 <xsl:attribute-set name="xep.index.item.properties" use-attribute-sets="index.page.number.properties"> … … 888 968 <xsl:param name="xref.title-page.separator"><xsl:text> </xsl:text></xsl:param> 889 969 <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> 890 991 891 992 </xsl:stylesheet> 993
Note:
See TracChangeset
for help on using the changeset viewer.