Correct problem with *roff extention cause this error on every file
authorAndrey Chernov <ache@FreeBSD.org>
Tue, 31 May 1994 00:28:38 +0000 (00:28 +0000)
committerAndrey Chernov <ache@FreeBSD.org>
Tue, 31 May 1994 00:28:38 +0000 (00:28 +0000)
using -me
/usr/share/tmac/tmac.e:1082: a newline character is not allowed in an escape name

*roff allows \*[long_name] it cause problems with me package
\*[ macro that means one char macro, not long name.
\*[ replaced to \*\[ to avoid this conflict.

share/me/footnote.me
share/me/tmac.e

index 02c0b2d..b1b6f25 100644 (file)
@@ -90,7 +90,7 @@
 \{\
 .      if \\n* \
 .              nr $f +1
 \{\
 .      if \\n* \
 .              nr $f +1
-.      ds * \\*[\\n($f\\*]\k*
+.       ds * \\*\[\\n($f\\*\]\k*
 .      rr *
 .      in 0
 .      da
 .      rr *
 .      in 0
 .      da
index f703c0a..dd5f5f6 100644 (file)
 .\}
 .nr ?C 1
 .nr $f 1 1
 .\}
 .nr ?C 1
 .nr $f 1 1
-.ds * \\*[1\\*]\k*
+.ds * \\*\[1\\*\]\k*
 .if \\n(?R \
 .      pn 1
 .bp
 .if \\n(?R \
 .      pn 1
 .bp
 .nr _L \n(.lu                  \" line length of page
 .nr $c 1                       \" current column number
 .nr $f 1 1                     \" footnote number
 .nr _L \n(.lu                  \" line length of page
 .nr $c 1                       \" current column number
 .nr $f 1 1                     \" footnote number
-.ds * \*[1\*]\k*\"             \" footnote "name"
+.ds * \*\[1\*\]\k*\"           \" footnote "name"
 .nr $d 1 1                     \" delayed text number
 .ds # [1]\k#\"                 \" delayed text "name"
 .nr _M 1                       \" chapter mode is chapter
 .nr $d 1 1                     \" delayed text number
 .ds # [1]\k#\"                 \" delayed text "name"
 .nr _M 1                       \" chapter mode is chapter