docs/master

changeset 119:f9bf4d5ac1ba

style: Divert verbatim text (VS/VE) to handle page transitions.
author markus schnalke <meillo@marmaro.de>
date Tue, 26 Jun 2012 17:01:10 +0200
parents 48e28eaee6f9
children e49780100ffb
files style
diffstat 1 files changed, 17 insertions(+), 5 deletions(-) [+]
line diff
     1.1 --- a/style	Tue Jun 26 13:42:18 2012 +0200
     1.2 +++ b/style	Tue Jun 26 17:01:10 2012 +0200
     1.3 @@ -316,14 +316,12 @@
     1.4  .	\" VS - verbatim text start (\\ -> ^G; ' -> disabled; . -> ^B)
     1.5  .de VS
     1.6  .br
     1.7 -.ne 4
     1.8 +.ne 3
     1.9  .sp \n(DDu
    1.10 -.if t .in +.5i
    1.11 -.if n .in +8n
    1.12 +.di _V
    1.13  .nf
    1.14  .ft CW
    1.15 -.\" ps -1
    1.16 -.ta T 8n
    1.17 +.ps -.5
    1.18  .\" set up verbatim environment
    1.19  \.blm
    1.20  \.ec 
    1.21 @@ -337,6 +335,20 @@
    1.22  cc
    1.23  .c2
    1.24  .ec
    1.25 +.br
    1.26 +.di
    1.27 +.ne \\n(dnu+1v \" ensure enough space on the page
    1.28 +.if t .in +.5i
    1.29 +.if n .in +8n
    1.30 +.ta T 8n
    1.31 +\.ec  \" set up verbatim environment, once again
    1.32 +\.c2 ""
    1.33 +\.cc 
    1.34 +_V \" output the verbatim content
    1.35 +\" restore the special characters
    1.36 +cc
    1.37 +.c2
    1.38 +.ec
    1.39  .blm __
    1.40  .if t .in -.5i
    1.41  .if n .in -8n