> What is the easiest way to create PDF files from Haskell? It might depend on what you want to do ..
I often create pdf reports from my Haskell programs (simulations) with text and graphs. I cheat a bit and use Haskell to automatically create latex documents, and use gnuplot (there's a helper app on Hackage) for the graphs. I then run .. makeLatexDocumentM :: [Tableau] -> IO ExitCode makeLatexDocumentM ts = do doc <- genLatex ts writeFile "latex.tex" doc system "pdflatex latex.tex > /dev/null" .. which creates the pdf file. Perhaps a bit of a hack but it works for me. Tom On Monday 31 May 2010 22:01, Jim Tittsler wrote: > What is the easiest way to create PDF files from Haskell? Is gtk2hs's > PDF output the preferred way? > _______________________________________________ > Haskell-Cafe mailing list > Haskell-Cafe@haskell.org > http://www.haskell.org/mailman/listinfo/haskell-cafe _______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe