[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]
Subject: Re: DOCBOOK-APPS: Problem with <entrytbl>
Giuseppe Greco wrote: > > Instead of using the <entrytbl> element, I rewrote my > document using nested tables... > > That works fine with HMTL backend, but I still have > problems with print backend. As I said previously, do not use nested tables. Flatten them to single table with row-spans and columns-spans. > <informaltable frame="none"> > <tgroup cols="1"> > <tbody> > <row id="ref0001"> > <entry> > <para> > <informaltable frame="none"> > <tgroup cols="3"> > <colspec colnum="1" colname="c1" colwidth="1*"/> > <colspec colnum="2" colname="c2" colwidth="2*"/> > <colspec colnum="3" colname="c3" colwidth="7*"/> If you want something like ---------------------------- | A | B | ---------------------------- | | D | E | - C ------------------- | | F | G | ---------------------------- you can use 2x2 table which contains another 2x2 table in one cell. But you can also create 3x2 table with some spans. <table> <tgroup cols="3"> <colspec colname="c1".../> <colspec colname="c2".../> <colspec colname="c3".../> <tbody> <row> <entry>A</entry> <entry namest="c2" namend="c3">B</entry> </row> <row> <entry morerows="1">C</entry> <entry>D</entry> <entry>E</entry> </row> <row> <entry>F</entry> <entry>G</entry> </row> </tgroup> </table> It is not as natural as nested tables, but should work with current tools. Jirka -- ----------------------------------------------------------------- Jirka Kosek e-mail: jirka@kosek.cz http://www.kosek.cz
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]
Powered by eList eXpress LLC