diff options
author | 2018-08-10 22:12:44 +0000 | |
---|---|---|
committer | 2018-08-10 22:12:44 +0000 | |
commit | 6c7d511b36987f427b5b3ecfb3dfeb2ba4f577f4 (patch) | |
tree | c2005062a30bcc908935020e52c33b95ee0b1cbb /mandoc_char.7 | |
parent | bbc9692176a7890be65fe472b75bbb307fcf0b62 (diff) | |
download | mandoc-6c7d511b36987f427b5b3ecfb3dfeb2ba4f577f4.tar.gz mandoc-6c7d511b36987f427b5b3ecfb3dfeb2ba4f577f4.tar.zst mandoc-6c7d511b36987f427b5b3ecfb3dfeb2ba4f577f4.zip |
handle the non-portable GNU-style \[charNN], \[charNNN] character
escape sequences, used for example in the groff_char(7) manual page
Diffstat (limited to 'mandoc_char.7')
-rw-r--r-- | mandoc_char.7 | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/mandoc_char.7 b/mandoc_char.7 index f63cdaea..ad0cce83 100644 --- a/mandoc_char.7 +++ b/mandoc_char.7 @@ -1,4 +1,4 @@ -.\" $Id: mandoc_char.7,v 1.72 2018/08/08 14:30:48 schwarze Exp $ +.\" $Id: mandoc_char.7,v 1.73 2018/08/10 22:12:44 schwarze Exp $ .\" .\" Copyright (c) 2003 Jason McIntyre <jmc@openbsd.org> .\" Copyright (c) 2009, 2010, 2011 Kristaps Dzonsons <kristaps@bsd.lv> @@ -16,7 +16,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: August 8 2018 $ +.Dd $Mdocdate: August 10 2018 $ .Dt MANDOC_CHAR 7 .Os .Sh NAME @@ -761,14 +761,16 @@ For backward compatibility with existing manuals, .Xr mandoc 1 also supports the .Pp -.Dl \eN\(aq Ns Ar number Ns \(aq +.Dl \eN\(aq Ns Ar number Ns \(aq and \e[ Ns Cm char Ns Ar number ] .Pp -escape sequence, inserting the character +escape sequences, inserting the character .Ar number from the current character set into the output. Of course, this is inherently non-portable and is already marked -as deprecated in the Heirloom roff manual. -For example, do not use \eN\(aq34\(aq, use \e(dq, or even the plain +as deprecated in the Heirloom roff manual; +on top of that, the second form is a GNU extension. +For example, do not use \eN\(aq34\(aq or \e[char34], use \e(dq, +or even the plain .Sq \(dq character where possible. .Sh COMPATIBILITY |