=================================================================== RCS file: /cvs/mandoc/mandoc_char.7,v retrieving revision 1.42 retrieving revision 1.48 diff -u -p -r1.42 -r1.48 --- mandoc/mandoc_char.7 2011/02/09 22:53:20 1.42 +++ mandoc/mandoc_char.7 2011/08/30 12:16:36 1.48 @@ -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.48 2011/08/30 12:16:36 kristaps Exp $ .\" .\" Copyright (c) 2009 Kristaps Dzonsons .\" @@ -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: August 30 2011 $ .Dt MANDOC_CHAR 7 .Os .Sh NAME @@ -288,6 +288,9 @@ Mathematical: .It \e(Re Ta \(Re Ta real .It \e(pd Ta \(pd Ta partial differential .It \e(-h Ta \(-h Ta Planck constant over 2\(*p +.It \e[12] Ta \[12] Ta one-half +.It \e[14] Ta \[14] Ta one-fourth +.It \e[34] Ta \[34] Ta three-fourths .El .Pp Ligatures: @@ -481,10 +484,14 @@ 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: -.Pp -.Bl -column -compact -offset indent "Input" "Rendered" "Description" +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. +.Bl -column -offset indent "Input" "Rendered" "Description" .It Em Input Ta Em Rendered Ta Em Description .It \e*(Ba Ta \*(Ba Ta vertical bar .It \e*(Ne Ta \*(Ne Ta not equal @@ -512,7 +519,23 @@ 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 UNICODE CHARACTERS +The escape sequence +.Pp +.Dl \e[uXXXX] +.Pp +is interpreted as a Unicode codepoint. +The codepoint must be in the range above U+0080 and less than U+10FFFF. +For compatibility, points must be zero-padded to four characters; if +greater than four characters, no zero padding is allowed. +Unicode surrogates are not allowed. +.\" .Pp +.\" Unicode glyphs attenuate to the +.\" .Sq \&? +.\" character if invalid or not rendered by current output media. .Sh NUMBERED CHARACTERS For backward compatibility with existing manuals, .Xr mandoc 1 @@ -535,6 +558,9 @@ troff implementations, at this time limited to GNU tro .Pp .Bl -dash -compact .It +The \eN\(aq\(aq escape sequence is limited to printable characters; in +groff, it accepts arbitrary character numbers. +.It In .Fl T Ns Cm ascii , the @@ -567,7 +593,8 @@ known representation. The .Nm manual page was written by -.An Kristaps Dzonsons Aq kristaps@bsd.lv . +.An Kristaps Dzonsons , +.Mt kristaps@bsd.lv . .Sh CAVEATS The .Sq \e*(Ba