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

Math formulas using AsciiMath and JLatexMath render incorrectly #39

Open
Pigmented opened this issue Sep 6, 2023 · 1 comment
Open
Labels

Comments

@Pigmented
Copy link

Pigmented commented Sep 6, 2023

1. Previously, with the asciidoctor-diagram plugin, math formulas could render correctly in .adoc: files.

[plantuml, align="center"]
....
@startmath
d = (ct)/2
@endmath
....

0

2. However, after switching to Kroki, I encounter rendering issues in both HTML and PDF.
5

3. I attempt to replicate the formulas example from PlantUML Official Site on Kroki's Try. It appears that none of the formulas render as expected, whether using AsciiMath notation, JLaTeXMath notation, or creating standalone AsciiMath formulas.

1
1 1
2
2 2
3
3 3

4. I follow the instructions in #yuzutech/kroki#442, and add jlatexmath-minimal-1.0.3.jar in the same folder as plantuml.jar, but the problem persists. I'm unsure how to proceed and would appreciate guidance.

@github-actions github-actions bot added the triage label Sep 6, 2023
@TyborAUT
Copy link

According to PlantUML AsciiMath doc you need all 4 files batik-all-1.7.jar, jlatexmath-minimal-1.0.3.jar, jlm_cyrillic.jar and jlm_greek.jar.

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

No branches or pull requests

2 participants