summaryrefslogtreecommitdiff
path: root/tmac/troffrc-end
diff options
context:
space:
mode:
Diffstat (limited to 'tmac/troffrc-end')
-rw-r--r--tmac/troffrc-end17
1 files changed, 15 insertions, 2 deletions
diff --git a/tmac/troffrc-end b/tmac/troffrc-end
index 8f97605c..930e6afd 100644
--- a/tmac/troffrc-end
+++ b/tmac/troffrc-end
@@ -2,6 +2,19 @@
.\" final startup file for troff
.\" this file is parsed after all macro sets have been read
.\"
-.if '\*(.T'html' .mso html.tmac
-.if '\*(.T'html2' .mso html2.tmac
+.if '\*(.T'html' .mso html.tmac
+.if '\*(.T'html-old' .mso html-old.tmac
+.\" if we are running the postscript device for html images then load -mwww
+.\"
+.if r ps4html .mso www.tmac
+.\"
+.\" for all other devices blank out these macros
+.\"
+.if !d HTML-IMAGE-INLINE .ds HTML-IMAGE-INLINE
+.if !d HTML-IMAGE .ds HTML-IMAGE
+.if !d HTML-IMAGE-RIGHT .ds HTML-IMAGE-RIGHT
+.if !d HTML-IMAGE-LEFT .ds HTML-IMAGE-LEFT
+.if !d HTML-IMAGE-END .ds HTML-IMAGE-END
+.if !d HTML-TAG .ds HTML-TAG
+.if !d HTML-DO-IMAGE .ds HTML-DO-IMAGE
.\" Don't let blank lines creep in here.