comparison lispintro/emacs-lisp-intro.texi @ 41499:f2ffeff1bf1e

Move @contents to the beginning of the file. Set the size to @smallbook.
author Eli Zaretskii <eliz@gnu.org>
date Sun, 25 Nov 2001 17:55:15 +0000
parents 7a66b17d124d
children b4c633081255
comparison
equal deleted inserted replaced
41498:d5de86d3c2c3 41499:f2ffeff1bf1e
7 @syncodeindex fn cp 7 @syncodeindex fn cp
8 @setchapternewpage odd 8 @setchapternewpage odd
9 @finalout 9 @finalout
10 10
11 @c --------- 11 @c ---------
12 @c <<<< Now set for smallbook, which works well with all 12 @c <<<< For hard copy printing, this file is now
13 @c sizes of paper and no included PostScript figures 13 @c set for smallbook, which works for all sizes
14 @c (this setting uses ASCII figures instead). >>>> 14 @c of paper, and with Postscript figures >>>>
15 15 @smallbook
16 @c @smallbook 16 @clear largebook
17 @c @clear largebook
18 @c @clear print-postscript-figures
19 @set largebook
20 @set print-postscript-figures 17 @set print-postscript-figures
18 @c set largebook
19 @c clear print-postscript-figures
21 @c --------- 20 @c ---------
22 21
23 @comment %**end of header 22 @comment %**end of header
24 23
25 @set edition-number 2.01 24 @set edition-number 2.02
26 @set update-date 2001 Nov 24 25 @set update-date 2001 Nov 25
27 26
28 @ignore 27 @ignore
29 ## Summary of shell commands to create various output formats: 28 ## Summary of shell commands to create various output formats:
30 29
31 ## Info output 30 ## Info output
33 32
34 ## DVI output 33 ## DVI output
35 texi2dvi emacs-lisp-intro.texi 34 texi2dvi emacs-lisp-intro.texi
36 35
37 ## HTML output 36 ## HTML output
38 texi2html emacs-lisp-intro.texi
39 makeinfo --html --no-split --verbose emacs-lisp-intro.texi 37 makeinfo --html --no-split --verbose emacs-lisp-intro.texi
40 38
41 ## Plain text output 39 ## Plain text output
42 makeinfo --fill-column=70 --no-split --paragraph-indent=0 \ 40 makeinfo --fill-column=70 --no-split --paragraph-indent=0 \
43 --verbose --no-headers --output=emacs-lisp-intro.txt emacs-lisp-intro.texi 41 --verbose --no-headers --output=emacs-lisp-intro.txt emacs-lisp-intro.texi
104 @c tex emacs-lisp-intro.texi 102 @c tex emacs-lisp-intro.texi
105 @c texindex emacs-lisp-intro.?? 103 @c texindex emacs-lisp-intro.??
106 @c tex emacs-lisp-intro.texi 104 @c tex emacs-lisp-intro.texi
107 @c lpr -d emacs-lisp-intro.dvi 105 @c lpr -d emacs-lisp-intro.dvi
108 106
109 @c If you include the PostScript figures, you must convert the .dvi 107 @c If you include the PostScript figures, and you have old software,
110 @c file to a .ps file before printing. Run either of the 108 @c you may need to convert the .dvi file to a .ps file before
111 @c following command sequences, or one similar: 109 @c printing. Run either of the following command sequences, or one
110 @c similar:
112 @c 111 @c
113 @c dvips -f < emacs-lisp-intro.dvi > emacs-lisp-intro.ps 112 @c dvips -f < emacs-lisp-intro.dvi > emacs-lisp-intro.ps
114 @c 113 @c
115 @c or else: 114 @c or else:
116 @c 115 @c
117 @c postscript -p < emacs-lisp-intro.dvi > emacs-lisp-intro.ps 116 @c postscript -p < emacs-lisp-intro.dvi > emacs-lisp-intro.ps
118 @c 117 @c
119 118
120 @c (Note: if you edit the book so as to change the length of the 119 @c (Note: if you edit the book so as to change the length of the
121 @c table of contents, you may have to change the value of `pageno' below.) 120 @c table of contents, you may have to change the value of `pageno' below.)
122
123 @c Remember that TeX places the Table of Contents at the end of the
124 @c print run; you need to put those pages in front of the Preface.
125 121
126 @c ================ End of Formatting Sections ================ 122 @c ================ End of Formatting Sections ================
127 123
128 @c For next or subsequent edition: 124 @c For next or subsequent edition:
129 @c create function using with-output-to-temp-buffer 125 @c create function using with-output-to-temp-buffer
298 @headings off 294 @headings off
299 @evenheading @thispage @| @| @thischapter 295 @evenheading @thispage @| @| @thischapter
300 @oddheading @thissection @| @| @thispage 296 @oddheading @thissection @| @| @thispage
301 @end iftex 297 @end iftex
302 298
303 @ifnottex 299 @ifnothtml
304 @node Top, Preface, (dir), (dir) 300
305 @top An Introduction to Programming in Emacs Lisp 301 @c Keep T.O.C. short by tightening up.
306 302 @ifset largebook
307 This is an introduction to @cite{Programming in Emacs Lisp}, for 303 @tex
308 people who are not programmers. 304 \global\parskip 2pt plus 1pt
309 305 \global\advance\baselineskip by -1pt
310 This master menu first lists each chapter and index; then it lists 306 @end tex
311 every node in every chapter. 307 @end ifset
312 @end ifnottex 308
309 @shortcontents
310 @contents
311
312 @ifset largebook
313 @tex
314 \global\parskip 6pt plus 1pt
315 \global\advance\baselineskip by 1pt
316 @end tex
317 @end ifset
318
319 @end ifnothtml
313 320
314 @c >>>> Set pageno appropriately <<<< 321 @c >>>> Set pageno appropriately <<<<
315 322
316 @c The first page of the Preface is a roman numeral; it is the first 323 @c The first page of the Preface is a roman numeral; it is the first
317 @c right handed page after the Table of Contents; hence the following 324 @c right handed page after the Table of Contents; hence the following
328 @ifclear largebook 335 @ifclear largebook
329 @iftex 336 @iftex
330 @pageno = -11 337 @pageno = -11
331 @end iftex 338 @end iftex
332 @end ifclear 339 @end ifclear
340
341 @ifnottex
342 @node Top, Preface, (dir), (dir)
343 @top An Introduction to Programming in Emacs Lisp
344
345 This is an introduction to @cite{Programming in Emacs Lisp}, for
346 people who are not programmers.
347
348 This master menu first lists each chapter and index; then it lists
349 every node in every chapter.
350 @end ifnottex
333 351
334 @menu 352 @menu
335 * Preface:: What to look for. 353 * Preface:: What to look for.
336 * List Processing:: What is Lisp? 354 * List Processing:: What is Lisp?
337 * Practicing Evaluation:: Running several programs. 355 * Practicing Evaluation:: Running several programs.
15775 15793
15776 @enumerate 15794 @enumerate
15777 @item 15795 @item
15778 Install @code{graph-symbol}, @code{graph-blank}, 15796 Install @code{graph-symbol}, @code{graph-blank},
15779 @code{column-of-graph}, which are in 15797 @code{column-of-graph}, which are in
15780 @ref{Columns of a graph, , Printing the Columns of a Graph}, 15798 @iftex
15799 @ref{Readying a Graph, , Readying a Graph},
15800 @end iftex
15801 @ifinfo
15802 @ref{Columns of a graph},
15803 @end ifinfo
15781 and @code{graph-body-print}. 15804 and @code{graph-body-print}.
15782 15805
15783 @need 800 15806 @need 800
15784 @item 15807 @item
15785 Copy the following expression: 15808 Copy the following expression:
21446 @headings off 21469 @headings off
21447 @evenheading @thispage @| @| @thistitle 21470 @evenheading @thispage @| @| @thistitle
21448 @oddheading @| @| @thispage 21471 @oddheading @| @| @thispage
21449 @end iftex 21472 @end iftex
21450 21473
21451 @c Keep T.O.C. short by tightening up.
21452 @ifset largebook
21453 @tex
21454 \global\parskip 2pt plus 1pt
21455 \global\advance\baselineskip by -1pt
21456 @end tex
21457 @end ifset
21458
21459 @shortcontents
21460 @contents
21461
21462 @bye 21474 @bye