Pillar used directly from Pharo
Posted by Jan Valášek on Apr 18, 2015; 5:23pm
URL: https://forum.world.st/Pillar-used-directly-from-Pharo-tp4820420.html
Hi there,
I'd like to ask you, whether is here a way to use pillar internally,
directly from Pharo and how to use it properly. I have found some
tutorials how to use it from linux/windows command prompt, however, I'd
prefer to call it in my program in pharo.
Something like this ->
-----------------------
header := pillarHeaderObject new. //creating pillar objects directly
from my program
header text:'Title of my page'.
aPillarDocument add: header. //adding them to the whole document
object
and finally
aPillarDocument exportToLatex. //export the document
----------------------
or I can just write the text in the pillar notation to "myTextObject"
and then call something like->
-------
pillarParseAndExportToLatex: myTextObject.
-------
Is here a way to do this?
Thanks for your help :-)
John.