Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CLI export to SVG doesn't render LaTeX (but exports correctly in GUI) #1874

Open
2 tasks done
jeremy-dolan opened this issue Sep 29, 2024 · 2 comments
Open
2 tasks done
Assignees

Comments

@jeremy-dolan
Copy link

jeremy-dolan commented Sep 29, 2024

Preflight Checklist

  • I agree to follow the Code of Conduct that this project adheres to.
  • I have searched the issue tracker for a feature request that matches the one I want to file, without success.

You must agree to search and the code of conduct. You must fill in this entire template. If you delete part/all or miss parts out your issue will be closed.


Math between \( \) will render correctly when using SVG export in GUI, but when exported to SVG using CLI the 'source' LaTeX markup is shown.

This appears to have regressed, as the same issue was reported two years ago as issue #223, and then apparently fixed.

Tested on MacOSX Draw.io 24.7.8 (the latest desktop version)

To Reproduce
/Applications/draw.io.app/Contents/MacOS/draw.io -x -f svg -o figure.svg input.drawio

@JRodez
Copy link

JRodez commented Oct 9, 2024

Same on NixOS with 24.7.8

@kestr31
Copy link

kestr31 commented Oct 31, 2024

  • Image with Issue:

image

  • Intended Image

probabilitySpace

  • I am experiencing the same issue. Kubuntu 24.04.1, DrawIO v24.7.17.
  • Exported with following CLI command:
drawio -x -f svg --scale 2 "$filename.drawio" -o "${filename}.svg"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants