On 07/09/15 13:56, Damien Cassou wrote:
Hi Julien,

Julien Delplanque <jul...@tamere.eu> writes:

Hi everyone,

Some time ago, I asked for a framework that would allow me to write
valid latex math from Pharo
(in a similar way that I used to do with pylatex in Python) see the
thread here:
http://forum.world.st/Generate-latex-from-Pharo-td4826739.html.
  From now, it does not support all the possible math commands of latex
but you can already do things like:

(Phi equal: ((1 asMathex + 5 asMathex sqrt) // 2)) equation asString.

and get:

\begin{equation}
\phi=\frac{ 1 +\sqrt{ 5 }}{ 2 }\end{equation}

I think that's great news! One of Pillar's feature requests is to let
users write LaTeX (e.g., formulas) in their pillar document and get nice
results in all exports (LaTeX, HTML, ePub...):
https://github.com/pillar-markup/pillar/issues/18. I'm not sure how this
request fits in your work, but there might be some intersection.

I guess if a latex math parser is created, it is possible to use objects
from Mathex to represent an equation as Mathex objects.

After that the translation to html should be easy.

Maybe I'll give a try if I have some time.

Julien

Reply via email to