changeset 62:ad7c253bdced default tip

modified macros for better page layout
author meillo@marmaro.de
date Sun, 18 Apr 2010 20:44:52 +0200
parents 733f4fb03071
children
files makefile style
diffstat 2 files changed, 14 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/makefile	Sun Apr 18 20:44:15 2010 +0200
+++ b/makefile	Sun Apr 18 20:44:52 2010 +0200
@@ -1,9 +1,9 @@
 all: unix-phil.ps unix-phil.txt unix-phil-slides.ps unix-phil-slides2.ps
 
-unix-phil.ps: unix-phil.ms bib
+unix-phil.ps: unix-phil.ms bib style
 	. hl ; sed -n '/./p' $< | refer -e -sLAD -P -p bib | troff -ms | dpost >$@
 
-unix-phil.txt: unix-phil.ms bib
+unix-phil.txt: unix-phil.ms bib style
 	. hl ; sed -n '/./p' $< | refer -e -sLAD -P -p bib | nroff -ms | col -b >$@
 
 unix-phil-slides.ps: unix-phil-slides.ms
--- a/style	Sun Apr 18 20:44:15 2010 +0200
+++ b/style	Sun Apr 18 20:44:52 2010 +0200
@@ -28,6 +28,8 @@
 ..
 
 .de H
+.br
+.ne 5
 .if '\\$1'1' \{\
 .	sp 2v
 .	nr PS +2
@@ -51,6 +53,16 @@
 .\}
 ..
 
+.am PP
+.br
+.ne 2
+..
+
+.am LP
+.br
+.ne 2
+..
+
 .am QP
 .ps -1
 ..