Column alignment with colspans
Created originally on Bitbucket by Anonymous
The column-alignment seems to be linked to the first row. If cells in the first row span columns, then it results in an error:
ValueError: not enough columns for field options
But if in column-alignment the number of entries matches the number of entries in the first row, then there is no error.
A complete sample which gives error:
.. table:: Query Results
:column-alignment: left right right right right right right
========= ==== ==== ========= ======= ======= =========
Continent Visits Bounce Rate
--------- ------------------- -------------------------
\ curr prev %chg curr prev %chg
========= ==== ==== ========= ======= ======= =========
Americas 820 851 -0.036428 .414634 .467685 -0.113433
Europe 605 501 0.207585 .469421 .425150 0.10413
========= ==== ==== ========= ======= ======= =========