Login  Register

Re: Generate latex from Pharo

Posted by CyrilFerlicot on May 17, 2015; 10:02am
URL: https://forum.world.st/Generate-latex-from-Pharo-tp4826739p4826830.html

Sorry but that's an item of the TODO list of Pillar.

On 17 May 2015 at 11:25, Julien Delplanque <[hidden email]> wrote:

> Is there anything already done to generate code related to math environment?
>
> I would like messages like:
>
> Fraction>>asMathLatex
>
> that returns $\frac{numerator}{denominator}$.
>
> Julien
>
>
> On 17/05/15 09:06, Damien Cassou wrote:
>>
>> Julien Delplanque <[hidden email]> writes:
>>
>>>   From which package does these classes come from?
>>
>> Gofer new
>>          smalltalkhubUser: 'Pier' project: 'Pillar';
>>          configurationOf: 'Pillar';
>>          load.
>>
>> (ConfigurationOfPillar project version: #stable) load: 'latex exporter'.
>>
>>
>> With this loaded, you now have 2 choices:
>>
>> - instantiate PRLaTeXCanvas and PROutputStream manually and use them, or
>>
>> - create a Pillar document and export it as LaTeX.
>>
>>
>> Continue asking questions here if you have more.
>>
>>
>
>



--
Cheers
Cyril Ferlicot