summaryrefslogtreecommitdiff
path: root/xorg-chunk.xsl
AgeCommit message (Collapse)Author
2016-01-05Set generate.consistent.ids in xsl stylesheets for more repeatable buildsAlan Coopersmith
Causes auto-generation of id attributes to use values based on position in document, such as id="id-1.5.9.5.2", instead of based on memory address of parse tree, such as id="idm140664351287904", so that generated documents end up with the same contents across rebuilds & platforms (especially on platforms using address space layout randomization). Does not guarantee long-term stability of links across releases, just repeatability when building the same release multiple times - values will change when documents are edited to add/remove/reorder sections. Only effective when used with version 1.77 or later of the DocBook XSL stylesheets (released in 2012). Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2011-09-09Embed CSS styles inside the HTML HEAD elementGaetan Nadon
Rather than referring to the external xorg.css stylesheet, embed the content of the file in the html output produced. This is accomplished by adding an xsl:template to the customization layer. The content of xorg.css must not be encoded due to the '<' character. This makes the whole html docs tree much more relocatable. In addition, it eliminates xorg.css as a runtime file which makes xorg-sgml-doctools a build time only package. Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2011-07-28Add support for generating chunked xhtml for DocBooksGaetan Nadon
Some large documents will benefit from this feature. A different docbook xsl file must be imported. Signed-off-by: Gaetan Nadon <memsize@videotron.ca>