0
我希望能够在表格内生成内容表格。例如。它应该 有边框,看起来像这样:在表格内创建表格
.. tabularcolumns:: |p{10.5cm}|p{1.1cm}|p{1.4cm}|p{1.1cm}|
+----------------------------------------------------+-------+---------+-----+
| | hw1 | hw2 | hw3 |
+====================================================+=======+=========+=====+
| heading 1 | | | |
+----------------------------------------------------+-------+---------+-----+
| heading 2 | | | |
+----------------------------------------------------+-------+---------+-----+
| heading 3 | | | |
+----------------------------------------------------+-------+---------+-----+
我想从像自动生成表:
.. toctree::
:maxdepth: 2
file 1
file 2
输出为HTML和PDF。
可以这样做吗?或者我必须使用docutils解析器或类似的?
感谢您的回答。不幸的是我需要输出html页面和pdf文档。 –