diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2015-08-19 06:48:30 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2015-08-19 06:48:30 -0700 |
commit | b2a8b3be8e11cff3fcdf9c2336b26c828b0627fb (patch) | |
tree | b74d7cc39f64fe25a1d8bfc3af4ded139e70e786 | |
parent | 91308cfb328d8f9c63f27cdd7a87769ff7c0a2c5 (diff) | |
download | txr-b2a8b3be8e11cff3fcdf9c2336b26c828b0627fb.tar.gz txr-b2a8b3be8e11cff3fcdf9c2336b26c828b0627fb.tar.bz2 txr-b2a8b3be8e11cff3fcdf9c2336b26c828b0627fb.zip |
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.
-rw-r--r-- | txr.1 | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -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 .. |