groff
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Groff] Tabular html output.


From: Larry Kollar
Subject: Re: [Groff] Tabular html output.
Date: Fri, 21 May 2004 13:58:06 -0400


Heinz-Jürgen Oertel wrote:

.... For tables, I've banged together an awk
script that converts a small subset of tbl to HTML, and *almost*
works....


Do you like to share this script ?
Would be really niche to have. We are almost using simple tables in some
marketing documents which have to life on paper and the www.

Sure. I just shook out a serious bug, so here's a copy that works with
the attached test file. :-) Use a pipe like this to build HTML:

        awk -f htbl.awk test.ms | groff -Thtml -ms >test.html

I hope this inspires some hacking among awk and other experts here....
--
Larry Kollar     k  o  l  l  a  r  @  a  l  l  t  e  l  .  n  e  t
Unix Text Processing: "UTP Revival"
http://home.alltel.net/kollar/utp/

Attachment: htbl.awk
Description: Binary data

Attachment: test.ms
Description: Binary data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]