Open jlapeyre opened 3 years ago
I don't know that I've tried printing a function in a juliaconsole.
I'm not familiar with the workings of the weave sandbox, but maybe you can overwrite Base.show(io::IO, ::MIME"image/svg+xml, f::Main.##WeaveSandBox#245.A())"
or similar?
Might also be worth asking a question on the Weave package github.
Well, this happens with any identifier: variable, function, whatever. It is qualified because the execution is in a kind of temporary namespace. I was hoping maybe you had seen it. I'll look into Weave. How to configure it in a way that works with building the book might be a chore. I will post here if I solve it.
Weave creates a kind of gensym module or namespace that pollutes the rendered latex
Renders as this:
Did you encounter this in your book? Is there a way around it?