Login  Register

Re: Mathex: Generating latex math from Pharo.

Posted by Julien Delplanque on Sep 08, 2015; 5:56pm
URL: https://forum.world.st/Mathex-Generating-latex-math-from-Pharo-tp4848409p4848889.html



On 08/09/15 16:36, Damien Cassou wrote:

> Julien Delplanque <[hidden email]> writes:
>
>> On 07/09/15 13:56, Damien Cassou wrote:
>>> Julien Delplanque <[hidden email]> writes:
>>>> (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.
> we could ask the Pillar users to write using Mathex directly so we don't
> have to write a LaTeX parser. The only remaining thing is to generate
> png pictures from Mathex objects for inclusion in HTML.
>
Oh yeah, it would be easier to set up I guess :)