|
From: Guenter M. <mi...@us...> - 2026-02-02 10:14:36
|
On 2026-02-01, Matěj Cepl wrote: > On Wed Jan 28, 2026 at 11:24 AM CET, Guenter Milde via Docutils-users wrote: >> We might go the easy way and start with implementing support for ODG images. >> Then, authors may use the tool of their choice to convert PDF, SVG or other >> vector formats to ODG (or export their own creations in ODG format) and >> use this in rST or Markdown documents intended for docutils --writer=odg. > OK, that's probably one avenue of the attack. It should be the first step, there is no gain in a svg2odg tool when the generated file cannot be inserted. > While sitting here at FOSDEM and listening to presentation I have vibe > coded https://git.sr.ht/~mcepl/svg2odg What do you think? Did you try it? I was stopped by a missing dependency documentation (which "odg" package or module is used?). Docutils currently can be installed without any dependency except Python. We may consider "light" dependencies for core services (like "romannumerals" for rST parsing). However, adding a large dependency for a rarely used feature like ODT export is not planned. (We may provide SVG - ODT "on the fly" as an "optional" feature similar to syntax highlighting with Pygments.) Günter |