=================================================================== RCS file: /cvs/mandoc/Attic/mdocterm.1,v retrieving revision 1.6 retrieving revision 1.7 diff -u -p -r1.6 -r1.7 --- mandoc/Attic/mdocterm.1 2009/02/27 08:20:15 1.6 +++ mandoc/Attic/mdocterm.1 2009/02/27 09:14:02 1.7 @@ -1,4 +1,4 @@ -.\" $Id: mdocterm.1,v 1.6 2009/02/27 08:20:15 kristaps Exp $ +.\" $Id: mdocterm.1,v 1.7 2009/02/27 09:14:02 kristaps Exp $ .\" .\" Copyright (c) 2009 Kristaps Dzonsons .\" @@ -89,6 +89,117 @@ reads from stdin and prints terminal-encoded output to .Nm is .Ud +.\" SUB-SECTION +.Ss Character Escapes +This section documents the character-escapes accepted by +.Xr mdocterm 1 . +Note that the \\x, \\(xx and \\[n] forms are described here; the \\*(xx +and \\*x forms described in +.Xr mdoc.samples 7 +are deprecated, but still correctly rendered. For all two-character +sequences, \\(xx is equivalent to the n-character \\[xx]. +.Pp +Note that the +.Em Output +column will render differently whether executed with +.Xr mdocterm 1 +or another output filter. +.\" PARAGRAPH +.Pp +Enclosures: +.Pp +.Bl -tag -width "OutputXXXX" -offset "XXXX" -compact +.It Em Output +.Em Input (Name) +.El +.Bl -tag -width "OutputXXXX" -offset "XXXX" -compact +.It \(rB +\\(rB (right bracket) +.It \(lB +\\(rB (left bracket) +.It \(lq +\\(lq (left double-quote) +.It \(rq +\\(rq (right double-quote) +.It \(oq +\\(lq (left single-quote) +.It \(aq +\\(aq (right single-quote, apostrophe) +.El +.\" PARAGRAPH +.Pp +Indicatives: +.Pp +.Bl -tag -width "OutputXXXX" -offset "XXXX" -compact +.It Em Output +.Em Input (Name) +.El +.Bl -tag -width "OutputXXXX" -offset "XXXX" -compact +.It \(<- +\\(<- (left arrow) +.It \(-> +\\(-> (right arrow) +.It \(ua +\\(ua (up arrow) +.It \(da +\\(da (down arrow) +.El +.\" PARAGRAPH +.Pp +Mathematical: +.Pp +.Bl -tag -width "OutputXXXX" -offset "XXXX" -compact +.It Em Output +.Em Input (Name) +.El +.Bl -tag -width "OutputXXXX" -offset "XXXX" -compact +.It \(<= +\\(<= (less-than-equal) +.It \(>= +\\(>= (greater-than-equal) +.It \(== +\\(== (greater-than-equal) +.It \(!= +\\(!= (not equal) +.It \(if +\\(if (infinity) +.It \(na +\\(na (NaN)* +.It \(+- +\\(+- (plus-minus) +.El +.\" PARAGRAPH +.Pp +*This is a deviation from the standard, as NaN is usually rendered as +\\*(Na, which is a deprecated form. We introduce \\(na, which follows +the more general syntax. +.Pp +Diacritics: +.Pp +.Bl -tag -width "OutputXXXX" -offset "XXXX" -compact +.It Em Output +.Em Input (Name) +.El +.Bl -tag -width "OutputXXXX" -offset "XXXX" -compact +.It \(ga +\\(ga (accent grave) +.It \(aa +\\(aa (accent accute) +.El +.\" PARAGRAPH +.Pp +Special symbols: +.Pp +.Bl -tag -width "OutputXXXX" -offset "XXXX" -compact +.It Em Output +.Em Input (Name) +.El +.Bl -tag -width "OutputXXXX" -offset "XXXX" -compact +.It \(bu +\\(bu (bullet) +.It \(ba +\\(ba (bar) +.El .\" SECTION .Sh EXAMPLES To display this manual page: