Wim,
What''s happening is that Textile (or rather, RedCloth) is parsing the
math before jsmath gets a chance to do it''s thing. I use Markdown,
which has backslash escapes. So, for example, if I want:
$rb_k + b_e > c$
I need
$rb\_k + b\_e > c$
instead. Markdown will take out the backslashes, leaving the original
equation for jsmath to parse. I''m not sure how to escape properly in
Textile. While there''s a <notextile> tag, it converts things like
carats and equal signs into HTML entities, so it''s no-go for jsmath.
On 9/3/06, Wim van Dam <vandam at cs.ucsb.edu>
wrote:> Hi,
>
> I''m having troubles writing exponents using instiki and jsmath.
Even a
> simple equation like $2^4=4^2$ produces something wrong where the
''4=4''
> part gets raised and the second ''2'' is lowered. The HTML
that is
> produced does indeed say:
<p>$2<sup>4=4</sup>2$</p>.
> All other more complicated LaTeX instruction work fine, so it seems
> something specific to the $x^y$ code and how it apparently gets confused
> for the ^superscript^ command in plain text.
>
> Any pointers how I can avoid this problem?
--
mark larios
<http://raysend.com/mark/>