2c758586a16333775dfffe725536333d35b96eac
[platform/upstream/groff.git] / doc / webpage.ms
1 .\" This file gives a small example how a web page could look like if
2 .\" created with groff.
3 .\"
4 .\"
5 .\" To make it work with other output devices also, we include
6 .\" www.tmac directly.
7 .\"
8 .nr PS 10
9 .nr VS 12
10 .if '\*[.T]'html' .nr LL 10i
11 .if r ps4html .nr LL 10i
12 .
13 .mso www.tmac
14 .
15 .HEAD "<link rel=""stylesheet"" type=""text/css"" href=""groff.css"" >"
16 .\" .HEAD "<link rel=""icon"" type=""image/png"" href=""http://www.gnu.org/graphics/gnu-mini.png"" >"
17 .
18 .ALN "#eeeeee" 30
19 .
20 .de blm-macro
21 .  nr tmp \\n[.i]
22 .  LP
23 .  in \\n[tmp]u
24 ..
25 .blm blm-macro
26 .
27 .HX 1
28 .
29 .defcolor mydarkred rgb 0.65f 0.1f 0.2f
30 .defcolor mydarkgreen rgb 0.1f 0.5f 0.2f
31 .defcolor mydarkblue rgb 0.1f 0.2f 0.6f
32 .
33 .ds GNU \m[mydarkred]G\m[]\m[mydarkgreen]N\m[]\m[mydarkblue]U\m[]
34 .
35 .NHR
36 .HTL
37 .
38 Home of Groff (GNU Troff).
39 .
40 .HTML-IMAGE-LEFT
41 .PSPIC -L gnu.eps 2i 2i
42 .ie r ps4html \{\
43 .  ll 10i
44 .  br
45 .  nop \v'-0.66i'\h'2.0i'\s[80]\*[GNU] Troff\s0
46 .  ll
47 .\}
48 .el \
49 .  nop \v'-0.66i'\h'2.0i'\s[60]\*[GNU] Troff\s0
50 .HTML-IMAGE-END
51 .
52 .HR
53 .
54 .LNS
55 .
56 .DC T HIS mydarkred
57 is the home page for groff (\c
58 .URL http://\:www.gnu.org/ GNU
59 Troff), which is a software typesetting package
60 that reads plain text mixed with formatting commands
61 and produces formatted output.
62 .
63 Output may be PostScript or PDF, html,
64 or ASCII/UTF8 for display at the terminal.
65 .
66 Formatting commands may be either low-level typesetting requests
67 (\[lq]primitives\[rq]) or macros from a supplied set.
68 .
69 Users may also write their own macros.
70 .
71 All three may be combined.
72
73 Present on most Unix systems owing to its long association
74 with Unix manuals (manpages),
75 groff is capable of producing typographically sophisticated documents
76 while consuming only minimal system resources.
77
78 The source code of the currently released versions of groff is
79 available at the
80 .URL "http://\:ftp.gnu.org/\:gnu/\:groff/" "GNU host"
81 and its mirrors;
82 the current development version is available from a
83 .URL "https://\:savannah.gnu.org/\:git/\:?group=groff" "git repository" .
84 .
85 The current version is 1.22.3 (04-Nov-2014).
86
87 To view the git repository in your browser, use
88 .URL "http://\:git.savannah.gnu.org/\:cgit/\:groff.git" \
89      "Savannah's cgit interface" .
90 .
91 There you can also download snapshots;
92 simply click on a commit entry line to get the URL.
93
94 Additional contributions can be found
95 .URL "http://\:groff.ffii.org/\:groff/\:contrib/" here .
96
97 For a special version of groff on the Microsoft operating systems, see
98 .URL "https://\:sf.net/\:projects/\:ezwinports/\:files/" \
99      "Groff for Windows"
100 (version 1.21).
101
102 Groff was originally written and maintained by James Clark; it
103 is now maintained by
104 .MTO Ted.Harding@\:nessie.mcc.ac.uk "Ted Harding"
105 and
106 .MTO wl@\:gnu.org "Werner Lemberg" .
107 .
108 .HR
109 .
110 \s[-4]\f[I]This document was produced using
111 .URL http://\:www.gnu.org/\:software/\:groff groff-\n[.x].\n[.y].\n[.Y] .
112 .br
113 The image at the top has been contributed by Imogen Mulley,
114 based on a similar picture found on the
115 .URL http://\:www.gnu.org "GNU server" .
116 .
117 .
118 .SH
119 License
120 .LP
121 GNU troff is released under the
122 .URL http://\:www.gnu.org/\:copyleft/\:gpl.html "GNU Copyright License" .
123 The documentation is released under the
124 .URL http://\:www.gnu.org/\:copyleft/\:fdl.html "Free Documentation License" .
125 .
126 .
127 .SH
128 README
129 .LP
130 This is the GNU groff document formatting system.
131 The version number is given in the file VERSION.
132
133 Included in this release are implementations of `troff', `pic', `eqn',
134 `tbl', `grn', `refer', `\-man', `\-mdoc', `\-mom', and `\-ms' macros, and
135 drivers for `PostScript', `PDF', `TeX DVI' format, `HP LaserJet\~4'
136 printers, `Canon CAPSL' printers, `HTML' and `XHTML' formats (beta status),
137 and typewriter-like devices.  Also included is a modified version of the
138 Berkeley `\-me' macros, the enhanced version `gxditview' of the X11
139 `xditview' previewer, and an implementation of the `\-mm' macros contributed
140 by J\[:o]rgen H\[:a]gg.
141
142 See the file `INSTALL' for installation instructions on how to install from
143 a release.
144 You require a C++ compiler.
145
146 The file `INSTALL.REPO' contains supplementary instructions for building
147 directly from a clone of the repository or a snapshot tarball.
148
149 The file `NEWS' describes recent user-visible changes to `groff'.
150
151 `groff' is free software.
152 See the file `COPYING' for copying permission.
153
154 The file `PROBLEMS' describes various problems that have been encountered in
155 compiling, installing, and running `groff'.
156
157 The file `MORE.STUFF' contains information about add-on packages useful for
158 `groff'.
159 .
160 .
161 .SH
162 Repository and FTP access
163 .LP
164 The most recent released version of `groff' is always available by
165 .URL "ftp://\:ftp.gnu.org/\:gnu/\:groff" "anonymous ftp" .
166
167 The current development version of `groff' is available from a
168 .URL http://\:savannah.gnu.org/\:git/\:?group=groff "git repository" .
169
170 To view the git repository in your browser, go to its
171 .URL http://\:git.savannah.gnu.org/\:cgit/\:groff.git "browser interface" .
172 There you can also download snapshots; simply click on a commit entry
173 line to get the URL.
174 .
175 .
176 .SH
177 Groff dependencies
178 .LP
179 Depending on your requirements, you may need at least some of the
180 following tools to build `groff' directly from its source:
181
182 .in 2m
183 .nf
184 perl >= v5.6.1 (see macro GROFF_PERL in file `m4/groff.m4')
185 ghostscript
186 the psutils package
187 the netpbm package
188 texinfo 4.8
189 bison \[>=] 1.875b or byacc
190 .fi
191 .in
192
193 Note that `texinfo' and `bison' or `byacc' are required only for building
194 from repository sources (either a checked out working copy, or a commit
195 snapshot).
196 They are not required for building from a stable release tarball.
197 Also note that the version numbers stated are the minimum supported.
198 No version of `texinfo' < 4.8 works, and the original release of `bison'
199 1.875 is known not to work; you \fImay\fP find that `bison' releases < 1.875
200 work, but in case of difficulty, please update to a later version
201 \fIbefore\fP posting a bug report.
202 For \fIall\fP sources, you need `ghostscript' for creation of either `PDF'
203 or `HTML' output; the `netpbm' and `psutils' packages are required only for
204 `HTML' output.
205 If you don't intend to produce output in either of these formats, then
206 these packages are unnecessary.
207
208 Additionally, producing `PDF' output directly with the `gropdf' device needs
209 a working installation of `perl'.
210 The same is true for some other preprocessors like `chem'.
211
212 In Linux Debian, the installation of `texinfo' is dangerous, for it creates
213 a file `install-info' that blocks the system installation.
214 So the created `/usr/local/bin/install-info' must be renamed.
215
216 The `groff' configure script searches for the X11 headers and libraries
217 `Xaw' and `Xmu'.
218 So the corresponding developer packages of your system must be installed,
219 otherwise `groff' does not install `gxditview' and the `-TX*' devices.
220 In Debian, the developer packages are `libxaw7-dev' and `libxmu-dev'.
221 .
222 .
223 .SH
224 Bug reports
225 .LP
226 Please report bugs using the project's
227 .URL https://\:savannah.gnu.org/\:projects/\:groff "bug tracker" .
228
229 Alternatively, but less preferable, you may use the form in the file
230 `BUG-REPORT'; the idea of this is to make sure that FSF has all the
231 information it needs to fix the bug.
232 At the very least, read the `BUG-REPORT' form and make sure that you supply
233 all the information that it asks for.
234 Even if you are not sure that something is a bug, report it using
235 `BUG-REPORT': this enables us to determine whether it really is a bug or
236 not.
237 .
238 .
239 .SH
240 Mailing lists
241 .LP
242 Three mailing lists are available:
243
244 .ULS
245 .LI
246 .MTO bug-groff@gnu.org bug-groff@gnu.org
247 for reporting bugs and following bug reports
248
249 .LI
250 .MTO groff@gnu.org groff@gnu.org
251 for general discussion of groff
252
253 .LI
254 .MTO groff-commit@gnu.org groff-commit@gnu.org
255 a read-only list showing commits to the git repository
256 .ULE
257
258 To subscribe, send a mail to \[la]list\[ra]-request@\[la]domain\[ra]
259 (example:
260 .MTO groff-request@\:gnu.org groff-request@\:gnu.org
261 for the `groff' list) with the word `subscribe' in either the
262 subject or body of the e-mail (don't include the quotes).
263 Alternatively, you may subscribe by visiting the web pages at
264
265 .in 2m
266 .nf
267 .URL http://lists.gnu.org/mailman/listinfo/bug-groff
268 .URL http://lists.gnu.org/mailman/listinfo/groff
269 .URL http://lists.gnu.org/mailman/listinfo/groff-commit
270 .fi
271 .in
272
273 Each of these web pages also provides a link to a browseable archive of
274 postings to the corresponding mailing list.
275 .
276 .
277 .SH
278 NEWS VERSION 1.22.3
279 .LP
280 .SH 2
281 gxditview
282
283 .ULS
284 .LI
285 X11 resources for gxditview, which were previously installed in
286 /usr/X11/lib/X11/app-defaults no matter which `prefix' was set, are
287 now installed in appresdir=$prefix/lib/X11/app-defaults.
288 If `appresdir' is not a standard X11 resource directory, the environment
289 variable XFILESEARCHPATH should be set to this path.
290 The standard default directories depends on the system `libXt'.
291 Common directories include:
292
293 .in 2m
294 .nf
295 /usr/lib/X11/app-defaults
296 /usr/share/X11/app-defaults
297 /etc/X11/app-defaults
298 .fi
299 .in
300
301 Note that if the option `\-\-with\-appresdir' is passed to `configure', the
302 `prefix' will not be added to `appresdir'.
303 .ULE
304 .
305 .
306 .SH 2
307 glilypond
308
309 .ULS
310 .LI
311 This new preprocessor (contributed by Bernd Warken) allows embedding of code
312 for
313 .URL http://\:www.lilypond.org "GNU LilyPond" ,
314 a music typesetter.
315 The data gets automatically processed and embedded as EPS images.
316 .ULE
317 .
318 .
319 .SH 2
320 gperl
321
322 .ULS
323 .LI
324 Bernd Warken contributed a new preprocessor to handle Perl code that can be
325 evaluated and then processed by groff.
326 .ULE
327 .
328 .
329 .SH 2
330 gpinyin
331
332 .ULS
333 .LI
334 Another preprocessor from Bernd Warken to pretty-print Pinyin syllables like
335 `guo2wang2' as `gu\['o]w\['a]ng'.
336 .ULE
337 .
338 .
339 .SH 2
340 pdfroff
341
342 .ULS
343 .LI
344 The pdfroff utility script now activates its `\-\-no\-toc\-relocation'
345 option by default, unless a request similar to:
346
347 .in 2m
348 .nf
349 \&.if !\en[PHASE] .tm pdfroff-option:set toc_relocation=enabled
350 .fi
351 .in
352
353 is invoked during input file processing; (`.if !\en[PHASE] ...' ensures
354 that the effect of the `.tm' request is restricted to the document setup
355 phase of processing, as pdfroff sets it to 1 or\~2 in the output phase,
356 but leaves it unset in the setup phase).
357
358 The bundled `spdf.tmac' macro package, which implicitly activates
359 `\-mpdfmark' for `ms' macro users, ensures that TOC relocation is
360 appropriately enabled, when the `.TC' macro is invoked.
361 .ULE
362 .
363 .
364 .SH 2
365 macro packages
366
367 .ULS
368 .LI
369 The \-mom macro package now has full support for eqn, pic, and tbl, as well
370 as captioning and labelling of pdf images and preprocessor output.
371 Lists of Figures, Equations, and Tables can now be autogenerated.
372 PDF_IMAGE has a new FRAME option.
373
374 .LI
375 A French introduction to the \-me macro package has been added (file
376 `meintro_fr.me').
377
378 .LI
379 In -mdoc, command %C is now available, providing a city or place reference.
380 .ULE
381 .
382 .
383 .SH
384 NEWS VERSION 1.22.2
385 .LP
386 .SH 2
387 tbl
388
389 .ULS
390 .LI
391 The character `#' can now be used as an eqn delimiter within tables.
392 .ULE
393 .
394 .
395 .SH 2
396 eqn
397
398 .ULS
399 .LI
400 A GNU extension
401
402 .in 2m
403 .nf
404 .ft C
405 delim on
406 .ft P
407 .fi
408 .in
409
410 has been added to reactivate delimiters which have been disabled with
411 `delim off'.
412 .ULE
413 .
414 .
415 .SH
416 NEWS VERSION 1.22.1
417 .LP
418 (There was no release 1.22.)
419 .LP
420 .SH 2
421 groff
422
423 .ULS
424 .LI
425 A new option `\-j' has been added to call the `chem' preprocessor.
426 .ULE
427 .
428 .
429 .SH 2
430 tbl
431
432 .ULS
433 .LI
434 Improved line numbering support.
435 .ULE
436 .
437 .
438 .SH 2
439 macro packages
440
441 .ULS
442 .LI
443 Support for the `refer' preprocessor has been added to the \-mm macro
444 package.
445
446 .LI
447 In \-me, the `TH' macro was changed for compatibility with line number
448 support in tables.
449
450 `bl' now works inside of blocks.
451
452 The behaviour of centered blocks has been improved.
453
454 Line numbering support has been improved.
455
456 .LI
457 The \-mom macro package has reached version 2.0, focusing on PDF output
458 with gropdf (using the new `pdfmom' wrapper script).
459 See the file `version-2.html' of the \-mom documentation for a list of the
460 many changes.
461
462 .LI
463 Some generic Unicode fallback characters (mainly Roman numerals) have been
464 added.
465 .ULE
466 .
467 .
468 .SH 2
469 tbl
470
471 .ULS
472 .LI
473 Added numbered line support in tables.
474 .ULE
475 .
476 .
477 .SH 2
478 gropdf
479
480 .ULS
481 .LI
482 A new driver for generating PDF output directly, contributed by
483 .MTO deri@chuzzlewit.myzen.co.uk "Deri James" .
484
485 Note that this driver is written in Perl, thus you need a working Perl
486 installation to run this output device.
487 .ULE
488 .
489 .
490 .SH 2
491 pdfmom
492
493 .ULS
494 .LI
495 A new wrapper around groff that facilitates the production of PDF documents
496 from files formatted with the \-mom macros.
497 .ULE
498 .
499 .
500 .SH
501 NEWS VERSION 1.21
502 .LP
503 .SH 2
504 troff
505
506 .ULS
507 .LI
508 The new `lsm' request specifies a macro to be invoked when leading
509 spaces in an input line are encountered (which are removed then).
510 Number registers `lsn' and `lss' hold the number of removed leading
511 spaces and the corresponding horizontal space, respectively.
512
513 .LI
514 There is a new warning category `file', enabled by default.
515 The `mso' request emits warnings in this category when the requested
516 macro file does not exist.
517
518 .LI
519 The new `class' request assigns a short name to a set of characters
520 which can be referred to in the `cflags' request.
521 This is especially useful to control line-breaking and hyphenation
522 rules in CJK languages.
523
524 .LI
525 Three new values for the `cflags' request have been added, which are
526 needed for proper CJK support.
527
528 .in 2m
529 128  prohibit before but allow break after character
530 .br
531 256  prohibit after but allow break before character
532 .br
533 512  allow break before and after character
534 .in
535 .ULE
536 .
537 .
538 .SH 2
539 tbl
540
541 .ULS
542 .LI
543 A new global option `nowarn' suppresses warnings if tables are longer
544 than the current line width.
545 .ULE
546 .
547 .
548 .SH 2
549 afmtodit
550
551 .ULS
552 .LI
553 New option `\-o' to specify the name of the output file.
554 .ULE
555 .
556 .
557 .SH 2
558 macro packages
559
560 .ULS
561 .LI
562 A new macro `%U' has been added to the mdoc package to indicate a URL
563 reference within an .Rs/.Re environment.
564
565 .LI
566 Rudimentary support for the Japanese script has been added, most
567 suitable for man page handling as output by grotty.
568 The file `ja.tmac' contains the necessary setup to allow line breaks
569 before and after CJK characters (with proper exceptions).
570 Note, however, that no inter-character spacing is implemented yet \[en]
571 this usually causes many warnings about bad line breaks.
572 .ULE
573 .
574 .
575 .SH
576 NEWS VERSION 1.20.1
577 .LP
578 A packaging error made it necessary to publish this release.
579 No user-visible changes.
580 .
581 .
582 .SH
583 NEWS VERSION 1.20
584 .LP
585 .SH 2
586 groff
587
588 .ULS
589 .LI
590 XHTML support has been added to grohtml and can be specified by
591 \-Txhtml.
592 This option also utilizes the MathML capability of
593 eqn and combines the outputs of both in the final XHTML file.
594 Users can also specify the `\-P\-V' option together with `\-Txhtml'
595 in groff.
596 This has the effect of creating an XHTML validator
597 button at the bottom of each page.
598
599 .LI
600 Some options have been added to control a new preprocessor,
601 `preconv' (see below): `\-k' activates it, `\-K' sets the input
602 encoding, and `\-D' sets the default encoding.
603
604 .LI
605 A new environment variable `GROFF_ENCODING' sets the encoding
606 of input files; it implies command option `\-k'.
607 .ULE
608 .
609 .
610 .SH 2
611 troff
612
613 .ULS
614 .LI
615 Two new requests `device' and `devicem' have been added which are
616 equivalents to the \eX and \eY escapes, respectively.
617
618 .LI
619 A new read-only number register `.br' is available which is set to\~1
620 if a macro is called as .foo and to\~0 if called as 'foo.
621 This allows to reliably modify requests.
622
623 .in 2m
624 .nf
625 .ft C
626 \&.als bp@orig bp
627 \&.de bp
628 \&.  tm before bp
629 \&.  ie \e\en[.br] .bp@orig
630 \&.  el 'bp@orig
631 \&.  tm after bp
632 \&..
633 .ft P
634 .fi
635 .in
636
637 .LI
638 A new request `fzoom' has been added to adjust the optical size of a
639 font in relation to the others.
640 The zoom factor is given in integer multiples of 1/1000th.
641 In the following example, the CR font is magnified by 10% (the zoom
642 factor is 1.1).
643
644 .in 2m
645 .nf
646 .ft C
647 \&.fam P
648 \&.fzoom CR 1100
649 \&.ps 12
650 \&Palatino and \ef[CR]Courier\ef[]
651 .ft P
652 .fi
653 .in
654
655 The new number register `.zoom' holds the zoom value of the current font,
656 in multiples of 1/1000th.
657
658 .LI
659 The `cflags' request has been extended with a new flag value 64, to be
660 used in combination with values\~2 (break before character) and\~4 (break
661 after character).
662 If set, the hyphenation codes of the surrounding characters are ignored.
663
664 .LI
665 A new debugging request, `pev', has been added to print all of the current
666 known environments to stderr.
667 It first prints the state of the current environment, then iterates
668 through all of the known environments, printing each except the one that
669 is current.
670
671 .LI
672 A new escape `\e$^' has been added.
673 It represents the parameters of a macro as if they were an argument to
674 the `ds' request.
675 This is used by `trace.tmac'.
676
677 .LI
678 A new read-only number register `.O' is available which returns the
679 current suppression level as set by the `\eO' escape.
680
681 .LI
682 The space width emitted by the `\e|' and `\e^' escape sequences can be
683 controlled on a per-font basis.
684 If there is a glyph named `\e|' or `\e^', respectively (note the leading
685 backslash), defined in the current font file, use this glyph's width
686 instead of the default value.
687
688 This behaviour is not new, but hasn't been documented before.
689 .ULE
690 .
691 .
692 .SH 2
693 nroff
694
695 .ULS
696 .LI
697 Two new command line options `\-w' and `\-W' are accepted and passed to
698 groff to enable and disable warning messages, respectively.
699 .ULE
700 .
701 .
702 .SH 2
703 preconv
704
705 .ULS
706 .LI
707 This is a new preprocessor to convert various input encodings to something
708 groff understands (this is, ASCII and \e[uXXXX] entities, with `XXXX' a
709 hexadecimal number with 4 to 6 digits, representing a Unicode input code).
710 Normally, preconv should be invoked with options `\-k' and `\-K' of groff.
711 See the preconv man page for details.
712 .ULE
713 .
714 .
715 .SH 2
716 pic
717
718 .ULS
719 .LI
720 int(x) now really behaves as documented: It truncates the non-integer part
721 of\~x, this is, it rounds towards zero and not towards the next integer
722 less than or equal to\~x.
723
724 .LI
725 Pic now supports up to 32 macro arguments (and up to 16 on EBCDIC
726 platforms).
727
728 .LI
729 Heinz-Jürgen Ã–rtel contributed code for two new keywords, `xslanted' and
730 `yslanted', which can change the shape of boxes into arbitrary
731 parallelograms.
732 .ULE
733 .
734 .
735 .SH 2
736 tbl
737
738 .ULS
739 .LI
740 Latest versions of DWB tbl introduced an `x' column specifier for a single
741 column expanded to the line width.
742 GNU tbl has now been extended to support even multiple `x' specifiers
743 within a table.
744
745 .LI
746 To avoid collision with the new `x' specifier, a block formatting macro
747 must now be selected with specifier letter `m'.
748 .ULE
749 .
750 .
751 .SH 2
752 eqn
753
754 .ULS
755 .LI
756 Eric S. Raymond has added a new device type to eqn, MathML.
757 When \-TMathML is enabled, eqn now emits MathML formula markup rather than
758 groff commands.
759 The new groff \-Txhtml device uses this.
760 .ULE
761 .
762 .
763 .SH 2
764 chem
765
766 .ULS
767 .LI
768 The preprocessor `chem' was added.
769 `chem' is a roff language to generate chemical structure diagrams.
770 It generates `pic' output.
771 .ULE
772 .
773 .
774 .SH 2
775 grops
776
777 .ULS
778 .LI
779 The PS font definition files have been regenerated with newer AFM versions
780 from Adobe's 35 core fonts as present in most Level\~2 PS printers.
781 The changes are minor (most notably, the addition of the `Euro' glyph and an
782 extended set of kerning values).
783
784 For backwards compatibility, the old set of font definition files is still
785 available; for details please read the man page of grops.
786 .ULE
787 .
788 .
789 .SH 2
790 grotty
791
792 .ULS
793 .LI
794 \eD'p...' is now supported if the polygon consists entirely of horizontal
795 and vertical lines.
796 .ULE
797 .
798 .
799 .SH 2
800 grohtml
801
802 .ULS
803 .LI
804 XHTML support has been added.
805
806 .LI
807 New command line option `\-V' (to be used in XHTML mode) to produce an
808 XHTML validator button.
809
810 .LI
811 New command line option `\-y' to produce a right-justified groff signature
812 at the end of the document (in combination with option `\-V').
813 .ULE
814 .
815 .
816 .SH 2
817 gxditview
818
819 .ULS
820 .LI
821 Support for keyboard navigation has been improved.
822
823 .LI
824 Similar to other X11 applications, there are now two resource files,
825 `GXditview' and `GXditview-color'.
826 .ULE
827 .
828 .
829 .SH 2
830 groffer
831
832 .ULS
833 .LI
834 `groffer' version 1.* exists now in a shell and a Perl version.
835 .ULE
836 .
837 .
838 .SH 2
839 afmtodit
840
841 .ULS
842 .LI
843 New option `\-c' to output more font information as comments.
844
845 .LI
846 New option `\-k' to suppress output of kerning data.
847
848 .LI
849 New option `\-f NAME' to set the internal name of the groff font.
850 .ULE
851 .
852 .
853 .SH 2
854 macro packages
855
856 .ULS
857 .LI
858 Joachim Walsdorff contributed the `hdtbl' package for the generation of
859 tables, using a syntax very similar to the HTML table model.
860 For example, a table with two cells and two rows looks like this:
861
862 .in 2m
863 .nf
864 .ft C
865 \&.TBL cols=2
866 \&.  TR .TD 1*1 .TD 1*2
867 \&.  TR .TD 2*1 .TD 2*2
868 \&.ETB
869 .ft P
870 .fi
871 .in
872
873 Here the same table using a more expanded syntax:
874
875
876 .in 2m
877 .nf
878 .ft C
879 \&.TBL cols=2
880 \&.  TR
881 \&.    TD 1*1
882 \&.    TD 1*2
883 \&.  TR
884 \&.    TD 2*1
885 \&.    TD 2*2
886 \&.ETB
887 .ft P
888 .fi
889 .in
890
891 Tables can be nested; `hdtbl' works without a preprocessor so that the
892 full capability of groff's macro engine is available.
893
894 This package currently works with `\-Tps' only.
895
896 .LI
897 \-mandoc now supports multiple man pages (in either man or mdoc format).
898
899 .LI
900 Fabrice Ménard contributed locales support.
901 In particular, it is now possible to get French localization of the main
902 macro packages (\-ms, \-mm, \-me, and \-mom, but not \-man and \-mdoc
903 which are localized differently) by appending `-mfr' to the list of macro
904 packages.
905 Example:
906
907 .in 2m
908 .ft C
909 .nf
910 groff \-ms \-mfr foo > foo.ps
911 .fi
912 .ft P
913 .in
914
915 Note that latin-9 input encoding is used for French (to support the `oe'
916 ligature).
917
918 .LI
919 Swedish macro localization (with `\-msv') has been added.
920
921 .LI
922 German macro localization (with `\-mde' and `\-mden' for traditional and
923 new orthography, respectively) has been added.
924
925 .LI
926 Czech macro localization (with `\-mcs') has been added.
927
928 Note that latin-2 input encoding is used for Czech.
929
930 .LI
931 A new macro `Dx' has been added to the mdoc package which identifies the
932 DragonFly OS.
933
934 .LI
935 If mdoc is used to print multiple man pages (together with the \-rcR=0
936 command line option), each man page now starts a new page.
937
938 .LI
939 \-mtrace has been considerably improved, now showing number and string
940 register assignments, among other things.
941 See the groff_trace man page for details.
942
943 .LI
944 The PSPIC macro now works with all devices (producing a hollow
945 rectangle on devices which don't support inclusion of PS images) and
946 is loaded in troffrc at start-up.
947
948 .LI
949 A new auxiliary macro package `62bit' has been added which provides some
950 macros for adding, multiplying, and dividing signed 62bit integers (mainly
951 to handle normal groff number operations without risking overflow errors).
952
953 .LI
954 For \-ms, Eric S. Raymond contributed support for ancient Bell Labs
955 localisms `.SC', `.UC', `.P1', and `.P2'.
956 The latter three are enabled only after .SC is called.
957
958 .LI
959 A new string, `SN-STYLE', has been added to the ms macros, controlling
960 the formatting of section numbers in headings defined by `.NH'.
961
962 .LI
963 The new macro package `ptx' provides a template definition for the `.xx'
964 macro as needed by GNU ptx (for creating permuted indices).
965 .ULE
966 .
967 .
968 .SH
969 NEWS VERSION 1.19.2
970 .LP
971 .SH 2
972 troff
973
974 .ULS
975 .LI
976 Analogously to the .ft and \ef pair, two new requests `gcolor' and
977 `fcolor' (which pair with \em and \eM, respectively) have been added to
978 set the glyph and background colours.
979
980 .LI
981 A new read-only, string-valued register `.sty' returns the name of the
982 current style.
983
984 .LI
985 Two new conditional operators `F\~\[la]name\[ra]' and `S\~\[la]name\[ra]'
986 have been added.
987 `F' is true if a font \[la]name\[ra] exists.
988 `S' is true if a style \[la]name\[ra] has been registered.
989
990 .LI
991 Cyrillic characters have been added to the `utf8' and `html' output
992 devices.
993 .ULE
994 .
995 .
996 .SH 2
997 pic
998
999 .ULS
1000 .LI
1001 The `by' argument in a `for' loop can now be negative if it is additive.
1002 For the multiplicative case, it must be greater than zero.
1003 .ULE
1004 .
1005 .
1006 .SH 2
1007 eqn
1008
1009 .ULS
1010 .LI
1011 The following keywords aren't new but haven't been documented previously:
1012
1013 .in 2m
1014 \fBundef NAME\fP (to undefine a macro)
1015 .br
1016 \fBcopy "FILE"\fP (a synonym for `include')
1017 .br
1018 \fBspace n\fP (to modify the vertical spacing before and after an equation)
1019 .in
1020
1021 .LI
1022 The following macros aren't new but haven't been documented previously:
1023
1024 .in 2m
1025 \fBAlpha, .\|.\|., Omega\fP (the same as `ALPHA', .\|.\|., `OMEGA')
1026 .br
1027 \fBldots\fP (three dots on the base line)
1028 .br
1029 \fBdollar\fP (a dollar glyph)
1030 .in
1031
1032 .LI
1033 The following keywords have been extended.  Again, this isn't new but
1034 hasn't been documented previously:
1035
1036 .in 2m
1037 .ft B
1038 col n { .\|.\|. }
1039 .br
1040 lcol n { .\|.\|. }
1041 .br
1042 rcol n { .\|.\|. }
1043 .br
1044 ccol n { .\|.\|. }
1045 .br
1046 pile n { .\|.\|. }
1047 .br
1048 lpile n { .\|.\|. }
1049 .br
1050 rpile n { .\|.\|. }
1051 .br
1052 cpile n { .\|.\|. }
1053 .ft P
1054 (set vertical spacing between rows to\~N)
1055 .ULE
1056 .
1057 .
1058 .SH 2
1059 grohtml
1060
1061 .ULS
1062 .LI
1063 This device driver has been raised to beta stage; its set of tags should
1064 be stable now.
1065
1066 .LI
1067 New command line option `\-s' to set the base point size.
1068
1069 .LI
1070 New command line option `\-S' to set the split level while generating
1071 multiple files.
1072 .ULE
1073 .
1074 .
1075 .SH 2
1076 grotty
1077
1078 .ULS
1079 .LI
1080 Experimental support for zero-width and double-width characters.
1081 .ULE
1082 .
1083 .
1084 .SH 2
1085 gxditview
1086
1087 .ULS
1088 .LI
1089 On platforms which have the X\~Window System this program is now built and
1090 installed automatically.
1091 .ULE
1092 .
1093 .
1094 .SH 2
1095 xtotroff
1096
1097 .ULS
1098 .LI
1099 This program to create font definition files for xditview isn't new but
1100 hasn't been installed previously.
1101 .ULE
1102 .
1103 .
1104 .SH 2
1105 groffer
1106
1107 .ULS
1108 .LI
1109 A security problem (reported as CAN-2004-0969) has been fixed.
1110 .ULE
1111 .
1112 .
1113 .SH 2
1114 gdiffmk
1115
1116 .ULS
1117 .LI
1118 A new script contributed by Mike Bianchi.
1119 It compares two groff, nroff, or troff documents and creates an output with
1120 added margin characters (using `.mc') to indicate the differences.
1121 .ULE
1122 .
1123 .
1124 .SH 2
1125 pdfroff
1126
1127 .ULS
1128 .LI
1129 A new wrapper script contributed by Keith Marshall to easily create PDF
1130 documents with groff.
1131 .ULE
1132 .
1133 .
1134 .SH 2
1135 macro packages
1136
1137 .ULS
1138 .LI
1139 ms.tmac
1140
1141 .ULS
1142 .LI
1143 Support for fractional point sizes: A value for the `PS', `VS', `FPS',
1144 and `VPS' register larger than or equal to 1000 is always divided by 1000.
1145 For example, `.nr\~PS\~10250' sets the document's font size to 10.25 points.
1146
1147 .LI
1148 The `Ds' and `De' macros provided in ms since groff version 1.19 have
1149 been removed; the equivalent `DS' and `DE' macros should be used instead.
1150 X11 documents which actually use `Ds' and `De' always load a
1151 specific macro file from the X11 distribution (`macros.t') which
1152 provides proper definitions for the two macros.
1153
1154 .LI
1155 The following registers have been added for improving layout control:
1156
1157 .IP PORPHANS
1158 Defines number of lines following `LP', `PP', `QP', `IP' or `XP' which
1159 must be kept together, before any automatic page break.
1160
1161 .IP HORPHANS
1162 Sets number of lines of following paragraph which must be kept with a
1163 heading, defined by `NH' or `SH', before any automatic page break.
1164
1165 .IP GROWPS
1166 Sets the first level of heading (set with `NH') which keeps the
1167 same point size as body text.
1168
1169 .IP PSINCR
1170 Sets the point size increment for each level of heading (set with
1171 `NH'), below the threshold level set by `GROWPS'; e.g., if
1172 \en[PS]\~=\~10, \en[GROWPS]\~=\~3 and \en[PSINCR]\~=\~2.0p, then `.NH\~1'
1173 produces 14pt headings, `.NH\~2' produces 12pt, and all other levels
1174 remain at 10pt (because \en[PS]\~=\~10).
1175
1176 .LI
1177 The `SH' macro now accepts a numeric argument, to make heading size
1178 match that of `NH' with same argument value when the `GROWPS'/`PSINCR'
1179 feature is enabled.
1180 .ULE
1181
1182 Please refer to the documentation of the ms package for other, minor
1183 improvements.
1184
1185 .LI
1186 me.tmac
1187
1188 The section type set with the `++' request is available in the `_M'
1189 register.
1190 This isn't new but hasn't been documented before.
1191
1192 .LI
1193 www.tmac
1194
1195 The `HR' macro no longer causes an empty line for non-HTML devices.
1196
1197 A new macro `HEAD' has been added to directly add data to the
1198 <head>...</head> block.
1199
1200 New macros `OLS' and `OLE' to start and end an ordered list.
1201
1202 New macros `DLS' and `DLE' to start and end a definition list.
1203 .ULE
1204 .
1205 .
1206 .SH 2
1207 pdfmark
1208
1209 .ULS
1210 .LI
1211 A new macro package contributed by Keith Marshall which implements PDF
1212 marks.
1213 This is in alpha stage currently.
1214 .ULE
1215 .
1216 .
1217 .SH 2
1218 miscellaneous
1219
1220 .ULS
1221 .LI
1222 Two new keywords to the DESC file have been added which are needed for
1223 grohtml: `image_generator' and `unscaled_charwidths'.
1224 The former gives the name of the program which creates PNG images,
1225 and the latter makes troff always use unscaled character widths.
1226 .ULE
1227 .
1228 .
1229 .SH
1230 NEWS VERSION 1.19.1
1231 .LP
1232 .SH 2
1233 groff
1234
1235 .ULS
1236 .LI
1237 The argument of the command line option `\-I' is now also passed to troff
1238 and grops, specifying a directory to search for files on the command line,
1239 files named in `so' and `psbb' requests, and files named in \eX'ps:\~file'
1240 and \eX'ps:\~import' escapes.
1241
1242 .LI
1243 If option `\-V' is used more than once, the commands are both printed
1244 on standard error and run.
1245 .ULE
1246 .
1247 .
1248 .SH 2
1249 troff
1250
1251 .ULS
1252 .LI
1253 Two new read-only, string-valued registers `.m' and `.M' return the
1254 name of the current drawing and background color, respectively.
1255
1256 .LI
1257 New read-only register `.U' which is set to\~1 if in safer mode and set
1258 to\~0 if in unsafe mode.
1259
1260 .LI
1261 An input encoding file for \%latin-5 (a.k.a.\& ISO \%8859-9) has been
1262 added.
1263 Example use:
1264
1265 .in 2m
1266 .ft C
1267 groff \-Tdvi \-mlatin5 my_file > my_file.dvi
1268 .ft R
1269 .in
1270
1271 Note that some output devices don't support all glyphs of this encoding.
1272
1273 .LI
1274 If the `return' request is called with an argument, it exits twice,
1275 namely the current macro and the macro one level higher.
1276 This is used to define a wrapper macro for `return' in trace.tmac.
1277
1278 .LI
1279 For completeness, two new requests have been added: `dei1' and `ami1'.
1280 They are equivalent to `dei' and `ami', respectively, but the macros
1281 are executed with compatibility mode off (similar to `de1' and `am1').
1282
1283 .LI
1284 New command line option `\-I' to specify a directory for files (both
1285 those on the command line and those named in `psbb' requests).
1286 This is also handled by the groff wrapper program.
1287
1288 .LI
1289 Since version 1.19 you can say `.vs\~0'.
1290 Older versions emit a warning and convert this to `.vs\~\en[.V]'.
1291
1292 This hasn't been documented properly.
1293 Note that `.vs\~0' isn't saved in a diversion since it doesn't result
1294 in vertical motion.
1295 .ULE
1296 .
1297 .
1298 .SH 2
1299 pic
1300
1301 .ULS
1302 .LI
1303 Dashed and dotted ellipses have been implemented.
1304 .ULE
1305 .
1306 .
1307 .SH 2
1308 tbl
1309
1310 .ULS
1311 .LI
1312 New key character `x' to make tbl call a user-defined macro on a table
1313 cell.
1314 Patch by
1315 .MTO hj.oertel@\:surfeu.de "Heinz-J\[:u]rgen Oertel" .
1316 .ULE
1317 .
1318 .
1319 .SH 2
1320 grap2graph
1321
1322 .ULS
1323 .LI
1324 A new script contributed by
1325 .MTO esr@\:thyrsus.com "Eric S. Raymond" .
1326 It converts a grap diagram into a cropped image.
1327 Since it uses gs and the PNM library, virtually all graphics formats
1328 are available for output.
1329 [Note that the grap program itself isn't part of the groff package;
1330 see the file MORE.STUFF how to obtain grap.]
1331 .ULE
1332 .
1333 .
1334 .SH 2
1335 grohtml
1336
1337 .ULS
1338 .LI
1339 New option `\-j' to emit output split into multiple files.
1340 .ULE
1341 .
1342 .
1343 .SH 2
1344 grops
1345
1346 .ULS
1347 .LI
1348 New command line option `\-I' to specify a directory to search for files
1349 on the command line and files named in \eX'ps:\~import' and \eX'ps:\~file'
1350 escapes.
1351 This is also handled by the groff wrapper program.
1352
1353 .LI
1354 The default value for the `broken' keyword in the DESC file is now\~0.
1355 .ULE
1356 .
1357 .
1358 .SH 2
1359 grolj4
1360
1361 .ULS
1362 .LI
1363 A new man page `lj4_font(5)' documents how fonts are accessed with
1364 grolj4.
1365
1366 .LI
1367 The built-in fonts for LJ4 and newer PCL\~5 devices have been completely
1368 revised, mainly to access as much glyphs as possible.
1369 The provided metric files should be compatible with recent PCL\~5 printers
1370 also.
1371 Additionally, font description files have been added for the Arial and
1372 Times New Roman family, the MS symbol, and Wingdings fonts.
1373 .ULE
1374 .
1375 .
1376 .SH 2
1377 afmtodit
1378
1379 .ULS
1380 .LI
1381 New option `\-x' to prevent use of built-in Adobe Glyph List.
1382 .ULE
1383 .
1384 .
1385 .SH 2
1386 hpftodit
1387
1388 .ULS
1389 .LI
1390 Completely revised to handle HP TrueType metric files also.
1391 See the hpftodit manual page for more details.
1392 .ULE
1393 .
1394 .
1395 .SH 2
1396 groffer
1397
1398 .ULS
1399 .LI
1400 This version is a rewrite of groffer in many parts, but it is kept in
1401 the old single script style.
1402
1403 .ULS
1404 .LI
1405 New options: \-\-text (\-\-mode\~text), \-\-tty-viewer, \-\-X (\-\-mode\~X),
1406 \-\-X-viewer, \-\-html (\-\-mode\~html), \-\-html-view, \-\-apropos-data,
1407 \-\-apropos-devel, \-\-apropos-progs.
1408
1409 .LI
1410 New documentation file README_SH.
1411
1412 .LI
1413 Enhancement of the configuration files and the `apropos' handling.
1414 .ULE
1415 .ULE
1416 .
1417 .
1418 .SH 2
1419 macro packages
1420
1421 .ULS
1422 .LI
1423 www.tmac: New macro `JOBNAME' to split output into multiple files.
1424
1425 .LI
1426 In mdoc, multiple calls to `.Lb' are now supported in the LIBRARY
1427 section.
1428 .ULE
1429 .
1430 .
1431 .SH
1432 NEWS VERSION 1.19
1433 .LP
1434 .SH 2
1435 troff
1436
1437 .ULS
1438 .LI
1439 Input encoding files for \%latin-9 (a.k.a.\& \%latin-0 and ISO \%8859-15)
1440 and \%latin-2 (ISO \%8859-2) have been added.
1441 Example use:
1442
1443 .in 2m
1444 .ft C
1445 groff -Tdvi -mlatin9 my_file > my_file.dvi
1446 .ft P
1447 .in
1448
1449 You still need proper fonts with the necessary glyphs.
1450 Out of the box, the groff package supports \%latin-9 only for \-Tps,
1451 \-Tdvi, and \-Tutf8, and \%latin-2 only for \-Tdvi and \-Tutf8.
1452
1453 .LI
1454 Composite glyphs are now supported.
1455 To do this, a subset of the Adobe Glyph List (AGL) Algorithm as described in
1456 .URL http://\:partners.adobe.com/\:public/\:developer/\:opentype/\:index_glyph.html \
1457      http://\:partners.adobe.com/\:public/\:developer/\:opentype/\:index_glyph.html
1458 is used to construct glyph names based on Unicode character codes.
1459 The existing groff glyph names are frozen; no glyph names which can't be
1460 constructed algorithmically will be added in the future.
1461
1462 The \e[...] escape sequence has been extended to specify multiple glyph
1463 components.
1464 Example:
1465
1466 .in 2m
1467 .ft C
1468 \e[A ho]
1469 .ft R
1470 .in
1471
1472 this accesses a glyph with the name `u0041_0328'.
1473
1474 Some groff glyphs which are useful as composites map to `wrong' Unicode
1475 code points.
1476 For example, `ho' maps to U+02DB which is a spacing ogonek, whereas a
1477 non-spacing ogonek U+0328 is needed for composite glyphs.
1478 The new request
1479
1480 .in 2m
1481 .ft C
1482 \&.composite from to
1483 .ft R
1484 .in
1485
1486 changes the mapping while a composite glyph name is constructed.
1487 To make \e[A\~ho] yield the expected result,
1488
1489 .in 2m
1490 .ft C
1491 \&.composite ho u0328
1492 .ft R
1493 .in
1494
1495 is needed.
1496 [The new file `composite.tmac' loaded at start-up already
1497 contains proper calls to `.composite'.]
1498
1499 Please refer to the info pages of groff and to the groff_char man page
1500 for more details.
1501
1502 .LI
1503 A new request `fschar' has been added to define font-specific fallback
1504 characters.
1505 They are searched after the list of fonts declared with the
1506 `fspecial' request but before the list of fonts declared with `special'.
1507
1508 .LI
1509 Fallback characters defined with `fschar' can be removed with the
1510 new `rfschar' request.
1511
1512 .LI
1513 A new request `schar' has been added to define global fallback
1514 characters.
1515 They are searched after the list of fonts declared with the
1516 `special' request but before the already mounted special fonts.
1517
1518 .LI
1519 In groff versions 1.18 and 1.18.1, \eD'f\~...'\& didn't move the current
1520 point horizontally.
1521 Despite of being silly, this change has been reverted for backwards
1522 compatibility.
1523 Consequently, the intermediate output command `Df' also moves the
1524 position horizontally again.
1525
1526 \eD'f\~...'\& is deprecated since it depends on the horizontal resolution
1527 of the output device (given with the `hor' parameter in the DESC file).
1528 Use the new \eD'Fg\~...'\& escape instead.
1529
1530 .LI
1531 For orthogonality, new \eD subcommands to change the fill color are
1532 available:
1533
1534 .in 2m
1535 .ft C
1536 \eD'Fr ...' \f[R](rgb)\f[]
1537 .br
1538 \eD'Fc ...' \f[R](cmy)\f[]
1539 .br
1540 \eD'Fg ...' \f[R](gray)\f[]
1541 .br
1542 \eD'Fk ...' \f[R](cmyk)\f[]
1543 .br
1544 \eD'Fd' \f[R](default color)\f[]
1545 .ft R
1546 .in
1547
1548 The arguments are the same as with the `defcolor' request.
1549 The current position is \f[I]not\f[] changed.
1550
1551 .LI
1552 The values set with \eH and \eS are now available in number registers
1553 \en[.height] and \en[.slant], respectively.
1554
1555 .LI
1556 The `.pe' number register isn't new but hasn't been documented before.
1557 It is set to\~1 during a page ejection caused by the `bp' request.
1558
1559 .LI
1560 The new glyph symbol `tno' is a textual variant of `no'.
1561
1562 .LI
1563 The new glyph symbol `+e' represents U+03F5, GREEK LUNATE EPSILON SYMBOL.
1564 (Well, it is not really new since it has been previously supported by
1565 grolj4.)
1566 The mapping for both the dvi and lj4 symbol font has been
1567 changed accordingly so that Greek small letter epsilon, `*e', has the
1568 same glyph shape as with other devices.
1569 .ULE
1570 .
1571 .
1572 .SH 2
1573 grops
1574
1575 .ULS
1576 .LI
1577 The font `freeeuro.pfa' has been added to provide various default glyph
1578 shapes for `eu' and `Eu'.
1579
1580 .LI
1581 It is now possible to access all glyphs in a Type\~1 font, not only 256
1582 (provided the font file created by afmtodit has proper entries).
1583 grops constructs additional encoding vectors on the fly if necessary.
1584
1585 .LI
1586 The paper size is now emitted via the %%DocumentMedia and PageSize
1587 mechanisms so that it is no longer required to tell `gv' or `ps2pdf'
1588 about the paper size.
1589 The `broken' flag value\~16 omits this feature
1590 (the used PostScript command `setpagedevice' is a LanguageLevel\~2
1591 extension).
1592 Patch by
1593 .MTO egil@\:kvaleberg.no "Egil Kvaleberg" .
1594
1595 .LI
1596 Non-slanted PostScript metrics have been changed again; they no longer
1597 contain negative left italic correction values.
1598 This assures correct spacing with eqn.
1599 .ULE
1600 .
1601 .
1602 .SH 2
1603 grodvi
1604
1605 .ULS
1606 .LI
1607 The font cmtex10 has been added as the special font `SC' to the DVI fonts.
1608 It is used as a font-specific special font for CW and CWI.
1609
1610 .LI
1611 New options \-l and \-p to set landscape orientation and the paper size.
1612 grodvi now emits a `papersize' special which is understood by DVI drivers
1613 like dvips.
1614
1615 Consequently, the DESC file should contain a `papersize' keyword.
1616
1617 .LI
1618 The glyph shapes for \e[*f] and \e[*e] have been exchanged with \e[+f] and
1619 \e[+e], respectively, to be in sync with all other devices.
1620
1621 .LI
1622 Glyphs \e[HE] and \e[DI] have been replaced with \e[u2662] and \e[u2661],
1623 respectively, since the former two glyphs have a black (filled) shape
1624 which grodvi doesn't provide by default (it never has actually).
1625 .ULE
1626 .
1627 .
1628 .SH 2
1629 grolj4
1630
1631 .ULS
1632 .LI
1633 The glyphs \e[*e] and \e[+e] have been exchanged to be in sync with
1634 all other devices.
1635
1636 .LI
1637 The glyph \e[~=] is now called \e[|=].  Similar to other devices, \e[~=]
1638 is now another name for glyph \e[~~].
1639 .ULE
1640 .
1641 .
1642 .SH 2
1643 grotty
1644
1645 .ULS
1646 .LI
1647 New option `\-r'.
1648 It is similar to the \-i option except it tells grotty to
1649 use the `reverse video' attribute to render italic fonts.
1650 .ULE
1651 .
1652 .
1653 .SH 2
1654 pic
1655
1656 .ULS
1657 .LI
1658 New command `figname' to set the name of a picture's output box in TeX
1659 mode.
1660 .ULE
1661 .
1662 .
1663 .SH 2
1664 refer
1665
1666 .ULS
1667 .LI
1668 The environment variable `REFER' to override the name of the default
1669 database isn't new but hasn't been documented before.
1670 .ULE
1671 .
1672 .
1673 .SH 2
1674 soelim
1675
1676 .ULS
1677 .LI
1678 New option `\-r' to avoid emission of `.lf' lines.
1679
1680 .LI
1681 New option `\-t' to emit TeX comment lines (giving current file and the
1682 line number) instead of `.lf' lines.
1683 .ULE
1684 .
1685 .
1686 .SH 2
1687 afmtodit
1688
1689 .ULS
1690 .LI
1691 Unencoded glyphs in an AFM file are output also (since grops can now emit
1692 multiple encoding vectors for a single font).
1693
1694 .LI
1695 New option `\-m' to prevent negative left italic correction values.
1696
1697 .LI
1698 The mapping and encoding file together with file `DESC' are now searched
1699 in the default font directory also.
1700 Please refer to the man page of afmtodit for more details.
1701 .ULE
1702 .
1703 .
1704 .SH 2
1705 macro packages
1706
1707 .ULS
1708 .LI
1709 .MTO kollar@\:alltel.net "Larry Kollar"
1710 and others made the man macros more customizable.
1711
1712 .ULS
1713 .LI
1714 New command line options \-rFT, \-rIN, and \-rSN to set the vertical
1715 location of the footer line, the body text indentation, and the
1716 sub-subheading indentation.
1717
1718 .LI
1719 New command line option \-rHY (similar to the ms macros) to control
1720 hyphenation.
1721
1722 .LI
1723 New macros `.PT' and `.BT' to print the header and footer strings.
1724 They can be replaced with a customized version in `man.local'.
1725
1726 .LI
1727 The string `HF' now holds the typeface to print headings and
1728 subheadings.
1729
1730 .LI
1731 Similar to the ms macros, the LT register now defaults to LL if not
1732 explicitly specified on the command line.
1733 .ULE
1734
1735 .LI
1736 troff's start-up file `troffrc' now includes `papersize.tmac' to set
1737 the paper size with the command line option `-dpaper=<size>'.
1738
1739 Possible values for `<size>' are the same as the predefined `papersize'
1740 values in the DESC file (only lowercase; see the groff_font man page)
1741 except \%a7-d7.
1742 An appended `l' (ell) character denotes landscape orientation.
1743 Examples: `a4', `c3l', `letterl'.
1744
1745 Most output drivers need additional command line switches `\-p' and
1746 `\-l' to override the default paper length and orientation as set in
1747 the driver specific DESC file.
1748
1749 For example, use the following for PS output on A4 paper in landscape
1750 orientation:
1751
1752 .in 2m
1753 .ft C
1754 groff -Tps -dpaper=a4l -P-pa4 -P-l -ms foo.ms > foo.ps
1755 .ft R
1756 .in
1757 .ULE
1758 .
1759 .
1760 .SH
1761 NEWS VERSION 1.18.1
1762 .LP
1763 .SH 2
1764 troff
1765
1766 .ULS
1767 .LI
1768 The non-slanted PostScript font definition files have been regenerated to
1769 include left and right italic correction values.
1770 Applying those to a glyph (this is, prepending the glyph with `\e,' and
1771 appending `\e/' to the glyph) sets the glyph width to the real value given
1772 by the horizontal bounding box values.
1773 Without those escapes, the advance width for the particular glyph is used
1774 (which can differ considerably).
1775
1776 Most users will neither need this feature nor notice a difference in
1777 existing documents (provided \e, and \e/ is used as advertised, namely for
1778 italic fonts only); its main goal is to improve image generation with
1779 grohtml.
1780
1781 This is an experimental change, and feedback is welcome.
1782 .ULE
1783 .
1784 .SH 2
1785 tbl
1786
1787 .ULS
1788 .LI
1789 Added global option `nospaces' to ignore leading and trailing spaces in data
1790 items.
1791 .ULE
1792 .
1793 .SH 2
1794 grolbp
1795
1796 .ULS
1797 .LI
1798 The option \-w (\-\-linewidth) has been added (similar to other device
1799 drivers) to set the default line width.
1800 .ULE
1801 .
1802 .SH 2
1803 grn
1804
1805 .ULS
1806 .LI
1807 Support for b-spline and Bezier curves has been added.
1808 .ULE
1809 .
1810 .SH 2
1811 groffer
1812
1813 .ULS
1814 .LI
1815 New option \-\-shell to select the shell under wich groffer shall run.
1816 .ULE
1817 .
1818 .SH 2
1819 Macro Packages
1820
1821 .ULS
1822 .LI
1823 The string `Am' (producing an ampersand) has been added to mdoc for
1824 compatibility with NetBSD.
1825
1826 .LI
1827 `.IX' is now deprecated for mom; you should use `.IQ' (Indent Quit)
1828 instead.
1829
1830 .LI
1831 In mom, new inlines `FWD', `BCK', `UP', and `DOWN' deal with horizontal
1832 and vertical movements; please refer to contrib/mom/NEWS for more
1833 details.
1834
1835 .LI
1836 New macro ENDNOTES_HDRFTR_CENTER for mom to better control headers.
1837 .ULE
1838 .
1839 .SH 2
1840 Miscellaneous
1841
1842 .ULS
1843 .LI
1844 The `papersize' keyword in the DESC file now accepts multiple arguments.
1845 It is scanned from left to the right, and the first valid argument is used.
1846 This makes it possible to provide a fallback paper size.
1847
1848 Example:
1849
1850 .in 2m
1851 .ft C
1852 papersize /etc/papersize a4
1853 .ft P
1854 .in
1855
1856 .LI
1857 A local font directory has been prepended to the default font path; it
1858 defaults to /usr/local/share/groff/site-font.  Similar to the normal
1859 font searching process, files must be placed into a dev\f[I]XXX\f[]
1860 subdirectory, e.g.
1861
1862 .in 2m
1863 .ft C
1864 /usr/local/share/groff/site-font/devps/FOO
1865 .ft P
1866 .in
1867
1868 for a PostScript font definition file FOO.
1869 .ULE
1870 .
1871 .
1872 .SH
1873 NEWS VERSION 1.18
1874 .LP
1875 This section describes recent user-visible changes in groff.
1876 Bug fixes are not described.
1877 There are more details in the man pages.
1878
1879 .ad c
1880 \s[+5]\m[red]\
1881 Please read the changes below regarding
1882 .ie '\*[.T]'html' \
1883 .  URL #grotty grotty ,
1884 .el \
1885 .  nop grotty,
1886 groff's tty frontend.\
1887 \m[]\s[0]
1888 .br
1889 .ad n
1890 .
1891 .SH 2
1892 Troff
1893
1894 .ULS
1895 .LI
1896 Color support has been added to troff and pic (and to the device drivers
1897 grops, grodvi, grotty, and grohtml \[en] other preprocessors and drivers will
1898 follow).
1899 A new function `defcolor' defines colors; the escape sequence `\em' sets the
1900 drawing color, the escape sequence `\eM' specifies the background color for
1901 closed objects created with \eD'.\|.\|.' commands.
1902 `\em[]' and `\eM[]' switch back to the previous color.
1903 `\em' and `\eM' correspond to the new troff output command sets starting
1904 with `m' and `DF'.
1905 The device-specific default color is called `default' and can't be
1906 redefined.
1907
1908 Use the `color' request to toggle the usage of colors (default is on); the
1909 read-only register `.color' is\~0 if colors are not active, and non-zero
1910 otherwise.
1911
1912 The old `Df' output command is mapped onto `DFg'; all color output
1913 commands don't change the current font position (consequently, `Df'
1914 doesn't either).
1915
1916 Outputting color can be disabled in troff and groff with the option\~\-c
1917 (it is always disabled in compatibility mode).
1918 See the section on grotty for the
1919 .ie '\*[.T]'html' \
1920 .  URL #GROFF_NO_SGR GROFF_NO_SGR
1921 .el \
1922 . nop GROFF_NO_SGR
1923 environment variable also.
1924
1925 For defining color components as fractions between 0 and\~1, a new scaling
1926 indicator `f' has been defined: 1f\~=\~65536u.
1927 For testing whether a color is defined (with .if and .ie), a new
1928 conditional operator `m' is available.
1929
1930 More details can be found in the groff_diff.7 manual page and in
1931 groff.texinfo.
1932
1933 .LI
1934 Similar to \em and \eM, \ef[] switches back to the previous font.
1935 \efP (and \ef[P]) is still valid for backwards compatibility.
1936
1937 .LI
1938 The new escape \eF is the same as `.fam'; \eF[] switches back to previous
1939 family \[en] \eF[P] selects family `P'.
1940
1941 .LI
1942 Two new glyph symbols are available: `eu' is the official Euro symbol;
1943 `Eu' is a font-specific glyph variant.
1944
1945 .LI
1946 The new glyph symbols `t+\-', `tdi', and `tmu' are textual variants of
1947 `+\-', `di', and `mu', respectively.
1948
1949 .LI
1950 Latin-1 character 181 (PS name `mu', Unicode name U+00B5 MICRO SIGN) has
1951 got the troff glyph name `mc'.
1952
1953 .LI
1954 \-Tutf8 is now available on EBCDIC hosts.
1955
1956 .LI
1957 Strings can take arguments, using this syntax: \e*[foo\~arg1\~arg2\~.\|.\|.].
1958 Example:
1959
1960 .in 2m
1961 .nf
1962 .ft C
1963 \&.ds xxx This is a \e\e$1 test.
1964 \e*[xxx nice]
1965 .ft P
1966 .fi
1967 .in
1968
1969 .LI
1970 It is now possible to have whitespace between the first and second dot (or
1971 the name of the ending macro) to end a macro definition.
1972 Example:
1973
1974 .in 2m
1975 .nf
1976 .ft C
1977 \&.de !
1978 \&..
1979 \&.
1980 \&.de foo
1981 \&.  nop Hello, I'm `foo'.
1982 \&.  nop I will now define `bar'.
1983 \&.  de bar !
1984 \&.    nop Hello, I'm `bar'.
1985 \&.  !
1986 \&..
1987 .ft P
1988 .fi
1989 .in
1990
1991 .LI
1992 `.fn' is a new string-valued register which returns the (internal) real
1993 font name; styles and families are properly concatenated.
1994
1995 .LI
1996 Three new read/write registers `seconds', `minutes', and `hours' contain
1997 the current time, set at start-up of troff.
1998 Use the `af' request to control their output format.
1999
2000 .LI
2001 The new request `fchar' can be used to provide fallback characters.
2002 It has the same syntax as the `char' request; the only difference is that
2003 a character defined with `.char' hides the glyph with the same name in the
2004 current font, whereas a character defined with `.fchar' is checked only if
2005 the particular glyph isn't found in the current font.
2006 This test happens before checking special fonts.
2007
2008 .LI
2009 In analogy to the `tmc' request, `.writec' is the same as `.write' but
2010 doesn't emit a final newline.
2011
2012 .LI
2013 The new request `itc' is a variant of `.it' for which a line interrupted
2014 with \ec counts as one input line.
2015
2016 .LI
2017 Two new requests `ds1' and `as1' which are similar to `ds' and `as' but
2018 with compatibility mode disabled during expansion of strings defined by
2019 them.
2020
2021 .LI
2022 The syntax of the `substring' request has been changed:
2023 The first character in a string now has index\~0, the last character
2024 has index\~\-1.
2025 Note that this is an incompatible change.
2026
2027 .LI
2028 To emit strings directly to the intermediate output, a new `output'
2029 request has been added; it is similar to `\e!' used at the top level.
2030
2031 .LI
2032 `.hpf' has been extended.
2033 It can now handle most TeX hyphenation pattern files without
2034 modification.
2035 To do that, the commands \epatterns, \ehyphenation, and \eendinput are
2036 recognized.
2037 Please refer to groff_diff.7 for more information.
2038
2039 .LI
2040 `hpfcode' is a new request to provide an input encoding mapping for the
2041 `hpf' request.
2042
2043 .LI
2044 The new request `hpfa' appends hyphenation patterns (`hpf' replaces
2045 already existing patterns).
2046
2047 .LI
2048 A new request `ami' (append macro indirect) has been added.
2049 The first and second parameter of `ami' are taken from string registers
2050 rather than directly; this very special request is needed to make
2051 `trace.tmac' independent from the escape character (which might even
2052 be disabled).
2053
2054 .LI
2055 The new request `sizes' is similar to the `sizes' command in DESC files.
2056 It expects the same syntax; the data must be on a single line, and the
2057 final `0' can be omitted.
2058
2059 .LI
2060 `trin' (translate input) is a new request which is similar to `tr' with
2061 the exception that the `asciify' request uses the character code (if
2062 any) before the character translation.
2063 Example:
2064
2065 .in 2m
2066 .nf
2067 .ft C
2068 \&.trin ax
2069 \&.di xxx
2070 a
2071 \&.br
2072 \&.di
2073 \&.xxx
2074 \&.trin aa
2075 \&.asciify xxx
2076 \&.xxx
2077 .ft P
2078 .fi
2079 .in
2080
2081 The result is `x\~a'.  Using `tr', the result would be `x\~x'.
2082
2083 .LI
2084 The request `pvs' isn't new, but hasn't been documented before.
2085 It adds vertical space after a line has been output.
2086 This makes it an alternative to the `ls' request to produce
2087 double-spaced documents.
2088 The read-only register `.pvs' holds the current amount of the
2089 post-vertical line space.
2090
2091 .LI
2092 For compatibility with plan 9's troff, multiple `pi' requests are
2093 supported:
2094
2095 .in 2m
2096 .nf
2097 .ft C
2098 \&.pi foo
2099 \&.pi bar
2100 .ft P
2101 .fi
2102 .in
2103
2104 is now equivalent to
2105
2106 .in 2m
2107 .ft C
2108 \&.pi foo | bar
2109 .ft P
2110 .in
2111
2112 .LI
2113 A new escape sequence `\eO' is available to disable and enable glyph
2114 output.
2115 Please see groff_diff.man and groff.texinfo for more details.
2116
2117 .LI
2118 The escapes `\e%', `\e&', `\e)', and `\e:' no longer cause an error in \eX;
2119 they are ignored now.
2120 Additionally `\e\ ' and `\e~' are converted to single space characters.
2121
2122 .LI
2123 The default tab distance in nroff mode is now 0.8i to be compatible
2124 with UNIX troff.
2125
2126 .LI
2127 Using the latin-1 input character 0xAD (soft hyphen) for the `shc'
2128 request was a bad idea.
2129 Instead, it is now translated to `\e%', and the default hyphenation
2130 character is again \e[hy].
2131 Note that the glyph \e[shc] is not useful for typographic purposes;
2132 it only exists to have glyph names for all latin-1 characters.
2133 .ULE
2134 .
2135 .SH 2
2136 Macro Packages
2137
2138 .ULS
2139 .LI
2140 .MTO df191@\:ncf.ca "Peter Schaffter"
2141 has contributed a new major macro package called `mom', mainly for
2142 non-scientific writers, which takes care of many typographic issues.
2143 It comes with a complete reference (in HTML format) and some examples.
2144 `mom' has been designed to format documents for PostScript output only.
2145
2146 .LI
2147 Two macros `AT' (AT&T) and `UC' (Univ. of California) have been added to
2148 the man macros for compatibility with older BSD releases.
2149
2150 .LI
2151 Both the man and mdoc macro packages now use the LL and LT registers for
2152 setting the line and title length, respectively (similar to those
2153 registers in the ms macro package).
2154 If not set on the command line or in a macro file loaded before the macro
2155 package itself, they default to 78n in nroff mode and 6.5i in troff mode.
2156
2157 .LI
2158 The `\-xwidth' specifier in the mdoc macro package has been removed.
2159 Its functionality is now integrated directly into `\-width'.
2160 Similarly, `\-column' has been extended to has this functionality also.
2161
2162 .LI
2163 A new macro `Ex' has been added to the mdoc macro package to document an
2164 exit status.
2165
2166 .LI
2167 `troff.man' has been split.  Differences to UNIX troff are now documented
2168 in the new man page `groff_diff.man'.
2169
2170 .LI
2171 The PSPIC macro has been extended to work with DVI output (`pspic.tmac' is
2172 now automatically loaded for \-Tdvi), using a dvips special to load the EPS
2173 file.
2174
2175 .LI
2176 The trace.tmac package now traces calls to `am' also.
2177 Additionally, it works in compatibility mode.
2178
2179 .LI
2180 `troff.1' has been split.
2181 Differences to UNIX troff are now documented in the new man page
2182 `groff_diff.7'.
2183
2184 .LI
2185 `groff_mwww.7' has been renamed to `groff_www.7'.
2186 The file mwww.tmac has been removed.
2187
2188 .LI
2189 `groff_ms.7' has been completely rewritten.
2190 It now contains a complete reference to the ms macros.
2191
2192 .LI
2193 `groff_trace.7' documents the trace macro package.
2194
2195 .LI
2196 Changes in www.tmac
2197
2198 Note that HTML support is still in alpha change, so it is rather likely
2199 that both macro names and macro syntax will change.
2200 Some of the macros mentioned below aren't really new but haven't been
2201 documented properly before.
2202
2203 .ULS
2204 .LI
2205 The following macros have been renamed:
2206
2207 .in 2m
2208 .nf
2209 MAILTO -> MTO
2210 IMAGE  -> IMG
2211 LINE   -> HR
2212 .fi
2213 .in
2214
2215 .LI
2216 For consistency, the macros `URL', `FTL', and `MTO' now all have the
2217 address as the first parameter followed by the description.
2218
2219 .LI
2220 By default, grohtml generates links to all section headings at the top
2221 of the document.
2222 Use the new `LK' macro to specify a different place.
2223
2224 .LI
2225 For specifying the background color and a background image, use the
2226 new macros `BCL' and `BGIMG', respectively.
2227
2228 .LI
2229 The macro `NHR' has been added; it suppresses the generation of top and
2230 bottom rules which grohtml emits by default.
2231
2232 .LI
2233 The new macro `HX' determines the cut-off point for automatic link
2234 generation to headings.
2235
2236 .LI
2237 The image position parameter names in `IMG' have been changed to `\-L',
2238 `\-R', and `\-C'.
2239
2240 .LI
2241 New macro `PIMG' for inclusion of a PNG image (it automatically
2242 converts it into an EPS file if not \-Thtml is used).
2243
2244 .LI
2245 New macro `MPIMG' for putting a PNG image into the left or right margin
2246 (it automatically converts it into an EPS file if not \-Thtml is used).
2247
2248 .LI
2249 New macros `HnS', `HnE' to start and end a header line block.
2250
2251 .LI
2252 New macro `DC' to produce dropcap characters.
2253
2254 .LI
2255 New macro `HTL' to generate an HTML title line only but no H1 heading.
2256
2257 .LI
2258 New macros `ULS' and `ULE' to start and end an unordered list.
2259 The new macro `LI' inserts a list item.
2260 .ULE
2261 .ULE
2262 .
2263 .
2264 .SH 2
2265 groff
2266
2267 .ULS
2268 .LI
2269 The new command line `\-c' disables color output (which is always disabled
2270 in compatibility mode).
2271 .ULE
2272 .
2273 .
2274 .SH 2
2275 Nroff
2276
2277 .ULS
2278 .LI
2279 Two new command line options `\-c' and `\-C'; the former passes `\-c' to
2280 grotty (switching to the old output scheme); the latter passes `\-C' to
2281 groff (enabling compatibility mode).
2282 .ULE
2283 .
2284 .
2285 .SH 2
2286 pic
2287
2288 .ULS
2289 .LI
2290 New keywords `color' (or `colour', `colored', `coloured'), `outline' (or
2291 `outlined'), and `shaded' are available.
2292 `outline' sets the color of the outline, `shaded' the fill color, and
2293 `color' sets both.
2294 Example:
2295
2296 .in 2m
2297 .ft C
2298 circle shaded "green" outline "black" ;
2299 .ft P
2300 .in
2301
2302 Filled arrows always use the outline color for filling.
2303
2304 Color support for TeX output is not implemented yet.
2305 .ULE
2306 .
2307 .
2308 .SH 2
2309 Pic2graph
2310
2311 .ULS
2312 .LI
2313 A new script contributed by
2314 .MTO esr@\:thyrsus.com "Eric S.\~Raymond" .
2315 It converts a PIC diagram into a cropped image.
2316 Since it uses gs and the PNM library, virtually all graphics formats
2317 are available for output.
2318 .ULE
2319 .
2320 .
2321 .SH 2
2322 Eqn2graph
2323
2324 .ULS
2325 .LI
2326 A new script contributed by
2327 .MTO esr@\:thyrsus.com "Eric S.\~Raymond" .
2328 It converts an EQN diagram into a cropped image.
2329 Since it uses gs and the PNM library, virtually all graphics formats
2330 are available for output.
2331 .ULE
2332 .
2333 .
2334 .SH 2
2335 Groffer
2336
2337 .ULS
2338 .LI
2339 A new script contributed by
2340 .MTO groff-bernd.warken-72@web.de "Bernd Warken" .
2341 It displays groff files and man pages on X and tty, taking care of most
2342 parameters automatically.
2343 .ULE
2344 .
2345 .
2346 .SH 2
2347 Grog
2348
2349 .ULS
2350 .LI
2351 Documents using the mom macro package are recognized.
2352 .ULE
2353 .
2354 .
2355 .SH 2
2356 grops
2357
2358 .ULS
2359 .LI
2360 Color support has been added.
2361
2362 .LI
2363 A new option `\-p' is available to select the output paper size.
2364 It has the same syntax as the new `papersize' keyword in the DESC file.
2365 .ULE
2366 .
2367 .
2368 .SH 2
2369 Grodvi
2370
2371 .ULS
2372 .LI
2373 By default, font sizes are now available in the range 5\-10000pt, similar
2374 to PS fonts.
2375 If you want the old behaviour (i.e., font sizes at discrete values only),
2376 insert the following at the start of your document:
2377
2378 .in 2m
2379 .nf
2380 .ft C
2381 \&.if '\e*[.T]'dvi' \e
2382 \&.  sizes 500 600 700 800 900 1000 1095 1200 1400 1440 1600 \e
2383 \&         1728 1800 2000 2074 2200 2400 2488 2800 3600
2384 .ft P
2385 .fi
2386 .in
2387
2388 .LI
2389 A new font file HBI (using cmssbxo10; this is slanted sans serif bold
2390 extended) has been added.
2391
2392 .LI
2393 Two font families are now available: `T' and `H'.
2394
2395 .LI
2396 EC and TC fonts have been integrated.
2397 Use `\-mec' (calling the file ec.tmac) to switch to them.
2398 Those fonts give a much better coverage of the symbols defined by groff
2399 than the CM fonts.
2400
2401 Note that ec.tmac must be called before any language-specific files; it
2402 doesn't take care of hcode values.
2403
2404 .LI
2405 Color support has been added.
2406 For drawing commands, colors are translated to gray values currently.
2407 .ULE
2408 .
2409 .
2410 .TAG grotty
2411 .SH 2
2412 Grotty
2413
2414 .ULS
2415 .LI
2416 Color support has been added, using the SGR (ISO\~6429, sometimes called
2417 ANSI color) escape sequences.
2418
2419 .LI
2420 SGR escape sequences are now used by default for underlining and bold
2421 printing also, no longer using the backspace character trick.
2422 To revert to the old behaviour, use the `\-c' switch.
2423
2424 Note that you have to use the `\-R' option of `less' to make SGR escapes
2425 display correctly.
2426 On the other hand, terminal programs and consoles like `xterm' which
2427 support SGR sequences natively can directly display the output of grotty.
2428 Consequently, the options `\-b', `\-B', `\-u', and `\-U' work only in
2429 combination with `\-c' and are ignored silently otherwise.
2430
2431 For the `man' program, it may be necessary to add the `\-R' option of
2432 `less' to the $PAGER environment variable (or $MANPAGER, depending on the
2433 used version of `man'); alternatively, you can use `man's `\-P' option (or
2434 adapt its configuration file accordingly).
2435 See man(1) for more details.
2436
2437 .TAG GROFF_NO_SGR
2438 .LI
2439 If the environment variable GROFF_NO_SGR is set, SGR output is disabled,
2440 reverting to the old behaviour.
2441
2442 .LI
2443 A new special \eX'tty:\~sgr\~n' has been added; if n is non-zero or missing,
2444 enable SGR output (the default).
2445
2446 .LI
2447 If the new option `\-i' is used (only in SGR mode), grotty sends escape
2448 sequences to set the italic font attribute instead of the underline
2449 attribute for italic fonts.
2450 Note that many terminals don't have support for this (including xterm).
2451 .ULE
2452 .
2453 .
2454 .SH 2
2455 grohtml
2456
2457 .ULS
2458 .LI
2459 Color support for glyphs has been added.
2460
2461 .LI
2462 New option `\-h' to select the style of headings in HTML output.
2463
2464 .LI
2465 New option `\-b' to set the background colour to white.
2466
2467 .LI
2468 New options `\-a' and `\-g' to control the number of bits for anti-aliasing
2469 used for text and graphics, respectively.
2470 Default value is\~4; 0\~means no anti-aliasing.
2471
2472 .LI
2473 groff character/glyph entities now map onto HTML\~4 character entities.
2474 .ULE
2475 .
2476 .
2477 .SH 2
2478 Grolbp
2479
2480 .ULS
2481 .LI
2482 Valid paper sizes are now specified as with the new `papersize' keyword
2483 in the DESC file.
2484 Specifically, the old custom paper type format `custAAAxBBB' is no longer
2485 supported.
2486 .ULE
2487 .
2488 .
2489 .SH 2
2490 Miscellaneous
2491
2492 .ULS
2493 .LI
2494 A new manual page `ditroff.7' is available.
2495
2496 .LI
2497 The groff texinfo manual is now installed, together with a bunch
2498 of examples.
2499
2500 .LI
2501 A new keyword `papersize' has been added to the DESC file format.
2502 Its argument is either
2503
2504 .ULS
2505 .LI
2506 a predefined paper format (e.g. `A4' or `letter')
2507
2508 .LI
2509 a file name pointing to a file which must contain a paper size
2510 specification in its first line (e.g. `/etc/papersize')
2511
2512 .LI
2513 a custom paper size definition like `35c,4i'
2514 .ULE
2515
2516 See groff_font(5) for more details.
2517 This keyword only affects the physical dimensions of the output medium;
2518 grops, grolj4, and grolbp use it currently.
2519 troff completely ignores it.
2520 .ULE
2521 .
2522 .LNE
2523 .
2524 .\" EOF