ASKSAGE: Sage Q&A Forum - RSS feedhttps://ask.sagemath.org/questions/Q&A Forum for SageenCopyright Sage, 2010. Some rights reserved under creative commons license.Sun, 17 Jul 2011 16:29:35 +0200Variables in TinyMCEhttps://ask.sagemath.org/question/8232/variables-in-tinymce/Hello,
Is there any way to fetch Sage variables from TinyMCE? This would be useful to display results of computations inline with formatted text.Sat, 16 Jul 2011 18:53:41 +0200https://ask.sagemath.org/question/8232/variables-in-tinymce/Answer by John Palmieri for <p>Hello,</p>
<p>Is there any way to fetch Sage variables from TinyMCE? This would be useful to display results of computations inline with formatted text.</p>
https://ask.sagemath.org/question/8232/variables-in-tinymce/?answer=12521#post-id-12521This is not a good answer, but instead of TinyMCE, you can use a LaTeX cell: first, define `a` to be something, and then in a plain Sage notebook cell (not a TinyMCE cell):
%latex
The value of $a$ is $\sage{a}$.
Sat, 16 Jul 2011 20:29:37 +0200https://ask.sagemath.org/question/8232/variables-in-tinymce/?answer=12521#post-id-12521Comment by Eviatar Bach for <p>This is not a good answer, but instead of TinyMCE, you can use a LaTeX cell: first, define <code>a</code> to be something, and then in a plain Sage notebook cell (not a TinyMCE cell):</p>
<pre><code>%latex
The value of $a$ is $\sage{a}$.
</code></pre>
https://ask.sagemath.org/question/8232/variables-in-tinymce/?comment=21464#post-id-21464Ah, thank you.Sun, 17 Jul 2011 16:29:35 +0200https://ask.sagemath.org/question/8232/variables-in-tinymce/?comment=21464#post-id-21464