Trying to render an expression that contains symbols generated with gensym() gives a LaTeX error because of the # character in those symbols. Minimal example:
expr = Expr(gensym())
walk_tree(expr)
produces:
! Illegal parameter number in definition of \pgfutil@reserved@a.
<to be read again>
2
l.13 }
;
Error saving as SVG
LaTeX error
Would it be worth just replacing # with another character for now?
This is actually an upstream bug in TikzGraphs: https://github.com/sisl/TikzGraphs.jl/issues/12 but I figured you might run into it here anyway.
Trying to render an expression that contains symbols generated with
gensym()
gives a LaTeX error because of the#
character in those symbols. Minimal example:produces:
Would it be worth just replacing
#
with another character for now?