Commit Graph

293 Commits

Author SHA1 Message Date
Dag-Erling Smørgrav
62aa21ae86 When man pages are formatted in UTF-8, .Fl is encoded as U+2212 "MINUS
SIGN" instead of U+002D "HYPHEN-MINUS".  This is unfortunate for two
reasons: 1) this is not the character which is actually used on the
command line, and 2) it makes it impossible to search a man page for a
specific command-line option.

This patch fixes this, but there are other unresolved issues, such as
confusion between -, \- and hy: while the latter is always (and only)
used for hyphenation, both - and \- are used for negation and
subtraction, and \- is used for command-line options and sometimes
also for parenthesis.  IMHO, the correct Unicode characters are:

 - hyphenation: either U+2010 or U+00AD, most likely the former (the
   latter is the so-called soft hyphen, used to indicate a point at
   which a text processor is allowed to hyphenate a word)

 - negation and subtraction: U+2212

 - parenthesis: in English, U+2214, with spaces suppressed before and
   after; in some others (such as Norwegian), U+2213 with spaces
   retained.

 - command-line options: U+002D, because that is what is actually used
   on the command line.

However, fixing this would require extensive modifications to (at least)
the doc and man macro sets...

MFC after:	1 week
2009-05-21 17:56:00 +00:00
Ruslan Ermilov
80cc270287 MFV: recent mdoc(7) changes.
Approved by:	re (kensmith)
2007-10-04 04:38:23 +00:00
Ruslan Ermilov
2cd96fdf2c This commit was generated by cvs2svn to compensate for changes in r172423,
which included commits to RCS files with non-trunk default branches.
2007-10-03 06:04:40 +00:00
Ruslan Ermilov
95261a8d0f Pull up current -mdoc version from vendor. This includes the
following changes:

: 2007-10-02  Ruslan Ermilov  <ru@FreeBSD.org>
:
:         * tmac/doc-common, tmac/groff_doc.man: Add FreeBSD 6.2, document
:         FreeBSD 5.5 and 7.0.
:
:         * tmac/doc-syms: Give better names for System V releases.

