Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/python/280.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Python Rinohtype Sphinx重组文本:固定宽度表格_Python_Python Sphinx_Restructuredtext_Rinohtype - Fatal编程技术网

Python Rinohtype Sphinx重组文本:固定宽度表格

Python Rinohtype Sphinx重组文本:固定宽度表格,python,python-sphinx,restructuredtext,rinohtype,Python,Python Sphinx,Restructuredtext,Rinohtype,下面是如何在rst中获得固定宽度、左对齐的表格: .. list-table:: Table Caption :width: 100% :align: left 但这在rinohtype中似乎不起作用。但是,我可以使用我自己的样式表获得对齐,如下所示: [table] horizontal_align = LEFT 我不明白如何才能得到一张全宽的桌子。我将尝试回答我是如何解决这个问题的,对此有更多知识的人可以稍后更正 基于此,固定宽度问题似乎已经解决 据开发人员称,这将在稳定

下面是如何在rst中获得固定宽度、左对齐的表格:

.. list-table:: Table Caption
    :width: 100%
    :align: left
但这在rinohtype中似乎不起作用。但是,我可以使用我自己的样式表获得对齐,如下所示:

[table]
horizontal_align = LEFT

我不明白如何才能得到一张全宽的桌子。

我将尝试回答我是如何解决这个问题的,对此有更多知识的人可以稍后更正

基于此,固定宽度问题似乎已经解决

据开发人员称,这将在稳定版本
v0.4.3
中解决。但是,目前也可以通过以下方式解决:

pip安装git+https://github.com/brechtm/rinohtype.git

正确。0.5.0即将发布(跳过0.4.3)。同时,您可以下载预发行版。