Re: [Pharo-users] Pillar questions

2018-02-13 Thread Stephane Ducasse
You have a booklet
https://github.com/SquareBracketAssociates/Booklet-PublishingAPillarBooklet
it is about Pillar 70 (mainly about book publishing) all the rest is
compatible with Pillar 50.

Stef


On Tue, Feb 13, 2018 at 6:34 PM, Arturo Zambrano
 wrote:
> Hi Stef
>
> On Tue, Feb 13, 2018 at 2:18 PM, Stephane Ducasse 
> wrote:
>>
>> Hi arturo
>>
>> Pillar is based on templates so you edit the template and add more
>> variables.
>
>
> got it
>
>>
>> In pillar 5 these variables are metadata so you should add a new one
>> in the metadata declaration.
>> Let me know if you need some screen sharing or some help.
>
>
> I will play a bit and come back with more questions.
>
> I assume that this is the main documentation source
> https://ci.inria.fr/pharo-contribution/job/EnterprisePharoBook/lastSuccessfulBuild/artifact/book-result/PillarChap/Pillar.html
>
> If there is more documentation to read, please let me know.
>
> Thanks.
> Best Regards
>
>
>
>>
>> stef
>>
>> On Tue, Feb 13, 2018 at 4:21 PM, Arturo Zambrano
>>  wrote:
>> > Hi All,
>> >  Q1
>> >   Is there a way of adding page headers/footers in pillar?
>> >   header = image + short legend.
>> >   footer = line  + section name +  page number.
>> >
>> >   Q2
>> >My plan is to use Pillar programmatically, are you aware of some
>> > projects
>> > that use Pillar in that way?  Most of the documentation I found is
>> > regarding
>> > Pillar syntax.
>> >  The testcases are good examples, but I would like to see something more
>> > complex if possible.
>> >
>> >  Thanks!
>> > Arturo
>>
>



Re: [Pharo-users] Pillar questions

2018-02-13 Thread Arturo Zambrano
Hi Stef

On Tue, Feb 13, 2018 at 2:18 PM, Stephane Ducasse 
wrote:

> Hi arturo
>
> Pillar is based on templates so you edit the template and add more
> variables.
>

got it


> In pillar 5 these variables are metadata so you should add a new one
> in the metadata declaration.
> Let me know if you need some screen sharing or some help.
>

I will play a bit and come back with more questions.

I assume that this is the main documentation source
https://ci.inria.fr/pharo-contribution/job/EnterprisePharoBook/lastSuccessfulBuild/artifact/book-result/PillarChap/Pillar.html

If there is more documentation to read, please let me know.

Thanks.
Best Regards




> stef
>
> On Tue, Feb 13, 2018 at 4:21 PM, Arturo Zambrano
>  wrote:
> > Hi All,
> >  Q1
> >   Is there a way of adding page headers/footers in pillar?
> >   header = image + short legend.
> >   footer = line  + section name +  page number.
> >
> >   Q2
> >My plan is to use Pillar programmatically, are you aware of some
> projects
> > that use Pillar in that way?  Most of the documentation I found is
> regarding
> > Pillar syntax.
> >  The testcases are good examples, but I would like to see something more
> > complex if possible.
> >
> >  Thanks!
> > Arturo
>
>


Re: [Pharo-users] Pillar questions

2018-02-13 Thread Arturo Zambrano
On Tue, Feb 13, 2018 at 12:25 PM, Guillermo Polito <
guillermopol...@gmail.com> wrote:

> Hi,
>
>
>
> On Tue, Feb 13, 2018 at 4:21 PM, Arturo Zambrano <
> arturo.zambr...@gmail.com> wrote:
>
>> Hi All,
>>  Q1
>>   Is there a way of adding page headers/footers in pillar?
>>   header = image + short legend.
>>   footer = line  + section name +  page number.
>>
>
> In html generation or pdf generation?
>

