Mercurial > 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 wrap: on
line diff
--- a/style Tue Jun 26 13:42:18 2012 +0200 +++ b/style Tue Jun 26 17:01:10 2012 +0200 @@ -316,14 +316,12 @@ . \" VS - verbatim text start (\\ -> ^G; ' -> disabled; . -> ^B) .de VS .br -.ne 4 +.ne 3 .sp \n(DDu -.if t .in +.5i -.if n .in +8n +.di _V .nf .ft CW -.\" ps -1 -.ta T 8n +.ps -.5 .\" set up verbatim environment \.blm \.ec @@ -337,6 +335,20 @@ cc .c2 .ec +.br +.di +.ne \\n(dnu+1v \" ensure enough space on the page +.if t .in +.5i +.if n .in +8n +.ta T 8n +\.ec \" set up verbatim environment, once again +\.c2 "" +\.cc +_V \" output the verbatim content +\" restore the special characters +cc +.c2 +.ec .blm __ .if t .in -.5i .if n .in -8n