Re: [Pharo-users] Pillar book makefile or template is broken.

2016-10-09 Thread Damien Pollet
On 9 October 2016 at 21:59, Damien Pollet wrote: > Might be that pillar archetype doesn't do a git clone but some kind of > archive extraction wait no… sbabook is a submodule, so it's like git clone :|

Re: [Pharo-users] Pillar book makefile or template is broken.

2016-10-09 Thread Damien Pollet
On 9 October 2016 at 21:52, stepharo wrote: > I did a clean install. So I imagine that it should break on other machines > too. Might be that pillar archetype doesn't do a git clone but some kind of archive extraction… I know github and zip files have limitations with that

Re: [Pharo-users] Pillar book makefile or template is broken.

2016-10-09 Thread stepharo
Ok thanks! I will try tomorrow. Stef Le 9/10/16 à 21:29, Damien Pollet a écrit : On 9 October 2016 at 20:03, stepharo > wrote: I tried to add a title to a book { "title":"Learning Programming with Pharo", I think I tried with { "metadata": { "titl

Re: [Pharo-users] Pillar book makefile or template is broken.

2016-10-09 Thread stepharo
Le 9/10/16 à 21:23, Damien Pollet a écrit : On 9 October 2016 at 19:47, stepharo > wrote: - chmod +x support/latex/sbabook/gitinfo2.sh Now I have no idea where I should add this command. That should be versioned as part of sbabook. On my machine when I ch

Re: [Pharo-users] Pillar book makefile or template is broken.

2016-10-09 Thread Damien Pollet
On 9 October 2016 at 20:03, stepharo wrote: > I tried to add a title to a book > > { > "title":"Learning Programming with Pharo", > I think I tried with { "metadata": { "title": "bleb" } } in the book.pillar and that worked. No clue why the one from the conf is not inherited anymore.

Re: [Pharo-users] Pillar book makefile or template is broken.

2016-10-09 Thread Damien Pollet
On 9 October 2016 at 19:49, stepharo wrote: > Are the files in Chapters automatically added to the pillar.conf? > No, they don't have to be in it. The main file includes them. > Does it mean that all the files should be always compiling? > Yes, only the whole-book compilation works for now. P

Re: [Pharo-users] Pillar book makefile or template is broken.

2016-10-09 Thread stepharo
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, t

Re: [Pharo-users] Pillar book makefile or template is broken.

2016-10-09 Thread Damien Pollet
On 9 October 2016 at 19:47, stepharo wrote: > - chmod +x support/latex/sbabook/gitinfo2.sh > > Now I have no idea where I should add this command. > That should be versioned as part of sbabook. On my machine when I check it out it's executable, and apparently it's harder to make git ignore file

Re: [Pharo-users] Pillar book makefile or template is broken.

2016-10-09 Thread Tudor Girba
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. 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. So, the ne

Re: [Pharo-users] Pillar book makefile or template is broken.

2016-10-09 Thread stepharo
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 } }

Re: [Pharo-users] Pillar book makefile or template is broken.

2016-10-09 Thread stepharo
Are the files in Chapters automatically added to the pillar.conf? Because the pillar.conf is just { "title":"Book title", "newLine":#unix, "configurations": { "LaTeX" : { "outputType":#'latex:sbabook', "separateOutputFiles":true }, "HTML" : { "outputType":#ht

Re: [Pharo-users] Pillar book makefile or template is broken.

2016-10-09 Thread stepharo
- chmod +x support/latex/sbabook/gitinfo2.sh Now I have no idea where I should add this command. Then how can I modify the makefile and version it in my version of the book ? Should I just add Makefile to my git repo? Stef Le 9/10/16 à 19:42, stepharo a écrit : Hi Is there anybody maint