379 lines
14 KiB
HTML
379 lines
14 KiB
HTML
<!-- Creator : groff version 1.24.1 -->
|
||
<!-- CreationDate: Mon Mar 16 21:27:48 2026 -->
|
||
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
|
||
"http://www.w3.org/TR/html4/loose.dtd">
|
||
<html>
|
||
<head>
|
||
<meta name="generator" content="groff -Thtml, see www.gnu.org">
|
||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||
<meta name="Content-Style" content="text/css">
|
||
<style type="text/css">
|
||
p { margin-top: 0; margin-bottom: 0; vertical-align: top }
|
||
pre { margin-top: 0; margin-bottom: 0; vertical-align: top }
|
||
table { margin-top: 0; margin-bottom: 0; vertical-align: top }
|
||
h1 { text-align: center }
|
||
</style>
|
||
<title>webpage-12.html</title>
|
||
|
||
<link rel="stylesheet" type="text/css" href="groff.css" >
|
||
</head>
|
||
[ <a href="webpage.html">top</a> ]
|
||
|
||
|
||
<h2>NEWS VERSION 1.20
|
||
<a name="heading12"></a>
|
||
</h2>
|
||
<hr><table><tr><td valign="top" width="30%" bgcolor="#eeeeee">
|
||
<a href="webpage-1.html#heading1">License</a><br>
|
||
<a href="webpage-2.html#heading2">README</a><br>
|
||
<a href="webpage-3.html#heading3">Repository and FTP access</a><br>
|
||
<a href="webpage-4.html#heading4">Groff dependencies</a><br>
|
||
<a href="webpage-5.html#heading5">Bug reports</a><br>
|
||
<a href="webpage-6.html#heading6">Mailing lists</a><br>
|
||
<a href="webpage-7.html#heading7">NEWS VERSION 1.22.3</a><br>
|
||
<a href="webpage-8.html#heading8">NEWS VERSION 1.22.2</a><br>
|
||
<a href="webpage-9.html#heading9">NEWS VERSION 1.22.1</a><br>
|
||
<a href="webpage-10.html#heading10">NEWS VERSION 1.21</a><br>
|
||
<a href="webpage-11.html#heading11">NEWS VERSION 1.20.1</a><br>
|
||
<a href="webpage-12.html#heading12">NEWS VERSION 1.20</a><br>
|
||
<a href="webpage-13.html#heading13">NEWS VERSION 1.19.2</a><br>
|
||
<a href="webpage-14.html#heading14">NEWS VERSION 1.19.1</a><br>
|
||
<a href="webpage-15.html#heading15">NEWS VERSION 1.19</a><br>
|
||
<a href="webpage-16.html#heading16">NEWS VERSION 1.18.1</a><br>
|
||
<a href="webpage-17.html#heading17">NEWS VERSION 1.18</a><br>
|
||
|
||
</td><td valign="top" width="70%">
|
||
|
||
<p><small>groff</small></p><ul>
|
||
|
||
<p><small><li>XHTML support has been added to grohtml and
|
||
can be specified by −Txhtml. This option also utilizes
|
||
the MathML capability of eqn and combines the outputs of
|
||
both in the final XHTML file. Users can also specify the
|
||
‘−P−V’ option together with
|
||
‘−Txhtml’ in groff. This has the effect of
|
||
creating an XHTML validator button at the bottom of each
|
||
page.</small></p>
|
||
|
||
<p style="margin-top: 1em"><small></li><li>Some options
|
||
have been added to control a new preprocessor,
|
||
‘preconv’ (see below): ‘−k’
|
||
activates it, ‘−K’ sets the input
|
||
encoding, and ‘−D’ sets the default
|
||
encoding.</small></p>
|
||
|
||
<p style="margin-top: 1em"><small></li><li>A new
|
||
environment variable ‘GROFF_ENCODING’ sets the
|
||
encoding of input files; it implies command option
|
||
‘−k’. </li></small></p></ul>
|
||
|
||
<p><small>troff</small></p><ul>
|
||
|
||
<p><small><li>Two new requests ‘device’ and
|
||
‘devicem’ have been added which are equivalents
|
||
to the \X and \Y escapes, respectively.</small></p>
|
||
|
||
<p style="margin-top: 1em"><small></li><li>A new read-only
|
||
number register ‘.br’ is available which is set
|
||
to 1 if a macro is called as .foo and to 0 if
|
||
called as ’foo. This allows reliable modification of
|
||
requests.</small></p>
|
||
|
||
<p style="margin-left:3%; margin-top: 1em"><small>.als
|
||
bp@orig bp <br>
|
||
.de bp <br>
|
||
. tm before bp <br>
|
||
. ie \\n[.br] .bp@orig <br>
|
||
. el 'bp@orig <br>
|
||
. tm after bp <br>
|
||
..</small></p>
|
||
|
||
<p style="margin-top: 1em"><small></li><li>A new request
|
||
‘fzoom’ has been added to adjust the optical
|
||
size of a font in relation to the others. The zoom factor is
|
||
given in integer multiples of 1/1000th. In the following
|
||
example, the CR font is magnified by 10% (the zoom factor is
|
||
1.1).</small></p>
|
||
|
||
<p style="margin-left:3%; margin-top: 1em"><small>.fam P
|
||
<br>
|
||
.fzoom CR 1100 <br>
|
||
.ps 12 <br>
|
||
Palatino and \f[CR]Courier\f[]</small></p>
|
||
|
||
<p style="margin-top: 1em"><small>The new number register
|
||
‘.zoom’ holds the zoom value of the current
|
||
font, in multiples of 1/1000th.</small></p>
|
||
|
||
<p style="margin-top: 1em"><small></li><li>The
|
||
‘cflags’ request has been extended with a new
|
||
flag value 64, to be used in combination with values 2
|
||
(break before character) and 4 (break after character).
|
||
If set, the hyphenation codes of the surrounding characters
|
||
are ignored.</small></p>
|
||
|
||
<p style="margin-top: 1em"><small></li><li>A new debugging
|
||
request, ‘pev’, has been added to print all of
|
||
the current known environments to stderr. It first prints
|
||
the state of the current environment, then iterates through
|
||
all of the known environments, printing each except the one
|
||
that is current.</small></p>
|
||
|
||
<p style="margin-top: 1em"><small></li><li>A new escape
|
||
‘\$ˆ’ has been added. It represents the
|
||
parameters of a macro as if they were an argument to the
|
||
‘ds’ request. This is used by
|
||
‘trace.tmac’.</small></p>
|
||
|
||
<p style="margin-top: 1em"><small></li><li>A new read-only
|
||
number register ‘.O’ is available which returns
|
||
the current suppression level as set by the ‘\O’
|
||
escape.</small></p>
|
||
|
||
<p style="margin-top: 1em"><small></li><li>The space width
|
||
emitted by the ‘\|’ and ‘\ˆ’ escape
|
||
sequences can be controlled on a per-font basis. If there is
|
||
a glyph named ‘\|’ or ‘\ˆ’,
|
||
respectively (note the leading backslash), defined in the
|
||
current font file, use this glyph’s width instead of
|
||
the default value.</small></p>
|
||
|
||
<p style="margin-top: 1em"><small>This behaviour is not
|
||
new, but hasn’t been documented before.
|
||
</li></small></p> </ul>
|
||
|
||
<p><small>nroff</small></p><ul>
|
||
|
||
<p><small><li>Two new command-line options
|
||
‘−w’ and ‘−W’ are
|
||
accepted and passed to groff to enable and disable warning
|
||
messages, respectively. </li></small></p></ul>
|
||
|
||
<p><small>preconv</small></p><ul>
|
||
|
||
<p><small><li>This is a new preprocessor to convert various
|
||
input encodings to something groff understands (this is,
|
||
ASCII and \[uXXXX] entities, with ‘XXXX’ a
|
||
hexadecimal number with 4 to 6 digits, representing a
|
||
Unicode input code). Normally, preconv should be invoked
|
||
with options ‘−k’ and
|
||
‘−K’ of groff. See the preconv man page
|
||
for details. </li></small></p></ul>
|
||
|
||
<p><small>pic</small></p><ul>
|
||
|
||
<p><small><li>int(x) now really behaves as documented: It
|
||
truncates the non-integer part of x, this is, it rounds
|
||
toward zero and not toward the next integer less than or
|
||
equal to x.</small></p>
|
||
|
||
<p style="margin-top: 1em"><small></li><li>Pic now supports
|
||
up to 32 macro arguments (and up to 16 on EBCDIC
|
||
platforms).</small></p>
|
||
|
||
|
||
<p style="margin-top: 1em"><small></li><li>Heinz-Jürgen
|
||
Örtel contributed code for two new keywords,
|
||
‘xslanted’ and ‘yslanted’, which can
|
||
change the shape of boxes into arbitrary parallelograms.
|
||
</li></small></p> </ul>
|
||
|
||
<p><small>tbl</small></p><ul>
|
||
|
||
<p><small><li>Latest versions of DWB tbl introduced an
|
||
‘x’ column specifier for a single column
|
||
expanded to the line width. GNU tbl has now been extended to
|
||
support even multiple ‘x’ specifiers within a
|
||
table.</small></p>
|
||
|
||
<p style="margin-top: 1em"><small></li><li>To avoid
|
||
collision with the new ‘x’ specifier, a block
|
||
formatting macro must now be selected with specifier letter
|
||
‘m’. </li></small></p></ul>
|
||
|
||
<p><small>eqn</small></p><ul>
|
||
|
||
<p><small><li>Eric S. Raymond has added a new device type
|
||
to eqn, MathML. When −TMathML is enabled, eqn now
|
||
emits MathML formula markup rather than groff commands. The
|
||
new groff −Txhtml device uses this. </li></small></p></ul>
|
||
|
||
<p><small>chem</small></p><ul>
|
||
|
||
<p><small><li>The preprocessor ‘chem’ was
|
||
added. ‘chem’ is a roff language to generate
|
||
chemical structure diagrams. It generates ‘pic’
|
||
output. </li></small></p></ul>
|
||
|
||
<p><small>grops</small></p><ul>
|
||
|
||
<p><small><li>The PS font definition files have been
|
||
regenerated with newer AFM versions from Adobe’s 35
|
||
core fonts as present in most Level 2 PS printers. The
|
||
changes are minor (most notably, the addition of the
|
||
‘Euro’ glyph and an extended set of kerning
|
||
values).</small></p>
|
||
|
||
<p style="margin-top: 1em"><small>For backward
|
||
compatibility, the old set of font definition files is still
|
||
available; for details please read the man page of grops.
|
||
</li></small></p> </ul>
|
||
|
||
<p><small>grotty</small></p><ul>
|
||
|
||
<p><small><li>\D’p...’ is now supported if the
|
||
polygon consists entirely of horizontal and vertical lines.
|
||
</li></small></p> </ul>
|
||
|
||
<p><small>grohtml</small></p><ul>
|
||
|
||
<p><small><li>XHTML support has been added.</small></p>
|
||
|
||
<p style="margin-top: 1em"><small></li><li>New command-line
|
||
option ‘−V’ (to be used in XHTML mode) to
|
||
produce an XHTML validator button.</small></p>
|
||
|
||
<p style="margin-top: 1em"><small></li><li>New command-line
|
||
option ‘−y’ to produce a right-justified
|
||
groff signature at the end of the document (in combination
|
||
with option ‘−V’). </li></small></p></ul>
|
||
|
||
<p><small>gxditview</small></p><ul>
|
||
|
||
<p><small><li>Support for keyboard navigation has been
|
||
improved.</small></p>
|
||
|
||
<p style="margin-top: 1em"><small></li><li>Similar to other
|
||
X11 applications, there are now two resource files,
|
||
‘GXditview’ and
|
||
‘GXditview−color’. </li></small></p></ul>
|
||
|
||
<p><small>groffer</small></p><ul>
|
||
|
||
<p><small><li>‘groffer’ version 1.* exists now
|
||
in a shell and a Perl version. </li></small></p></ul>
|
||
|
||
<p><small>afmtodit</small></p><ul>
|
||
|
||
<p><small><li>New option ‘−c’ to output
|
||
more font information as comments.</small></p>
|
||
|
||
<p style="margin-top: 1em"><small></li><li>New option
|
||
‘−k’ to suppress output of kerning
|
||
data.</small></p>
|
||
|
||
<p style="margin-top: 1em"><small></li><li>New option
|
||
‘−f NAME’ to set the internal name of the
|
||
groff font. </li></small></p></ul>
|
||
|
||
<p><small>macro packages</small></p><ul>
|
||
|
||
<p><small><li>Joachim Walsdorff contributed the
|
||
‘hdtbl’ package for the generation of tables,
|
||
using a syntax very similar to the HTML table model. For
|
||
example, a table with two cells and two rows looks like
|
||
this:</small></p>
|
||
|
||
<p style="margin-left:3%; margin-top: 1em"><small>.TBL
|
||
cols=2 <br>
|
||
. TR .TD 1*1 .TD 1*2 <br>
|
||
. TR .TD 2*1 .TD 2*2 <br>
|
||
.ETB</small></p>
|
||
|
||
<p style="margin-top: 1em"><small>Here the same table using
|
||
a more expanded syntax:</small></p>
|
||
|
||
<p style="margin-left:3%; margin-top: 1em"><small>.TBL
|
||
cols=2 <br>
|
||
. TR <br>
|
||
. TD 1*1 <br>
|
||
. TD 1*2 <br>
|
||
. TR <br>
|
||
. TD 2*1 <br>
|
||
. TD 2*2 <br>
|
||
.ETB</small></p>
|
||
|
||
<p style="margin-top: 1em"><small>Tables can be nested;
|
||
‘hdtbl’ works without a preprocessor so that the
|
||
full capability of groff’s macro engine is
|
||
available.</small></p>
|
||
|
||
<p style="margin-top: 1em"><small>This package currently
|
||
works with ‘−Tps’ only.</small></p>
|
||
|
||
<p style="margin-top: 1em"><small></li><li>−mandoc
|
||
now supports multiple man pages (in either man or mdoc
|
||
format).</small></p>
|
||
|
||
<p style="margin-top: 1em"><small></li><li>Fabrice
|
||
Ménard contributed locales support. In particular, it
|
||
is now possible to get French localization of the main macro
|
||
packages (−ms, −mm, −me, and −mom,
|
||
but not −man and −mdoc which are localized
|
||
differently) by appending ‘−mfr’ to the
|
||
list of macro packages. Example:</small></p>
|
||
|
||
<p style="margin-left:3%; margin-top: 1em"><small>groff
|
||
−ms −mfr foo > foo.ps</small></p>
|
||
|
||
<p style="margin-top: 1em"><small>Note that latin-9 input
|
||
encoding is used for French (to support the ‘oe’
|
||
ligature).</small></p>
|
||
|
||
<p style="margin-top: 1em"><small></li><li>Swedish macro
|
||
localization (with ‘−msv’) has been
|
||
added.</small></p>
|
||
|
||
<p style="margin-top: 1em"><small></li><li>German macro
|
||
localization (with ‘−mde’ and
|
||
‘−mden’ for traditional and new
|
||
orthography, respectively) has been added.</small></p>
|
||
|
||
<p style="margin-top: 1em"><small></li><li>Czech macro
|
||
localization (with ‘−mcs’) has been
|
||
added.</small></p>
|
||
|
||
<p style="margin-top: 1em"><small>Note that latin-2 input
|
||
encoding is used for Czech.</small></p>
|
||
|
||
<p style="margin-top: 1em"><small></li><li>A new macro
|
||
‘Dx’ has been added to the mdoc package which
|
||
identifies the DragonFly OS.</small></p>
|
||
|
||
<p style="margin-top: 1em"><small></li><li>If mdoc is used
|
||
to print multiple man pages (together with the −rcR=0
|
||
command-line option), each man page now starts a new
|
||
page.</small></p>
|
||
|
||
<p style="margin-top: 1em"><small></li><li>−mtrace
|
||
has been considerably improved, now showing number and
|
||
string register assignments, among other things. See the
|
||
groff_trace man page for details.</small></p>
|
||
|
||
<p style="margin-top: 1em"><small></li><li>The PSPIC macro
|
||
now works with all devices (producing a hollow rectangle on
|
||
devices which don’t support inclusion of PS images)
|
||
and is loaded in troffrc at start-up.</small></p>
|
||
|
||
<p style="margin-top: 1em"><small></li><li>A new auxiliary
|
||
macro package ‘62bit’ has been added which
|
||
provides some macros for adding, multiplying, and dividing
|
||
signed 62-bit integers (mainly to handle normal groff number
|
||
operations without risking overflow errors).</small></p>
|
||
|
||
<p style="margin-top: 1em"><small></li><li>For −ms,
|
||
Eric S. Raymond contributed support for ancient Bell Labs
|
||
localisms ‘.SC’, ‘.UC’,
|
||
‘.P1’, and ‘.P2’. The latter three
|
||
are enabled only after .SC is called.</small></p>
|
||
|
||
<p style="margin-top: 1em"><small></li><li>A new string,
|
||
‘SN-STYLE’, has been added to the ms macros,
|
||
controlling the formatting of section numbers in headings
|
||
defined by ‘.NH’.</small></p>
|
||
|
||
<p style="margin-top: 1em"><small></li><li>The new macro
|
||
package ‘ptx’ provides a template definition for
|
||
the ‘.xx’ macro as needed by GNU ptx (for
|
||
creating permuted indices). </li></small></p></ul></td></tr></table><hr>
|
||
[ <a href="webpage.html">top</a> ]
|