Commit Graph

34 Commits

Author SHA1 Message Date
Ruslan Ermilov
03f4c85fc8 From ChangeLog:
: 2003-06-31  Ruslan Ermilov  <ru@FreeBSD.org>
:         * tmac/tty-char.tmac: Provide `lb', `rb', `lk', `rk', `lt', `rt'.

This fixes warnings in some legacy roff documents.

Prodded by:	bde
2003-07-02 09:43:53 +00:00
Ruslan Ermilov
cc60c35de4 2003-05-03 Ruslan Ermilov <ru@FreeBSD.org>
* tmac/groff_mdoc.man: Slight improvements.
2003-06-07 20:18:23 +00:00
Ruslan Ermilov
48466d8c42 2003-05-22 Ruslan Ermilov <ru@FreeBSD.org>
* tmac/X.tmac: Fix definition of `em'.
2003-06-07 20:17:38 +00:00
Ruslan Ermilov
3fc8056a59 Apply a vendor fix for one problem with tagged lists. From ChangeLog:
2003-05-18  Werner LEMBERG  <wl@gnu.org>
        * tmac/doc.tmac (doc-tag-list): Force horizontal mode after tag
        to make items work which consist only of a tag.

2003-05-17  Werner LEMBERG  <wl@gnu.org>
        * tmac/doc.tmac (doc-tag-list): Don't use \Z to assure that spaces
        aren't stretched in a tag (this can fail with unformatted boxes).
        Instead, insert a break and go back one line.

Approved by:	re (blanket)
2003-05-19 14:37:41 +00:00
Ruslan Ermilov
65b4847f6c A couple of vendor updates:
2003-05-01  Werner LEMBERG  <wl@gnu.org>

        * tmac/doc-ditroff, tmac/doc-nroff (doc-header-space,
        doc-footer-space): Initialize to 0.5i.
        (doc-setup-page-layout): Don't set doc-header-space and
        doc-footer-space.

2003-05-01  Ruslan Ermilov  <ru@FreeBSD.org>

        * tmac/doc-common (Nd): Use \[em].

2003-05-03  Werner LEMBERG  <wl@gnu.org>

        * tmac/doc-common (doc-header): Emit vertical space of 1v instead of
        `doc-header-space' after header line if register `cR' is set.
2003-05-03 21:54:30 +00:00
Ruslan Ermilov
21acd3a2ac Removed files not present in v1.19 import. 2003-05-01 13:15:22 +00:00
Ruslan Ermilov
bdbe8a18ed Virgin import of FSF groff v1.19 2003-05-01 13:09:50 +00:00
Ruslan Ermilov
3018e8e5c7 From ChangeLog:
: 2002-10-14  Werner LEMBERG  <wl@gnu.org>
:
: 	* src/roff/troff/node.cc (troff_output_file::put_char_width,
: 	troff_output_file::put_char, troff_output_file::fill_color,
: 	troff_output_file::glyph_color): Handle case where color pointer
: 	is null.

