[haiku] Re: reStructuredText

  • From: pete.goodeve@xxxxxxxxxxxx
  • To: haiku@xxxxxxxxxxxxx
  • Date: Thu, 7 Jul 2016 23:10:18 -0700

On Fri, Jul 08, 2016 at 05:08:29PM +1200, Richie Nyhus-Smith wrote:


I think, as with DocUtils, it doesn't generate PDF directly but rather
outputs LaTeX as well. I just don't muck about with LaTeX, and think of the
produced LaTeX file, in this case, to be more like that intermediate object
file step between source and linked executable in compiled languages.

Yes.  I did some browsing, and that's exactly what it does.  I've stayed
away from LaTeX for many years.  I think my last brush was installing Tom
Rokicki's version on my Amiga!.  A bit too "heavyweight" for me, I guess.
Might be worth playing again.


There is also compile-time option to use rst2pdf instead of LaTeX, which
uses the open source version of ReportLab to generate PDF files directly.

https://github.com/rst2pdf/rst2pdf
https://bitbucket.org/rptlab/reportlab

I found that too this afternoon.  Unfortunately my attempt to install it
-- unlike with DocUtils -- was not at all smooth (:-()  First of all, although
the docs didn't mention it, setup.py immediately wanted setuputils.
Fortunately that is on HaikuDepot, but -- again unmentioned -- running
setup.py spent ages dowloading other packages, and finally failed
becaus it "couldn't find" zlib and freetype!  I guess some configuration
in missing, but at the moment I'm not motivated to track it down.

        -- Pete --

Other related posts: