khan@milton.acs.washington.edu (Bob "Genghis" Khan) (01/15/90)
In article <1990Jan12.021006.2395@agate.berkeley.edu> cotner@brahms.berkeley.edu (Carl Cotner) writes: >... I believe that TeX is stored in a web file, which combines source code >with documentation, in accordance with his belief that the 2 should be >closely integrated. > >I'm very interested in this. I would look into web, only I believe that >web will extract a Pascal file. I'm more interested in working on a >C based project. Is there a C version of WEB? I admit I haven't made use of it beyond trying the demo document, but I there's a file called cnoweb.tex written by a Jim Fox (fox@cac.washington.edu) here at UW. It sets code in cmtt (fixed-pitch typewriter style) and allows comments in cmr (roman, with any symbols and math formulae (!) you like); however, it doesn't map assignments to special symbols (WEB turns := into TeX's arrow symbol ...) Since all TeX commands go in comments, a cnoweb-formatted source will compile. There's a demo program called pf.c also, they are available by anonymous FTP on blake.u.washington.edu in directory /pub/TeX/cnoweb. If anyone can't do anon-FTP, I'll mail them to you. ---------------------------------------------------------------------- "indecipherable strangers handing out inexplicable humiliation and an unidentified army of horsemen laughing at him in his head ..." -- Douglas Adams Erik Seaberg (khan@milton.u.washington.edu)