Module Name: src Committed By: christos Date: Wed Oct 1 01:03:47 UTC 2014
Modified Files: src/share/doc/psd: Title Log Message: 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 To generate a diff of this commit: cvs rdiff -u -r1.4 -r1.5 src/share/doc/psd/Title Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/share/doc/psd/Title diff -u src/share/doc/psd/Title:1.4 src/share/doc/psd/Title:1.5 --- src/share/doc/psd/Title:1.4 Tue Sep 30 20:48:14 2014 +++ src/share/doc/psd/Title Tue Sep 30 21:03:47 2014 @@ -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 @@ with high quality. .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 @@ Facilities of 4.4BSD. .if o .bp \& .bp -.OH '\s10Introduction''- % -\s0' -.EH '\s10- % -''Introduction\s0' +.OH '\s10Introduction''- \*(%% -\s0' +.EH '\s10- \*(%% -''Introduction\s0' .de IR \fI\\$1\^\fR\\$2 ..