Login  Register

Generate latex from Pharo

Posted by Julien Delplanque on May 16, 2015; 12:26pm
URL: https://forum.world.st/Generate-latex-from-Pharo-tp4826739.html

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