: 2007-05-30  Werner LEMBERG <wl@gnu.org>
:
:         * tmac/groff_mdoc.man: Convert `-' to `\-' where appropriate.
:         Recommend `tbl' instead of `-column' lists for more complicated
:         cases.
2007-10-03 06:04:40 +00:00
Ruslan Ermilov
3d4c5c90cb MFV: Sync with vendor branch. 2006-12-25 09:03:10 +00:00
Ruslan Ermilov
5bba0737f1 Pull up current -mdoc version from vendor.
- New Darwin, FreeBSD, and NetBSD versions.
- DragonFly support including the new .Dx macro.
- New .St strings: -isoC-amd1, -isoC-tcor1, -isoC-tcor2, and -ieee1275-94.
2006-12-25 08:59:09 +00:00
Ruslan Ermilov
16fa9cc022 This commit was generated by cvs2svn to compensate for changes in r165538,
which included commits to RCS files with non-trunk default branches.
2006-12-25 08:59:09 +00:00
Ruslan Ermilov
b281aca4ad Pull up from the FSF branch. 2006-01-12 15:31:41 +00:00
Ruslan Ermilov
b99439c39a Merge support for new BSD releases from upstream:
- Darwin 8.[0-3].0
- FreeBSD 4.11, 5.4, 6.0, 6.1
- NetBSD 3.0
2006-01-12 15:26:11 +00:00
Ruslan Ermilov
401070f083 This commit was generated by cvs2svn to compensate for changes in r154258,
which included commits to RCS files with non-trunk default branches.
2006-01-12 15:26:11 +00:00
Ruslan Ermilov
5ca88fcbc5 Update upgrade instructions. 2005-10-20 11:18:24 +00:00
Ruslan Ermilov
ed6ac7236a Merge Groff 1.19.2 changes. 2005-10-20 10:53:15 +00:00
Ruslan Ermilov
982fd8a3e4 Use stock (FSF) version of this file. 2005-10-20 10:52:34 +00:00
Ruslan Ermilov
22481ce32f Removed files not present in v1.19.2 import. 2005-10-20 10:47:26 +00:00
Ruslan Ermilov
d870518220 This commit was generated by cvs2svn to compensate for changes in r151500,
which included commits to RCS files with non-trunk default branches.
2005-10-20 10:47:26 +00:00
Ruslan Ermilov
22e7cbb874 Virgin import of FSF groff v1.19.2 2005-10-20 10:45:19 +00:00
Ruslan Ermilov
1c7b34d8d7 This commit was generated by cvs2svn to compensate for changes in r151497,
which included commits to RCS files with non-trunk default branches.
2005-10-20 10:45:19 +00:00
Ruslan Ermilov
2ed83d261b MFV: Latest mdoc(7) fixes. 2005-01-25 09:32:56 +00:00
Ruslan Ermilov
bc33253bf8 Bring in latest mdoc(7) fixes over here. 2005-01-25 09:29:48 +00:00
Ruslan Ermilov
3899af05ce This commit was generated by cvs2svn to compensate for changes in r140801,
which included commits to RCS files with non-trunk default branches.
2005-01-25 09:29:48 +00:00
Ruslan Ermilov
32fe84f7e8 Pull up a vendor fix for a problem exposed by tr/tr.1,v 1.30. 2005-01-14 09:50:45 +00:00
Ruslan Ermilov
7643035a1c This commit was generated by cvs2svn to compensate for changes in r140229,
which included commits to RCS files with non-trunk default branches.
2005-01-14 09:50:45 +00:00
Joseph Koshy
548c9b4376 Revert rev 1.66. This file needs to track its upstream source.
Requested by:	ru
2004-12-17 16:29:54 +00:00
Joseph Koshy
e791235b73 Support for ".Fx 6.0".
Reviewed by:	ru
2004-12-17 14:10:44 +00:00
Ruslan Ermilov
6f9868d148 Pull up the latest minor fixes. 2004-10-05 06:14:29 +00:00
Ruslan Ermilov
04e67b43ff This commit was generated by cvs2svn to compensate for changes in r136136,
which included commits to RCS files with non-trunk default branches.
2004-10-05 06:14:29 +00:00
Ruslan Ermilov
abcbe24601 Sync with FSF. 2004-07-30 08:14:00 +00:00
Ruslan Ermilov
e4bda9ead6 Pull up latest mdoc(7) changes:
: 2004-05-10  Werner LEMBERG  <wl@gnu.org>
:
: 	* tmac/doc-syms (doc-str-Lb-libposix, doc-str-Lb-libpthread,
: 	doc-str-Lb-librt): Reset font.
: 	(Lb): Rename `doc-str-Lb' to `doc-str-Lb1'.
: 	Provide `doc-str-Lb' to reset font.
: 	* tmac/groff_mdoc.man: Updated.

: 2004-07-08  Thomas Klausner  <wiz@netbsd.org>
:
: 	* tmac/doc-syms (doc-str-St--p1003.1-2004): New string.
: 	* tmac/groff_mdoc.man: Updated.
2004-07-30 08:12:09 +00:00
Ruslan Ermilov
001a0cba02 This commit was generated by cvs2svn to compensate for changes in r132873,
which included commits to RCS files with non-trunk default branches.
2004-07-30 08:12:09 +00:00
Ruslan Ermilov
cf607fd656 From ChangeLog:
: 2004-06-10  Colin Percival  <colin.percival@wadham.ox.ac.uk>
: 	* doc/meintro.me, doc/meref.me: Don't use \*[td], \n[dy], \*[mo],
: 	and \n[mo] to avoid dependency on current date.
2004-06-14 09:09:06 +00:00
Ruslan Ermilov
89e04eca44 This commit was generated by cvs2svn to compensate for changes in r130457,
which included commits to RCS files with non-trunk default branches.
2004-06-14 09:09:06 +00:00
Ruslan Ermilov
5f383c5de8 Pull up latest mdoc(7) changes. 2004-04-16 07:12:38 +00:00
Ruslan Ermilov
b1725c05e9 Pull up latest mdoc(7) changes:
: 2004-04-14  Thomas Klausner <wiz@netbsd.org>
:
: 	* tmac/doc-common (doc-volume-as-*): Use lowercase names.
: 	(doc-operating-system-*): Updated.
: 	* tmac/doc-syms (doc-str-St-*): Various small fixes.
: 	(doc-str-Lb-*): Add more library names.
2004-04-16 07:08:33 +00:00
Andrey A. Chernov
b3ab6e504b Back out getopt* adding here per maintainer request 2004-02-25 03:10:14 +00:00
Andrey A. Chernov
738f8e7150 Remove unneeded files 2004-02-17 03:43:12 +00:00
Ruslan Ermilov
e66afe03de MFV: The -d option. 2003-11-02 07:27:40 +00:00
Ruslan Ermilov
f5b8c6dcbc Sort encodings. 2003-11-02 07:25:24 +00:00
Ruslan Ermilov
7743fe0e1b From ChangeLog:
: 2003-07-06  Ruslan Ermilov  <ru@FreeBSD.org>
:
: 	* src/roff/nroff/nroff.sh: Add option -d for completeness.
: 	* src/roff/nroff/nroff.man: Updated.
2003-11-02 06:56:52 +00:00
Ruslan Ermilov
641e45f5da Sync with FSF branch. 2003-09-20 21:20:01 +00:00
Ruslan Ermilov
cd060126ad 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.
2003-09-20 21:13:43 +00:00
Ruslan Ermilov
5249fed37f This commit was generated by cvs2svn to compensate for changes in r120297,
which included commits to RCS files with non-trunk default branches.
2003-09-20 21:13:43 +00:00
Ruslan Ermilov
9d1be4e42e Unbreak Russian KOI8-R support. 2003-09-08 17:46:33 +00:00
Ruslan Ermilov
700a09db9e 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.
2003-07-05 22:58:04 +00:00
Ruslan Ermilov
7ca1ec2c8c This commit was generated by cvs2svn to compensate for changes in r117264,
which included commits to RCS files with non-trunk default branches.
2003-07-05 22:58:04 +00:00
Ruslan Ermilov
504586cecd MFV. 2003-07-03 18:01:20 +00:00
Ruslan Ermilov
2cbfdf07f8 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.
2003-07-03 16:46:08 +00:00
Ruslan Ermilov
dedfec2aa4 This commit was generated by cvs2svn to compensate for changes in r117201,
which included commits to RCS files with non-trunk default branches.
2003-07-03 16:46:08 +00:00
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
fedbfbbbc6 This commit was generated by cvs2svn to compensate for changes in r117153,
which included commits to RCS files with non-trunk default branches.
2003-07-02 09:43:53 +00:00
Ruslan Ermilov
76e16c7155 FreeBSD now has the locale(1) utility. 2003-06-22 10:41:47 +00:00