Opened 3 weeks ago
Closed 2 weeks ago
#6075 closed enhancement (fixed)
groff-1.25.0
| Reported by: | Bruce Dubbs | Owned by: | lfs-book |
|---|---|---|---|
| Priority: | normal | Milestone: | 13.2 |
| Component: | Book | Version: | git |
| Severity: | normal | Keywords: | |
| Cc: |
Description
New minor version.
Note:
See TracTickets
for help on using tickets.

VERSION 1.25.0
troff
dtrequest, when given invalid arguments, now does nothing instead of removing any existing diversion trap. This change is inconsistent with AT&T troff but more consistent with general *roff syntax; as a rule, requests given invalid arguments (and that don't process a list of similar objects, asrmandrrdo) perform no operation. (However, see "Other differences" in groff_diff(7) or groff's Texinfo manual regardingrmandrrrequest behavior that is discrepant among various troffs.)dtandwhrequests now enforce their requirement of space between their arguments. While consistent with GNU troff input syntax, said enforcement is not consistent with AT&T troff. We did not add support in groff's AT&T troff compatibility mode because we're aware of no legacy documents that require it. Example: the input.wh9i+.5+\n(xxuPT, while it validly plants a trap calling thePTmacro in AT&T troff, is considerably more cryptic than any specimens known to us.trf(transparent file throughput) request now discards input characters that are invalid in GNU troff's output format, meaning all character codes less than decimal 32 (except 10, the line feed) and greater than decimal 127..pireports the output pipeline constructed by one or morepirequests..ulreports the count of productive input lines remaining to be underlined in the environment (as configured by either thecuorulrequests).substringrequest is given two index arguments whose magnitudes both exceed the operand string, macro, or diversion's length, it now ignores the request (and issues a warning in category "range"), leaving the operand (first request argument) unchanged instead of emptying it.tirequest is given no arguments, the formatter now cancels any pending temporary indentation. (Formerly, it did nothing in any troff, except, in GNU troff, issuing a warning in category "missing".)phwrequest now accepts arguments. Each is interpreted as a possible hyphenation word (ignoring hyphens in the input), looked up in the hyphenation exception list for the hyphenation language, and if found, is reported with its hyphenation points. Only hyphenation exceptions defined by thehwrequest are reported.pwhrequest, when invoked while the diversion is not the top-level diversion, now reports the name and location of any configured diversion trap instead of reporting nothing.rhw, removes user-defined hyphenation exception words from the current hyphenation language's list thereof. Those supplied by files like "tmac/hyphenex.{cs,en,pl}" are retained..zoomis now named.fzoomfor consistency with other GNU troff extensions, which largely pair names of requests with those of read-only registers they affect. The old name remains as an alias configured by the default "troffrc" file.grn
-Mcommand-line option is renamed to-I, better paralleling troff(1). Inclusions are not the same things as macro file resources. The program accepts-L(the original Berkeley name for this option), and-M(groff grn prior to this point) synonymously.groff
-Ioption no longer implies-gor-s; if your document needs to be piped through grn(1) and/or soelim(1), specify the foregoing options as appropriate.pic
Macro packages
LSandLEto identify them as list items. Doing so can mark them as "compact", ease management of their indentation, and supply hints to the output driver to improve their rendering (as with HTML). Lists can be nested. (Sub)sectioning macro calls, and the end of the document, close all open lists. See groff_man(7) for details, and groff_man_style(7) for an example.CHECKSTYLEregister, introduced in groff 1.23.0 and documented in 1.24.0, is given a value of 100 or greater. This feature is experimental and subject to change.IAandWAmacros--used only with the "letter" document type configured by calling theLTmacro--no longer disable the escape character, and their counterpartsIEandWEno longer reënable it. This change makes groff mm consistent with DWB 3.3 mm. If you require the previous groff mm behavior, consider writing and using wrapper macros such as the following in your document.-r PDFFEAT=1to enable them when used with the "pdf" output device ("-T pdf").\**or\*[*]) in tbl(1) table entries. Other implementations of ms do not.Miscellaneous
EXIT_FAILUREstatus (1) instead of 8 when reading an unrecognized command keyword.--disable-groff-allocatorhas been implicit since that release, and we've received no reports of a C++ runtime unable to handle groff's demands on its heap/"free store" allocator. We expect to withdraw these configuration options completely in groff 1.26.--enable-maintainer-modeoption to its 'configure' script.