Debian Codegraph @

texmf-dist/doc/latex/dialogl/README

raw
1 Copyright 1994 Michael John Downes
2 Copyright 2013 TeX Users Group
3
4 This file is part of the dialogl package, released under the LPPL;
5 see dialogl.ins for details.
6
7 This package was written by Michael Downes, who passed away in 2003. He
8 released it under a custom license, now considered nonfree. In October
9 2012, his heirs (his children Zoe, Elizabeth, and Mia Downes) have all
10 agreed to re-releasing his work under any version of the LaTeX Public
11 Project License. Therefore, the package is now released under the LPPL,
12 version 1 or (at your option) any later version.
13
14 The only changes in this release are to the license, to remove examples
15 lacking known-free licenses, and to remove the .stp files for plain TeX
16 (which were apparently manually created by editing the .sty's).
17 The actual code is the same as Michael's last release.
18
19
20 The `dialogl' collection Michael Downes, 10-Nov-1994
21
22 The purpose of the `dialogl' collection is to gather together in one
23 place a lot of information and examples---probably more than you really
24 wanted---about how to write TeX macros to carry on dialog with the user.
25 The centerpiece of the package is the file `dialog.sty', which makes it
26 easy to add bits of dialog to a LaTeX document; it can also be used with
27 non-LaTeX macro packages, if they are plain.tex compatible. Another
28 file, listout.tex, has a menu system built with the functions defined in
29 menus.sty, which you may enjoy trying out. listout.tex was originally
30 written to work with plain TeX; my later attempts to retrofit LaTeX
31 compatibility may have some gaps, but it seems to work in the simple
32 tests that I have done.
33
34 The total size of the dialogl collection is approximately 580K.
35
36 INSTALLATION:
37
38 LATEX: The .sty files and listout.tex should go into your
39 LaTeX input files area, wherever that may be on your system. The
40 remaining files can go wherever you want.
41
42
43 Suggested usage:
44
45 (1) Try using listout.tex to print out some e-mail or program source
46 files (e.g. TeX macros), eight or ten pages: Give the command
47
48 tex listout
49
50 Navigate through the menu system, try to break it by giving bizarre
51 answers, look for other kinds of deficiencies. Find and try out the
52 `tiny tabs' option. Find out how to make Control-L characters produce a
53 `newpage' effect in the printout.
54
55 (2) Print pages 1--5 of the documentation for dialog.sty (dia-driv.tex,
56 ~25 pages total, see below). You will need doc.sty to do this. Look at
57 the user functions described in the documentation to see which ones you
58 might want to use.
59
60 (4) If you are interested, print out codialog.tex (29 pages): it gives
61 a technical overview of TeX's capabilities for dialog, with various
62 examples. Further technical discussion is found in the .dtx files, which
63 can be printed out individually or using the driver file dia-driv.tex.
64
65 dialogl.dtx 11 pages
66 menus.dtx 9 pages
67 grabhedr.dtx 4 pages
68 listout.dtx 40 pages (includes a full listing of menus at the end)
69
70 FUTURE ENHANCEMENTS NEEDED
71
72 ---Add \nmenu, \nxmenu.
73
74 ---Adapt further for LaTeX2e. `menus' might perhaps better be done as a
75 package option of the dialog package:
76
77 \usepackage[menus]{dialog}
78
79 to cut down on the number of different files required.
80
81 ---Add support for reading menus from disk to cut down on memory
82 consumption (currently latex2e+listout.tex uses more than 65K,
83 producing `TeX capacity exceeded' error for small TeXs).
84
85 ---Provide better documentation about what is available for use in the
86 running heads/feet (\todaysdate, \nowtime, (\TeXdate \TeXtime?),
87 \thisfilename, \dirprefix, etc. Also \folio should be separated into
88 \columnfolio and \pagefolio or maybe \pagefolio and \sheetfolio so that
89 they can be put in different places separately.
90
91 ---Provide better support for printing characters in the range 0-31,
92 127-255 if suitable fonts are available. (Where the meaning of
93 `suitable' is system-dependent and language-dependent.)
94
95 ---Provide support for embedding `listout' fragments in parent
96 documents. Output routine complications make this difficult for
97 fragments more than one page long, unless they are restricted to single
98 column format. But even that much would be useful.
99
100 ---Add an index for listout.dtx.
101
102 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
103 File list:
104
105 INSTALLATION
106
107 README
108 dialogl.ins (for LaTeX2e)
109 diatest.tex (test file)
110
111 UTILITIES
112
113 dialog.sty
114 menus.sty
115 grabhedr.sty
116
117 listout.tex
118
119 DOCUMENTATION
120
121 Main File Subfiles
122 ---------------------------
123 dia-driv.tex dialogl.dtx
124 menus.dtx
125 grabhedr.dtx
126
127 listout.dtx default.los
128
129 codialog.tex cnvunits.tex
130 fontmenu.tex
131 fontmenu.lg
132
133 dialogl-doc.sty
134
135 DIA-DRIV.TEX
136
137 This is the driver file for printing out the documentation of
138 dialog.sty, menus.sty, and grabhedr.sty. Run it through standard
139 LaTeX.
140
141 CODIALOG.TEX
142
143 This is a substantially revised and augmented version of the paper
144 `Dialog with TeX' that appeared in the Proceedings of the 1991 TUG
145 Conference at Dedham, Massachusetts (TUGboat vol 12 no 3, December
146 1991, Part 2). [In other words: I was dissatisfied with the first
147 published version, so I am `publishing' here a better organized
148 version with some nice added examples.]
149
150 The following files that are printed in the appendixes of the paper are
151 included in electronic form in case any finds some use for them.
152
153 ---fontmenu.tex shows how the token-deletion option of TeX's
154 error recovery mechanism can be used to implement a crude menu
155 facility.
156
157 ---cnvunits.tex contains some routines that demonstrate conversion of
158 point units to inch units.