Hi doru
Hi Stef,
I started from the Pharo image and now we have an editor that is working reasonably well inside Pharo. I will send more details shortly. Cool This means that I do not have to edit the book somewhere else, and this also means that I can run the generation from inside Pharo, too. Nice. So, the next step is to trigger the visitors to generate the book from within Pharo without relying on the command line. If we can manage that, I think that we should extract the commandline code into a separated object. I wanted to do that but I decided that I'm not allowed to start something new now. I wanted to generated also all the magritte black magic accessors so that we do not rely on DNU. my guess is that the command line related logic will become simpler and more debuggable. I wanted to replace some unix commands by some pharo code snippet (because I can debug FileReference) but same reason as above (finish first three tasks before starting a new one).
Stef
Cheers, Doru
On Oct 9, 2016, at 8:03 PM, stepharo <stepharo@free.fr> wrote:
I tried to add a title to a book
{ "title":"Learning Programming with Pharo", "newLine":#unix, "configurations": { "LaTeX" : { "outputType":#'latex:sbabook', "separateOutputFiles":true }, "HTML" : { "outputType":#html, "separateOutputFiles":true } } }
did not work :(
{ "title":"Learning Programming with Pharo" }
!!Compilation
${inputFile:Chapters/Chapter1/chapter1.pillar}$
!!Edition and Templates
${inputFile:Chapters/Chapter2/chapter2.pillar}$
+>figures/pharo.png|width=30+ +>figures/rmod.png|width=30+
did not work :(
No idea how to debug i t sadly.
Stef
Le 9/10/16 à 19:42, stepharo a écrit :
Hi
Is there anybody maintaining Pillar?
I did
wget https://raw.githubusercontent.com/pillar-markup/pillar/master/download.sh
chmod +x download.sh
./download.sh
./pillar archetype book
ogrammingArchetype make pdf git submodule update --init --recursive mkdir -p ./build ln -fs ../support ./build support/latex/sbabook/gitinfo2.sh > build/gitHeadLocal.gin /bin/sh: support/latex/sbabook/gitinfo2.sh: Permission denied make: *** [build/gitHeadLocal.gin] Error 126
I have no idea how to fix it.
in the past I removed this git version script because it was going in my way.
Stef
-- www.tudorgirba.com www.feenk.com
"Problem solving efficiency grows with the abstractness level of problem understanding."