🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.text
Article #2450

Re: Is there a tbl checker?

#2450
From: nils-peter.nelson
Date: Thu, 31 Jan 1991 16:16
32 lines
1325 bytes

The new checkdoc command in DWB 3.1 supersedes (yes, that's
how it's spelled) eqncheck. It checks for proper usage
of: mm macros, tbl, pic, eqn, grap.  It is neither foolproof
nor perfect, but it does a nice job of warning you about a
variety of common errors, and in a much more polite way
than the language processors do. Here's a sample snarfed
off my screen:
$ cat bad.mm
.TL
Title
.MT 0
First line.
.TS
center, allbox
c c c
1 2 3
.TE
.SG
$ checkdoc bad.mm
checkdoc version 1.0 diagnostics:
bad.mm:
Line 3: Missing a .AU before the .MT macro
Line 7: format lines must have same number of columns
Line 8: format lines must have same number of columns
Line 9: Missing table format data detected
Line 10: Missing a .AU before the .SG macro
10 lines done
===

Best of all, checkdoc has no options!
Technical Details
Message-ID: <1991Jan31.161639.15178@cbnewsl.att.com>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!pacific.mps.ohio-state.edu!linac!att!cbnewsl!npn
References: <1393@rust.zso.dec.com>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!pacific.mps.ohio-state.edu!linac!att!cbnewsl!npn
From: npn@cbnewsl.att.com (nils-peter.nelson)
Newsgroups: comp.text
Subject: Re: Is there a tbl checker?
Summary: checkdoc does what you need, DWB 3.1
Keywords: tbl troff
Message-ID: <1991Jan31.161639.15178@cbnewsl.att.com>
Date: 31 Jan 91 16:16:39 GMT
References: <1393@rust.zso.dec.com>
Organization: AT&T Bell Laboratories
Lines: 32