diff style @ 39:22ae3981a76b

style: New RN macro to reset page numbers and change their style.
author markus schnalke <meillo@marmaro.de>
date Tue, 15 May 2012 22:11:16 +0200
parents 115bbf438967
children 7b620f6b1e97
line wrap: on
line diff
--- a/style	Tue May 15 21:44:34 2012 +0200
+++ b/style	Tue May 15 22:11:16 2012 +0200
@@ -166,6 +166,19 @@
 .nr PP 0
 ..
 
+
+.\" Reset page Numbers, set page number format ($1) and move to a right page.
+.de RN
+.ie e .pn 1
+.el \{
+.       pn 0
+.       bp
+.\}
+.ie \\n(.$=1 .af PN \\$1
+.el .af PN 1
+..
+
+
 .de H1
 .br
 .ne 7