On Wed, Mar 6, 2013 at 4:13 PM, Tudor Girba <[email protected]> wrote:

> - How do I use it?
>

1/ write your document in a text file using Pier syntax (for an example
file, check https://github.com/DamienCassou/pier-cl/blob/master/Sample.pier)

2/ compile this document using a dedicated script (for an example, check
the download.sh and compile.sh scripts of
https://github.com/SquareBracketAssociates/PharoForTheEnterprise-english)

3/ enjoy your  HTML and PDF files


> - How are you generating the PDF?
>

I'm reusing the Pier->LaTeX converter of the Pier-Book project (with some
modifications related to the fact we have separate files as input and not a
whole book structure). The LaTeX and HTML converters have a notion of style
that let you decide what exactly you want to produce (e.g., the LaTeX
convertor can produce both standalone LaTeX and Square Bracket Associates'
LaTeX files). We can imagine that the HTML convertor could have 2 styles as
well, one to produce a single HTML page with the whole book, and another
style with one page per chapter.


-- 
Damien Cassou
http://damiencassou.seasidehosting.st

"Success is the ability to go from one failure to another without losing
enthusiasm."
Winston Churchill

Reply via email to