mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2026-09-03 20:52:55 -05:00
Update doc/rest.rst
This commit is contained in:
+6
-2
@@ -363,8 +363,9 @@ directory on building (e.g. the ``_static`` directory for HTML output.)
|
|||||||
|
|
||||||
Interpretation of image size options (``width`` and ``height``) is as follows:
|
Interpretation of image size options (``width`` and ``height``) is as follows:
|
||||||
if the size has no unit or the unit is pixels, the given size will only be
|
if the size has no unit or the unit is pixels, the given size will only be
|
||||||
respected for output channels that support pixels (i.e. not in LaTeX output).
|
respected for output channels that support pixels. Other units (like ``pt``
|
||||||
Other units (like ``pt`` for points) will be used for HTML and LaTeX output.
|
for points) will be used for HTML and LaTeX output (the latter replaces ``pt``
|
||||||
|
by ``bp`` as this is the TeX unit such that ``72bp=1in``).
|
||||||
|
|
||||||
Sphinx extends the standard docutils behavior by allowing an asterisk for the
|
Sphinx extends the standard docutils behavior by allowing an asterisk for the
|
||||||
extension::
|
extension::
|
||||||
@@ -386,6 +387,9 @@ Note that image file names should not contain spaces.
|
|||||||
.. versionchanged:: 0.6
|
.. versionchanged:: 0.6
|
||||||
Image paths can now be absolute.
|
Image paths can now be absolute.
|
||||||
|
|
||||||
|
.. versionchanged:: 1.5
|
||||||
|
latex target supports pixels (default is ``96px=1in``).
|
||||||
|
|
||||||
|
|
||||||
Footnotes
|
Footnotes
|
||||||
---------
|
---------
|
||||||
|
|||||||
Reference in New Issue
Block a user