From: Guenter M. <mi...@us...> - 2017-03-11 20:33:04
|
On 2017-03-10, Alan Isaac wrote: > Output for the first line of Test Table 1 is OK, > if the last line is deleted. > The last is not OK (because of the commas). Yes, you need to have valid rST in every field. The last line contains 4 fields (because of the commas). How about setting a different deliminator? (See docs/ref/rst/directives.html#id4) > It *is* possible to put the expressions in quotes. > BUT: > Output for the first line of Test Table 2 is OK, > if the last line is deleted. > The last is not OK (because of the space before the comma). Yes, because you cannot put only a part of the expression in quotes and whitespace is not stripped. BUT, you can simply ensure that there is no whitespace between " and the deliminator. Test CSV Tables .. csv-table:: Test Table 1 :delim: ; :header: code; math :code:`int` ; :math:`33` :code:`(int,int)` ; :math:`(33,33)` .. csv-table:: Test Table 2 :header: hthis, hthat "test","this","that" "test","this","that" Günter |