summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPTPi <PTPi>2013-11-04 08:20:34 +0000
committerPTPi <PTPi>2013-11-04 08:20:34 +0000
commitdccdffffc178518f0fa15ed75c375a8372e4726a (patch)
tree03278c870b5ef6b7089e2c03afe3a9f7a4db95db
parentdf96962129393b9c6af348fe0a82657a802f967e (diff)
downloadgroff-dccdffffc178518f0fa15ed75c375a8372e4726a.tar.gz
Small fix to linenumbering.
-rw-r--r--contrib/mom/om.tmac8
1 files changed, 2 insertions, 6 deletions
diff --git a/contrib/mom/om.tmac b/contrib/mom/om.tmac
index dd26e5e7..e08e6572 100644
--- a/contrib/mom/om.tmac
+++ b/contrib/mom/om.tmac
@@ -15609,10 +15609,8 @@ E\\R'#CAP_HEIGHT \\n[.cht]'
. nm
.\" register ln is still set and may confuse preprocessors like tbl
.\" still, resuming line numbering must be possible, so save ln in $LN_NUM
-. if \\n[tbl] \{\
-. ds $LN_NUM \\n[ln]
-. nr ln 0
-. \}
+. ds $LN_NUM \\n[ln]
+. if !\\n[#QUOTE] .nr ln 0
. if !\\n[#LINENUMBERS]=2 .rr #LINENUMBERS
. \}
. \}
@@ -16762,7 +16760,6 @@ E\\R'#CAP_HEIGHT \\n[.cht]'
.MAC TS END
. br
. rr tbl*have-header
-. nr tbl 1
. if '\\n[.z]'FLOAT*DIV' .nr float*with-tbl 1 \" Removed in FLOAT
. if !'\\n[.z]'FLOAT*DIV' \{\
. if \\n[.t]=1 \
@@ -16934,7 +16931,6 @@ E\\R'#CAP_HEIGHT \\n[.cht]'
.END
\#
.MAC TBL*CLEANUP END
-. rr tbl
. rr tbl*before-shim
. rr tbl*after-shim
. if !'\\n[.z]'FLOAT*DIV' \{\