=================================================================== RCS file: /cvs/mandoc/mandoc_char.7,v retrieving revision 1.43 retrieving revision 1.47 diff -u -p -r1.43 -r1.47 --- mandoc/mandoc_char.7 2011/04/20 22:50:22 1.43 +++ mandoc/mandoc_char.7 2011/08/18 08:58:44 1.47 @@ -1,4 +1,4 @@ -.\" $Id: mandoc_char.7,v 1.43 2011/04/20 22:50:22 kristaps Exp $ +.\" $Id: mandoc_char.7,v 1.47 2011/08/18 08:58:44 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: April 20 2011 $ +.Dd $Mdocdate: August 18 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: @@ -520,6 +523,20 @@ portable. .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 @@ -542,6 +559,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 @@ -574,7 +594,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