From b2a8b3be8e11cff3fcdf9c2336b26c828b0627fb Mon Sep 17 00:00:00 2001 From: Kaz Kylheku Date: Wed, 19 Aug 2015 06:48:30 -0700 Subject: Troff formatting macros must not generate control sequences. Reported by Dave Love. * txr.1 (cod1, cod2, meti, TP*): When inserting material at the start of a line, add the \& zero width character, so the line isn't interpreted as a control sequence. --- txr.1 | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/txr.1 b/txr.1 index ae1bd557..8b7ed3e3 100644 --- a/txr.1 +++ b/txr.1 @@ -235,11 +235,11 @@ .. .\" .cod1 a b c -> abc where a is typeset as code .de cod1 -\\$1\f[4]\\$2\f[]\$3 +\&\\$1\f[4]\\$2\f[]\$3 .. .\" .cod2 a b -> ab where b is typeset as code .de cod2 -\\$1\f[4]\\$2\f[] +\&\\$1\f[4]\\$2\f[] .. .\" .cod3 a b c -> abc where a and c are typeset as code .de cod3 @@ -268,7 +268,7 @@ . getm \\$* . \"workaround for man2html: . as s \\f\\n[fsav] -\\*s +\&\\*s . ft \\n[fsav] .. .\" Used for meta-variables in .coIP @@ -310,7 +310,7 @@ . ds s \\$1 . shift . TP \\$* -\\*s +\&\\*s . sp \*[vspc] . ns .. -- cgit v1.2.3