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 <julien@tamere.eu> 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