Login  Register

Re: Generate latex from Pharo

Posted by CyrilFerlicot on May 16, 2015; 2:00pm
URL: https://forum.world.st/Generate-latex-from-Pharo-tp4826739p4826761.html

Pillar-ExporterLaTeX but they inherit from Pillar-ExporterCore I think

On 16 May 2015 at 15:30, Julien Delplanque <[hidden email]> wrote:

> From which package does these classes come from?
>
>
> On 16/05/15 15:26, Cyril Ferlicot wrote:
>>
>> Hi,
>> I don't know if there is a framework but if you don't find you can
>> still take a look at the class PRLaTeXCanvas and PRLaTeXWriter from
>> Pharo. Maybe that'll help you to make something.
>>
>> On 16 May 2015 at 14:42, Julien Delplanque <[hidden email]> wrote:
>>>
>>> Hi everyone,
>>>
>>> Is there any framework to generate latex code from Pharo? I would like to
>>> give a latex representation to some objects so I can export the latex
>>> code
>>> to a file I would include to my latex main file (for example).
>>>
>>> For example for a matrix I would like to do something like:
>>>
>>> fileStream nextPutAll: myMatrix asLatex.
>>>
>>> to have something like:
>>>
>>> \begin{pmatrix}
>>>     1 & 2 \\
>>>     3 & 4
>>> \end{pmatrix}
>>>
>>>
>>> in the file.
>>>
>>> I used to do it with pylatex in Python and I wonder if something
>>> equivalent
>>> already exists in Pharo?
>>>
>>> Regards,
>>>
>>> Julien
>>
>>
>>
>
>



--
Cheers
Cyril Ferlicot