summaryrefslogtreecommitdiffstats
path: root/contrib/groff/tmac/troffrc-end
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/groff/tmac/troffrc-end')
-rw-r--r--contrib/groff/tmac/troffrc-end17
1 files changed, 15 insertions, 2 deletions
diff --git a/contrib/groff/tmac/troffrc-end b/contrib/groff/tmac/troffrc-end
index edd23e4..631f6b0 100644
--- a/contrib/groff/tmac/troffrc-end
+++ b/contrib/groff/tmac/troffrc-end
@@ -2,5 +2,18 @@
.\" final startup file for troff
.\" this file is parsed after all macro sets have been read
.\"
-.if '\*(.T'html' .mso tmac.html
-.\" Don't let blank lines creep in here. \ No newline at end of file
+.do if '\*(.T'html' .mso html.tmac
+.\" if we are running the postscript device for html images then load -mwww
+.\"
+.do if r ps4html .mso www.tmac
+.\"
+.\" for all other devices blank out these macros
+.\"
+.do if !d HTML-IMAGE-INLINE .ds HTML-IMAGE-INLINE
+.do if !d HTML-IMAGE .ds HTML-IMAGE
+.do if !d HTML-IMAGE-RIGHT .ds HTML-IMAGE-RIGHT
+.do if !d HTML-IMAGE-LEFT .ds HTML-IMAGE-LEFT
+.do if !d HTML-IMAGE-END .ds HTML-IMAGE-END
+.do if !d HTML-TAG .ds HTML-TAG
+.do if !d HTML-DO-IMAGE .ds HTML-DO-IMAGE
+.\" Don't let blank lines creep in here.
OpenPOWER on IntegriCloud