diff options
author | wl <wl> | 2008-07-26 19:38:04 +0000 |
---|---|---|
committer | wl <wl> | 2008-07-26 19:38:04 +0000 |
commit | f0615cc9eac168836a359df133a36d1e09a56943 (patch) | |
tree | 4c82695bdbf7f818251383409e0287f14b4f05f5 /tmac | |
parent | 549b57a64a5090f2bbe138d0df4e586b115808bf (diff) | |
download | groff-f0615cc9eac168836a359df133a36d1e09a56943.tar.gz |
* tmac/eqnrc (.EQ, .EN): Provide default definitions. Reported
by Denis M. Wilson.
* tmac/www.tmac (.EQ, .EN, .TS, .TE): Fix definitions.
Diffstat (limited to 'tmac')
-rw-r--r-- | tmac/eqnrc | 2 | ||||
-rw-r--r-- | tmac/www.tmac | 21 |
2 files changed, 13 insertions, 10 deletions
@@ -1,4 +1,6 @@ .\" Startup file for eqn. +.if !d EQ .ds EQ +.if !d EN .ds EN .EQ sdefine << %{ < back 20 < }% sdefine >> %{ > back 20 > }% diff --git a/tmac/www.tmac b/tmac/www.tmac index 9533a62b..dbbe143d 100644 --- a/tmac/www.tmac +++ b/tmac/www.tmac @@ -1245,16 +1245,6 @@ HTML always denotes XHTML also. . nop \\$2 .. . -.\" -------------------------------------------------------------------- -.\" Setup around HTML-IMAGE and friends -.\" -.\" now set up TS, TE, EQ, EN default macros -.\" -.do if !d TS .do ds TS HTML-IMAGE\" -.do if !d TE .do ds TE HTML-IMAGE-END\" -.do if !d EQ .do ds EQ EQN-HTML-IMAGE\" -.do if !d EN .do ds EN EQN-HTML-IMAGE-END\" -. .\" .\" supplementary macros used by other macro sets .\" @@ -1342,6 +1332,7 @@ HTML always denotes XHTML also. . www-make-unique-name . EQN-HTML-DO-IMAGE \\*[www-unique-name] i .. +. .\" -------------------------------------------------------------------- .\" EQN-HTML-DO-IMAGE - tells troff to issue an image marker which can be .\" read back by pre-html @@ -1374,6 +1365,16 @@ HTML always denotes XHTML also. .. . .\" -------------------------------------------------------------------- +.\" Setup around HTML-IMAGE and friends +.\" +.\" now set up TS, TE, EQ, EN default macros +.\" +.do if !d TS .do als TS HTML-IMAGE\" +.do if !d TE .do als TE HTML-IMAGE-END\" +.do if !d EQ .do als EQ EQN-HTML-IMAGE\" +.do if !d EN .do als EN EQN-HTML-IMAGE-END\" +. +.\" -------------------------------------------------------------------- .\" JOBNAME .\" .\" Generate multiple output files containing the html. |