On Mon, Aug 12, 2002 at 12:18:59PM +0200, Jan Hidders wrote:
On Mon, Aug 12, 2002 at 01:11:14AM -0700, Toby Bartels wrote:
Jan Hidders wrote:
Toby Bartels wrote:
Jan Hidders wrote:
You intend to render [$...$] by calling LaTeX (possibly using a script to render simple things in other ways, but still ultimately to make LaTeX the arbiter of meaning), right?
Exactly. And these other ways could also be MathML, for example.
But now should I understand that you won't normally use it in an expression like [$x^2y = z_1$]; you'd write [$x^2$][$y$] = [$z_1$], and save the full power of LaTeX for the fancy stuff? That would keep people from trying [$x% = x/100$], mostly.
Ah, isn't communication wonderful if it works. :-) Actually I would even expect people to write [$x$]<sup>2</sup>[$y$]. However, if I'm honest I have to admit that my fingers would be itching to change that to [$x^2y = z_1$].
Hi,
regarding "%": I think we don't need TeX-comments in our formulas. We could just replace % by \percent{} before passing the input over to TeX.
regarding "simple style vs. complex formulas": I changed the parser of my proof-of-concept-code to first check whether the formula is "simple", that is only contains: digits, letters (small+capital), +-*/=(), ^, _, {} and blanks. If this is the case, the formula will be set as HTML using <sub> and <sup>.
An example can be seen at http://jeluf.mine.nu/jf/newcodebase/wiki.phtml?title=Triangle
I still use [[math: ... ]]-syntax, the code is prepared to also support [$ $], too. Before implementing this I wanted to wait for Lee's proposal for the future Wiki Markup Language.
Regards,
JeLuF