From: Guenter M. <mi...@us...> - 2019-06-11 07:45:07
|
On 2019-06-10, Alan Isaac wrote: > If I understand the documentation, the following should work:: > .. csv-table:: Test > :width: 50% > test01 > test02 > The html5 write produces no content for this. > If I remove the `width` specification, the output is as expected. I cannot reproduce. Here, with `rst2html5 --link-stylesheet example.txt` I get the expected: <!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <meta charset="utf-8"/> <meta name="generator" content="Docutils 0.15b.dev: http://docutils.sourceforge.net/" /> <title>widetable.rst</title> <link rel="stylesheet" href="<path-to>/docutils/writers/html5_polyglot/minimal.css" type="text/css" /> <link rel="stylesheet" href="<path-to>/docutils/writers/html5_polyglot/plain.css" type="text/css" /> </head> <body> <div class="document"> <table style="width: 50%"> <caption>Test</caption> <colgroup> <col style="width: 100%" /> </colgroup> <tbody> <tr><td><p>test01</p></td> </tr> <tr><td><p>test02</p></td> </tr> </tbody> </table> </div> </body> </html> Günter |