Discussion:
[Docutils-develop] [docutils:bugs] #306 draw:name is fixed in the ODT writer backend and figures and images are not correctly rendered in ODT outputs as a result
Dave Kuhlman
2017-07-03 22:22:31 UTC
Permalink
I've applied the patch mentioned below. And, the patch does
actually make a difference in the ``content.xml`` file created in
the resulting .odt file.

However, I do not know how to re-creajte the error. I've place 3
".. image::" directives in a test input file. Those 3 images all
seem to show up OK both with and without this patch.

So, the patch works. The images are generated. The resulting file,
when viewed in LibreOffice looks good. Maybe that's good enough.

Or, maybe you can you give me a suggestion on how to produce the
error condition.

Dave K
- **labels**: --> ODT Writer
---
** [bugs:#306] draw:name is fixed in the ODT writer backend and figures and images are not correctly rendered in ODT outputs as a result**
**Status:** open
**Group:** Default
**Labels:** ODT Writer
**Created:** Tue Feb 07, 2017 09:15 AM UTC by Satoru SATOH
**Last Updated:** Tue Feb 07, 2017 09:15 AM UTC
**Owner:** nobody
It seems that rst2odt does not generate unique draw:name attribute for
each images embedded with '.. image::' or '.. figure::' directives,
and that causes strange problem that only 1st and 2nd images are shown
in generated ODT document.
I've created an experimental patch looks resolving this problem in https://bugzilla.redhat.com/show_bug.cgi?id=1360651 (The patch is https://bugzilla.redhat.com/attachment.cgi?id=1248317 ).
---
To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/docutils/admin/bugs/options. Or, if this is a mailing list, you can unsubscribe from the mailing list.
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Docutils-develop mailing list
https://lists.sourceforge.net/lists/listinfo/docutils-develop
Please use "Reply All" to reply to the list.
--
Dave Kuhlman
http://www.davekuhlman.org

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Docutils-develop mailing list
Docutils-***@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/docutils-develop

Please use "Reply All" to reply to the list.
Loading...