docbook-apps

  • 1.  problems with a table

    Posted 12-14-2020 17:25
    Hi,,

    I have some 50 tables (guess I) in my book with the same structure


                       
                        <tgroup cols="4" align="center">
                            <colspec colname="c1" colnum="1"
    colwidth="5.2cm" colsep="0" rowsep="0"/>
                            <colspec colname="newCol2" colnum="2"
    colwidth="2cm"/>
                            <colspec colname="c2" colnum="3"
    colwidth="5.2cm" colsep="0" rowsep="0"/>
                            <colspec colname="newCol4" colnum="4"
    colwidth="2cm"/>
                            ....
                               

    The 51st table raises warnings in oxygen 20.1 and I donot know why:

    <info/>
                            <row>
                                <entry>Art</entry>
                                <entry>Schwarzwald</entry>
                                <entry>Südschwarzwald</entry>
                            </row>
                       

                       .....

    element "title" not allowed here; expected element "col", "colgroup",
    "tbody", "tfoot", "thead" or "tr"


    element "tgroup" not allowed here; expected element "col", "colgroup",
    "tbody", "tfoot", "thead" or "tr"

    element "table" incomplete; expected element "col", "colgroup", "tbody",
    "tfoot", "thead" or "tr"


    -

    spitzhalde9
    D-79853 lenzkirch
    bernhard.kleine@gmx.net
    www.b-kleine.com, www.urseetal.net
    Ich darf auf mein neues Buch "670 Falter im Hochschwarzwald" aufmerksam machen
    (Infos bei mir)
    -
    thunderbird mit enigmail
    GPG schlüssel: D5257409
    fingerprint:
    08 B7 F8 70 22 7A FC C1 15 49 CA A6 C7 6F A0 2E D5 25 74 09



                   
                    <tgroup cols="3">
                        <colspec colname="c1" colnum="1" colwidth="187.2pt"
    align="left"/>
                        <colspec colname="c2" colnum="2" colwidth="88.2pt"
    align="center"/>
                        <colspec colname="c3" colnum="3" colwidth="109.2pt"
    align="center"/>
                       


  • 2.  Re: [docbook-apps] problems with a table

    Posted 12-14-2020 17:30
    > The 51st table raises warnings in oxygen 20.1 and I donot know why:
    >
    > <info/>

    >

    The empty <info/> element can’t be followed by a title. You could remove
    it, or move the title inside it.

    The caption element is, I think, only available in the HTML table model,
    so you either have to remove it, or convert the table from CALS to HTML.

    Be seeing you,
    norm

    --
    Norman Tovey-Walsh <ndw@nwalsh.com>
    https://nwalsh.com/

    > It is good to have an end to journey toward; but it is the journey that
    > matters, in the end.--Ursula K. LeGuin



  • 3.  Re: [docbook-apps] problems with a table

    Posted 12-14-2020 18:13
    The void was the offending element. its seem characteristic of html
    tables and changing it to none removed any error and warning. Something
    to be learned.

    Thanks Bernhard

    Am 14.12.2020 um 18:30 schrieb Norm Tovey-Walsh:
    >> The 51st table raises warnings in oxygen 20.1 and I donot know why:
    >>
    >> <info/>

    >>
    > The empty <info/> element can’t be followed by a title. You could remove
    > it, or move the title inside it.
    >
    > The caption element is, I think, only available in the HTML table model,
    > so you either have to remove it, or convert the table from CALS to HTML.
    >
    > Be seeing you,
    > norm
    >
    > --
    > Norman Tovey-Walsh <ndw@nwalsh.com>
    > https://nwalsh.com/
    >
    >> It is good to have an end to journey toward; but it is the journey that
    >> matters, in the end.--Ursula K. LeGuin

    --
    spitzhalde9
    D-79853 lenzkirch
    bernhard.kleine@gmx.net
    www.b-kleine.com, www.urseetal.net
    Ich darf auf mein neues Buch "670 Falter im Hochschwarzwald" aufmerksam machen
    (Infos bei mir)
    -
    thunderbird mit enigmail
    GPG schlüssel: D5257409
    fingerprint:
    08 B7 F8 70 22 7A FC C1 15 49 CA A6 C7 6F A0 2E D5 25 74 09