[docbook-css] better biblioentry styling
Per Bothner
per at bothner.com
Wed, 02 Feb 2005 21:46:25 -0800
David Holroyd wrote:
> Changing presentation based on a role attribute could be implemented in
> a customisation layer. Making one should be as simple as:
>
> ----8<----
> @import "docbook-css-0.4/driver.css"
>
> xref[role=citation]:before {
> content: "[";
> }
> xref[role=citation]:after {
> content: "]";
> }
> ---->8----
>
> (I'm presuming this use of role is not already widespread?)
Not as far as I know. It seems a reasonable convention,
but it would be nice to (semi-)standardize it.
> Bibliographies still need a lot more work though (as do many other areas
> of the stylesheet).
Yes. I don't see it worth tremendous effort, since for real
persentation I use the docbook-xsl stylesheets. The most
important use I think is it might allow (near-)wysiwyg-editing
of docbook using an xml/html editor.
This is the document I'm currently working on:
http://www.gnu.org/software/kawa/internals.xml (source - now
directly viewable using stdocbook-css!)
http://www.gnu.org/software/kawa/internals.html (generated
using docbook-xsl)
[I'm actually working a web-site redesign, but that's not
up yet.]
--
--Per Bothner
per@bothner.com http://per.bothner.com/