param.xsl 8.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194
  1. <?xml version="1.0"?>
  2. <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
  3. <!-- This file is generated from param.xweb -->
  4. <!-- ********************************************************************
  5. $Id: param.xweb 9130 2011-10-11 08:05:37Z dpawson $
  6. ********************************************************************
  7. This file is part of the XSL DocBook Stylesheet distribution.
  8. See ../README or http://docbook.sf.net/release/xsl/current/ for
  9. copyright and other information.
  10. ******************************************************************** -->
  11. <xsl:param name="man.authors.section.enabled">1</xsl:param>
  12. <xsl:param name="man.break.after.slash">0</xsl:param>
  13. <xsl:param name="man.base.url.for.relative.links">[set $man.base.url.for.relative.links]/</xsl:param>
  14. <xsl:param name="man.charmap.enabled" select="1"/>
  15. <xsl:param name="man.charmap.subset.profile">
  16. @*[local-name() = 'block'] = 'Miscellaneous Technical' or
  17. (@*[local-name() = 'block'] = 'C1 Controls And Latin-1 Supplement (Latin-1 Supplement)' and
  18. (@*[local-name() = 'class'] = 'symbols' or
  19. @*[local-name() = 'class'] = 'letters')
  20. ) or
  21. @*[local-name() = 'block'] = 'Latin Extended-A'
  22. or
  23. (@*[local-name() = 'block'] = 'General Punctuation' and
  24. (@*[local-name() = 'class'] = 'spaces' or
  25. @*[local-name() = 'class'] = 'dashes' or
  26. @*[local-name() = 'class'] = 'quotes' or
  27. @*[local-name() = 'class'] = 'bullets'
  28. )
  29. ) or
  30. @*[local-name() = 'name'] = 'HORIZONTAL ELLIPSIS' or
  31. @*[local-name() = 'name'] = 'WORD JOINER' or
  32. @*[local-name() = 'name'] = 'SERVICE MARK' or
  33. @*[local-name() = 'name'] = 'TRADE MARK SIGN' or
  34. @*[local-name() = 'name'] = 'ZERO WIDTH NO-BREAK SPACE'
  35. </xsl:param>
  36. <xsl:param name="man.charmap.subset.profile.english">
  37. @*[local-name() = 'block'] = 'Miscellaneous Technical' or
  38. (@*[local-name() = 'block'] = 'C1 Controls And Latin-1 Supplement (Latin-1 Supplement)' and
  39. @*[local-name() = 'class'] = 'symbols')
  40. or
  41. (@*[local-name() = 'block'] = 'General Punctuation' and
  42. (@*[local-name() = 'class'] = 'spaces' or
  43. @*[local-name() = 'class'] = 'dashes' or
  44. @*[local-name() = 'class'] = 'quotes' or
  45. @*[local-name() = 'class'] = 'bullets'
  46. )
  47. ) or
  48. @*[local-name() = 'name'] = 'HORIZONTAL ELLIPSIS' or
  49. @*[local-name() = 'name'] = 'WORD JOINER' or
  50. @*[local-name() = 'name'] = 'SERVICE MARK' or
  51. @*[local-name() = 'name'] = 'TRADE MARK SIGN' or
  52. @*[local-name() = 'name'] = 'ZERO WIDTH NO-BREAK SPACE'
  53. </xsl:param>
  54. <xsl:param name="man.charmap.uri"/>
  55. <xsl:param name="man.charmap.use.subset" select="1"/>
  56. <xsl:param name="man.copyright.section.enabled">1</xsl:param>
  57. <xsl:param name="man.endnotes.are.numbered">1</xsl:param>
  58. <xsl:param name="man.endnotes.list.enabled">1</xsl:param>
  59. <xsl:param name="man.endnotes.list.heading"/>
  60. <xsl:param name="man.font.funcprototype">BI</xsl:param>
  61. <xsl:param name="man.font.funcsynopsisinfo">B</xsl:param>
  62. <xsl:param name="man.font.links">B</xsl:param>
  63. <xsl:param name="man.font.table.headings">B</xsl:param>
  64. <xsl:param name="man.font.table.title">B</xsl:param>
  65. <xsl:param name="man.funcsynopsis.style">ansi</xsl:param>
  66. <xsl:param name="man.hyphenate.computer.inlines">0</xsl:param>
  67. <xsl:param name="man.hyphenate.filenames">0</xsl:param>
  68. <xsl:param name="man.hyphenate">0</xsl:param>
  69. <xsl:param name="man.hyphenate.urls">0</xsl:param>
  70. <xsl:param name="man.indent.blurbs" select="1"/>
  71. <xsl:param name="man.indent.lists" select="1"/>
  72. <xsl:param name="man.indent.refsect" select="0"/>
  73. <xsl:param name="man.indent.verbatims" select="1"/>
  74. <xsl:param name="man.indent.width">4</xsl:param>
  75. <xsl:param name="man.justify">0</xsl:param>
  76. <xsl:param name="man.output.base.dir">man/</xsl:param>
  77. <xsl:param name="man.output.encoding">UTF-8</xsl:param>
  78. <xsl:param name="man.output.in.separate.dir" select="0"/>
  79. <xsl:param name="man.output.lang.in.name.enabled" select="0"/>
  80. <xsl:param name="man.output.manifest.enabled" select="0"/>
  81. <xsl:param name="man.output.manifest.filename">MAN.MANIFEST</xsl:param>
  82. <xsl:param name="man.output.better.ps.enabled">0</xsl:param>
  83. <xsl:param name="man.output.quietly" select="0"/>
  84. <xsl:param name="man.output.subdirs.enabled" select="1"/>
  85. <xsl:param name="man.segtitle.suppress" select="0"/>
  86. <xsl:param name="man.string.subst.map">
  87. <!-- * remove no-break marker at beginning of line (stylesheet artifact) -->
  88. <substitution oldstring="&#x2592;&#x2580;" newstring="&#x2592;"/>
  89. <!-- * replace U+2580 no-break marker (stylesheet-added) w/ no-break space -->
  90. <substitution oldstring="&#x2580;" newstring="\ "/>
  91. <!-- ==================================================================== -->
  92. <!-- * squeeze multiple newlines before a roff request -->
  93. <substitution oldstring="&#10;&#10;." newstring="&#10;."/>
  94. <!-- * remove any .sp instances that directly precede a .PP -->
  95. <substitution oldstring=".sp&#10;.PP" newstring=".PP"/>
  96. <!-- * remove any .sp instances that directly follow a .PP -->
  97. <substitution oldstring=".sp&#10;.sp" newstring=".sp"/>
  98. <!-- * squeeze multiple .sp instances into a single .sp-->
  99. <substitution oldstring=".PP&#10;.sp" newstring=".PP"/>
  100. <!-- * squeeze multiple newlines after start of no-fill (verbatim) env. -->
  101. <substitution oldstring=".nf&#10;&#10;" newstring=".nf&#10;"/>
  102. <!-- * squeeze multiple newlines after REstoring margin -->
  103. <substitution oldstring=".RE&#10;&#10;" newstring=".RE&#10;"/>
  104. <!-- * U+2591 is a marker we add before and after every Parameter in -->
  105. <!-- * Funcprototype output -->
  106. <substitution oldstring="&#x2591;" newstring=" "/>
  107. <!-- * U+2592 is a marker we add for the newline before output of <sbr>; -->
  108. <substitution oldstring="&#x2592;" newstring="&#10;"/>
  109. <!-- * -->
  110. <!-- * Now deal with some other characters that are added by the -->
  111. <!-- * stylesheets during processing. -->
  112. <!-- * -->
  113. <!-- * bullet -->
  114. <substitution oldstring="&#x2022;" newstring="\(bu"/>
  115. <!-- * left double quote -->
  116. <substitution oldstring="&#x201C;" newstring="\(lq"/>
  117. <!-- * right double quote -->
  118. <substitution oldstring="&#x201D;" newstring="\(rq"/>
  119. <!-- * left single quote -->
  120. <substitution oldstring="&#x2018;" newstring="\(oq"/>
  121. <!-- * right single quote -->
  122. <substitution oldstring="&#x2019;" newstring="\(cq"/>
  123. <!-- * copyright sign -->
  124. <substitution oldstring="&#xA9;" newstring="\(co"/>
  125. <!-- * registered sign -->
  126. <substitution oldstring="&#xAE;" newstring="\(rg"/>
  127. <!-- * ...servicemark... -->
  128. <!-- * There is no groff equivalent for it. -->
  129. <substitution oldstring="&#x2120;" newstring="(SM)"/>
  130. <!-- * ...trademark... -->
  131. <!-- * We don't do "\(tm" because for console output, -->
  132. <!-- * groff just renders that as "tm"; that is: -->
  133. <!-- * -->
  134. <!-- * Product&#x2122; -> Producttm -->
  135. <!-- * -->
  136. <!-- * So we just make it to "(TM)" instead; thus: -->
  137. <!-- * -->
  138. <!-- * Product&#x2122; -> Product(TM) -->
  139. <substitution oldstring="&#x2122;" newstring="(TM)"/>
  140. </xsl:param>
  141. <xsl:param name="man.string.subst.map.local.post"/>
  142. <xsl:param name="man.string.subst.map.local.pre"/>
  143. <xsl:param name="man.subheading.divider.enabled">0</xsl:param>
  144. <xsl:param name="man.subheading.divider">========================================================================</xsl:param>
  145. <xsl:param name="man.table.footnotes.divider">----</xsl:param>
  146. <xsl:param name="man.th.extra1.suppress">0</xsl:param>
  147. <xsl:param name="man.th.extra2.max.length">30</xsl:param>
  148. <xsl:param name="man.th.extra2.suppress">0</xsl:param>
  149. <xsl:param name="man.th.extra3.max.length">30</xsl:param>
  150. <xsl:param name="man.th.extra3.suppress">0</xsl:param>
  151. <xsl:param name="man.th.title.max.length">20</xsl:param>
  152. <xsl:param name="refentry.date.profile.enabled">0</xsl:param>
  153. <xsl:param name="refentry.date.profile">
  154. (($info[//date])[last()]/date)[1]|
  155. (($info[//pubdate])[last()]/pubdate)[1]
  156. </xsl:param>
  157. <xsl:param name="refentry.manual.fallback.profile">
  158. refmeta/refmiscinfo[not(@class = 'date')][1]/node()</xsl:param>
  159. <xsl:param name="refentry.manual.profile.enabled">0</xsl:param>
  160. <xsl:param name="refentry.manual.profile">
  161. (($info[//title])[last()]/title)[1]|
  162. ../title/node()
  163. </xsl:param>
  164. <xsl:param name="refentry.meta.get.quietly" select="0"/>
  165. <xsl:param name="refentry.source.fallback.profile">
  166. refmeta/refmiscinfo[not(@class = 'date')][1]/node()</xsl:param>
  167. <xsl:param name="refentry.source.name.profile.enabled">0</xsl:param>
  168. <xsl:param name="refentry.source.name.profile">
  169. (($info[//productname])[last()]/productname)[1]|
  170. (($info[//corpname])[last()]/corpname)[1]|
  171. (($info[//corpcredit])[last()]/corpcredit)[1]|
  172. (($info[//corpauthor])[last()]/corpauthor)[1]|
  173. (($info[//orgname])[last()]/orgname)[1]|
  174. (($info[//publishername])[last()]/publishername)[1]
  175. </xsl:param>
  176. <xsl:param name="refentry.source.name.suppress">0</xsl:param>
  177. <xsl:param name="refentry.version.profile.enabled">0</xsl:param>
  178. <xsl:param name="refentry.version.profile">
  179. (($info[//productnumber])[last()]/productnumber)[1]|
  180. (($info[//edition])[last()]/edition)[1]|
  181. (($info[//releaseinfo])[last()]/releaseinfo)[1]
  182. </xsl:param>
  183. <xsl:param name="refentry.version.suppress">0</xsl:param>
  184. </xsl:stylesheet>