[docbook-css] [ANN] Docbook CSS 0.3 Released
David Holroyd
dave at badgers-in-foil.co.uk
Sun, 17 Oct 2004 23:34:17 +0000
Version 0.3 of the Docbook CSS stylesheet is now available from the
project page:
http://www.badgers-in-foil.co.uk/projects/docbook-css/
Changes in this release:
* Make <ulink> work again in mozilla.org browsers. Invalid XBL will
simply crash Mozilla in some cases; I spotted where I'd made a syntax
error.
* Make <ulink> work in Opera. Opera has an '-o-link:' CSS attribute
that is given a value from 'attr(url)'.
* Stop the numbers on <listitem>s within <orderedlist> always being '0'
in Mozilla (using a special mozilla hack). The html.css included
with mozilla browsers includes a magic CSS attribute,
'-moz-counter-reset: -html-counter 0;'. This seems to be required
for correct list numbering. (Nested lists are untested.)
* Add formatting for <important>; to match other admonitions.
* Factor language-specific generated content into a 'localisation
framework': There is now a file, 'l10n.css' that imports further,
locale-specific stylesheet files.
* Add some support for 'pl', 'de' and 'es' locales (in addition to
'en'). Some friends helped me with translation.
* Nicer <keycap>; beige background, and borders to look more 'key-like'.
* Give <guibutton> grey background and raised borders.
* Avoids arrows in front of <guimenuitem> and <guisubmenu>, except when
children of <menuchoice>.
* Make <productname> italic.
* Extra 5% on left/right margins for admonitions, to set them off
better from the main text.
* Explicitly alter formatting of nested <quote> tags (mozilla seems not
to support CSS for nested quoting). Specifying an attribute like,
'quotes: '"' '"' "'" "'";', mozilla picks up the first level quote
characters, but doesn't use the second pair for nested quotes. Added
a rule with selector 'quote quote { .. }' instead.
Also, I've added further test cases, linked from the project page, and
have tried to list some of the limitations inherent in using CSS with
Docbook documents.
David Holroyd