Closed baggepinnen closed 6 years ago
Aah, I agree that this is not a very desirable outcome. It looks like the problem is that the default output environment of a simple matrix like this is an latex array. These are really made for maths, and I'm not sure that it's what you really want. Have you tried to also specify the output environment env = :table
or env = :mdtable
?
Regardless, the defaults, or the error message should be updated.
latexify(topics, env=:mdtable, latex=false)
and
latexify(topics, env=:table, latex=false)
works well for me.
Would you say that it is sufficient to update the error message to reflect this? Tinkering with the defaults would have consequences for stuff like:
m = [ "x/y" "x_1"
"a/b" "c^2"]
latexify(m)
which really should be latexified and placed in an array.
Thanks, that does the trick here as well. An edit of the error message would be perfectly fine!
Im trying to latexify an array of strings, which Latexify complains about since they can not be parsed as latex math. The suggestion to add kwarg
latex=false
fails as well, saying thatlatex
is not a supported keyword argument