any format, as I consider them an intermediate format
somehow, at end I will need Word document :(


>
> Usually all this is handled by the latex/html templates.
>

great!  thanks!.


>
>>
>>   Q2
>>My plan is to use Pillar programmatically, are you aware of some
>> projects that use Pillar in that way?  Most of the documentation I found is
>> regarding Pillar syntax.
>>  The testcases are good examples, but I would like to see something more
>> complex if possible.
>>
>
> There is ecstatic that is a little project that uses pillar programatically
>
> https://github.com/guillep/ecstatic/
>
> Otherwise, I'd recommend to use the latest pillar version in this branch:
>
> https://github.com/pillar-markup/pillar/tree/newpipeline
>
>

Thanks again Guillermo!

>
>>  Thanks!
>> Arturo
>>
>
>
>
> --
>
>
>
> Guille Polito
>
> Research Engineer
>
> Centre de Recherche en Informatique, Signal et Automatique de Lille
>
> CRIStAL - UMR 9189
>
> French National Center for Scientific Research - *http://www.cnrs.fr
> *
>
>
> *Web:* *http://guillep.github.io* 
>
> *Phone: *+33 06 52 70 66 13
>


Re: [Pharo-users] Pillar questions

2018-02-13 Thread Stephane Ducasse
Hi arturo

Pillar is based on templates so you edit the template and add more variables.
In pillar 5 these variables are metadata so you should add a new one
in the metadata declaration.
Let me know if you need some screen sharing or some help.

stef

On Tue, Feb 13, 2018 at 4:21 PM, Arturo Zambrano
 wrote:
> Hi All,
>  Q1
>   Is there a way of adding page headers/footers in pillar?
>   header = image + short legend.
>   footer = line  + section name +  page number.
>
>   Q2
>My plan is to use Pillar programmatically, are you aware of some projects
> that use Pillar in that way?  Most of the documentation I found is regarding
> Pillar syntax.
>  The testcases are good examples, but I would like to see something more
> complex if possible.
>
>  Thanks!
> Arturo



Re: [Pharo-users] Pillar questions

2018-02-13 Thread Guillermo Polito
Hi,



On Tue, Feb 13, 2018 at 4:21 PM, Arturo Zambrano 
wrote:

> Hi All,
>  Q1
>   Is there a way of adding page headers/footers in pillar?
>   header = image + short legend.
>   footer = line  + section name +  page number.
>

In html generation or pdf generation?

Usually all this is handled by the latex/html templates.


>
>   Q2
>My plan is to use Pillar programmatically, are you aware of some
> projects that use Pillar in that way?  Most of the documentation I found is
> regarding Pillar syntax.
>  The testcases are good examples, but I would like to see something more
> complex if possible.
>

There is ecstatic that is a little project that uses pillar programatically

https://github.com/guillep/ecstatic/

Otherwise, I'd recommend to use the latest pillar version in this branch:

https://github.com/pillar-markup/pillar/tree/newpipeline


>
>  Thanks!
> Arturo
>



-- 



Guille Polito

Research Engineer

Centre de Recherche en Informatique, Signal et Automatique de Lille

CRIStAL - UMR 9189

French National Center for Scientific Research - *http://www.cnrs.fr
*


*Web:* *http://guillep.github.io* 

*Phone: *+33 06 52 70 66 13


[Pharo-users] Pillar questions

2018-02-13 Thread Arturo Zambrano
Hi All,
 Q1
  Is there a way of adding page headers/footers in pillar?
  header = image + short legend.
  footer = line  + section name +  page number.

  Q2
   My plan is to use Pillar programmatically, are you aware of some
projects that use Pillar in that way?  Most of the documentation I found is
regarding Pillar syntax.
 The testcases are good examples, but I would like to see something more
complex if possible.

 Thanks!
Arturo


Re: [Pharo-users] pillar questions

2016-09-15 Thread Damien Pollet
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 
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  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/
>
>


Re: [Pharo-users] pillar questions

2016-09-15 Thread Serge Stinckwich
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  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/



[Pharo-users] pillar questions

2016-09-15 Thread Tudor Girba
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."