History log of /freebsd-9.3-release/contrib/groff/tmac/doc.tmac
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
# 267654 19-Jun-2014 gjb

Copy stable/9 to releng/9.3 as part of the 9.3-RELEASE cycle.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation

# 238816 26-Jul-2012 ru

Synced mdoc(7) with head.

Approved by: re (kib)


# 225736 22-Sep-2011 kensmith

Copy head to stable/9 as part of 9.0-RELEASE release cycle.

Approved by: re (implicit)


# 222852 08-Jun-2011 ru

Pull up all vendor changes to mdoc(7).

This also replaces the local fix in r219209 that made .Ac emit
ASCII angle quotes with an official fix. In the official fix,
ASCII quotes are output when using the .Aq, .Ao and .Ac calls,
but only when nested into the .An macro.

PR: gnu/154822


# 219209 02-Mar-2011 uqs

Unbreak .Aq for non-ASCII output like -Tps or -Tutf8.

groff will try to produce fancy angle brackets like
Foo ⟨foo@FreeBSD.org⟩
This is nice and well, but no email client will understand them. For
ease of copy&paste keep the one-true pair of brackets 0x3c/0x3e.

See: RFC 822, RFC 2822
PR: gnu/154822
Submitted by: Dominic Fandrey <kamikaze@bsdforen.de>
MFC after: 2 weeks


# 202366 15-Jan-2010 ru

Pull up vendor changes.


# 202358 15-Jan-2010 ru

Pull up vendor changes. The following local changes made obsolete:

- Addition of several FreeBSD versions.
- r192561 that attempted to fix UTF-8 issues.


# 151498 20-Oct-2005 ru

This commit was generated by cvs2svn to compensate for changes in r151497,
which included commits to RCS files with non-trunk default branches.


# 151497 20-Oct-2005 ru

Virgin import of FSF groff v1.19.2


# 140801 25-Jan-2005 ru

Bring in latest mdoc(7) fixes over here.


# 140229 14-Jan-2005 ru

Pull up a vendor fix for a problem exposed by tr/tr.1,v 1.30.


# 136136 05-Oct-2004 ru

Pull up the latest minor fixes.


# 120297 20-Sep-2003 ru

Keep up with recent mdoc(7) changes, that include:

- If no .Os call is made, don't print the OS info at all.
- Allow for multiple .Lb calls in the LIBRARY section.
- Improved documentation on punctuation characters.


# 117264 05-Jul-2003 ru

Fix for troff mode. The

.Pp
.Bd -literal
...

fragment resulted in two vertical spaces. From ChangeLog:

2003-07-04 Ruslan Ermilov <ru@FreeBSD.org>

* tmac/doc.tmac (Bd): Change to doc-Li-font later.


# 117201 03-Jul-2003 ru

Update mdoc(7) to the current version. From ChangeLog:

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

* tmac/doc.tmac (doc-do-func, doc-do-func-args): Don't print a comma
after `/*' and `*/'.
Fix spacing.
(Fn, Fo): Reduce indentation in synopsis.

* tmac/doc-common (doc-check-depth): New macro.
(doc-end-macro, Sh, Ss): Use it.
(Cd): Fix behaviour in synopsis.
(In): Make it parsed and callable.
If not in the synopsis, represent the C header file enclosed in
angle brackets.
(doc-str-Rv-std-suffix, doc-str-Rv-stds-suffix, doc-str-Rv-std0):
Use minus, not hyphen.


# 115155 19-May-2003 ru

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)


# 114402 01-May-2003 ru

Virgin import of FSF groff v1.19


# 104862 11-Oct-2002 ru

Virgin import of FSF groff v1.18.1


# 89500 18-Jan-2002 ru

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.


# 85552 26-Oct-2001 ru

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>


# 81682 15-Aug-2001 ru

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


# 81630 14-Aug-2001 ru

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


# 79655 13-Jul-2001 ru

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.


# 79543 10-Jul-2001 ru

Virgin import of FSF groff v1.17.2


# 75584 17-Apr-2001 ru

Virgin import of FSF groff v1.17