Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/share/doc/psd Don't use ".af % i" to print page numbers with...



details:   https://anonhg.NetBSD.org/src/rev/d2c9869f417b
branches:  trunk
changeset: 332620:d2c9869f417b
user:      christos <christos%NetBSD.org@localhost>
date:      Wed Oct 01 01:03:47 2014 +0000

description:
Don't use ".af % i" to print page numbers with roman numerals, define a
different register instead so that macros that depend on % being numeric
don't break. From uwe

diffstat:

 share/doc/psd/Title |  15 +++++++--------
 1 files changed, 7 insertions(+), 8 deletions(-)

diffs (43 lines):

diff -r 73efe44ec19b -r d2c9869f417b share/doc/psd/Title
--- a/share/doc/psd/Title       Wed Oct 01 00:48:14 2014 +0000
+++ b/share/doc/psd/Title       Wed Oct 01 01:03:47 2014 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: Title,v 1.4 2014/10/01 00:48:14 christos Exp $
+.\"    $NetBSD: Title,v 1.5 2014/10/01 01:03:47 christos Exp $
 .\"
 .\" Copyright (c) 1986, 1993, 1994 The Regents of the University of California.
 .\" All rights reserved.
@@ -29,9 +29,8 @@
 .\"
 .\"    @(#)Title       8.4 (Berkeley) 8/8/94
 .\"
-.\" Using roman letters for the page number causes .ms macros a heartache.
-.\" Is this a bug in groff?
-.af % i
+.ds %% \\\\\\\\n(PN
+.af PN i
 .nr LL 6.5i
 .EH ''''
 .OH ''''
@@ -241,8 +240,8 @@
 .sp 1
 ISBN: 1-56592-079-1
 .bp
-.OH '\s10Contents''- % -\s0'
-.EH '\s10- % -''Contents\s0'
+.OH '\s10Contents''- \*(%% -\s0'
+.EH '\s10- \*(%% -''Contents\s0'
 \& 
 .sp |1.5i
 .nr PS 24
@@ -413,8 +412,8 @@
 .if o .bp
 \&
 .bp
-.OH '\s10Introduction''- % -\s0'
-.EH '\s10- % -''Introduction\s0'
+.OH '\s10Introduction''- \*(%% -\s0'
+.EH '\s10- \*(%% -''Introduction\s0'
 .de IR
 \fI\\$1\^\fR\\$2
 ..



Home | Main Index | Thread Index | Old Index