summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2011-07-31 11:36:49 +0000
committerIngo Schwarze <schwarze@openbsd.org>2011-07-31 11:36:49 +0000
commit87b86132344f94eccea230fb4d450977de4a8577 (patch)
treec508bdf6a723657e7e7e7b9a1f2fe771ff26494d
parent8fe2d373bf66c167c2969bd25aebc11b9d069421 (diff)
downloadmandoc-87b86132344f94eccea230fb4d450977de4a8577.tar.gz
Make sure that in -Tascii mode, predefined strings render the same
way as in groff. With this fix, \*(If, \*(Pi and \*(Tm change in other output modes, but -Tascii is what matters. Found when merging 1.11.3 to OpenBSD; ok kristaps@.
-rw-r--r--predefs.in6
1 files changed, 3 insertions, 3 deletions
diff --git a/predefs.in b/predefs.in
index 63f0acfb..decf661e 100644
--- a/predefs.in
+++ b/predefs.in
@@ -29,13 +29,13 @@ PREDEF("Am", "&")
PREDEF("Ba", "|")
PREDEF("Ge", "\\(>=")
PREDEF("Gt", ">")
-PREDEF("If", "\\(if")
+PREDEF("If", "infinity")
PREDEF("Le", "\\(<=")
PREDEF("Lq", "\\(lq")
PREDEF("Lt", "<")
PREDEF("Na", "NaN")
PREDEF("Ne", "\\(!=")
-PREDEF("Pi", "\\(*p")
+PREDEF("Pi", "pi")
PREDEF("Pm", "\\(+-")
PREDEF("Rq", "\\(rq")
PREDEF("left-bracket", "[")
@@ -50,7 +50,7 @@ PREDEF("right-bracket", "]")
PREDEF("right-parenthesis", ")")
PREDEF("rp", ")")
PREDEF("right-singlequote", "\\(cq")
-PREDEF("Tm", "\\(tm")
+PREDEF("Tm", "(Tm)")
PREDEF("Px", "POSIX")
PREDEF("Ai", "ANSI")
PREDEF("\'", "\\\'")