9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* Re: [9fans] [off topic] HTML to PostScript?
       [not found] <1111306366@snellwilcox.com>
@ 2003-07-30 16:38 ` steve.simon
  2003-07-30 16:52   ` [9fans] [even more off topic] 'The Practice of Programming' & troff Jack Johnson
  0 siblings, 1 reply; 9+ messages in thread
From: steve.simon @ 2003-07-30 16:38 UTC (permalink / raw)
  To: 9fans

[-- Attachment #1: Type: text/plain, Size: 42 bytes --]

Sorry, yes, mind on other things

-Steve

[-- Attachment #2: Type: message/rfc822, Size: 947 bytes --]

From: 9fans@cse.psu.edu
To: 9fans@cse.psu.edu
Subject: Re: [9fans] [off topic] HTML to PostScript?
Date: Wed, 30 Jul 2003 17:29:13 +0100
Message-ID: <1111306366@snellwilcox.com>

steve.simon@snellwilcox.com wrote:
> 	generate_raw_data | awk 'prog to manipulate data' |
> 		awk 'turn data into tbl/MS macros' |
> 		tbl |
> 		ms2html > report.ps

Wouldn't that be troff instead of ms2html?

Or:

	generate_raw_data | awk 'prog to manipulate data' |
		awk 'turn data into simple HTML' |
		html2ms | troff > report.ps

?

(going from the 30s of Google research -- sorry for any obvious ignorance)

-Jack


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [9fans] [even more off topic] 'The Practice of Programming' & troff
  2003-07-30 16:38 ` [9fans] [off topic] HTML to PostScript? steve.simon
@ 2003-07-30 16:52   ` Jack Johnson
  2003-07-30 16:58     ` andrey mirtchovski
  0 siblings, 1 reply; 9+ messages in thread
From: Jack Johnson @ 2003-07-30 16:52 UTC (permalink / raw)
  To: 9fans

 From http://troff.org/pubs.html#tpop

"This book was typeset (grap|pic|tbl|eqn|troff -mpm) in Times and Lucida
San[s] Typewriter by the authors."

Just for trivia's sake, does anyone know (hi, Rob!) if this book was
typeset on Plan 9?

There's an interview with Brian at Linux Journal:

http://www.linuxjournal.com/article.php?sid=7035

and I noticed interviewers often ask him about C vs. Pascal, but rarely
(if ever) about troff vs. TeX.

-Jack

P.S.
I spent some quality time with awk for the first time last Friday
(converting some ugly one-off bash shell scripts) and couldn't have been
more pleased with the results, so this thread is a kind of harmonic
convergence of unrelated incidents and interests for me.



^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [9fans] [even more off topic] 'The Practice of Programming' & troff
  2003-07-30 16:52   ` [9fans] [even more off topic] 'The Practice of Programming' & troff Jack Johnson
@ 2003-07-30 16:58     ` andrey mirtchovski
  0 siblings, 0 replies; 9+ messages in thread
From: andrey mirtchovski @ 2003-07-30 16:58 UTC (permalink / raw)
  To: 9fans

On Wed, 30 Jul 2003, Jack Johnson wrote:

> There's an interview with Brian at Linux Journal:
>
> http://www.linuxjournal.com/article.php?sid=7035
>

He talks about all the different operating systems he uses, and
mentions that at Bell-Labs it's IRIX. I fing it strange, because
I have put on the web his README for beginner Plan 9 users:

	http://pages.cpsc.ucalgary.ca/~mirtchov/p9/README.html

Or maybe it isn't strange  -- the README was written in 1995 after
all.



^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [9fans] [off topic] HTML to PostScript?
  2003-07-30 15:55 Aharon Robbins
  2003-07-30 16:21 ` Jack Johnson
@ 2003-08-04  8:59 ` GBA
  1 sibling, 0 replies; 9+ messages in thread
From: GBA @ 2003-08-04  8:59 UTC (permalink / raw)
  To: 9fans

Aharon Robbins wrote:
> Can anyone suggest open source/freeware/GPL tools that convert HTML
> to postscript?  I'm looking for something that's a modern tbl/nroff
> equivalent for simple reporting needs, even in a Unix type environment.
> E.g.,
>
> 	generate_raw_data | awk 'prog to manipulate data' |
> 		awk 'turn data in simple HMTL' |
> 		magic_program_here > report.ps
>
> Thanks,
>
> Arnold Robbins
htmldoc.
http://www.easysw.com/htmldoc/

As of yet doesn't fully support HTML 4.0, but if you aren't trying to be
fancy, it shoulden't matter.

-Jeff Avila


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [9fans] [off topic] HTML to PostScript?
  2003-07-30 16:29   ` Jack Johnson
@ 2003-07-30 17:09     ` rog
  0 siblings, 0 replies; 9+ messages in thread
From: rog @ 2003-07-30 17:09 UTC (permalink / raw)
  To: 9fans

> 		html2ms | troff > report.ps

actually

	html2ms | troff | lp -d stdout > report.ps

is probably slightly more accurate.



^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [9fans] [off topic] HTML to PostScript?
  2003-07-30 16:14 ` [9fans] [off topic] HTML to PostScript? steve.simon
@ 2003-07-30 16:29   ` Jack Johnson
  2003-07-30 17:09     ` rog
  0 siblings, 1 reply; 9+ messages in thread
From: Jack Johnson @ 2003-07-30 16:29 UTC (permalink / raw)
  To: 9fans

steve.simon@snellwilcox.com wrote:
> 	generate_raw_data | awk 'prog to manipulate data' |
> 		awk 'turn data into tbl/MS macros' |
> 		tbl |
> 		ms2html > report.ps

Wouldn't that be troff instead of ms2html?

Or:

	generate_raw_data | awk 'prog to manipulate data' |
		awk 'turn data into simple HTML' |
		html2ms | troff > report.ps

?

(going from the 30s of Google research -- sorry for any obvious ignorance)

-Jack



^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [9fans] [off topic] HTML to PostScript?
  2003-07-30 15:55 Aharon Robbins
@ 2003-07-30 16:21 ` Jack Johnson
  2003-08-04  8:59 ` GBA
  1 sibling, 0 replies; 9+ messages in thread
From: Jack Johnson @ 2003-07-30 16:21 UTC (permalink / raw)
  To: 9fans

Aharon Robbins wrote:
> Can anyone suggest open source/freeware/GPL tools that convert HTML
> to postscript?

As a tangent, Adobe Acrobat does a pretty decent job of HTML->PDF.
Sometimes I think it does a better layout/rendering job than some of the
browsers.

I wonder, if we had an HTML->PS utility, could we use some variation of
'page' as a Web browser (sans active content)?  Maybe listing links from
the page in a menu as if they were separate pages in the document, and
then doing another set of fetches, rerendering, etc?

-Jack



^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [9fans] [off topic] HTML to PostScript?
       [not found] <2767366193@snellwilcox.com>
@ 2003-07-30 16:14 ` steve.simon
  2003-07-30 16:29   ` Jack Johnson
  0 siblings, 1 reply; 9+ messages in thread
From: steve.simon @ 2003-07-30 16:14 UTC (permalink / raw)
  To: 9fans

[-- Attachment #1: Type: text/plain, Size: 214 bytes --]

How about

	generate_raw_data | awk 'prog to manipulate data' |
		awk 'turn data into tbl/MS macros' |
		tbl |
		ms2html > report.ps

admittedly ms2html is Plan9 specific (uses libc/bio not stdio).

-Steve

[-- Attachment #2: Type: message/rfc822, Size: 874 bytes --]

From: 9fans@cse.psu.edu
To: 9fans@cse.psu.edu
Subject: [9fans] [off topic] HTML to PostScript?
Date: Wed, 30 Jul 2003 16:55:49 +0100
Message-ID: <2767366193@snellwilcox.com>

Can anyone suggest open source/freeware/GPL tools that convert HTML
to postscript?  I'm looking for something that's a modern tbl/nroff
equivalent for simple reporting needs, even in a Unix type environment.
E.g.,

	generate_raw_data | awk 'prog to manipulate data' |
		awk 'turn data in simple HMTL' |
		magic_program_here > report.ps

Thanks,

Arnold Robbins

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [9fans] [off topic] HTML to PostScript?
@ 2003-07-30 15:55 Aharon Robbins
  2003-07-30 16:21 ` Jack Johnson
  2003-08-04  8:59 ` GBA
  0 siblings, 2 replies; 9+ messages in thread
From: Aharon Robbins @ 2003-07-30 15:55 UTC (permalink / raw)
  To: 9fans

Can anyone suggest open source/freeware/GPL tools that convert HTML
to postscript?  I'm looking for something that's a modern tbl/nroff
equivalent for simple reporting needs, even in a Unix type environment.
E.g.,

	generate_raw_data | awk 'prog to manipulate data' |
		awk 'turn data in simple HMTL' |
		magic_program_here > report.ps

Thanks,

Arnold Robbins


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2003-08-04  8:59 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <1111306366@snellwilcox.com>
2003-07-30 16:38 ` [9fans] [off topic] HTML to PostScript? steve.simon
2003-07-30 16:52   ` [9fans] [even more off topic] 'The Practice of Programming' & troff Jack Johnson
2003-07-30 16:58     ` andrey mirtchovski
     [not found] <2767366193@snellwilcox.com>
2003-07-30 16:14 ` [9fans] [off topic] HTML to PostScript? steve.simon
2003-07-30 16:29   ` Jack Johnson
2003-07-30 17:09     ` rog
2003-07-30 15:55 Aharon Robbins
2003-07-30 16:21 ` Jack Johnson
2003-08-04  8:59 ` GBA

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).