summaryrefslogtreecommitdiffstats
path: root/att.in
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2011-04-24 17:56:44 +0000
committerIngo Schwarze <schwarze@openbsd.org>2011-04-24 17:56:44 +0000
commit71b287790603192a71257e3948f9d2503dda9cc9 (patch)
treeae40925a52eaa4339ae2dc4b893e5bec1de055ac /att.in
parentef6a55df8d08c1c19c54bd849b3644f33f3ae2d5 (diff)
downloadmandoc-71b287790603192a71257e3948f9d2503dda9cc9.tar.gz
Prevent line breaks right before numbers. Groff does the same.
OK kristaps@.
Diffstat (limited to 'att.in')
-rw-r--r--att.in28
1 files changed, 15 insertions, 13 deletions
diff --git a/att.in b/att.in
index 29ffbb33..cb3f8f16 100644
--- a/att.in
+++ b/att.in
@@ -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")