Re: Generating (and not generating) CSS files for XHTML



On Mon, 2010-01-04 at 18:01 +0000, Elliot Smith wrote:
> Hello,
> 
> I've been experimenting with Mallard a little today. I'd like to ask
> what the proper behaviour for gnome-doc-tool should be when passed the
> path to a CSS stylesheet, e.g.
> 
>   gnome-doc-tool xhtml -c style.css index.page
> 
> With git master checked out earlier today, this generates the XHTML file
> with a stylesheet link element with href="style.css", but doesn't
> generate the CSS file; however, with version 0.16.1, the file is
> generated, as well as the link elements.
> 
> I wondered whether this is intended behaviour, or whether it is a bug.
> help suggests the file should be generated. I couldn't find a mention of
> this as a deliberate change in the commit log or NEWS.

Hi Elliot,

Sorry for the late response.

Version 0.16.1 didn't handle Mallard documents, so I suppose
you mean that the CSS file was generated for DocBook.  Looking
at the code, I see that the DocBook stylesheets output a CSS
file, but the Mallard stylesheets don't.

I'm planning on retooling gnome-doc-utils quite a bit for 3.0,
and one of the things I want to improve is how CSS is handled
and how you can more easily customize it.  For now, I'm just
going to add a "css" command you can use to generate the CSS
for a Mallard document.  I'll try to get it in tonight.

-- 
Shaun McCance
http://syllogist.net/



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]