This is the mail archive of the
docbook@lists.oasis-open.org
mailing list for the DocBook project.
Re: [docbook] Transitioning SGML docbook to XML, preserving formatting
- From: Bob Stayton <bobs at sco dot com>
- To: Adriaan de Groot <adridg at cs dot kun dot nl>
- Cc: docbook at lists dot oasis-open dot org
- Date: Fri, 5 Sep 2003 09:11:04 -0700
- Subject: Re: [docbook] Transitioning SGML docbook to XML, preserving formatting
- References: <200309042313.53973.adridg@cs.kun.nl>
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
To unsubscribe from this list, send a post to docbook-unsubscribe@lists.oasis-open.org.