xref: /openbsd/gnu/usr.bin/texinfo/NEWS (revision fbc94a17)
1*fbc94a17SniklasPlease report bugs you find to bug-texinfo@prep.ai.mit.edu
2*fbc94a17Sniklas
3*fbc94a17SniklasChanges between Texinfo 3.0 and 3.2:
4*fbc94a17Sniklas
5*fbc94a17SniklasMany bug fixes, and a few functional additions.  Note that standalone
6*fbc94a17SniklasInfo can now read Un*x man pages.
7*fbc94a17Sniklas
8*fbc94a17SniklasChanges between Texinfo 3.0 and 3.1:
9*fbc94a17Sniklas
10*fbc94a17SniklasJust bug fixes, see ChangeLog for full details.
11*fbc94a17Sniklas
12*fbc94a17Sniklas
13*fbc94a17Sniklas
14*fbc94a17SniklasTexinfo 2
15*fbc94a17Sniklas*********
16*fbc94a17Sniklas
17*fbc94a17SniklasThe second edition of the Texinfo manual is now released in a package
18*fbc94a17Sniklaswith the second version of the various Texinfo support files,
19*fbc94a17Sniklasincluding `texinfo.el', `texnfo-upd.el', and `makeinfo.c'.  The new
20*fbc94a17Sniklasmanual is considerably larger than the previous one.
21*fbc94a17Sniklas
22*fbc94a17SniklasHere is a brief description of the new Texinfo mode commands
23*fbc94a17Sniklasand the newly described @-commands:
24*fbc94a17Sniklas
25*fbc94a17SniklasNew Texinfo Mode Commands
26*fbc94a17Sniklas=========================
27*fbc94a17Sniklas
28*fbc94a17SniklasTexinfo mode provides commands and features especially designed for
29*fbc94a17Sniklasworking with Texinfo files.  More than 20 new commands have been
30*fbc94a17Sniklasadded, including commands for automatically creating and updating both
31*fbc94a17Sniklasnodes and menus.  This is a tedious task when done by hand.
32*fbc94a17Sniklas
33*fbc94a17SniklasThe keybindings are intended to be somewhat mnemonic.
34*fbc94a17Sniklas
35*fbc94a17SniklasUpdate everything
36*fbc94a17Sniklas-----------------
37*fbc94a17Sniklas
38*fbc94a17SniklasThe `texinfo-master-menu' command is the primary command:
39*fbc94a17Sniklas
40*fbc94a17Sniklas     C-c C-u m       Create or update a master menu.
41*fbc94a17Sniklas                     With an argument, first create or
42*fbc94a17Sniklas                     update all nodes and regular menus.
43*fbc94a17Sniklas
44*fbc94a17SniklasUpdate Pointers
45*fbc94a17Sniklas---------------
46*fbc94a17Sniklas
47*fbc94a17SniklasCreate or update `Next', `Previous', and `Up' node pointers.
48*fbc94a17Sniklas
49*fbc94a17Sniklas     C-c C-u C-n     Update a node.
50*fbc94a17Sniklas     C-c C-u C-e     Update every node in the buffer.
51*fbc94a17Sniklas
52*fbc94a17SniklasUpdate Menus
53*fbc94a17Sniklas------------
54*fbc94a17Sniklas
55*fbc94a17SniklasCreate or update menus.
56*fbc94a17Sniklas
57*fbc94a17Sniklas     C-c C-u C-m     Make or update a menu.
58*fbc94a17Sniklas
59*fbc94a17Sniklas     C-c C-u C-a     Make or update all the menus
60*fbc94a17Sniklas                     in a buffer; with an argument,
61*fbc94a17Sniklas                     first update all the nodes.
62*fbc94a17Sniklas
63*fbc94a17SniklasInsert Title as Description
64*fbc94a17Sniklas---------------------------
65*fbc94a17Sniklas
66*fbc94a17SniklasInsert a node's chapter or section title in the space for the
67*fbc94a17Sniklasdescription in a menu entry line; position point so you can edit the
68*fbc94a17Sniklasinsert.  (This command works somewhat differently than the other
69*fbc94a17Sniklasinsertion commands, which insert only a predefined string.)
70*fbc94a17Sniklas
71*fbc94a17Sniklas     C-c C-c C-d     Insert title.
72*fbc94a17Sniklas
73*fbc94a17SniklasFormat for Info
74*fbc94a17Sniklas---------------
75*fbc94a17Sniklas
76*fbc94a17SniklasProvide keybindings both for the Info formatting commands that are
77*fbc94a17Sniklaswritten in Emacs Lisp and for `makeinfo' which is written in C.
78*fbc94a17Sniklas
79*fbc94a17SniklasUse the Emacs lisp `texinfo-format...' commands:
80*fbc94a17Sniklas
81*fbc94a17Sniklas     C-c C-e C-r     Format the region.
82*fbc94a17Sniklas     C-c C-e C-b     Format the buffer.
83*fbc94a17Sniklas
84*fbc94a17SniklasUse `makeinfo':
85*fbc94a17Sniklas
86*fbc94a17Sniklas     C-c C-m C-r     Format the region.
87*fbc94a17Sniklas     C-c C-m C-b     Format the buffer.
88*fbc94a17Sniklas     C-c C-m C-l     Recenter the `makeinfo' output buffer.
89*fbc94a17Sniklas     C-c C-m C-k     Kill the `makeinfo' formatting job.
90*fbc94a17Sniklas
91*fbc94a17SniklasTypeset and Print
92*fbc94a17Sniklas-----------------
93*fbc94a17Sniklas
94*fbc94a17SniklasTypeset and print Texinfo documents from within Emacs.
95*fbc94a17Sniklas
96*fbc94a17Sniklas     C-c C-t C-r     Run TeX on the region.
97*fbc94a17Sniklas     C-c C-t C-b     Run TeX on the buffer.
98*fbc94a17Sniklas     C-c C-t C-i     Run `texindex'.
99*fbc94a17Sniklas     C-c C-t C-p     Print the DVI file.
100*fbc94a17Sniklas     C-c C-t C-q     Show the print queue.
101*fbc94a17Sniklas     C-c C-t C-d     Delete a job from the print queue.
102*fbc94a17Sniklas     C-c C-t C-k     Kill the current TeX formatting job.
103*fbc94a17Sniklas     C-c C-t C-x     Quit a currently stopped TeX formatting job.
104*fbc94a17Sniklas     C-c C-t C-l     Recenter the output buffer.
105*fbc94a17Sniklas
106*fbc94a17SniklasOther Updating Commands
107*fbc94a17Sniklas-----------------------
108*fbc94a17Sniklas
109*fbc94a17SniklasThe `other updating commands' do not have standard keybindings because
110*fbc94a17Sniklasthey are less frequently used.
111*fbc94a17Sniklas
112*fbc94a17Sniklas     M-x texinfo-insert-node-lines
113*fbc94a17Sniklas                     Insert missing node lines using
114*fbc94a17Sniklas                     section titles as node names.
115*fbc94a17Sniklas
116*fbc94a17Sniklas     M-x texinfo-multiple-files-update
117*fbc94a17Sniklas                     Update a multi-file document.
118*fbc94a17Sniklas
119*fbc94a17Sniklas     M-x texinfo-indent-menu-description
120*fbc94a17Sniklas                     Indent descriptions in menus.
121*fbc94a17Sniklas
122*fbc94a17Sniklas     M-x texinfo-sequential-update-node
123*fbc94a17Sniklas                     Insert node pointers in strict sequence.
124*fbc94a17Sniklas
125*fbc94a17SniklasNewly Described Texinfo @-Commands
126*fbc94a17Sniklas==================================
127*fbc94a17Sniklas
128*fbc94a17SniklasThe second edition of the Texinfo manual describes more than 50
129*fbc94a17Sniklascommands that were not described in the first edition.  A third or so
130*fbc94a17Sniklasof these commands existed in Texinfo but were not documented in the
131*fbc94a17Sniklasmanual; the others are new.  Here is a listing, with brief
132*fbc94a17Sniklasdescriptions of them:
133*fbc94a17Sniklas
134*fbc94a17Sniklas
135*fbc94a17SniklasCommands for creating your own index and for merging two indices:
136*fbc94a17Sniklas
137*fbc94a17Sniklas`@defindex INDEX-NAME'
138*fbc94a17Sniklas     Define a new index and its indexing command.  Print entries in a
139*fbc94a17Sniklas     roman font.  Also, the `@defcodeindex' command, which prints
140*fbc94a17Sniklas     entries in an `@code' font.
141*fbc94a17Sniklas
142*fbc94a17Sniklas`@synindex FROM-INDEX INTO-INDEX'
143*fbc94a17Sniklas     Merge the index named in the first argument into the index named
144*fbc94a17Sniklas     in the second argument.  Sets FROM-INDEX in the same (roman) font
145*fbc94a17Sniklas     as INTO-INDEX.  Also, the `@syncodeindex' command, which prints
146*fbc94a17Sniklas     the entries from the first index in `@code' font.
147*fbc94a17Sniklas
148*fbc94a17Sniklas
149*fbc94a17SniklasMany commands to help you describe functions, variables, macros,
150*fbc94a17Sniklascommands, user options, special forms and other such artifacts in a
151*fbc94a17Sniklasuniform format.
152*fbc94a17Sniklas
153*fbc94a17Sniklas`@deffn CATEGORY NAME ARGUMENTS...'
154*fbc94a17Sniklas     Format a description for functions, interactive commands, and
155*fbc94a17Sniklas     similar entities that may take arguments.  Takes as arguments the
156*fbc94a17Sniklas     category of entity being described, the name of this particular
157*fbc94a17Sniklas     entity, and its arguments, if any.
158*fbc94a17Sniklas
159*fbc94a17Sniklas`@defvr, @defop, ...'
160*fbc94a17Sniklas     15 other related commands.
161*fbc94a17Sniklas
162*fbc94a17Sniklas
163*fbc94a17SniklasSpecial symbols to indicate the results of evaluation or an expansion,
164*fbc94a17Sniklasprinted output, an error message, equivalence of expressions, and the
165*fbc94a17Sniklaslocation of point.
166*fbc94a17Sniklas
167*fbc94a17Sniklas`@equiv{}'
168*fbc94a17Sniklas     Indicate the exact equivalence of two forms; special glyph: `=='.
169*fbc94a17Sniklas
170*fbc94a17Sniklas`@error{}'
171*fbc94a17Sniklas     Indicate that the following text is an error message: `error-->'.
172*fbc94a17Sniklas
173*fbc94a17Sniklas`@expansion{}'
174*fbc94a17Sniklas     Indicate the result of a macro expansion; special glyph: `==>'.
175*fbc94a17Sniklas
176*fbc94a17Sniklas`@point{}'
177*fbc94a17Sniklas     Indicate the position of point; special glyph: `-!-'.
178*fbc94a17Sniklas
179*fbc94a17Sniklas`@print{}'
180*fbc94a17Sniklas     Indicate printed output; special glyph: `-|'.
181*fbc94a17Sniklas
182*fbc94a17Sniklas`@result{}'
183*fbc94a17Sniklas     Indicate the result of an expression; special glyph: `=>'.
184*fbc94a17Sniklas
185*fbc94a17Sniklas
186*fbc94a17SniklasCommands to customize headings:
187*fbc94a17Sniklas
188*fbc94a17Sniklas`@headings ON-OFF-SINGLE-DOUBLE'
189*fbc94a17Sniklas     Turn headings on or off, or specify single-sided or double-sided
190*fbc94a17Sniklas     headings for printing.
191*fbc94a17Sniklas
192*fbc94a17Sniklas`@evenfooting [LEFT] @| [CENTER] @| [RIGHT]'
193*fbc94a17Sniklas     Specify footings for even-numbered (left-hand) pages.  Not
194*fbc94a17Sniklas     relevant to Info.
195*fbc94a17Sniklas
196*fbc94a17Sniklas`@evenheading, @everyheading, @oddheading, ...'
197*fbc94a17Sniklas     Five other related commands.
198*fbc94a17Sniklas
199*fbc94a17Sniklas`@thischapter'
200*fbc94a17Sniklas     In a heading or footing, stands for the number and name of the
201*fbc94a17Sniklas     current chapter, in the format `Chapter 1: First Chapter'.
202*fbc94a17Sniklas
203*fbc94a17Sniklas`@thischaptername, @thisfile, @thistitle, @thispage'
204*fbc94a17Sniklas     Related commands.
205*fbc94a17Sniklas
206*fbc94a17Sniklas
207*fbc94a17SniklasCommands for formatting text:
208*fbc94a17Sniklas
209*fbc94a17Sniklas`@cartouche'
210*fbc94a17Sniklas     Draw rounded box surrounding text (not in Info).
211*fbc94a17Sniklas
212*fbc94a17Sniklas`@enumerate OPTIONAL-ARG'
213*fbc94a17Sniklas     Enumerate a list with letters or numbers.
214*fbc94a17Sniklas
215*fbc94a17Sniklas`@exdent LINE-OF-TEXT'
216*fbc94a17Sniklas     Remove any indentation a line might have.
217*fbc94a17Sniklas
218*fbc94a17Sniklas`@flushleft'
219*fbc94a17Sniklas     Left justify every line but leave the right end ragged.  Leave
220*fbc94a17Sniklas     font as is.
221*fbc94a17Sniklas
222*fbc94a17Sniklas`@flushright'
223*fbc94a17Sniklas     Right justify every line but leave the left end ragged.  Leave
224*fbc94a17Sniklas     font as is.
225*fbc94a17Sniklas
226*fbc94a17Sniklas`@format'
227*fbc94a17Sniklas     Like `@example' or `@display', but do not narrow the margins or
228*fbc94a17Sniklas     select the fixed-width font.
229*fbc94a17Sniklas
230*fbc94a17Sniklas`@ftable FORMATTING-COMMAND'
231*fbc94a17Sniklas`@vtable FORMATTING-COMMAND'
232*fbc94a17Sniklas     Begin a two-column table, using `@item' for each entry.
233*fbc94a17Sniklas     `@ftable' automatically enters each of the items in the
234*fbc94a17Sniklas     first column into the index of functions and `@vtable'
235*fbc94a17Sniklas     enters them into the index of variables.  The commands
236*fbc94a17Sniklas     are the same as `@table', except for indexing.
237*fbc94a17Sniklas
238*fbc94a17Sniklas`@lisp'
239*fbc94a17Sniklas     Indent text, do not fill, select fixed-width font.
240*fbc94a17Sniklas
241*fbc94a17Sniklas`@smallexample'
242*fbc94a17Sniklas     Indent text, do not fill, select fixed-width font.  In
243*fbc94a17Sniklas     `@smallbook' format, print text in a smaller font than with the
244*fbc94a17Sniklas     `@example' environment.  Also, the `@smalllisp' command.
245*fbc94a17Sniklas
246*fbc94a17SniklasCommands for formatting if a flag is set or cleared:
247*fbc94a17Sniklas
248*fbc94a17Sniklas`@set FLAG [STRING]'
249*fbc94a17Sniklas     Set FLAG, causing the Texinfo formatting commands to format text
250*fbc94a17Sniklas     between subsequent pairs of `@ifset FLAG' and `@end ifset'
251*fbc94a17Sniklas     commands.  Optionally, set value of FLAG to STRING.
252*fbc94a17Sniklas
253*fbc94a17Sniklas`@value{FLAG}'
254*fbc94a17Sniklas     Replace with value to which FLAG is set.
255*fbc94a17Sniklas
256*fbc94a17Sniklas`@ifset FLAG ... @end ifset'
257*fbc94a17Sniklas     If FLAG is set, the Texinfo formatting commands format text
258*fbc94a17Sniklas     between `@ifset FLAG' and the following `@end ifset' command.
259*fbc94a17Sniklas
260*fbc94a17Sniklas`@clear FLAG'
261*fbc94a17Sniklas     Unset FLAG, preventing the Texinfo formatting commands from
262*fbc94a17Sniklas     formatting text between subsequent pairs of `@ifset FLAG' and
263*fbc94a17Sniklas     `@end ifset' commands.
264*fbc94a17Sniklas
265*fbc94a17Sniklas`@ifclear FLAG ... @end ifclear'
266*fbc94a17Sniklas     If FLAG is unset, the Texinfo formatting commands format text
267*fbc94a17Sniklas     between `@ifclear FLAG' and the following `@end ifclear' command.
268*fbc94a17Sniklas
269*fbc94a17SniklasProduce unnumbered headings that do not appear in a table of contents:
270*fbc94a17Sniklas
271*fbc94a17Sniklas`@heading TITLE'
272*fbc94a17Sniklas     Print an unnumbered section-like heading in the text, but not in
273*fbc94a17Sniklas     the table of contents of a printed manual.
274*fbc94a17Sniklas
275*fbc94a17Sniklas`@chapheading, @majorheading'
276*fbc94a17Sniklas`@subheading, @subsubheading'
277*fbc94a17Sniklas     Related commands.
278*fbc94a17Sniklas
279*fbc94a17Sniklas
280*fbc94a17SniklasFont commands:
281*fbc94a17Sniklas
282*fbc94a17Sniklas`@r{TEXT}'
283*fbc94a17Sniklas     Print TEXT in roman font.  No effect in Info.
284*fbc94a17Sniklas
285*fbc94a17Sniklas`@sc{TEXT}'
286*fbc94a17Sniklas     Set TEXT in the printed output in THE SMALL CAPS FONT and set
287*fbc94a17Sniklas     text in the Info file in uppercase letters.
288*fbc94a17Sniklas
289*fbc94a17Sniklas
290*fbc94a17SniklasMiscellaneous:
291*fbc94a17Sniklas
292*fbc94a17Sniklas`@author AUTHOR'
293*fbc94a17Sniklas     Typeset author's name flushleft and underline it.
294*fbc94a17Sniklas
295*fbc94a17Sniklas`@finalout'
296*fbc94a17Sniklas     Prevent TeX from printing large black warning rectangles beside
297*fbc94a17Sniklas     over-wide lines.
298*fbc94a17Sniklas
299*fbc94a17Sniklas`@footnotestyle STYLE'
300*fbc94a17Sniklas     Specify footnote style, end or separate.
301*fbc94a17Sniklas
302*fbc94a17Sniklas`@dmn{DIMENSION}'
303*fbc94a17Sniklas     Format a dimension.
304*fbc94a17Sniklas
305*fbc94a17Sniklas`@minus{}'
306*fbc94a17Sniklas     Generate a minus sign.
307*fbc94a17Sniklas
308*fbc94a17Sniklas`@paragraphindent INDENT'
309*fbc94a17Sniklas     Specify paragraph indentation, asis or a number.
310*fbc94a17Sniklas
311*fbc94a17Sniklas`@ref{NODE-NAME, [ENTRY], [TOPIC], [INFO-FILE], [MANUAL]}'
312*fbc94a17Sniklas     Make a reference.  In the printed manual, the reference does not
313*fbc94a17Sniklas     start with a `See'.
314*fbc94a17Sniklas
315*fbc94a17Sniklas`@title TITLE'
316*fbc94a17Sniklas     Alternative format for a title page.  In the printed manual, set
317*fbc94a17Sniklas     a title flush to the left-hand side of the page in a larger than
318*fbc94a17Sniklas     normal font and underline it with a black rule.  Also,
319*fbc94a17Sniklas     `@subtitle' command.
320*fbc94a17Sniklas
321*fbc94a17Sniklas`@subtitle SUBTITLE'
322*fbc94a17Sniklas     Subtitle in the alternative title page format.
323*fbc94a17Sniklas
324*fbc94a17Sniklas`@today{}'
325*fbc94a17Sniklas     Insert the current date.
326