Re: [Pharo-users] Generate latex from Pharo

2015-05-22 Thread stepharo
stream := PROutputStream on: String new writeStream. configuration := PRCocoonConfiguration new. stream configuration: configuration. canvas := PRLaTeXCanvas on: stream. canvas raw: '$'. canvas command name: 'frac'; parameter: 'numerator'; parameter: 'denominator'. canvas raw: '$'. canvas flush

Re: [Pharo-users] Generate latex from Pharo

2015-05-17 Thread Julien Delplanque
Ok thank you :) On 17/05/15 21:18, Damien Cassou wrote: Julien Delplanque writes: Is there anything already done to generate code related to math environment? I would like messages like: Fraction>>asMathLatex that returns $\frac{numerator}{denominator}$. stream := PROutputStream on: Strin

Re: [Pharo-users] Generate latex from Pharo

2015-05-17 Thread Damien Cassou
Cyril Ferlicot writes: > http://smalltalkhub.com/#!/~Pier/Pillar > > "LaTeX embedding: LaTeX is very useful to write mathematical formulas > for example. It would be nice to be able to embed LaTeX formulas > inside a Pillar document and get these formulas fully exported. Org > mode does somethin

Re: [Pharo-users] Generate latex from Pharo

2015-05-17 Thread Damien Cassou
Julien Delplanque writes: > Is there anything already done to generate code related to math environment? > > I would like messages like: > > Fraction>>asMathLatex > > that returns $\frac{numerator}{denominator}$. stream := PROutputStream on: String new writeStream. configuration := PRCocoonConf

Re: [Pharo-users] Generate latex from Pharo

2015-05-17 Thread Cyril Ferlicot
http://smalltalkhub.com/#!/~Pier/Pillar "LaTeX embedding: LaTeX is very useful to write mathematical formulas for example. It would be nice to be able to embed LaTeX formulas inside a Pillar document and get these formulas fully exported. Org mode does something similar already." On 17 May 2015 a

Re: [Pharo-users] Generate latex from Pharo

2015-05-17 Thread Julien Delplanque
Oh ok :) Do you have this todo list online? On 17/05/15 12:19, Cyril Ferlicot wrote: Sorry but that's an item of the TODO list of Pillar. On 17 May 2015 at 11:25, Julien Delplanque wrote: Is there anything already done to generate code related to math environment? I would like messages like

Re: [Pharo-users] Generate latex from Pharo

2015-05-17 Thread Cyril Ferlicot
Sorry but that's an item of the TODO list of Pillar. On 17 May 2015 at 11:25, Julien Delplanque 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}$. > > Jul

Re: [Pharo-users] Generate latex from Pharo

2015-05-17 Thread Julien Delplanque
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 writes: From which package does these classes com

Re: [Pharo-users] Generate latex from Pharo

2015-05-17 Thread Damien Cassou
Julien Delplanque 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

Re: [Pharo-users] Generate latex from Pharo

2015-05-16 Thread Cyril Ferlicot
Pillar-ExporterLaTeX but they inherit from Pillar-ExporterCore I think On 16 May 2015 at 15:30, Julien Delplanque 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 ca

Re: [Pharo-users] Generate latex from Pharo

2015-05-16 Thread Julien Delplanque
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

Re: [Pharo-users] Generate latex from Pharo

2015-05-16 Thread Cyril Ferlicot
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 wrote: > Hi everyone, > > Is there any framework to generate latex