This patch does two things:
1 ) adds a 'widths' option to the 'table' directive that allows for specifying of column widths for a standard table, much like csv-table does.
2) add a 'nocolgroup' option to the 'table' directive that instructs the HTML write to not output any 'colgroup' tags for the table.
The patch is not perfect, but has made using tables many, many, many times easier for myself and my team members.
patch generated against stock docutils-0.6
Adding "width" to the table directive to bring it in line with csv-table and list-table makes sense to me.
We need, however, support for all writers, not just the HTML one.
What problems do you have with the "colgroup"?
As this seems to be writer specific, I suggest using a special
class value instead of a new option for the "nocolgroup".
This would also allow to specify this in the config file as default
for all tables (with the table-style setting/cmd-line option).
A similar patch is now applied (using
:widths: auto
for the "nocolgroup" feature).See https://sourceforge.net/p/docutils/patches/121/