This paniced troff(1) attempting to format the vinum(4) manpage.
2002-10-15 10:42:07 +00:00
Ruslan Ermilov
d42dfbbb2c From ChangeLog:
: 2002-10-13  Ruslan Ermilov  <ru@FreeBSD.org>
:
: 	Add the new -r option to grotty.  It is similar to the -i option
: 	except it tells grotty(1) to use the "reverse video" attribute to
: 	render italic fonts.
2002-10-14 09:12:27 +00:00
Ruslan Ermilov
75e206f5ca Hyphenation of characters with codes above 128 was broken.
This my patch has just been committed to the Groff source
repository.
2002-10-11 16:04:04 +00:00
Ruslan Ermilov
8b80da3584 Removed files not present in v1.18.1 import. 2002-10-11 08:53:48 +00:00
Ruslan Ermilov
cb16e62e58 Virgin import of FSF groff v1.18.1 2002-10-11 08:52:17 +00:00
Ruslan Ermilov
427fbef087 From the ChangeLog:
: 2002-10-07  Werner LEMBERG  <wl@gnu.org>
:
: 	* tmac/doc-common (Ss): Add final `.ns' (similar to `.Sh') to
: 	suppress additional whitespace after the header.
:
: 2002-10-07  Ruslan Ermilov  <ru@FreeBSD.org>
:
: 	* tmac/doc-common (doc-volume-operating-system-ateol): New flag.
: 	(Dt): Use it to improve language localization (especially Russian
: 	and French).
2002-10-09 08:39:59 +00:00
Ruslan Ermilov
d80027fc4e Support for FreeBSD releases 4.6, 4.6.2, 4.7 and 4.8. From ChangeLog:
: 2002-09-27  Ruslan Ermilov  <ru@FreeBSD.org>
:
: 	* tmac/doc-common (ds-operating-system-FreeBSD-4.*): New version
: 	strings.
2002-09-30 07:46:54 +00:00
Ruslan Ermilov
2a91b0e9f4 From ChangeLog:
: 2002-01-17  Ruslan Ermilov  <ru@FreeBSD.org>
:
: 	* tmac/doc.common: Initialize %I register for the %I macro to
: 	avoid (harmless) warning.
: 	* tmac/doc.tmac (Bd): There is no reason to enforce -compact
: 	when in the SYNOPSIS section.
2002-01-18 15:25:01 +00:00
Ruslan Ermilov
e132e98f0d Satisfy pedantic readers.
PR:		docs/31260

From ChangeLog:

: 2002-01-14  Ruslan Ermilov  <ru@FreeBSD.org>
:
:         * tmac/groff_mdoc.man: Minor fixes.
2002-01-15 17:15:28 +00:00
Ruslan Ermilov
7715c92746 Print architecture right after an operating system name in a title.
From ChangeLog:

: 2001-12-24  Ruslan Ermilov  <ru@FreeBSD.org>
:
:   * tmac/doc-common (Dt): Change output of architecture strings.
:   Do some syntax cleanup.
:   * tmac/groff_mdoc.man: Updated.
2002-01-10 18:04:04 +00:00
Ruslan Ermilov
1cc5490cec From ChangeLog:
: 2001-12-22  Ruslan Ermilov  <ru@FreeBSD.org>
:
:         * tmac/doc-common, tmac/doc-syms: Small updates.

This adds support for FreeBSD 4.4, FreeBSD 4.5, NetBSD 1.6,
and POSIX.1-2001.
2001-12-24 08:53:15 +00:00
Ruslan Ermilov
e8777213c8 Bring in latest (cosmetic) vendor fixes to this file. 2001-12-21 11:46:21 +00:00
Ruslan Ermilov
0988851e6e From ChangeLog:
: 2001-11-16  Ruslan Ermilov  <ru@FreeBSD.org>
:
:         * tmac/doc-common (doc-header): Handle very long document titles
:         better.

PR:		docs/10349
2001-12-21 11:31:30 +00:00
Ruslan Ermilov
5b9435ca7b From ChangeLog:
: 2001-10-19  Ruslan Ermilov  <ru@FreeBSD.org>
:
:	* tmac/doc.tmac (doc-flag-recursion): Protect arguments against
:	being handled as end-of-sentence characters,

This fixes ".Fl \&?".  Previously, it produced an additional whitespace.
There were no precedents in FreeBSD manpages.  That's why it was

Noticed by:	Thomas Klausner <wiz@netbsd.org>
2001-10-26 17:22:12 +00:00
Ruslan Ermilov
059b06f9eb From ChangeLog:
: 2001-08-14  Ruslan Ermilov  <ru@FreeBSD.org>
:
: 	* tmac/doc.tmac (Ex): New implementation.
: 	* tmac/doc-common, tmac/groff_tmac.man: Updated.

