pillar questions

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

pillar questions

Tudor Girba-2
Hi,

I see that in the new book template, we have both a book.pillar that includes the chapter files, and a pillar.conf that is mostly empty. Is pillar.conf still used? If yes, what should it contain?

If I embed the chapters in a book.pillar and I render the whole book, the numbering of the second chapter starts from 1 (instead of 2) when I render in html. Any idea how to do it differently?

Cheers,
Doru


--
www.tudorgirba.com
www.feenk.com

"Yesterday is a fact.
 Tomorrow is a possibility.
 Today is a challenge."





Reply | Threaded
Open this post in threaded view
|

Re: pillar questions

SergeStinckwich
Maybe you should have a look to Enterprise Pharo book pillar template ?
https://github.com/SquareBracketAssociates/EnterprisePharo

But apparently I'm not able to compile last version ...
make book fails



On Thu, Sep 15, 2016 at 2:06 PM, Tudor Girba <[hidden email]> wrote:

> Hi,
>
> I see that in the new book template, we have both a book.pillar that includes the chapter files, and a pillar.conf that is mostly empty. Is pillar.conf still used? If yes, what should it contain?
>
> If I embed the chapters in a book.pillar and I render the whole book, the numbering of the second chapter starts from 1 (instead of 2) when I render in html. Any idea how to do it differently?
>
> Cheers,
> Doru
>
>
> --
> www.tudorgirba.com
> www.feenk.com
>
> "Yesterday is a fact.
>  Tomorrow is a possibility.
>  Today is a challenge."
>
>
>
>
>



--
Serge Stinckwich
UCBN & UMI UMMISCO 209 (IRD/UPMC)
Every DSL ends up being Smalltalk
http://www.doesnotunderstand.org/

Reply | Threaded
Open this post in threaded view
|

Re: pillar questions

Damien Pollet-2
I've been cleaning the book archetype's makefile this afternoon. I suspect there is no list of chapters because the example is quite minimal. Enterprise Pharo was the one Thibault and Yann worked with, so I need to compare with it.

The recent work on pillar was about removing superfluous responsabilities and moving it towards a simpler markup renderer. Chapter numbering is a global information, which is OK in LaTeX because it can be computed by TeX during its compilation pass; however HTML chapters are just generated one for one following the pillar files.

On 15 September 2016 at 15:09, Serge Stinckwich <[hidden email]> wrote:
Maybe you should have a look to Enterprise Pharo book pillar template ?
https://github.com/SquareBracketAssociates/EnterprisePharo

But apparently I'm not able to compile last version ...
make book fails



On Thu, Sep 15, 2016 at 2:06 PM, Tudor Girba <[hidden email]> wrote:
> Hi,
>
> I see that in the new book template, we have both a book.pillar that includes the chapter files, and a pillar.conf that is mostly empty. Is pillar.conf still used? If yes, what should it contain?
>
> If I embed the chapters in a book.pillar and I render the whole book, the numbering of the second chapter starts from 1 (instead of 2) when I render in html. Any idea how to do it differently?
>
> Cheers,
> Doru
>
>
> --
> www.tudorgirba.com
> www.feenk.com
>
> "Yesterday is a fact.
>  Tomorrow is a possibility.
>  Today is a challenge."
>
>
>
>
>



--
Serge Stinckwich
UCBN & UMI UMMISCO 209 (IRD/UPMC)
Every DSL ends up being Smalltalk
http://www.doesnotunderstand.org/