OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help

docbook message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]

Subject: Re: [docbook] Transitioning SGML docbook to XML, preserving formatting

On Thu, Sep 04, 2003 at 11:13:53PM +0200, Adriaan de Groot wrote:
> I've got a bunch of SGML docbook (4.1.2) that I'm trying to move to XML 
> docbook. Up till now, I've been processing the SGML with jade and the cygnus 
> stylesheets to produce HTML. I'm trying to move to xsltproc and the standard 
> modular stylesheets from sourceforge.
> While processing is fine, I'm having some trouble fine-tuning the HTML output. 
> In particular:
> 1) <colspec colwidth="2in"> doesn't seem to affect the HTML output at all 
> unless I set <xsl:param name="use.extensions">1</xsl:param>,  in which case I 
> get the error message
> No adjustColumnWidths function available.
> 2) <sidebar> elements were surrounded by a border in the
> jade output. Is there 
> a way to copy this behavior? 

For HTML output, you can do it with a CSS stylesheet
because the sidebar is put inside a <div class="sidebar">.
Something like:

div.sidebar {
      border: 1px solid black;
      background-color: #DDDDDD;
      padding: 6px;


Bob Stayton                                 400 Encinal Street
Publications Architect                      Santa Cruz, CA  95060
Technical Publications                      voice: (831) 427-7796
The SCO Group                               fax:   (831) 429-1887
                                            email: bobs@sco.com

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]