Bennett Todd <[EMAIL PROTECTED]> writes:

> My own personal favourite for archival format would be to stick with POD
> until and unless we can cons up something even Plainer than POD. I've
> got this dream that someday we'll be able to take something --- perhaps
> based on Damian's Text::Autoformat --- and use it to parse purely plain
> ASCII text, formatted nicely for screen display, with no markup at all,
> and garnish it with markup allowing it to be automatically translated
> into nice sexy HTML, or SGML according to various other DTDs, or XML, or
> POD, or the man or mandoc troff macros, or LaTeX, or whatever.

I've fiddled with this before and can do text to HTML; the rest is just a
question of picking different backends and shouldn't be *too* hard.  All
the heuristics for parsing text are inherently fragile, but if you follow
a standard text formatting style, it works reasonably well.

-- 
Russ Allbery ([EMAIL PROTECTED])             <http://www.eyrie.org/~eagle/>

Reply via email to