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

Feature Request: math and latex #33

Open
schlichtanders opened this issue Mar 20, 2017 · 3 comments
Open

Feature Request: math and latex #33

schlichtanders opened this issue Mar 20, 2017 · 3 comments
Labels

Comments

@schlichtanders
Copy link

According to PlantUML it should be easy to add ascii-math support http://plantuml.com/ascii-math

even latex support seems possible according to the same reference.

Any plans for supporting it?

@peele
Copy link
Owner

peele commented Mar 22, 2017

I followed the instructions on that page for unzipping the jar files into the same directory with plantuml.2017.08.jar and saw the following results with the examples:

math_example

Currently, @startmath and @startlatex tags aren't correctly recognized for multi image support but work as expected if only one appears in a file.

math_standalone

latex

The only support that I see missing is the multi page handling with tags other than @startuml.

@schlichtanders
Copy link
Author

thank you so much! That looks much simpler than I thought originally.

can you share which directory it was where you put those additional jar files?

@peele
Copy link
Owner

peele commented Mar 25, 2017

The package does not include plantuml so you need to put the jar files in the same location as PlantUML Jar in the package settings. This article may clarify a few things http://trevershick.github.io/atom/2015/12/04/plantuml-snippets.html.

Specifically I downloaded and unzipped the jar files to ~/Downloads/plantuml-jlatexmath and then added plantuml.2017.08.jar to that folder and changed the PlantUML Jar setting accordingly.

$ ls Downloads/plantuml-jlatexmath
batik-all-1.7.jar            jlm_cyrillic.jar             plantuml.2017.08.jar
jlatexmath-minimal-1.0.3.jar 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