Related question: if I understand correctly, TinyMCE only looks for LaTeX code within dollar signs. Is there some way to force a LaTeX evaluation (e.g., of \newcommand) within text mode?
Kiran On Aug 27, 10:49 pm, pong <[email protected]> wrote: > Is there a way to make TinyMCE recognize user-define macros? > > from sage.misc.latex import * > > latex.add_macro("\\newcommand{\\Rr}{\mathbb{R}}") > > %latex > $\Rr$ > > returns the blackboard face R. > > However, $\Rr$ in the TinyMCE editor produces Unknown control sequence > '\Rr' > > Need help. -- To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/sage-support URL: http://www.sagemath.org
