From 3a76d8116dcfedaffe07f7c90448639f475b8451 Mon Sep 17 00:00:00 2001 From: "Anthony J. Bentley" Date: Sun, 29 Mar 2015 21:12:01 +0000 Subject: 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@ --- share/man/man7/eqn.7 | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'share/man/man7/eqn.7') 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 .\" Copyright (c) 2014 Ingo Schwarze @@ -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. -- cgit v1.2.3