From: Alan I. <ala...@gm...> - 2019-06-11 19:22:28
|
Apologies, I shd have updated before reporting. It's fixed in latest Subversion (8256). (Unfortunately I did not check the revision I was updating from so I cannot report that.) Alan On 6/11/2019 3:44 AM, Guenter Milde via Docutils-users wrote: > 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 > > > > _______________________________________________ > Docutils-users mailing list > Doc...@li... > https://lists.sourceforge.net/lists/listinfo/docutils-users > > Please use "Reply All" to reply to the list. > |