Le 21/06/2015 05:21, Hernán Morales Durand a écrit :
Hello,
I have experimented several dissapointing errors when working with updated Pillar tools. I am not doing anything special besides working under Windows.
Apparently the Pillar CommandLineHandler is not working because OSEnvironment exception (Windows 8.1). When executing
Pharo.exe Pillar.image export --to=html BioPharo.pier
The attached exception raises. This happens in all the images from:
https://ci.inria.fr/pharo-contribution/job/Pillar/PHARO=40,VERSION=stable,VM... Pharo4.0 (Latest update: #40614) https://ci.inria.fr/pharo-contribution/job/Pillar/PHARO=40,VERSION=developme... Pharo4.0 (Latest update: #40614) https://ci.inria.fr/pharo-contribution/job/Pillar/PHARO=50,VERSION=stable,VM... Pharo5.0 Latest update: #50124
Changing the method #baseDirectory to use %CD% environment variable doesn't fix it even when it works in command line:
c:\MySmalltalkProjects\Pillar\pharo-vm>echo %PWD% %PWD% c:\MySmalltalkProjects\Pillar\pharo-vm>echo %CD% c:\MySmalltalkProjects\Pillar\pharo-vm
The solution I found was to replace the OSEnvironment line with FileSystem workingDirectory as suggested at: https://pharo.fogbugz.com/f/cases/15356/Pillar-command-line-script-doesn-t-a...
About instructions given here
https://ci.inria.fr/pharo-contribution/job/EnterprisePharoBook/lastSuccessfu...
you do not need MinGW to export a Pier chapter. See here https://github.com/biosmalltalk/biopharo/blob/develop/doc/pier2tex.bat for an example
Hi! We know that Pillar is not easy to use on Windows and we need to improve that, but for now we have a lot of work to do with Pillar and not enough time to do it. Using MinGW is only a temporary solution.
Another (worst) situation happened when I wanted to convert a generated LaTeX to PDF. I had to remove all tables, annotations and notes from the .pier file because errors reported in pdfLaTeX .
For tables :
! Undefined control sequence.
l.176 \toprule
I'll try to take a look at that one. Can you send me a pillar file that raise this please ?
For notes (i.e. @@note )
! LaTeX Error: Environment note undefined.
See the LaTeX manual or LaTeX Companion for explanation.
Type H <return> for immediate help.
...
l.178 \begin{note}
Same here, can you send me a file because I never saw this error with @@note.
Finally generated PDF looks different from previous versions.
Previous Pillar version: https://github.com/biosmalltalk/biopharo/blob/develop/doc/BioPharo.pier.pdf
Current Pillar version (>= 0.56) : https://github.com/biosmalltalk/biopharo/blob/develop/doc/BioPharo.pdf
This one is normal. We changed the way extensions was generated because the previous way wasn't right. When we export a .tex to a .pdf we don't want to have a file .tex.pdf, so when we want to export a .pillar to a .tex we don't want to get a .pillar.pdf! So we changed that.
Now I am the only one generating PDF with Pillar in Windows?
I do it but I use some script with MinGW for now or I use Pillar directly from Pharo because the windows environment is not good for now.
Hernán
-- Cheers Cyril Ferlicot-Delbecque