summaryrefslogtreecommitdiffstats
path: root/mandoc_char.7
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2015-03-27 01:01:28 +0000
committerIngo Schwarze <schwarze@openbsd.org>2015-03-27 01:01:28 +0000
commit7827ba1ba26dda3e4bc7021fe7c65b01fdaad347 (patch)
tree8e143008c50ef99bb2d8b65be3a0007c8cc44adf /mandoc_char.7
parent00e39f328748762eab737f205b73731ddbd8b328 (diff)
downloadmandoc-7827ba1ba26dda3e4bc7021fe7c65b01fdaad347.tar.gz
oops, forgot to apply the actual patch...
Diffstat (limited to 'mandoc_char.7')
-rw-r--r--mandoc_char.722
1 files changed, 22 insertions, 0 deletions
diff --git a/mandoc_char.7 b/mandoc_char.7
index d354ae66..37ccbbac 100644
--- a/mandoc_char.7
+++ b/mandoc_char.7
@@ -142,6 +142,28 @@ Note that on text lines, literal double-quote characters can be used
verbatim.
All other quote-like characters can be used verbatim as well,
even on request and macro lines.
+.Ss Accents
+In output modes supporting such special output characters, for example
+.Fl T Cm pdf ,
+some
+.Xr roff 7
+formatters convert the following ASCII input characters to the
+following Unicode special output characters:
+.Bl -column x(ga U+2018 -offset indent
+.It \(ga Ta U+2018 Ta left single quotation mark
+.It \(aq Ta U+2019 Ta right single quotation mark
+.It \(ti Ta U+02DC Ta small tilde
+.El
+.Pp
+In prose, this automatic substitution is often desirable;
+but when these characters have to be displayed as plain ASCII
+characters, for example in source code samples, they require
+escaping to render as follows:
+.Bl -column x(ga U+2018 -offset indent
+.It \e(ga Ta U+0060 Ta grave accent
+.It \e(aq Ta U+0027 Ta apostrophe
+.It \e(ti Ta U+007E Ta tilde
+.El
.Ss Periods
The period
.Pq Sq \&.