On Tue, Sep 15, 2015 at 2:18 AM, Ferlicot D. Cyril <cyril.ferli...@gmail.com> wrote: > Le 14/09/2015 19:24, Ben Coman a écrit : >> >> Thanks Peter. >> >> It would be nice if Pillar was more flexible in this regard. For > Hi :) > > With the version 1.0.0 of Pillar you have the possibility to use > "outputDirectory" and the "support" parameters. > The first will will generate the files into a new folder and the second > will copy a list of files if the outputDirectory ~= baseDirectory. > > You can take a look at the documentation of EnterprisePharo (don't > forget to take the last version for Pillar 1.0.0 or later: > https://ci.inria.fr/pharo-contribution/view/Books/job/EnterprisePharoBook/lastSuccessfulBuild/artifact/book-result/PillarChap/Pillar.html).
Thanks. Thats a good read. Its been a while since I was using Pillar. I can't remember exact features then but there seems to have been massive progress with lots of new nice features... * Sub/super-scripts * Unique text alignment per table cell - markdown seems only to align whole columns * Link syntax for internal, neighbouring-file, external-url seems balanced and logical * Script line numbers, MmmMmmm * Templating * Generating part of the document with a Smalltalk script. Wow! Bingo! Just what I've been dreaming of. Now do you think maybe this might be used to open a UI Tool (e.g. SystemBrowser) and generate a screen snapshot to png file on disk, that can be included as a Figure ??? Perhaps even able to process tapes from EventRecorder? http://lists.pharo.org/pipermail/pharo-dev_lists.pharo.org/2015-January/104701.html One query... * In "5.2. Configuration parameters" I see support - I am a collection of support files [...] will get copied inside the outputDirectory folder. Does this support copying a whole folder to be a folder in outputDirectory. For example the "theme" folder in Ecstatic ? Some minor feedback on PillarChap doc... * In part "3.8 Pictures", consider leaving the colon off the end of this line... To include a picture, use the syntax +caption>file://filename|parameters+: since it confused me for a moment whether it was part of the syntax. * Minor grammatical correction... A slide end at the beginning of an other slide or at the end of the document. A slide ends at the beginning of another slide or at the end of the document. Now I'm a bit late to the party following 1.0.0 release, but I have one criticism and one enhancement suggestion... * The syntax @@subscript@@ is very close to @@annotation. I wonder if something like ,,subscript,, might have been a better choice. I don't see many double commas anywhere (except data), and if some text needs to display such data, requiring a space between commas is probably not too onerous. * In "3.9.1. Script with a label or caption", since the link syntax is used, possibly using the anchor syntax would feel more consistent. That is... [[[@script1|caption=... rather than... [[[label=script1|caption=... Great work with Pillar guys. > > You can also check the configuration of Enterprise Pharo or PharoMooc to > get a concrete example. > (https://github.com/SquareBracketAssociates/EnterprisePharo/blob/master/pillar.conf > -- > https://github.com/SquareBracketAssociates/PharoMooc/blob/master/pillar.conf) > > > Ecstatic doesn't use that for now because we don't have the time to > update it but Pillar can do it. So if I want to add the following to Ecstatic's pillar.conf {... "baseDirectory" : "_srcsite", "outputDirectory" : ".", ...} it won't get automatically passed through to Pillar? I'll need to work out how to get them to Pillar myself? Am I correct to assume Ecstatic is using Pillar 1.0.0? since Monticello shows the latest Configuration is loaded in the image. cheers -ben > >> background, I am looking into Ecstatic to generate a static web site >> from Pillar files hosted on GitHub Pages. This is constrained to >> serve html files out of the base directory of the branch tagged >> "gh-pages". So I want to generate html files into the root folder, >> from pillar files in a subdirectory "_sitesrc". >> >> I have got as far as getting interested in this line... >> PrExportPhase>>writeAll:using: >> ... outputFile := (file relativeTo: self configuration >> baseDirectory) withExtension: aWriter fileExtension. >> >> [1] https://help.github.com/articles/user-organization-and-project-pages/ >> >> cheers -ben >> > > > -- > Cheers > Cyril >