Re: [Groff] Troff to xml

2012-06-14 Thread Mike Bianchi
On Thu, Jun 14, 2012 at 01:53:14PM +0100, Ralph Corderoy wrote: > > When mentioning "the archives" please provide an URL, newbies and > > infrequent visitors (such as myself). > > Many mailing lists these days are using software that adds a bunch of > List-* headers, see RFC 2369, to the email, e.

Re: [Groff] Troff to xml

2012-06-14 Thread Ralph Corderoy
Hi Mike, > When mentioning "the archives" please provide an URL, newbies and > infrequent visitors (such as myself). Many mailing lists these days are using software that adds a bunch of List-* headers, see RFC 2369, to the email, e.g. List-Archive:

Re: [Groff] Troff to xml

2012-06-14 Thread Mike Bianchi
On Wed, Jun 13, 2012 at 07:41:11PM -0400, James K. Lowden wrote: > You may want to check the archives for a thread not long ago in the > same neighborhood, in particular > > From: Steve Izma > Date: Sat, 5 May 2012 21:25:50 -0400 > Subject: Re: [Groff] Eric Raymond on groff and

Re: [Groff] Troff to xml

2012-06-13 Thread James K. Lowden
On Wed, 13 Jun 2012 21:57:01 +0200 Pierre-Jean wrote: > Last but not least, I'm happy to learn about pic2plot, to > convert pic to svg. Does someone know if there's something > for tbl? You may want to check the archives for a thread not long ago in the same neighborhood, in particular

Re: [Groff] Troff to xml

2012-06-13 Thread Pierre-Jean
"Eric S. Raymond" wrote: > http://www.catb.org/~esr/doclifter/ You talked about doclifter a few weeks ago, and, sorry for that, but I thought it was not published - I don't exactly know why I had this idea... I should have say that I don't use ms nor other macro sets and need something to trans

Re: [Groff] Troff to xml

2012-06-13 Thread Eric S. Raymond
Pierre-Jean : > I'd like to share here some thoughts about the translation > of a troff file to xml. This is not, in my opinion, a very > difficult task, the problem is more that there's not one way > to do that, and so no standart way, and so a lot of partial > solutions. http://www.catb.org/~esr

Re: [Groff] Troff to XML

2008-02-21 Thread brian m. carlson
On Wed, Feb 20, 2008 at 10:07:16PM +0100, Pieter Verberne wrote: Could it be an option (or; is it possible) to make a Troff macro wich -is- convertable to XML. Or in other words: Is it possible to create a Troff macro wich is 'syntactic sugar'/'alternative syntax' for XML? Before I got swamped

Re: [Groff] Troff to XML

2008-02-20 Thread Meg McRoberts
A general answer -- sort of ;-) I was involved in some trial projects converting *roff text to sgml and xml. Automated scripts did a fairly decent job with some exceptions, like tables. We had to make some arbitrary decisions. For example, in *roff, we marked text as bold, italic, etc, but in t

Re: [Groff] Troff to XML

2008-02-20 Thread Werner LEMBERG
> Last days I've been thinking about if Troff (& Tex/LaTeX) could be > converted to XML without losing any information. [...] > > Is it possible to convert Troff macro's to XML (and back) in a > 'exact' way. Have a look at doclifter. http://catb.org/~esr/doclifter/ Werner