diff options
author | Ingo Schwarze <schwarze@cvs.openbsd.org> | 2011-04-24 17:42:00 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@cvs.openbsd.org> | 2011-04-24 17:42:00 +0000 |
commit | 7b1ea8a3a89e1966e6de0290fc2ecd008d8f4128 (patch) | |
tree | 286dab1c8550bf0457b3ad96f65d62a3ee4ec79b /usr.bin/mandoc/att.in | |
parent | 543db4adf0473f5408be572047fc5eb1ac505c4c (diff) |
Prevent line breaks right before numbers. Groff does the same.
OK kristaps@.
Diffstat (limited to 'usr.bin/mandoc/att.in')
-rw-r--r-- | usr.bin/mandoc/att.in | 30 |
1 files changed, 16 insertions, 14 deletions
diff --git a/usr.bin/mandoc/att.in b/usr.bin/mandoc/att.in index 0dbde4fea1e..7c5fce5e300 100644 --- a/usr.bin/mandoc/att.in +++ b/usr.bin/mandoc/att.in @@ -1,4 +1,4 @@ -/* $Id: att.in,v 1.3 2010/07/31 23:42:04 schwarze Exp $ */ +/* $Id: att.in,v 1.4 2011/04/24 17:41:59 schwarze Exp $ */ /* * Copyright (c) 2009 Kristaps Dzonsons <kristaps@bsd.lv> * @@ -20,18 +20,20 @@ * isn't going to change. The right-hand side is the formatted string. * * Be sure to escape strings. + * The non-breaking blanks prevent ending an output line right before + * a number. Groff prevent line breaks at the same places. */ -LINE("v1", "Version 1 AT&T UNIX") -LINE("v2", "Version 2 AT&T UNIX") -LINE("v3", "Version 3 AT&T UNIX") -LINE("v4", "Version 4 AT&T UNIX") -LINE("v5", "Version 5 AT&T UNIX") -LINE("v6", "Version 6 AT&T UNIX") -LINE("v7", "Version 7 AT&T UNIX") -LINE("32v", "Version 32V AT&T UNIX") -LINE("V", "AT&T System V UNIX") -LINE("V.1", "AT&T System V.1 UNIX") -LINE("V.2", "AT&T System V.2 UNIX") -LINE("V.3", "AT&T System V.3 UNIX") -LINE("V.4", "AT&T System V.4 UNIX") +LINE("v1", "Version\\~1 AT&T UNIX") +LINE("v2", "Version\\~2 AT&T UNIX") +LINE("v3", "Version\\~3 AT&T UNIX") +LINE("v4", "Version\\~4 AT&T UNIX") +LINE("v5", "Version\\~5 AT&T UNIX") +LINE("v6", "Version\\~6 AT&T UNIX") +LINE("v7", "Version\\~7 AT&T UNIX") +LINE("32v", "Version\\~32V AT&T UNIX") +LINE("V", "AT&T System\\~V UNIX") +LINE("V.1", "AT&T System\\~V Release\\~1 UNIX") +LINE("V.2", "AT&T System\\~V Release\\~2 UNIX") +LINE("V.3", "AT&T System\\~V Release\\~3 UNIX") +LINE("V.4", "AT&T System\\~V Release\\~4 UNIX") |