Re: Generate latex from Pharo
Posted by
Julien Delplanque on
May 17, 2015; 9:08am
URL: https://forum.world.st/Generate-latex-from-Pharo-tp4826739p4826822.html
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.
>
>