From straz@cambridge.apple.com Wed Aug 24 15:12:39 EDT 1994 Article: 14107 of comp.lang.lisp Path: cantaloupe.srv.cs.cmu.edu!das-news.harvard.edu!news2.near.net!services.cambridge.apple.com!straz.cambridge.apple.com!user From: straz@cambridge.apple.com (Steve Strassmann) Newsgroups: comp.lang.lisp,comp.lang.lisp.mcl Subject: CLtL2 now available for ftp Date: Wed, 17 Aug 1994 15:43:53 -0400 Organization: Apple Computer, Inc. Lines: 60 Message-ID: Reply-To: straz@cambridge.apple.com NNTP-Posting-Host: straz.cambridge.apple.com Xref: glinda.oz.cs.cmu.edu comp.lang.lisp:14107 comp.lang.lisp.mcl:5943 I'm very happy to announce that the complete sources (in TeX) to Guy Steele's Common Lisp book are now available by anonymous ftp from Apple. Here's the README file: ----- These files are available by anonymous ftp from cambridge.apple.com:/pub/CLTL/ This directory contains the complete sources to the book "Common Lisp the Language", 2nd edition by Guy L. Steele, Thinking Machines, Inc. Digital Press 1990 paperbound 1029 pages ISBN 1-55558-041-6 $39.95 We are very grateful to Butterworth-Heinemann, owners of Digital Press, for allowing us to make the full text of this important reference work widely available in electronic format. The paperbound version is of course readily available at fine bookstores, or contact them directly: Digital Press 80 Montvale Avenue Stoneham, MA 02180 800-366-2665 (USA) 617-438-8464 617-297-4851 (fax) For a catalog of other fine books from Digital Press, please see the enclosed files in the Digital-Press directory. Please include this README file and the DP catalog with any distributed electronic copies of "Common Lisp the Language". BOOK DESCRIPTION In this greatly expanded edition of the defacto standard, you'll learn about the nearly 200 changes already made since original publication - and find out about gray areas likely to be revised later. Written by the Vice-Chairman of X3J13 (the ANSI committee responsible for the standardization of Common Lisp) and co-developer of the language itself, the new edition contains the entire text of the first edition plus six completely new chapters. They cover: * CLOS, the Common Lisp Object System, with new features to support function overloading and object-oriented programming, plus complete technical specifications * Loops, a powerful control structure for multiple variables * Conditions, a generalization of the error signaling mechanism * Series and generators * Plus other subjects not part of the ANSI standards but of interest to professional programmers. Throughout, you'll find fresh examples, additional clarifications, warnings, and tips - all presented with the author's customary vigor and wit. ------ Digital Press is a trademark of Digital Equipment Corporation, used under license to Butterworth-Heinemann. Article 14168 of comp.lang.lisp: Newsgroups: comp.lang.lisp,comp.lang.lisp.mcl Path: cantaloupe.srv.cs.cmu.edu!das-news.harvard.edu!news2.near.net!MathWorks.Com!yeshua.marcam.com!usc!cs.utexas.edu!swrinde!pipex!uknet!dcs.gla.ac.uk!alison From: alison@dcs.gla.ac.uk (Alison Cawsey) Subject: Re: CLtL2 now available for ftp Message-ID: Organization: Computing Sci, Glasgow Univ, Scotland References: Date: Mon, 22 Aug 1994 11:04:36 GMT Lines: 21 Xref: glinda.oz.cs.cmu.edu comp.lang.lisp:14168 comp.lang.lisp.mcl:5952 In article tmb@idiap.ch writes: >In article straz@cambridge.apple.com (Steve Strassmann) writes: >|I'm very happy to announce that the complete sources (in TeX) >|to Guy Steele's Common Lisp book are now available by anonymous >|ftp from Apple. > >Great! This sounds like a perfect candidate for conversion to HTML. >Has anybody tried? I tried, using latex2html. The result is: http://www.dcs.gla.ac.uk/~alison/clm/clm.html Code fragements and section references are missing, probably because I didnt latex it first. If someone manages to latex it, then creating the HTML files is very easy, but takes a long time and a machine with a reasonable amount of memory! Alison Article 14281 of comp.lang.lisp: Path: cantaloupe.srv.cs.cmu.edu!das-news.harvard.edu!news2.near.net!MathWorks.Com!europa.eng.gtefsd.com!library.ucla.edu!agate!biosci!parc!news!blicher From: blicher@PARC.Xerox.Com (Peter Blicher) Newsgroups: comp.lang.lisp,comp.lang.lisp.mcl Subject: Re: CLtL2 now available for ftp Date: 26 Aug 1994 03:01:02 GMT Organization: Xerox Palo Alto Research Center Lines: 37 Distribution: world Message-ID: References: NNTP-Posting-Host: bondi.parc.xerox.com In-reply-to: Brent.Benson@csd.harris.com's message of 18 Aug 1994 18:18:24 GMT Xref: glinda.oz.cs.cmu.edu comp.lang.lisp:14281 comp.lang.lisp.mcl:5964 In article Brent.Benson@csd.harris.com (Brent Benson) writes: Path: parc!decwrl!hookup!yeshua.marcam.com!MathWorks.Com!usenet.eel.ufl.edu!usenet.cis.ufl.edu!usenet.ufl.edu!hawk.csd.harris.com!hawk!Brent.Benson From: Brent.Benson@csd.harris.com (Brent Benson) Newsgroups: comp.lang.lisp,comp.lang.lisp.mcl Date: 18 Aug 1994 18:18:24 GMT Organization: Harris Computer Systems, Ft. Lauderdale, FL Lines: 15 Distribution: world References: Reply-To: Brent.Benson@mail.csd.harris.com NNTP-Posting-Host: jade.ssd.csd.harris.com Xref: parc comp.lang.lisp:12967 comp.lang.lisp.mcl:5700 straz@cambridge.apple.com (Steve Strassmann) writes: # # I'm very happy to announce that the complete sources (in TeX) # to Guy Steele's Common Lisp book are now available by anonymous # ftp from Apple. I'm not able to latex the book because a macro called \ifchiron is undefined. Does anybody know what this is? (I've already done my duty and bought a copy of CLtL2---I want an online copy as well.) -- Brent Benson Harris Computer Systems My guess is that it refers to Chiron, which as I recall is a company in Cambridge that creates printing masters from tex or dvi or ps files. Therefore, unless you want to print on a 1000dpi device (or the like) you can probably comment out whatever \ifchiron inserts. I have not, however, tried to run tex on the manual, so this is pure speculation. --peter Article 14282 of comp.lang.lisp: Newsgroups: comp.lang.lisp,comp.lang.lisp.mcl Path: cantaloupe.srv.cs.cmu.edu!das-news.harvard.edu!news2.near.net!MathWorks.Com!europa.eng.gtefsd.com!library.ucla.edu!agate!darkstar.UCSC.EDU!news.hal.COM!olivea!decwrl!pa.dec.com!mv.us.adobe.com!jmeehan From: jmeehan@mv.us.adobe.com (Jim Meehan) Message-ID: <9408260508.AA17208@mendoza.mv.us.adobe.com> Subject: Re: CLtL2 now available for ftp Date: Thu, 25 Aug 1994 22:08:37 PDT X-Received: by usenet.pa.dec.com; id AA27714; Thu, 25 Aug 94 22:16:26 -0700 X-Received: by pobox1.pa.dec.com; id AA08121; Thu, 25 Aug 94 22:16:23 -0700 X-Received: from mail-relay-1.mv.us.adobe.com by inet-gw-1.pa.dec.com (5.65/10Aug94) id AA23997; Thu, 25 Aug 94 22:10:27 -0700 X-Received: by mail-relay-1.mv.us.adobe.com; id WAA25273; Thu, 25 Aug 1994 22:09:06 -0700 X-Received: by mendoza.mv.us.adobe.com (4.1/SMI-4.1) id AA17208; Thu, 25 Aug 94 22:08:38 PDT X-To: comp.lang.lisp.usenet@pa.dec.com, comp.lang.lisp.mcl.usenet@pa.dec.com Lines: 24 Xref: glinda.oz.cs.cmu.edu comp.lang.lisp:14282 comp.lang.lisp.mcl:5966 Guy Steele sent me the following patch for the "chiron" problem: \newif\ifchiron \chironfalse That indeed stopped the "chiron" complaint, but led to the next series: No file frontmatter.aux. No file intro.aux. ... etc. ... ! Undefined control sequence. \startmargin ->\PostScriptFile {BlackBars.ps} If you know TeX/LaTeX (I don't) and would like to help get the CLtL2 sources back in shape, send me email. I think it would be great to have it online in a variety of formats. I can do the PostScript and Acrobat/PDF work here; HTML and other wizards are also invited to participate. Jim Meehan Imaging Systems Group Adobe Systems Inc. Article 14324 of comp.lang.lisp: Path: cantaloupe.srv.cs.cmu.edu!das-news.harvard.edu!news2.near.net!MathWorks.Com!europa.eng.gtefsd.com!howland.reston.ans.net!pipex!sunic!ugle.unit.no!idt.unit.no!engradm From: geirert@idt.unit.no (Geir Ertzaas) Newsgroups: comp.lang.lisp,comp.lang.lisp.mcl Subject: Re: CLtL2 now available for ftp Date: 27 Aug 1994 14:31:07 GMT Organization: Norwegian Inst. of Tech./University of Trondheim, Norway Lines: 139 Message-ID: References: <9408260508.AA17208@mendoza.mv.us.adobe.com> Reply-To: geirert@idt.unit.no NNTP-Posting-Host: villrips.idt.unit.no In-reply-to: jmeehan@mv.us.adobe.com's message of Thu, 25 Aug 1994 22:08:37 PDT Xref: glinda.oz.cs.cmu.edu comp.lang.lisp:14324 comp.lang.lisp.mcl:5973 jmeehan@mv.us.adobe.com (Jim Meehan) in article <9408260508.AA17208@mendoza.mv.us.adobe.com> writes : >Guy Steele sent me the following patch for the "chiron" problem: > > \newif\ifchiron \chironfalse > >That indeed stopped the "chiron" complaint, but led to the next series: > >No file frontmatter.aux. >No file intro.aux. >... etc. ... This complaint is due to an \includeonly{series} in clm.tex which needs to be commented out with a preceding percent sign. Change : \includeonly{series} to %\includeonly{...} > >! Undefined control sequence. >\startmargin ->\PostScriptFile > {BlackBars.ps} > This error relates to a missing macro to include postscript-code. The normal way to do this is thru something like psfig. Unfortunately this won't work here as there is no bounding box defined for the figure. The easy solution for the BlackBars.ps and WhiteBars.ps errors is to redefine a macro in marginal.tex file. --- Change this : \def\@WhiteBars{\PostScriptFile{WhiteBars.ps}} \def\@BlackBars{\PostScriptFile{BlackBars.ps}} to this : \def\@WhiteBars{} \def\@BlackBars{} --- There are also a few postscript files that are missing. They will create the same sort of error. These are : #1-plot.ps series-plot.ps ArrowRight.ps ArrowDown.ps ArrowRightSmall.ps I have found no solution/substitute for the following ps files: #1-plot.ps series-plot.ps Whenever latex complains about these, you can either press return until you pass them, or do the following : --- In number.tex- Change this : \def\numplot#1{\vskip -2pt \vskip 28pc \PostScriptFile{#1-plot.ps}\vskip 3pt} to this: \def\numplot#1{\vskip -2pt \vskip 28pc \vskip 3pt} ------------------ --- In series.tex- Change this : \PostScriptFile{series-plot.ps}\relax to this: %\PostScriptFile{series-plot.ps}\relax ------------------ For the remaining three (ArrowRight.ps,ArrowDown.ps, ArrowRightSmall.ps) there is an easy but probably inadequate solution. Doing these substitutions within the CLTL.sty will "fix" it. Change from this: \def\Xarrowright{\ifdim 1em<5pt\relax \PostScriptFile{ArrowRightSmall.ps}\else \PostScriptFile{ArrowRight.ps}\fi~} \def\Xarrowdown{\ifdim 1em<5pt\relax \PostScriptFile{ArrowDownSmall.ps}\else \PostScriptFile{ArrowDown.ps}\fi~} to this: \def\Xarrowright{\begin{math} \Rightarrow \end{math}} \def\Xarrowdown{\begin{math} \Downarrow \end{math}} There are also two other problems, one is a reference to fonts within cmtt10 & 12 which doesn't seem to exist (the final document lacks quite a few hyphens etc.). This may very well be a local problem with the way latex is set up. The other problem is an undefined control sequence which you can get past by pressing return once. --- ! Undefined control sequence. \cleartabs --- I have no idea what it does as my TeX/LaTex knowledge is rather thin, mostly on the survival level. I figured the above things out through some fiddling back and forth. If you try to generate the document, remember to run latex at least three times to get the references correct. >If you know TeX/LaTeX (I don't) and would like to help get the CLtL2 >sources back in shape, send me email. I think it would be great >to have it online in a variety of formats. I can do the PostScript >and Acrobat/PDF work here; HTML and other wizards are also invited >to participate. > >Jim Meehan >Imaging Systems Group >Adobe Systems Inc. I am still working on getting a better result (mostly with the missing hyphens). If you have any hints please email me. Geir Ertzaas geirert@idt.unit.no Article 14345 of comp.lang.lisp: Path: cantaloupe.srv.cs.cmu.edu!fs7.ece.cmu.edu!europa.eng.gtefsd.com!howland.reston.ans.net!EU.net!sunic!ugle.unit.no!idt.unit.no!engradm From: geirert@idt.unit.no (Geir Ertzaas) Newsgroups: comp.lang.lisp,comp.lang.lisp.mcl Subject: Re: CLtL2 now available for ftp Date: 29 Aug 1994 07:21:52 GMT Organization: Norwegian Inst. of Tech./University of Trondheim, Norway Lines: 133 Message-ID: References: <9408260508.AA17208@mendoza.mv.us.adobe.com> Reply-To: geirert@idt.unit.no NNTP-Posting-Host: villrips.idt.unit.no In-reply-to: geirert@idt.unit.no's message of 27 Aug 1994 14:31:07 GMT Xref: glinda.oz.cs.cmu.edu comp.lang.lisp:14345 comp.lang.lisp.mcl:5974 Hi again, here is patch/fix you can use to latex the CLtL manual. ---------------------------------------------------------------- After my previous post on how to build the CLtL manual, I received a mail from Johann Petrak who suggested how to define PostScriptFile. This was a much better solution than my own. I took another look at the missing characters latex was complaining about, and found the problem and a solution. The manual uses some extended character set, which I at least, don't have/use. The ifchiron macro that was causing the problems earlier ended up being a fix this time. I used the chiron character codes instead of the extended characterset that was originally used. Below is a series of diffs that can be used to patch up the CLtL LaTeX sources, so that the manual may be built properly. The only real deficiency that I know of, is that the sources lack some of the postscript files referenced in the document. All the patching done to CLTL.sty related to \char can be ommited if you can run latex without any complains about missing characters in fonts. (Have a look in your log file) If you use the PostScripFile fix you will need to use `dvips', or something like that, to convert to PostScript before viewing/printing. The other patches are (brief desc) : -commented out the \includeonly{series} from clm.tex -commented out the \cleartabs from clos.tex -added the "\newif\ifchiron chironfalse" to CLTL.sty (Suggested by Jim Meehan/Guy Steele) -added the "\def\PostScriptFile#1{\special{psfile=#1}}" (Suggested by Johann Petrak) -changed the Xarrow{right,down} stuff in CLTL.sty (Is there a more appropriate fix). -changed "\textheight" and "\textwidth" to accomodate A4 in a better way. The lacking postscript files are : identity-plot.ps exp-plot.ps minus-over-plus-plot.ps sin-plot.ps cos-plot.ps tan-plot.ps sinh-plot.ps cosh-plot.ps tanh-plot.ps sqrt-one-minus-sq-plot.ps series-plot.ps In order to run `dvips' without errors you will have to create empty files with these names. ---- Diff between modified & original clm.tex 27c26 < %\includeonly{series} --- > \includeonly{series} --------------------------------------------- ---- Diff between modified & original CLTL.sty 19d18 < \def\PostScriptFile#1{\special{psfile=#1}} 36d34 < \newif\ifchiron \chironfalse 62a61 > 78c77 < \def\Xhyphen{{\tt\char"2D}} % use endash for hyphen --- > \def\Xhyphen{{\tt\char177}} % use endash for hyphen 83c82 < \lower\@tempdima\hbox{\ifchiron\char"27\else\char"27\fi}\hss}\dp0=0pt\box0}} --- > \lower\@tempdima\hbox{\ifchiron\char"27\else\char194\fi}\hss}\dp0=0pt\box0}} 87c86 < \lower\@tempdima\hbox{\ifchiron\char"60\else\char"60\fi}\hss}\dp0=0pt\box0}} --- > \lower\@tempdima\hbox{\ifchiron\char"60\else\char193\fi}\hss}\dp0=0pt\box0}} 91c90 < \lower\@tempdima\hbox{\ifchiron\char"7E\else\char"7E\fi}\hss}\dp0=0pt\box0}} --- > \lower\@tempdima\hbox{\ifchiron\char"7E\else\char196\fi}\hss}\dp0=0pt\box0}} 95c94 < \lower\@tempdima\hbox{\ifchiron\char"5E\else\char"5E\fi}\hss}\dp0=0pt\box0}} --- > \lower\@tempdima\hbox{\ifchiron\char"5E\else\char195\fi}\hss}\dp0=0pt\box0}} 100,101c99,100 < {\raise0.189ex\hbox{\ifchiron\char"A3\else\char"55\fi}\hss}\relax < \lower0.189ex\hbox{\ifchiron\char"A3\else\char"55\fi}}} --- > {\raise0.189ex\hbox{\ifchiron\char"A3\else\char208\fi}\hss}\relax > \lower0.189ex\hbox{\ifchiron\char"A3\else\char208\fi}}} 136,137c135,140 < \def\Xarrowright{\begin{math} \Rightarrow \end{math}} < \def\Xarrowdown{\begin{math} \Downarrow \end{math}} --- > \def\Xarrowright{\ifdim 1em<5pt\relax > \PostScriptFile{ArrowRightSmall.ps}\else > \PostScriptFile{ArrowRight.ps}\fi~} > \def\Xarrowdown{\ifdim 1em<5pt\relax > \PostScriptFile{ArrowDownSmall.ps}\else > \PostScriptFile{ArrowDown.ps}\fi~} ------------------------------------------------------------------- ---- Diff between modified & original clos.tex 3338c3338 < %\cleartabs{\it slot-specifier\/} ::= {\it slot-name\/} {\Mor} ({\it slot-name\/} $\lbrack\!\lbrack\downarrow\!\hbox{{\it slot-option}}\,\rbrack\!\rbrack$)\\ --- > \cleartabs{\it slot-specifier\/} ::= {\it slot-name\/} {\Mor} ({\it slot-name\/} $\lbrack\!\lbrack\downarrow\!\hbox{{\it slot-option}}\,\rbrack\!\rbrack$)\\ ------------------------------------------------ If you would like to use A4-paper size instead change this: ---- Diff between modified & original CLTL10.sty 113,114c113,114 < \textheight 50\baselineskip %new textheight < \textwidth 38pc --- > \textheight 500pt % 40 lines of 10/12.5 > \textwidth 28pc -------------------------------------------------- Article 14361 of comp.lang.lisp: Path: cantaloupe.srv.cs.cmu.edu!das-news.harvard.edu!news2.near.net!services.cambridge.apple.com!straz.cambridge.apple.com!user From: straz@cambridge.apple.com (Steve Strassmann) Newsgroups: comp.lang.lisp,comp.lang.lisp.mcl Subject: ps & dvi of CLTL2 Date: Mon, 29 Aug 1994 14:11:26 -0400 Organization: Apple Computer, Inc. Lines: 14 Distribution: world Message-ID: Reply-To: straz@cambridge.apple.com NNTP-Posting-Host: straz.cambridge.apple.com Xref: glinda.oz.cs.cmu.edu comp.lang.lisp:14361 comp.lang.lisp.mcl:5975 Thanks to the efforts of several people, I've been able to update the sources to CLTL (Common Lisp, the Language, 2nd ed, by Guy Steele) These are available for anonymous ftp from cambridge.apple.com:/pub/CLTL/ I've added two new subdirectories: dvi-ps/ containing the postscript and dvi versions of the book Note: these are missing the PS figures that show the branch cuts for the trancendental functions. Thanks to Brent Benson tips/ containing two recent postings to this newsgroup , /u/gls/postscript.tex, posted by Guy Steele how-to-patch, various tips collected by Geir Ertzaas.