docs/unix-phil

changeset 62:ad7c253bdced 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 diff
     1.1 --- a/makefile	Sun Apr 18 20:44:15 2010 +0200
     1.2 +++ b/makefile	Sun Apr 18 20:44:52 2010 +0200
     1.3 @@ -1,9 +1,9 @@
     1.4  all: unix-phil.ps unix-phil.txt unix-phil-slides.ps unix-phil-slides2.ps
     1.5  
     1.6 -unix-phil.ps: unix-phil.ms bib
     1.7 +unix-phil.ps: unix-phil.ms bib style
     1.8  	. hl ; sed -n '/./p' $< | refer -e -sLAD -P -p bib | troff -ms | dpost >$@
     1.9  
    1.10 -unix-phil.txt: unix-phil.ms bib
    1.11 +unix-phil.txt: unix-phil.ms bib style
    1.12  	. hl ; sed -n '/./p' $< | refer -e -sLAD -P -p bib | nroff -ms | col -b >$@
    1.13  
    1.14  unix-phil-slides.ps: unix-phil-slides.ms
     2.1 --- a/style	Sun Apr 18 20:44:15 2010 +0200
     2.2 +++ b/style	Sun Apr 18 20:44:52 2010 +0200
     2.3 @@ -28,6 +28,8 @@
     2.4  ..
     2.5  
     2.6  .de H
     2.7 +.br
     2.8 +.ne 5
     2.9  .if '\\$1'1' \{\
    2.10  .	sp 2v
    2.11  .	nr PS +2
    2.12 @@ -51,6 +53,16 @@
    2.13  .\}
    2.14  ..
    2.15  
    2.16 +.am PP
    2.17 +.br
    2.18 +.ne 2
    2.19 +..
    2.20 +
    2.21 +.am LP
    2.22 +.br
    2.23 +.ne 2
    2.24 +..
    2.25 +
    2.26  .am QP
    2.27  .ps -1
    2.28  ..