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

@latex with Rexpr errors

Open BeastyBlacksmith opened this issue 6 years ago • 2 comments
trafficstars

julia> @latex RExpr(:n)
ERROR: LoadError: Reduce: 
rexpr($$$;
at line 1

***** Too few right parentheses 

BeastyBlacksmith avatar Oct 25 '19 12:10 BeastyBlacksmith

Why do you want to use the @latex macro for that?

julia> latex(RExpr(:n))
"\\begin{displaymath}\nn\n\\end{displaymath}\n"

Probably better to just stick with a regular function call, since macro is not necessary for this.

chakravala avatar Oct 25 '19 12:10 chakravala

mainly I was playing around and found that error message confusing

BeastyBlacksmith avatar Oct 25 '19 12:10 BeastyBlacksmith