mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
LaTeX cannot detect image file names with more than 1 dots in it
correctly. The solution is to use '{}' to surround the base name. See
https://tex.stackexchange.com/questions/10574/includegraphics-dots-in-filename
Fix #981
32 lines
671 B
Plaintext
32 lines
671 B
Plaintext
Sphinx image handling
|
|
=====================
|
|
|
|
.. first, a simple test with direct filename
|
|
.. image:: img.png
|
|
|
|
.. a non-existing image with direct filename
|
|
.. image:: foo.png
|
|
|
|
.. an image with path name (relative to this directory!)
|
|
.. image:: subdir/img.png
|
|
:height: 100
|
|
:width: 200
|
|
|
|
.. an image with unspecified extension
|
|
.. image:: img.*
|
|
|
|
.. a non-existing image with .*
|
|
.. image:: foo.*
|
|
|
|
.. a non-local image URI
|
|
.. image:: http://www.python.org/logo.png
|
|
|
|
.. an image with subdir and unspecified extension
|
|
.. image:: subdir/simg.*
|
|
|
|
.. an SVG image (for HTML at least)
|
|
.. image:: svgimg.*
|
|
|
|
.. an image with more than 1 dot in its file name
|
|
.. image:: img.foo.png
|