TreeView.jl icon indicating copy to clipboard operation
TreeView.jl copied to clipboard

LaTeX error thrown if function name contains an underscore

Open mroavi opened this issue 5 years ago • 3 comments

Minimal example:

using TreeView
@tree promote_type(Int64, Float64)
LabelledTree({3, 2} directed simple Int64 graph, Any[:promote_type, :Int64, :Float64])

! Missing $ inserted.
<inserted text> 
$
l.44 }
    ;

mroavi avatar Sep 24 '20 10:09 mroavi

Good catch. Hopefully it should be easy enough to fix. Would you like to make a PR?

dpsanders avatar Sep 24 '20 13:09 dpsanders

Sure. I'll give it a shot.

mroavi avatar Sep 24 '20 14:09 mroavi

Good catch. Hopefully it should be easy enough to fix. Would you like to make a PR?

Have you had a chance to look at the PR? Regards.

mroavi avatar Oct 20 '20 08:10 mroavi