docbook-apps

  • 1.  Re: [docbook-apps] cals table to xhtml1_1 border issue

    Posted 03-20-2010 03:54
    This problem was introduced in the xhtml-1_1 stylesheet file table.xsl. In the
    template name 'normal-row', two clauses set the 'style' attribute, one overwriting the
    other. This problem does not occur in the xhtml stylesheet. I filed a bug report
    for this.

    Bob Stayton
    Sagehill Enterprises
    bobs@sagehill.net


    ----- Original Message -----
    From: "Robert Moody" <robert.e.moody@gmail.com>
    To: <docbook-apps@lists.oasis-open.org>
    Sent: Friday, March 19, 2010 10:03 AM
    Subject: [docbook-apps] cals table to xhtml1_1 border issue


    > hello
    >
    > I have been processing cals tables to xhtml table using the docbook
    > xsl and it has been working great in most cases, but I ran into an
    > unusual sitch.
    >
    > I have the table.borders.with.css parameter set to 1 to support
    > @rowsep at row/entry level (any other options to make this happen?).
    >
    > The problem I'm having is that if the my table has a colspec with an
    > @align value specified, the resulting style attribute loses the border
    > information and contains only the alignment setting.
    >
    > For example, in the below table if I add align="center" to the
    > <colspec> elements, the border information is lost. Do you also
    > experience this same behavior or is something I've overlooked or am
    > doing wrong? Any options for a work-around are also welcome.
    >
    > Thanks in advance for any help!
    > rgds
    > bob
    >
    >
    >
    >
    > <tgroup cols="2">
    >
    > <colspec colname="col1" colnum="1" colwidth="50%"/>
    > <colspec colname="col2" colnum="2" colwidth="50%"/>
    >
    >
    > <row>
    > <entry colname="col1">1.1</entry>
    > <entry colname="col2">1.2</entry>
    > </row>
    >
    > <row rowsep="0">
    > <entry colname="col1">2.1</entry>
    > <entry colname="col2">2.2</entry>
    > </row>
    >
    > <row>
    > <entry colname="col1">3.1</entry>
    > <entry colname="col2">3.2</entry>
    > </row>
    >
    >
    > </tgroup>
    >

    >
    > ---------------------------------------------------------------------
    > To unsubscribe, e-mail: docbook-apps-unsubscribe@lists.oasis-open.org
    > For additional commands, e-mail: docbook-apps-help@lists.oasis-open.org
    >
    >
    >




  • 2.  Re: [docbook-apps] cals table to xhtml1_1 border issue

    Posted 03-22-2010 05:58
    Hello Bob/Jeff

    Thanks much for looking into this.

    Yes Kevin, I'm trying to get output for ePub, so I'll have a go at
    modifying the normal-row template Bob mentions (wish me luck!;-),
    unless someone already has a modified version I could use (now that
    would be luck!).

    cheers
    bob

    On Fri, Mar 19, 2010 at 11:54 PM, Bob Stayton <bobs@sagehill.net> wrote:
    > This problem was introduced in the xhtml-1_1 stylesheet file table.xsl.  In
    > the template name 'normal-row', two clauses set the 'style' attribute, one
    > overwriting the other.   This problem does not occur in the xhtml
    > stylesheet.  I filed a bug report for this.
    >
    > Bob Stayton
    > Sagehill Enterprises
    > bobs@sagehill.net
    >
    >
    > ----- Original Message ----- From: "Robert Moody" <robert.e.moody@gmail.com>
    > To: <docbook-apps@lists.oasis-open.org>
    > Sent: Friday, March 19, 2010 10:03 AM
    > Subject: [docbook-apps] cals table to xhtml1_1 border issue
    >
    >
    >> hello
    >>
    >> I have been processing cals tables to xhtml table using the docbook
    >> xsl and it has been working great in most cases, but I ran into an
    >> unusual sitch.
    >>
    >> I have the table.borders.with.css parameter set to 1 to support
    >> @rowsep at row/entry level (any other options to make this happen?).
    >>
    >> The problem I'm having is that if the my table has a colspec with an
    >> @align value specified, the resulting style attribute loses the border
    >> information and contains only the alignment setting.
    >>
    >> For example, in the below table if I add align="center" to the
    >> <colspec> elements, the border information is lost. Do you also
    >> experience this same behavior or is something I've overlooked or am
    >> doing wrong? Any options for a work-around are also welcome.
    >>
    >> Thanks in advance for any help!
    >> rgds
    >> bob
    >>
    >>
    >>
    >>
    >> <tgroup cols="2">
    >>
    >> <colspec colname="col1" colnum="1" colwidth="50%"/>
    >> <colspec colname="col2" colnum="2" colwidth="50%"/>
    >>
    >>
    >> <row>
    >> <entry colname="col1">1.1</entry>
    >> <entry colname="col2">1.2</entry>
    >> </row>
    >>
    >> <row rowsep="0">
    >> <entry colname="col1">2.1</entry>
    >> <entry colname="col2">2.2</entry>
    >> </row>
    >>
    >> <row>
    >> <entry colname="col1">3.1</entry>
    >> <entry colname="col2">3.2</entry>
    >> </row>
    >>
    >>
    >> </tgroup>
    >>

    >>
    >> ---------------------------------------------------------------------
    >> To unsubscribe, e-mail: docbook-apps-unsubscribe@lists.oasis-open.org
    >> For additional commands, e-mail: docbook-apps-help@lists.oasis-open.org
    >>
    >>
    >>
    >
    >