| 1 |
These are the CSS text template files used by these XSLT stylesheets. |
| 2 |
They are maintained in separate files to make it easier to work on them. |
| 3 |
You can call variables or XPath expression with double curly braces {{$like_this}}. |
| 4 |
Variables are defined in the XSLT files. |
| 5 |
|
| 6 |
Because of limitations in XSLT, these files do have to be well-formed XML, |
| 7 |
even though we only ever use the text value. |
| 8 |
That means they have to be wrapped in an XML element, |
| 9 |
and any < and & characters have to be escaped as < and &, respectively. |
| 10 |
|
| 11 |
Here's what each file is: |
| 12 |
|
| 13 |
* core.css.tmpl - The core CSS for general page layout |
| 14 |
* elements.css.tmpl - CSS for element styles common to multiple formats |
| 15 |
* syntax.css.tmpl - CSS for syntax highlighting, using highlight.js |
| 16 |
* mallard.css.tmpl - CSS for element styles specific to Mallard |
| 17 |
* docbook.css.tmpl - CSS for element styles specific to DocBook |
| 18 |
|
| 19 |
The easiest way to test your changes to these files is with the mallard test document, |
| 20 |
found under test/mallard from the root of this repository. |
| 21 |
That directory has a README that explains how to use it to test changes. |