Files
sphinx/tests/root/images.txt
Hong Xu 2ee03a2729 Fix #981: LaTeX: support image file names with more than 1 dots
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
2015-12-17 19:03:31 -08:00

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