Re: Mathex: Generating latex math from Pharo.
Posted by
Damien Cassou-2 on
Sep 07, 2015; 11:50am
URL: https://forum.world.st/Mathex-Generating-latex-math-from-Pharo-tp4848409p4848559.html
Hi Julien,
Julien Delplanque <
[hidden email]> 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.
--
Damien Cassou
http://damiencassou.seasidehosting.st"Success is the ability to go from one failure to another without
losing enthusiasm." --Winston Churchill