Skip to content

plantweb --format auto file.txt fails to format AsciiMath / Latex #23

@mood-indigo

Description

@mood-indigo

I copied this example from Math in PlantUML

@startuml
Bob -> Alice : Can you solve: <math>ax^2+bx+c=0</math>
Alice --> Bob: <math>x = (-b+-sqrt(b^2-4ac))/(2a)</math>
@enduml

to p.uml

In a JupyterLab notebook, I have this code cell

%%bash
plantweb --format auto p.uml

The generated p.svg does not shows beautiful math, it still shows the AsciiMath code:

p

But when I changed the code cell to

%%bash
plantweb --format png p.uml

the generated p.png looks beautifully formatted.
p

The --format auto and --format svg do not correctly format the AsciiMath and jLatexMath code.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions