diff options
-rw-r--r-- | chars.c | 4 | ||||
-rw-r--r-- | chars.in | 4 | ||||
-rw-r--r-- | mandoc_char.7 | 15 |
3 files changed, 16 insertions, 7 deletions
@@ -1,4 +1,4 @@ -/* $Id: chars.c,v 1.34 2011/03/22 10:13:01 kristaps Exp $ */ +/* $Id: chars.c,v 1.35 2011/04/20 22:50:22 kristaps Exp $ */ /* * Copyright (c) 2009, 2010 Kristaps Dzonsons <kristaps@bsd.lv> * Copyright (c) 2011 Ingo Schwarze <schwarze@openbsd.org> @@ -41,7 +41,7 @@ struct ln { #define CHARS_BOTH (CHARS_CHAR | CHARS_STRING) }; -#define LINES_MAX 351 +#define LINES_MAX 353 #define CHAR(in, ch, code) \ { NULL, (in), (ch), (code), CHARS_CHAR }, @@ -1,4 +1,4 @@ -/* $Id: chars.in,v 1.36 2011/03/16 22:49:55 schwarze Exp $ */ +/* $Id: chars.in,v 1.37 2011/04/20 22:50:22 kristaps Exp $ */ /* * Copyright (c) 2009, 2010 Kristaps Dzonsons <kristaps@bsd.lv> * @@ -375,6 +375,8 @@ STRING("right-parenthesis", ")", 41) STRING("right-singlequote", "\'", 8217) STRING("rp", ")", 41) STRING("Tm", "(Tm)", 8482) +STRING("Px", "POSIX", 0) +STRING("Ai", "ANSI", 0) /* Lines. */ CHAR("ba", "|", 124) diff --git a/mandoc_char.7 b/mandoc_char.7 index ec478e09..20b9f947 100644 --- a/mandoc_char.7 +++ b/mandoc_char.7 @@ -1,4 +1,4 @@ -.\" $Id: mandoc_char.7,v 1.42 2011/02/09 22:53:20 schwarze Exp $ +.\" $Id: mandoc_char.7,v 1.43 2011/04/20 22:50:22 kristaps Exp $ .\" .\" Copyright (c) 2009 Kristaps Dzonsons <kristaps@bsd.lv> .\" @@ -14,7 +14,7 @@ .\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. .\" -.Dd $Mdocdate: February 9 2011 $ +.Dd $Mdocdate: April 20 2011 $ .Dt MANDOC_CHAR 7 .Os .Sh NAME @@ -481,8 +481,13 @@ Greek letters: .It \e(ts Ta \(ts Ta sigma terminal .El .Sh PREDEFINED STRINGS -These are not recommended for use, as they differ across -implementations: +Predefined strings are inherited from the macro packages of historical +troff implementations. +They are +.Em not recommended +for use, as they differ across implementations. +Manuals using these predefined strings are almost certainly not +portable. .Pp .Bl -column -compact -offset indent "Input" "Rendered" "Description" .It Em Input Ta Em Rendered Ta Em Description @@ -512,6 +517,8 @@ implementations: .It \e*(>= Ta \*(>= Ta greater-than-equal .It \e*(aa Ta \*(aa Ta acute .It \e*(ga Ta \*(ga Ta grave +.It \e*(Px Ta \*(Px Ta POSIX standard name +.It \e*(Ai Ta \*(Ai Ta ANSI standard name .El .Sh NUMBERED CHARACTERS For backward compatibility with existing manuals, |