home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / text / tex / 12947 < prev    next >
Encoding:
Text File  |  1992-11-08  |  2.3 KB  |  54 lines

  1. Newsgroups: comp.text.tex
  2. Path: sparky!uunet!stanford.edu!bcm!rice!cs.rice.edu!dorai
  3. From: dorai@cs.rice.edu (Dorai Sitaram)
  4. Subject: Re: Lisp WEB, any progress?
  5. Message-ID: <BxEnpG.Moy@rice.edu>
  6. Keywords: WEB, literate programming, Lisp
  7. Sender: news@rice.edu (News)
  8. Organization: Rice University, Houston
  9. References: <1dce3uINNd2q@manuel.anu.edu.au>
  10. Date: Sun, 8 Nov 1992 16:12:51 GMT
  11. Lines: 41
  12.  
  13. In article <1dce3uINNd2q@manuel.anu.edu.au> gustav@arp.anu.edu.au (Zdzislaw Meglicki) writes:
  14. >Has there been any progress on the WEB-Lisp front? The last I've heard
  15. >of it there was only Scheme-Web available and even that was a very scaled
  16. >down tool, in comparison with systems such as FWEB. Yet, Lisp needs annotation
  17. >much like any other language (although, tangling is of lesser importance,
  18. >perhaps). In particular I'd like to be able to place comments with
  19. >real mathematical symbols in the Lisp code, and to use all power of TeX
  20. >in annotations. Naturally, it would be also nice if the corresponding
  21. >Lisp-WEB knew how to format lisp, which Lisp words should be emboldened,
  22. >italicised, etc.
  23. >
  24. >Is there a WEB system which could be tweaked into working with Lisp easily?
  25. >Can Spider-WEB be used for that?
  26.  
  27.  
  28. You may want to check out SLaTeX, available thru anonymous
  29. ftp from titan.rice.edu (public/slatex.tar.Z).  SLaTeX
  30. allows one to use Scheme or Lisp code "as is" in one's
  31. (La)TeX source, or input Scheme or Lisp files into one's
  32. (La)TeX files.  The code is typeset with tokens
  33. automatically emboldened, italicized, etc.  You can also use
  34. TeX control sequences inside the comments.  The idea was let
  35. Scheme be used in LaTeX and vice versa.
  36.  
  37. Because of this, SLaTeX can be used as a WEB system, i.e., a
  38. single file functioning as both a Scheme/Lisp file and its
  39. (La)TeX documentation.  However, the primary goal -- pressed
  40. for by a small but insistent bunch of users -- was to be
  41. able to write Scheme code without explicit formatting in
  42. (La)TeX files, and getting sophisticated formatting
  43. nevertheless.  A secondary goal was to be able to fine-tune
  44. the formatting should one choose to.  Writing a filter to
  45. make SLaTeX more WEB-like is a lex-ercise.
  46.  
  47. You need either R4RS Scheme or Common Lisp to run SLaTeX.
  48.  
  49. --d
  50. -- 
  51.  
  52. dorai@cs.rice.edu      !    It may be that the gulfs will wash us down;
  53. dorai@owlnet.rice.edu  !      it may be we shall touch the Happy Isles.
  54.