|
From: Matěj C. <mc...@ce...> - 2026-02-01 13:19:35
|
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. While sitting here at FOSDEM and listening to presentation I have vibe coded https://git.sr.ht/~mcepl/svg2odg What do you think? > A simplified variant of Sphinx's "only" directive may be helpfull in case > a document source should be converted to several formats: > > ~~~ (future rST) > > .. only:: html xml > > .. image:: cute-cat.svg XeTeX can manipulate SVG format as well. > .. only:: latex xetex > > .. image:: cute-cat.pdf > > .. only:: odt > > .. image:: cute-cat.odg That's probably a good idea. Best, Matěj -- http://matej.ceplovi.cz/blog/, @mc...@en... GPG Finger: 3C76 A027 CA45 AD70 98B5 BC1D 7920 5802 880B C9D8 kakistocracy, n.: Government by the least qualified or most unprincipled citizens. -- first used by Thomas Love Peacock in 1829 |