Boost logo

Boost :

Subject: Re: [boost] [quickbook] Controling the layout of table columns in docbook/fo output
From: Daniel James (dnljms_at_[hidden])
Date: 2012-03-25 17:32:48


On 18 March 2012 16:29, Andreas Pokorny <andreas.pokorny_at_[hidden]> wrote:
>
> We are kind of locked with fop for now. I played around with something like:
>
> [template col_width[number width]'''<colspec colname="c'''[number]'''"
> colnum="'''[number]'''" colwidth="'''[width]'''"/>''']
>
> [table:id A Simple Table
>    [col_width 1..3*]
>    [col_width 2..*]
>    [col_width 3..4*]
>    [[Heading 1] [Heading 2] [Heading 3]]
>    [[R0-C0]     [R0-C1]     [R0-C2]]
>    [[R1-C0]     [R1-C1]     [R1-C2]]
>    [[R2-C0]     [R2-C1]     [R2-C2]]
> ]
>
> Which is a terrible syntax, and does not work either. Depending on
> where I put the template invocation, it ends up in the table title or
> as a separate row.

There's currently no place to put anything in tgroup. What would you
consider to be a good syntax?

> Or causes a parse error. It orrucred to me that I
> cannot write something like:
[snip]

The template system isn't anywhere near sophisticated enough to do
something like that.


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk