On 21/09/15 15:40, Damien Cassou wrote:
Julien Delplanque <jul...@tamere.eu> writes:
- Greek letters are defined as globals: Alpha, Beta, ...
instead of "polluting" the global namespace, you might want to let your
users write:
#alpha asMathex
Yep but I think the notation is nicer with '(Alpha index: $i) equal:
Beta' than with '(#alpha asMathex index: $i) equal: #beta asMathex' and
also lighter... But ok there is the cost of polluting globals...
* Have a preview of the compiled LaTeX code using pdflatex
you launch pdflatex from Pharo? Does it work on Windows? How do you know
when pdflatex is finished compiling? How do you get the exit status of
pdflatex?
Pillar wanted the same. But we only managed to let Pillar generate a
bash script that must be executed to launch pdflatex.
Yes I launch pdflatex from Pharo using OSProcess and for now it is very
weak, the call to pdflatex
block the vm until pdflatex finished its job. The exit status is not
checked yet.
I will try to enhance it for the next release. The enhancement consist in:
- Create the pdf asynchronously (with a little animation in GT-Spotter
till the preview is ready).
- To check the compilation status, I think I will use a regex to verify
the output of pdflatex.
Julien