> On Mar 20, 2017, at 5:48 PM, Steve Graham <[email protected]> > wrote: > > I have started to write a book on programming using various languages to > illustrate different concepts. My plan has been to use orgmode's babel to > produce the book because it enables you to actually execute code within a > document and see the output -- either in the document or in a file -- and to > publish the document. > > I've also been reading about Pollen and have seen some videos of Matthew > discussing Racket and Pollen and Beautiful Racket. Other than that I don't > know anything about Pollen. > > Finally I would like to publish it in 3 formats: Paperback, pdf and Kindle. > > What are your thoughts about using orgmode versus Pollen for this project?
I've never used orgmode, so no comparative opinion there. A Kindle is a fancy set of HTML pages, so that seems doable. PDF is a precursor to paperback, so assuming you're satisfied with LaTeX output, that seems doable (again, I yield to Joel Dueck on these matters, who is on the cutting edge) The evaluation part ... hmm. With Beautiful Racket I used pygments for all the syntax highlighting, which pipes code to a python process and gets a result. Similarly, you could make Pollen functions that send their input to an external process and then pop in the result. Don't know if the speed would be acceptable, but you could cache the results of these eval blocks, SMOP, etc. Probably the best way to compare them is to put together a short sample and see which you prefer. -- You received this message because you are subscribed to the Google Groups "Pollen" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