This adds a new macro, .Ex (Exit Status), for use in the
DIAGNOSTICS section of section 1, 6 and 8 manpages.

Prodded by:	dd
2001-08-15 08:17:33 +00:00
Ruslan Ermilov
7f582a6969 From ChangeLog:
: 2001-08-13  Ruslan Ermilov  <ru@FreeBSD.org>
:
: 	* tmac/doc.tmac (Rv): Implement support for 0 or more than 1
: 	argument.
: 	* tmac/groff_tmac.man: Updated.

All of the following are now valid:

.Rv -std f1
.Rv -std f1 f2
.Rv -std f1 f2 f3
.Rv -std

The last form is useful where the standard return behavior is applicable
to all of the functions described in this particular manpage.  Look, for
example, at the stat(2), setresuid(2), and utimes(2) manpages.

The form with >1 functions is useful in a mixed environment.  See the
fhopen(2) manpage for an example.

Prodded by:	yar
2001-08-14 15:19:35 +00:00
Ruslan Ermilov
2370a12024 From ChangeLog:
: 2001-07-18  Ruslan Ermilov  <ru@FreeBSD.org>
:
:	* tmac/groff_mdoc.man: Document new -width and -column syntax.
:	Some other minor fixes.
:	* tmac/an-old.tmac: Add `AT' and `UC' macros.
2001-07-18 06:48:31 +00:00
Ruslan Ermilov
920eecc599 Import latest mdoc(7) fixes of mine.
Fold -xwidth functionality into -width.  .Bl now tests whether
string immediately following a leading dot starts with a valid
macro name.

Added similar functionality to the -column list's column width
specifiers.  For example, the following now works as expected:

.Bl -column ".Va hw.crusoe.percentage" ".Vt integer" "Changeable"
.It Sy "Name\tType\tChangeable\tDescription"
.It Va hw.crusoe.longrun Ta Vt integer Ta yes Ta "LongRun mode:"
.It Ta Ta Ta "0: minimum frequency mode"
.It Ta Ta Ta "1: power-saving mode"
.It Ta Ta Ta "2: performance mode"
.It Ta Ta Ta "3: maximum frequency mode"
.It Va hw.crusoe.frequency Ta Vt integer Ta no Ta "Current frequency (MHz)."
.It Va hw.crusoe.voltage Ta Vt integer Ta no Ta "Current voltage (mV)."
.It Va hw.crusoe.percentage Ta Vt integer Ta no Ta "Processing performance (%)."
.El

This is especially useful for groff devices with variable width
fonts, like -Tps or -TX100.
2001-07-13 09:06:00 +00:00
Ruslan Ermilov
75fdaafb19 Removed files not present in v1.17.2 import. 2001-07-10 17:10:51 +00:00
Ruslan Ermilov
5ecb0ad24f Virgin import of FSF groff v1.17.2 2001-07-10 17:09:00 +00:00
Ruslan Ermilov
af2a8ba6c3 Bring in FSF revision 1.17:
* src/roff/troff/node.h (node::node): Initialize `last'.

This fixes coredump on \b'\(sq' sequence.

Urged by:	eivind
2001-06-19 06:43:49 +00:00
Ruslan Ermilov
9f06645d99 Removed files not present in v1.17 import. 2001-04-17 12:23:50 +00:00
Ruslan Ermilov
1d5f6a94a8 Virgin import of FSF groff v1.17 2001-04-17 12:12:05 +00:00
Ruslan Ermilov
c8d1b47c7f Virgin import of FSF groff v1.16.1 2000-12-05 18:49:44 +00:00
Jeroen Ruigrok van der Werven
e159d2bd86 Virgin import of FSF groff v1.15 2000-01-12 09:51:43 +00:00
David E. O'Brien
4ff90835e2 Virgin import of FSF groff v1.11 1999-03-15 08:36:16 +00:00
Paul Traina
4e5867aa82 Virgin import of FSF groff v1.10 1996-09-07 16:18:32 +00:00