📄 release-notes.txt
字号:
DocBook XSL Stylesheet Release NotesDocBook Open Repository Team$Id: RELEASE-NOTES.xml,v 1.30 2004/12/02 08:37:14 xmldoc Exp $01 December 2004-------------------------------------------------------------------------------Table of ContentsRelease 1.67.2Release 1.67.1Release 1.67.0Release 1.66.1Release 1.65.0Release 1.64.1Release 1.61.0Release 1.60.1Release 1.59.2Release 1.59.1Release 1.58.0Release 1.57.0Release 1.56.0Older releasesThese are the release notes for the DocBook XSL Stylesheets. This filedocuments (mostly) changes to the public APIs. What, exactly, counts as apublic API is still somewhat in question, but it includes at least the globalparameters.You may also be interested in the more detailed WhatsNew file.Release 1.67.2This release fixes a table bug introduced in the 1.67.1 release.Release 1.67.1This release includes a number of bug fixes; for details, see the WhatsNewfile.The following lists provide details about API and feature changes.FO * Tables: Inherited cell properties are now passed to the table.cell.properties template so they can be overridden by a customization. * Tables: Added support for bgcolor PI on table row element. * TOCs: Added new parameter simplesect.in.toc; default value of 0 causes simplesect to be omitted from TOCs; to cause simplesect to be included in TOCs, you must set the value of simplesect.in.toc to 1.Comment from Norm: Simplesect elements aren't supposed to appear in the ToC at all... The use case for simplesect is when, for example, every chapter in a book ends with "Exercises" or "For More Information" sections and you don't want those to appear in the ToC. * Sections: Reverted change that caused a variable reference to be used in a template match and rewrote code to preserve intended semantics. * Lists: Added workaround to prevent "* 0.60 + 1em" garbage in list output from PassiveTeX * Moved the literal attributes from component.title to the component.title.properties attribute-set so they can be customized. * Lists: Added glossdef's first para to special handling in fo:list-item-body.HTML * TOCs: Added new parameter simplesect.in.toc; for details, see the list of FO changes for this release. * Indexing: Added new parameter index.prefer.titleabbrev; when set to 1, index references will use titleabbrev instead of title when available.HTML Help * Added support for generating windows-1252-encoded output using Saxon; for more details, see the list of XSL Java extensions changes for this release.man pages * Replaced named/numeric character-entity references for non-breaking space with groff equivalent (backslash-tilde).XSL Java extensions * Saxon extensions: Added the Windows1252 class. It extends Saxon 6.5.x with the windows-1252 character set, which is particularly useful when generating HTML Help for Western European Languages (code from Pontus Haglund and contributed to the DocBook community by Sectra AB, Sweden). To use: 1. Make sure that the Saxon 6.5.x jar file and the jar file for the DocBook XSL Java extensions are in your CLASSPATH 2. Create a DocBook XSL customization layer -- a file named mystylesheet.xsl or whatever -- that, at a minimum, contains the following: <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version='1.0'> <xsl:import href="http://docbook.sourceforge.net/release/xsl/current/htmlhelp/htmlhelp.xsl"/> <xsl:output method="html" encoding="WINDOWS-1252" indent="no"/> <xsl:param name="htmlhelp.encoding" select="WINDOWS-1252"></xsl:param> <xsl:param name="chunker.output.encoding" select="WINDOWS-1252"></xsl:param> <xsl:param name="saxon.character.representation" select="native"></xsl:param> </xsl:stylesheet> Invoke Saxon with the encoding.windows-1252 Java system property set to com.nwalsh.saxon.Windows1252; for example java \ -Dencoding.windows-1252=com.nwalsh.saxon.Windows1252 \ com.icl.saxon.StyleSheet \ mydoc.xml mystylesheet.xsl Or, for a more complete "real world" case showing other options you'll typically want to use: java \ -Dencoding.windows-1252=com.nwalsh.saxon.Windows1252 \ -Djavax.xml.parsers.DocumentBuilderFactory=org.apache.xerces.jaxp.DocumentBuilderFactoryImpl \ -Djavax.xml.parsers.SAXParserFactory=org.apache.xerces.jaxp.SAXParserFactoryImpl \ -Djavax.xml.transform.TransformerFactory=com.icl.saxon.TransformerFactoryImpl \ com.icl.saxon.StyleSheet \ -x org.apache.xml.resolver.tools.ResolvingXMLReader \ -y org.apache.xml.resolver.tools.ResolvingXMLReader \ -r org.apache.xml.resolver.tools.CatalogResolver \ mydoc.xml mystylesheet.xsl In both cases, the "mystylesheet.xsl" file should be a DocBook customization layer containing the parameters show in step 2. * Saxon extensions: Removed Saxon 8 extensions from release packageRelease 1.67.0 * A number of important bug fixes, documented in WhatsNew. * Added Saxon8 extensions * Enabled dbfo table-width on entrytbl in FO output * Added support for role=strong on emphasis in FO output * Added new FO parameter hyphenate.verbatim that can be used to turn on "intelligent" wrapping of verbatim environments. * Replaced all <tt></tt> output with <code></code> * Changed admon.graphic.width template to a mode so that different admonitions can have different graphical widths. * Deprecated the HTML shade.verbatim parameter (use CSS instead) * Wrapped ToC refentrytitle/refname and refpurpose in span with class values. This makes it possible to style them using a CSS stylesheet. * Use strong/em instead of b/i in HTML output * Added support for converting Emphasis to groff italic and Emphasis role= 'bold' to bold. Controlled by emphasis.propagates.style param, but not documented yet using litprog system. Will do that next (planning to add some other parameter-controllable options for hyphenation and handling of line spacing). * callout.graphics.number.limit.xml param: Changed the default from 10 to 15. * verbatim.properties: Added hyphenate=false * Saxon and Xalan Text.java extensions: Added support for URIResolver() on insertfile href's * Added generated RELEASE-NOTES.txt file. * Added INSTALL file (executable file for generating catalog.xml) * Removed obsolete tools directory from packageRelease 1.66.1 * A number of important bug fixes, documented in WhatsNew. * Now xml:base attributes that are generated by an XInclude processor are resolved for image files. * Rewrote olink templates to support several new features. o Extended full olink support to FO output. o Add support for xrefstyle attribute in olinks. o New parameters to support new olink features: insert.olink.page.number, insert.olink.pdf.frag, olink.debug, olink.lang.fallback.sequence, olink.properties, prefer.internal.olink. See the reference page for each parameter for more information. * Added index.on.type parameter for new type attribute introduced in DocBook 4.3 for indexterms and index. This allows you to create multiple indices containing different categories of entries. For users of 4.2 and earlier, you can use the new parameter index.on.role instead. * Added new section.autolabel.max.depth parameter to turn off section numbering below a certain depth. This permits you to number major section levels and leave minor section levels unnumbered. * Added footnote.sep.leader.properties attribute set to format the line separating footnotes in printed output. * Added parameter img.src.path as a prefix to HTML img src attributes. The prefix is added to whatever path is already generated by the stylesheet for each image file. * Added new attribute-sets informalequation.properties, informalexample.properties, informalfigure.properties, and informaltable.properties, so each such element type can be formatted individually if needed. * Add component.label.includes.part.label parameter to add any part number to chapter, appendix and other component labels when the label.from.part parameter is nonzero. This permits you to distinguish multiple chapters with the same chapter number in cross references and the TOC. * Added chunk.separate.lots parameter for HTML output. This parameter lets you generate separate chunk files for each LOT (list of tables, list of figures, etc.). * Added several table features: o Added table.table.properties attribute set to add properties to the fo:table element. o Added placeholder templates named table.cell.properties and table.cell.block.properties to enable adding properties to any fo:table-cell or the cell's fo:block, respectively. These templates are a start for implementing table styles. * Added new attribute set component.title.properties for easy modifications of component's title formatting in FO output. * Added Saxon support for an encoding attribute on the textdata element. Added new parameter textdata.default.encoding which specifies encoding when encoding attribute on textdata is missing. * Template label.this.section now controls whole section label, not only sub-label which corresponds to particular label. Former behaviour was IMHO bug as it was not usable. * Formatting in titleabbrev for TOC and headers is preserved when there are no hotlink elements in the title. Formerly the title showed only the text of the title, no font changes or other markup. * Added intial.page.number template to set the initial-page-number property for page sequences in print output. Customizing this template lets you change when page numbering restarts. This is similar to the format.page.number template that lets you change how the page number formatting changes in the output. * Added force.page.count template to set the force-page-count property for page sequences in print output. This is similar to the format.page.number template. * Sort language for localized index sorting in autoidx-ng.xsl is now taken from document lang, not from system environment. * Numbering and formatting of normal and ulink footnotes (if turned on) has been unified. Now ulink footnotes are mixed in with any other footnotes. * Added support for renderas attribute in section and sect1 et al. This permits you to render a given section title as if it were a different level. * Added support for label attribute in footnote to manually supply the footnote mark. * Added support for DocBook 4.3 corpcredit element. * Added support for a dbfo keep-together PI for formal objects (table, figure, example, equation, programlisting). That permits a formal object to be kept together if it is not already, or to be broken if it is very long and the default keep-together is not appropriate. * For graphics files, made file extension matching case insensitive, and updated the list of graphics extensions. * Allow calloutlist to have block content before the first callout * Added dbfo-need processing instruction to provide soft page breaks. * Added implementation of existing but unused default.image.width parameter for graphics. * Support DocBook NG tag inline element. * It appears that XEP now supports Unicode characters in bookmarks. There is no further need to strip accents from characters. * Make segmentedlist HTML markup more semantic and available to CSS styles. * Added user.preroot placeholder template to permit xsl-stylesheet and other PIs and comments to be output before the HTML root element. * Non-chunked legalnotice now gets an <a name="id"> element in HTML output so it can be referenced with xref or link. * In chunked HTML output, changed link rel="home" to rel="start", and link rel="previous" to rel="prev", per W3C HTML 4.01 spec. * Added several patches to htmlhelp from W. Borgert * Added Bosnian locale file as common/bs.xml.Release 1.65.0 * A number of important bug fixes, documented in WhatsNew. * Added a workaround to allow these stylesheets to process DocBook NG documents. (It?s a hack that pre-processes the document to strip off the namespace and then uses exsl:node-set to process the result.) * Added alternative indexing mechanism which has better internationalization support. New indexing method allows grouping of accented letters like e, ?, ? into the same group under letter "e". It can also treat special letters (e.g. "ch") as one character and place them in the correct position (e.g. between "h" and "i" in Czech language). In order to use this mechanism you must create customization layer which imports some base stylesheet (like fo/docbook.xsl, html/chunk.xsl) and then includes appropriate stylesheet with new indexing code (fo/autoidx-ng.xsl or html/autoidx-ng.xsl). For example: <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"> <xsl:import href="http://docbook.sourceforge.net/release/xsl/current/fo/docbook.xsl"/> <xsl:include href="http://docbook.sourceforge.net/release/xsl/current/fo/autoidx-ng.xsl"/> </xsl:stylesheet> New method is known to work with Saxon and it should also work with xsltproc 1.1.1 and later. Currently supported languages are English, Czech, German, French, Spanish and Danish.Release 1.64.1General bug fixes and improvements. Sorry about the failure to produce anupdated release notes file for 1.62.0?1.63.2 * In the course of fixing bug #849787, wrapping Unicode callouts with an appropriate font change in the Xalan extensions, I discovered that the Xalan APIs have changed a bit. So xalan2.jar will work with older Xalan 2 implementations, xalan25.jar works with Xalan 2.5.Release 1.61.0
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -