Rob van Maris <[EMAIL PROTECTED]> wrote:
> Who's the maintainer of the stylesheet, transforming MMBase (DocBook)
> documentation to HTML?

The style sheet is an 'standard' stylesheet of Norman Walsh of which a
few templates are overridden (and a css added).

The extension can be found in
documentation/style/docbook2xhtml.xslt. A replace is done in this file
during the build-process, to let it extend from the right version of
the nwalsh one, which is downloaded automaticly.

> I would like it to modified as to preserve white space formatting inside a
> <literallayout> element.
> This is what this element is for, and this way it can be used similar to
> <programlisting>.
> 
> E.g. this document:
> http://www.vpro.nl/personal/robvanmaris/developers/dbsq.html#N1008A
> The (complicated!) SQL expressions are formatted with linebreaks and
> indentation, inside a <literallayout> element.
> However, the current stylesheet ignores this, and as a result the SQL
> expressions are hard to read.
> 
> I could change the stylesheet myself, but I prefer a more coordinated
> approach. What is the policy?

Well, I suppose that we do not want to touch the original style sheet,
so perhaps it is possible to configure it with a parameter (put it in
build.xml) or by overriding a template (add to
documentation/sylte/docbook2xhtml.xslt). 

In fact, I took a look at the 'source' of the url cited by you, and it looks like this:

<div class="literallayout"><p><span style="white-space: pre;">Result:..

So perhaps it is more or less a browser problem not understanding the
style. On the other hand perhaps it is enough to add the 'literalllayout' class to
documentation/style/documentation.css. In fact I think now it is this :-)

The documentation project is active, and you can simply add your
solution to the cvs repository, I think.

greetings, 


Michiel


-- 
mihxil'  Michiel Meeuwissen 
Mediapark C101 Hilversum  
+31 (0)35 6772979
[]() 

Reply via email to