[LyX/master] Adapt to recent draw.io that does not accept bundled options
Koji Yokota
yokota at lyx.org
Wed Jun 24 11:23:18 UTC 2026
commit 029d5f3255b834b002176d75bda3ec26a125c999
Author: Koji Yokota <yokota at lyx.org>
Date: Wed Jun 24 20:21:58 2026 +0900
Adapt to recent draw.io that does not accept bundled options
---
lib/configure.py | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/lib/configure.py b/lib/configure.py
index 87c205e312..452337e416 100644
--- a/lib/configure.py
+++ b/lib/configure.py
@@ -1326,10 +1326,10 @@ def checkConverterEntries():
if drawio == progNames[0] or drawio == progNames[1]:
fullpath = os.path.join(path, drawio)
addToRC(r'''\converter drawio pdf6 "\"%s\" -xf pdf -o $$o --crop $$i" ""
-\converter drawio png "\"%s\" -xf png -o $$o $$i" ""
-\converter drawio jpg "\"%s\" -xf jpg -o $$o $$i" ""
-\converter drawio svg "\"%s\" -xf svg -o $$o $$i" ""
-\converter drawio docbook5 "\"%s\" -xf xml -o $$o $$i" "xml"'''
+\converter drawio png "\"%s\" -x -f png -o $$o $$i" ""
+\converter drawio jpg "\"%s\" -x -f jpg -o $$o $$i" ""
+\converter drawio svg "\"%s\" -x -f svg -o $$o $$i" ""
+\converter drawio docbook5 "\"%s\" -x -f xml -o $$o $$i" "xml"'''
% (fullpath, fullpath, fullpath, fullpath, fullpath))
#
More information about the lyx-cvs
mailing list