fletcher / peg-multimarkdown

An implementation of MultiMarkdown in C, using a PEG grammar - a fork of jgm's peg-markdown. No longer under active development - see MMD 5.
Other
523 stars 55 forks source link

ASCIIMathML #9

Closed fletcher closed 13 years ago

fletcher commented 13 years ago

I've really been trying to put a lot of thought into what to do with this. Key points:

  1. Most people don't use math in any fashion
  2. People who are more comfortable with LaTeX tend to use LaTeX for their math.
  3. A few people do use ASCIIMath to include simple formulas - I'm not sure how much goes to HTML and how much goes to LaTeX output.
  4. MMD 2 uses someone else's code to convert text to mathml, and then another person's work to convert mathml to latex.
  5. It would take a lot of work for me to rewrite this to be compatible MMD 3 natively.

So I welcome ideas, and will continue to think about a reasonable solution.

fletcher commented 13 years ago

Decided to go with a solution that allows LaTeX syntax in math mode, that can then be managed by MathJax if desired, or passed through to LaTeX if using that form of output.

See README for details and an example.

I don't anticipate adding ASCIIMathML support any more.

pkra commented 12 years ago

Just thought I'd mention that MathJax supports asciimathml now.

fletcher commented 12 years ago

Interesting..... I'll look into this over the next few days and see how I should best make use of this. Thanks for the tip!!

pkra commented 12 years ago

No problem. Let us know if you run into any problems.