Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

CWEB programs on the web

2 views
Skip to first unread message

Deniz Yuret

unread,
Dec 5, 1996, 3:00:00 AM12/5/96
to

I'd like to post some of my better cweb programs on the www in a
readable fashion. Does anyone know of either a web like system
that outputs html instead of tex, or a program that would convert
the tex file produced by cweb into html? Please reply to my email
address.

best,
--
Deniz Yuret
MIT Artificial Intelligence Laboratory tel: (617) 253-6247
545 Technology Square, Room: NE43-815 fax: (617) 253-5060
Cambridge, MA 02139, USA e-mail: de...@ai.mit.edu

Jens Lippmann

unread,
Dec 6, 1996, 3:00:00 AM12/6/96
to Deniz Yuret

In article <32A72F2A...@ai.mit.edu>, Deniz Yuret <de...@ai.mit.edu> writes:
> I'd like to post some of my better cweb programs on the www in a
> readable fashion. Does anyone know of either a web like system
> that outputs html instead of tex, or a program that would convert
> the tex file produced by cweb into html? Please reply to my email
> address.

Cheers Deniz,

I have a pending CWEB2HTML package which is not released yet.
There are only some bits missing, but it translates as best as
it can ;-)
The package makes use of LaTeX2HTML, thus the quality produced
of the CWEB file is very high, including images, pretty printing, etc.

However, you must have a CWEB document designed for LaTeX.
Refer to Schrod's cweb-sty package to see how to embed your document
for compilation with LaTeX, and to get the styles to be included.

I will provide you the CWEB2HTML pre release if you desire, contact me.
The CWEB2HTML package will be freeware.

Contact me also when you want to install LaTeX2HTML on your system.


Sincerly,
Jens Lippmann.

--


# Jens Lippmann http://www-jb.cs.uni-sb.de/~www/people/lippmann
# lipp...@cdc.informatik.th-darmstadt.de
#
# Technische Hochschule Darmstadt http://www.th-darmstadt.de


Marc van Leeuwen

unread,
Dec 6, 1996, 3:00:00 AM12/6/96
to

In article <32A72F2A...@ai.mit.edu>, Deniz Yuret <de...@ai.mit.edu>
writes:
|> I'd like to post some of my better cweb programs on the www in a
|> readable fashion. Does anyone know of either a web like system
|> that outputs html instead of tex, or a program that would convert
|> the tex file produced by cweb into html?

Both exist, but why not put the dvi-files on the web? This looks much better
then HTML ever will, at approximately the same file size, and gives the
reader of the files the possibility to view them at the size and resolution
that is best fit for her screen. Better still, you could make HyperTex
dvifiles by using a somewhat modified set of macros; probably you would
however do good to warn the reader to either use a HyperTex previewer (such
as xhvdi) as helper application for dvi files, or failing that, to instruct
the dvi previewer not to complain about unknown \special-s (for instance
xdvi -hushspecials).

--
Marc van Leeuwen | What has man wrought
CWI, Amsterdam | for the year naughty-naught?
http://www.cwi.nl/~maavl/ | '00-programming will get its revenge!

Rogerio Brito

unread,
Dec 8, 1996, 3:00:00 AM12/8/96
to

ma...@cwi.nl (Marc van Leeuwen) wrote:
>In article <32A72F2A...@ai.mit.edu>, Deniz Yuret <de...@ai.mit.edu>
>writes:
>|> I'd like to post some of my better cweb programs on the www in a
>|> readable fashion. Does anyone know of either a web like system
>|> that outputs html instead of tex, or a program that would convert
>|> the tex file produced by cweb into html?
>
>Both exist, but why not put the dvi-files on the web? This looks much better
>then HTML ever will, at approximately the same file size, and gives the
>reader of the files the possibility to view them at the size and resolution
>that is best fit for her screen. Better still, you could make HyperTex
>dvifiles by using a somewhat modified set of macros; probably you would
>however do good to warn the reader to either use a HyperTex previewer (such
>as xhvdi) as helper application for dvi files, or failing that, to instruct
>the dvi previewer not to complain about unknown \special-s (for instance
>xdvi -hushspecials).

Well, I think that a reason to not put dvi files on the
web is that a lot of people don't know how to handle dvi
files (people who don't know about Knuth, CWEB, TeX etc).

Anyway, I think that the best way to distribute/show CWEB
files is putting the CWEB source files. This way, people
can generate the C files as well as dvi files (if, for
some reason, the dvi files got corrupted or if the person
doesn't like to get dvi files, since w files are much
more compressible and smaller than dvi files).


[]s, Roger...

P.S.: It's funny that the subjects that are less discussed in
this newsgroups aren't associated with Literate Programming,
unfortunately.
--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Rogerio Brito - rbr...@ime.usp.br - http://www.ime.usp.br/~rbrito
"Master, Master, where's the dreams that I've been after?
Master, Master, you promised only lies!
Laughter, laughter, all I hear or see is laughter.
Laughter, laughter, laughing at my cries."
James Hetfield (Metallica), Master of Puppets
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=


Ruslan Shevchenko

unread,
Dec 19, 1996, 3:00:00 AM12/19/96
to

Rogerio Brito wrote:
>
> ma...@cwi.nl (Marc van Leeuwen) wrote:
> >In article <32A72F2A...@ai.mit.edu>, Deniz Yuret <de...@ai.mit.edu>
> >writes:
> >|> I'd like to post some of my better cweb programs on the www in a
> >|> readable fashion. Does anyone know of either a web like system
> >|> that outputs html instead of tex, or a program that would convert
> >|> the tex file produced by cweb into html?
> >
> >Both exist, but why not put the dvi-files on the web? This looks much better
.....

> Anyway, I think that the best way to distribute/show CWEB
> files is putting the CWEB source files. This way, people

but latex2html have mode, for work with plain text.

So, you can use it.

******************************************************************
$
sorry for junk text, but my news system require more then 1/2 of
*my* text
in news message, so:


--------------------------------------------------------------------------------------------------

--------------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------------

@=
mailto:rs...@cki.ipri.kiev.ua
//RSSH
http://www.ipri.kiev.ua/~rssh

0 new messages