summaryrefslogtreecommitdiff
path: root/xorg.xsl
AgeCommit message (Collapse)Author
2023-02-25Remove "All rights reserved" from Oracle copyright noticesAlan Coopersmith
Oracle no longer includes this term in our copyright & license notices. Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
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-03-29DocBook/XML: add support for docbook external referencesGaetan Nadon
Documents external references ----------------------------- A new feature with version 1.7 is references to documents in other packages. For example a protocol specifications may refer to another one or to a library implementing it. This feature works with PDF, HTML, PS (and epub?) generated documents and will generate links to the other versions of the same type, i.e. html docs will link to other html docs, and pdf docs will link to other pdf docs. New: generating target databases -------------------------------- All documents will generate a target db, analogous to a symbol table which will be consulted by other documents to find linking information. This is accomplished with xsltproc. New: consulting target databases -------------------------------- While documents are being converted from xml to html/pdf/ps, they will consult the target dbs of each document they which to refer to. This is accomplished with xmlto. New: master database -------------------- A hand written database has been created which provides an association between the target dbs and the document themselves. It also reflects the hierarchical structure of the documents relative to the installation dir. New: xorg-xhtml.xsl and xorg-fo.xsl ----------------------------------- A number of motivations are behind the new (and split) versions of xorg.xsl. This module must remain backward compatible to build previous versions of documentation. It was originally designed a while ago for sgml. Given that all documents makefile had to change, it seemed a good opportunity to break from the past. Among the differences: The location of xorg.css is no longer set in the stylesheet. The chunked html is no longer supported. The html and fo parameters are kept separate. Additional parameters for external references. Now allows different values for html/fo xsl for the same parameter should that be required. The xorg-xhtml.xsl imports html/docbook.xsl The xorg-fo.xsl imports fo/docbook.xsl Co-authored-by: Matt Dew <marcoz@osource.org> Acked-by: Dan Nicholson <dbn.lists@gmail.com> Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2010-12-17Add Arphic PL fonts for Chinese characters in PDF/PS outputAlan Coopersmith
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2010-12-16Add fop font settings to xorg.xsl to support a wider range of glyphsAlan Coopersmith
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> Reviewed-by: Gaetan Nadon <memsize@videotron.ca>
2010-12-13Add support for PDF bookmarks in the xorg stylesheetMatt Dew
PDF files can optionally include an active table of contents that is displayed alongside the pages in the PDF viewer. These references are called bookmarks. PDF bookmarks are generated using special functions in each XSL-FO processor because XSL cannot produce them directly. Bookmarks will be automatically produced when used with DocBook XSL stylesheets version 1.70.0 or later Signed-off-by: Gaetan Nadon <memsize@videotron.ca> Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2010-12-12Make links in pdf output blue so it's easier to tell they're links.Alan Coopersmith
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> Reviewed-by: Signed-off-by: Gaetan Nadon <memsize@videotron.ca> Acked-by: Peter Hutterer <peter.hutterer@who-t.net>
2010-11-29Speed up ps/pdf output by not trying to fetch draft.png from webAlan Coopersmith
Force draft mode to "no" instead of default of "maybe" as discussed in various posts in http://sources.redhat.com/ml/docbook-apps archives. For those of us building behind firewalls, shaves approx. 3 minutes off document creation for each set of documents by not waiting for download of the draft.png watermark image from the docbook website to time out. Also gets rid of these errors from xmlto: Nov 28, 2010 8:10:04 PM org.apache.fop.apps.FOURIResolver resolve SEVERE: Error with opening URL 'http://docbook.sourceforge.net/release/images/draft.png': Connection timed out Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> Reviewed-by: Adam Jackson <ajax@redhat.com> Reviewed-by: Gaetan Nadon <memsize@videotron.ca>
2010-10-08xorg.xsl: make index links point to the indexterm locationAlan Coopersmith
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2010-06-18Provide common CSS & XSL stylesheets for DocBook docsAlan Coopersmith
These have been copied into & expanded in several modules already, might as well make a common copy to share so that our docs end up with a common style. Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> Reviewed-by: Dan Nicholson <dbn.lists@gmail.com>