.\" .\" ================================================================ .do xflag 3 .po 0 .ll 100p .de CCC .tm CCC called with \\n(.$ args: \\$@ .\" \Z'\X'SetColor: blue'ccc\X'SetColor: black''\c .. .de M .tm M called with \\n(.$ args: \\$@ .\" \Z'\X'SetColor: red'mmm\X'SetColor: black''\c .. .\" (1) OK if word doesn't appear at line break: AAA\PM\c AAA BBB BBB BBB BBB .CCC CCC DDD DDD DDD DDD DDD .\" (2) If, by chance, word appears at line break .\" then word and remainder of line disappear. AAA\PM\c AAA BBB BBB BBB .CCC CCC DDD DDD DDD DDD DDD .\" (3) Expected output for (2) (removed \PM) AAA\c AAA BBB BBB BBB .CCC CCC DDD DDD DDD DDD DDD .\" (4) different input, causing .CCC to be .\" at the beginning of the output line: AAA\c AAA BBB BBB .CCC CCC DDD DDD DDD DDD DDD .\" (5) analogous situation with a transparent line .\" processed while rereading the diversion: .di XX AAA\c \!.M AAA BBB BBB .CCC CCC DDD DDD DDD DDD DDD .br .di .XX .\" (6) same thing, but without the transparent line: .di XX AAA\c AAA BBB BBB .CCC CCC DDD DDD DDD DDD DDD .br .di .XX