diff options
author | Anthony J. Bentley <bentley@cvs.openbsd.org> | 2015-03-29 21:12:01 +0000 |
---|---|---|
committer | Anthony J. Bentley <bentley@cvs.openbsd.org> | 2015-03-29 21:12:01 +0000 |
commit | 3a76d8116dcfedaffe07f7c90448639f475b8451 (patch) | |
tree | 85c0c060842aaf904d049b44423ca158700d3159 /share/man/man7/eqn.7 | |
parent | 47f6c03e6c006cfbb708ecd7c9dd2ffaef2fa3f2 (diff) |
Escape punctuation characters that have a different meaning in -Tpdf.
~, `, and ' get translated to non-ASCII characters by most troff
implementations when generating PostScript/PDF output. When the original
ASCII character is meant, it needs to be manually escaped.
discussed with jmc@ schwarze@; ok schwarze@
Diffstat (limited to 'share/man/man7/eqn.7')
-rw-r--r-- | share/man/man7/eqn.7 | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/share/man/man7/eqn.7 b/share/man/man7/eqn.7 index 69788ceea4f..8504cd15c2f 100644 --- a/share/man/man7/eqn.7 +++ b/share/man/man7/eqn.7 @@ -1,4 +1,4 @@ -.\" $OpenBSD: eqn.7,v 1.7 2015/02/28 21:51:57 bentley Exp $ +.\" $OpenBSD: eqn.7,v 1.8 2015/03/29 21:12:00 bentley Exp $ .\" .\" Copyright (c) 2011 Kristaps Dzonsons <kristaps@bsd.lv> .\" Copyright (c) 2014 Ingo Schwarze <schwarze@openbsd.org> @@ -15,7 +15,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 28 2015 $ +.Dd $Mdocdate: March 29 2015 $ .Dt EQN 7 .Os .Sh NAME @@ -146,7 +146,7 @@ is used as the delimiter for the value .Ar val . This allows for arbitrary enclosure of terms (not just quotes), such as .Pp -.D1 Cm define Ar foo 'bar baz' +.D1 Cm define Ar foo \(aqbar baz\(aq .D1 Cm define Ar foo cbar bazc .Pp It is an error to have an empty @@ -166,8 +166,8 @@ created. Definitions can create arbitrary strings, for example, the following is a legal construction. .Bd -literal -offset indent -define foo 'define' -foo bar 'baz' +define foo \(aqdefine\(aq +foo bar \(aqbaz\(aq .Ed .Pp Self-referencing definitions will raise an error. |