Hi Michail, > > `groff -Z' produces that, doesn't it? See groff_out(5) for the > > format. > > Yes, but the question was about groff-like _library_.
Oh, sorry, I come from an OS where programs do one thing and do it well and get plumbed together. Can you not call out of your language to get groff to do the work as a separate process and then read its results? Cheers, Ralph.