diff options
author | wlemb <wlemb> | 2001-05-07 13:36:23 +0000 |
---|---|---|
committer | wlemb <wlemb> | 2001-05-07 13:36:23 +0000 |
commit | b655be22360e0275e96d7307fc2b06c66ebbc6ee (patch) | |
tree | e919600932d6a29c9dd0750d4a9f8871fec444a2 /NEWS | |
parent | 2cb0df330838a0f76209415679eae40517857968 (diff) | |
download | groff-b655be22360e0275e96d7307fc2b06c66ebbc6ee.tar.gz |
The .ns and .rs requests are now honoured not only in the top-level
but in all diversions (similar to UNIX troff).
This change is based on a patch from Tadziu Hoffmann
<hoffmann@usm.uni-muenchen.de>.
* src/roff/troff/div.h (diversion): Add `no_space_mode' member.
(top_level_diversion): Remove `no_space_mode' member.
* src/roff/troff/div.cc (diversion::diversion,
top_level_diversion::top_level_diversion): Updated.
(macro_diversion::output): Reset `no_space_mode'.
(no_space, restore_spacing): Use `curdiv' unconditionally.
(space_request, blank_line): Check `curdiv->no_space_mode'.
(no_space_mode_reg::get_value, no_space_mode_reg::get_string): Use
`curdiv' unconditionally.
* NEWS, src/roff/troff/troff.man, man/groff.man, doc/groff.texinfo:
Updated.
Diffstat (limited to 'NEWS')
-rw-r--r-- | NEWS | 52 |
1 files changed, 27 insertions, 25 deletions
@@ -16,16 +16,19 @@ o Two new requests `de1' and `am1' which are similar to `de' and `am' but o Added request `brp'. This is the same as `\p'. -o New read-only number register `.ns'. Returns 1 in no-space mode (if in - top-level diversion), 0 otherwise. +o Similar to other versions of troff, `.ns' now works in all diversions, + not only in the top-level one. + +o New read-only number register `.ns'. Returns 1 if in no-space mode, + 0 otherwise. Nroff ----- o Options -p (pic) and -t (tbl) added. -o The environment variable GROFF_BIN_PATH will now be checked before PATH - for finding groff. +o The environment variable GROFF_BIN_PATH is now checked before PATH for + finding groff. VERSION 1.17 ============ @@ -33,18 +36,18 @@ VERSION 1.17 Groff ----- -o `-mFOO' will now search first for `FOO.tmac' and then for `tmac.FOO'. The +o `-mFOO' now searches first for `FOO.tmac' and then for `tmac.FOO'. The old behaviour has been changed to overcome problems with platforms which have an 8+3 file name limit, and platforms which have other versions of troff installed also. Additionally, all macro files have been renamed using the latter scheme to avoid 8+3 name clashes. -o The new environment variable GROFF_BIN_PATH will be checked for programs - groff is calling (preprocessors, troff, and output devices) before PATH. - If not set, it defaults to the directory where the groff binary is - located. Previously, it was PATH only. The nroff script will only use - GROFF_BIN_PATH to find the groff binary but passes both the GROFF_BIN_PATH - and PATH environment variable to groff. +o The new environment variable GROFF_BIN_PATH is checked for programs groff + is calling (preprocessors, troff, and output devices) before PATH. If not + set, it defaults to the directory where the groff binary is located. + Previously, it was PATH only. The nroff script only uses GROFF_BIN_PATH + to find the groff binary but passes both the GROFF_BIN_PATH and PATH + environment variable to groff. Troff ----- @@ -76,9 +79,9 @@ o The mdoc package has been completely rewritten, using the full power of encounter any abnormal results, please report them to bug-groff@gnu.org. o A new command line option for the `man' macros (similar to the `mdoc' - package has been implemented: `-rcR=1' (now the default in nroff mode) will - produce one single, very long page instead of multiple pages. `-rcR=0' - will deactivate it. + package has been implemented: `-rcR=1' (now the default in nroff mode) + produces one single, very long page instead of multiple pages. `-rcR=0' + deactivates it. o The `return' request has been added to return immediately from a macro. @@ -102,7 +105,7 @@ o `box' and `boxa' are two new requests which behave similarly to `di' and o The `asciify' request has been extended to `unformat' space characters and some other escape sequences also. - `\ ' will no longer be unformatted as a space but remains an unpaddable, + `\ ' is no longer unformatted as a space but remains an unpaddable, unbreakable space character. o The new `unformat' request is similar to `asciify' but only handles space @@ -211,7 +214,7 @@ o The `cu' request in nroff mode now works as documented (i.e., it Grog ---- -o The grog script will now work in non-compatibility mode also (which is the +o The grog script now works in non-compatibility mode also (which is the default). As usual, use the `-C' option to activate compatibility mode. Grops @@ -249,16 +252,15 @@ o For security reasons the following changes have been done: Use the `-F' command line option or the GROFF_FONT_PATH environment variable if you really need the current directory. -o groff will now install its data files into - /usr/local/share/groff/<version> by default, following the GNU standard. - Additionally, a local tmac directory (by default - /usr/local/share/groff/site-tmac) will be scanned before the standard tmac - directory. Wrapper files for system-specific macro packages (if - necessary) are put into /usr/local/lib/groff/site-tmac; this directory - will be searched before the local tmac directory. +o groff now installs its data files into /usr/local/share/groff/<version> by + default, following the GNU standard. Additionally, a local tmac directory + (by default /usr/local/share/groff/site-tmac) is scanned before the + standard tmac directory. Wrapper files for system-specific macro packages + (if necessary) are put into /usr/local/lib/groff/site-tmac; this directory + is searched before the local tmac directory. -o All programs now have option `-v' to show the version number; they will - exit immediately afterwards, following the GNU standards. Additionally, +o All programs now have option `-v' to show the version number; they exit + immediately afterwards, following the GNU standards. Additionally, `--version' and `--help' have been added, doing the obvious actions. VERSION 1.16.1 |