On Aug 8, 6:25 am, Stuart Rackham <[email protected]> wrote: > Hi Gustav > > On 07/08/10 10:44, Gustav Broberg wrote: > > > > > > > > > Hi Stuart! > > > Here's a little idea: > > > With release 0.3 of dblatex it is now possible to set the table width > > using a processing instruction. [1] This means that you now can have > > tables with a width other than 100% using the dblatex backend without > > having to use > > the "pageunits=pt" workaround [2]. > > >> From what I can see the change required to support this is adding: > > > <?dblatex table-width="{width}"?> > > > to the [table] section in docbook.conf where you today have: > > > # DocBook XSL Stylesheets custom processing instructions. > > <?dbhtml table-width="{width}"?> > > <?dbfo table-width="{width}"?> > > > The width syntax for dblatex should be the same as for the others. [3] > > Unfortunately I'm not sure if adding this could cause regressions for > > other backends...? > > I've installed dblatex 0.3 and added your suggestion to the docbook.conf file, > it works and it won't cause any regression problem (unrecognized processing > instructions are simply ignored by downstream processors). Users currently > using > absolute column widths with the pageunits attribute won't be affected either. > The new scheme is better because you don't have to set the pagewidth and it > gets > it right regardless of the page width. > > Thank you for your suggestion, I've committed it to the > trunk:http://code.google.com/p/asciidoc/source/detail?r=30e71fc5c58a4e5f81d... >
Thanks for adding this, it works like a charm! :) /Gustav > Cheers, Stuart > > > > > 1.http://dblatex.sourceforge.net/doc/release-notes/sec-changes-03.html > > 2.http://www.methods.co.nz/asciidoc/faq.html#_why_don_8217_t_tables_gen... > > 3.http://dblatex.sourceforge.net/doc/manual/ch03s05.html#sec-table-width > > > Thanks for AsciiDoc! > > > -- > > Gustav Broberg > > -- You received this message because you are subscribed to the Google Groups "asciidoc" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/asciidoc?hl=en.
