Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Drafts of several books about Pharo and related packages
TeX CSS Shell Other
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
MigratedToOtherPlaces
ParseTreeRewriter
PierSample
RewriteTool
Seamless
_support
.gitignore
.latexmkrc
.travis.yml
QuestionForMCassou.md
README.md
compile.sh
compileLintToHTML.bat
download.sh
pillar.conf
update.sh

README.md

Pharo for the Enterprise (english version) Build Status Build Status

An experiment of writing a book with the Pier syntax using plain-text editors.

This book is continuously built on an Inria Jenkins server.

How to write a book

This book is written in Pillar markup. If you are not familiar with it please check the pillar-documentation.

Generating the book

First of all you have to run ./download.sh to obtain the Pillar executable that does all the job.

To generate your book execute ./compile.sh. If you want to generate only one chapter, pass the file's path to the script: ./compile.sh Example/Example.pillar. If you have pdflatex installed and available in your system's PATH, the script will also generate pdf files.

Adding a chapter

To add a chapter create a directory for it (named, e.g., Example) and put there a .pillar file (named, e.g., Example.pillar) which will contain the chapter itself. Put images in the figures subdirectory of the new chapter directory.

Add your chapter to:

  • pillar.conf in the inputFiles array as: "Example/Example.pillar", and
  • _support/templates/book.latex.template in \graphicspath as {Example/}

Caveats

  • You must neither use spaces nor underscores (_) in file names.

Tools

There are mods/bundles/packages for text editors, that provide improvements for pillar files editing:

Something went wrong with that request. Please try again.