comparison style @ 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 da72a0720247
children 83681ad27ec8
comparison
equal deleted inserted replaced
118:48e28eaee6f9 119:f9bf4d5ac1ba
314 .. 314 ..
315 315
316 . \" VS - verbatim text start (\\ -> ^G; ' -> disabled; . -> ^B) 316 . \" VS - verbatim text start (\\ -> ^G; ' -> disabled; . -> ^B)
317 .de VS 317 .de VS
318 .br 318 .br
319 .ne 4 319 .ne 3
320 .sp \n(DDu 320 .sp \n(DDu
321 .if t .in +.5i 321 .di _V
322 .if n .in +8n
323 .nf 322 .nf
324 .ft CW 323 .ft CW
325 .\" ps -1 324 .ps -.5
326 .ta T 8n
327 .\" set up verbatim environment 325 .\" set up verbatim environment
328 \.blm 326 \.blm
329 \.ec  327 \.ec 
330 \.c2 "" 328 \.c2 ""
331 \.cc  329 \.cc 
332 .. 330 ..
333 331
334 . \" VE - verbatim text end (NOTE: Needs to be called as ^BVE !) 332 . \" VE - verbatim text end (NOTE: Needs to be called as ^BVE !)
335 .de VE 333 .de VE
334 \" restore the special characters
335 cc
336 .c2
337 .ec
338 .br
339 .di
340 .ne \\n(dnu+1v \" ensure enough space on the page
341 .if t .in +.5i
342 .if n .in +8n
343 .ta T 8n
344 \.ec  \" set up verbatim environment, once again
345 \.c2 ""
346 \.cc 
347 _V \" output the verbatim content
336 \" restore the special characters 348 \" restore the special characters
337 cc 349 cc
338 .c2 350 .c2
339 .ec 351 .ec
340 .blm __ 352 .blm __