summaryrefslogtreecommitdiff
path: root/tmac/s.tmac
diff options
context:
space:
mode:
authorwl <wl>2009-01-05 10:20:57 +0000
committerwl <wl>2009-01-05 10:20:57 +0000
commit3fb7d767686cebba73a652016a9d9c921d749328 (patch)
tree25baec95e1de5afc2dbc417f2e3cae8909979ffe /tmac/s.tmac
parentfa2d49fbf36b1e81c1e4fc3ddb6419a96a1d995e (diff)
downloadgroff-3fb7d767686cebba73a652016a9d9c921d749328.tar.gz
* tmac/s.tmac (@TS, TE, @EQ, @EN), tmac/an-old.tmac (TS, TE, EQ,
EN), tmac/e.tmac (TS, TE, EQ, EN): Set line length to a large value if processed with -Thtml.
Diffstat (limited to 'tmac/s.tmac')
-rw-r--r--tmac/s.tmac15
1 files changed, 14 insertions, 1 deletions
diff --git a/tmac/s.tmac b/tmac/s.tmac
index 602ed23c..bbfe996c 100644
--- a/tmac/s.tmac
+++ b/tmac/s.tmac
@@ -3,7 +3,8 @@
s.tmac
-Copyright (C) 1989, 1990, 1991, 1992, 2001, 2002, 2003, 2004, 2006, 2007
+Copyright (C) 1989, 1990, 1991, 1992, 2001, 2002, 2003, 2004, 2006, 2007,
+ 2009
Free Software Foundation, Inc.
Written by James Clark (jjc@jclark.com)
@@ -1694,6 +1695,10 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
.\}
.di eqn*div
.in 0
+.if '\*(.T'html' \{\
+. nr eqn*ll \\n[.l]
+. ll 1000n
+.\}
.if \\n[eqn*type]=0 .EQN-HTML-IMAGE-LEFT
.if \\n[eqn*type]=1 \{\
. if '\*(.T'html' .RS
@@ -1759,6 +1764,8 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
. if '\*(.T'html' .RE
. \}
. if \\n[eqn*type]=2 .EQN-HTML-IMAGE-END
+. if '\*(.T'html' \
+. ll \\n[eqn*ll]u
.\}
..
.
@@ -1776,6 +1783,10 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
.de @TS
.sp \\n[DD]u
.if '\\$1'H' .di tbl*header-div
+.if '\*(.T'html' \{\
+. nr tbl*ll \\n[.l]
+. ll 1000n
+.\}
.HTML-IMAGE
..
.de tbl@top-hook
@@ -1821,6 +1832,8 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
. if !'\*(.T'html' .sp \\n[DD]u
.\}
.HTML-IMAGE-END
+.if '\*(.T'html' \
+. ll \\n[tbl*ll]u
.\" reset tabs
.TA
..