mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
If someone adds an image to a section it will be added to the sidebar TOC of a PDF, too. A PDF viewer will show the "width and height" data instead of an image. So we need to filter out images for this with the optional "short title" of latex sections.
19 lines
251 B
ReStructuredText
19 lines
251 B
ReStructuredText
test-image-in-section
|
|
=====================
|
|
this is dummy content
|
|
|
|
|
|
|picture| Test section
|
|
----------------------
|
|
blah blah blah
|
|
|
|
|
|
Another section
|
|
---------------
|
|
another blah
|
|
|
|
|
|
Other [blah] |picture| section
|
|
------------------------------
|
|
other blah
|