diff options
author | John Ankarstr\xf6m <john@ankarstrom.se> | 2021-06-02 17:35:53 +0200 |
---|---|---|
committer | John Ankarstr\xf6m <john@ankarstrom.se> | 2021-06-02 17:38:59 +0200 |
commit | 1e02b5a1a2e79b62343eb888d3b2452c70116c08 (patch) | |
tree | 4477c48c24976ba08fe2b444172bc4e372a19ca5 | |
parent | f0be560aa28fc1cf08c01946658ded83e0d993a7 (diff) | |
download | ref-1e02b5a1a2e79b62343eb888d3b2452c70116c08.tar.gz |
re.tmac: Handle page breaks
It could be better, but it works for now.
-rwxr-xr-x | ex | bin | 8164 -> 0 bytes | |||
-rw-r--r-- | re.tmac | 9 |
2 files changed, 8 insertions, 1 deletions
Binary files differ @@ -3,6 +3,7 @@ . mk c . if (\nb > \nc) .sp (\nbu - \ncu - 1v) . if (\nb > 0) .if (\nc > \nb) .sp 0.5v +. if !(\nz = 1) .if (\np > 0) .if (\n% > \np) .sp -(\nbu - \ncu - 1.5v) . nf . ft C . ps -1p @@ -10,10 +11,16 @@ . ta 8n +8n +8n +8n +8n . in 2.2i . mk a +. nr p \n% .. .de Se . mk b -. rt (\nau - 0.5v) +. rt (\nau - 7p) +. nr z 0 +. if (\n% > \np) \{ +. rt \n(HMu +. nr z 1 +. \} . nr LL 2i . LP .. |