🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.text
Article #3970

Re: tbl problems

#3970
From: K.M.Vincent
Date: Thu, 27 Aug 1987 15:19
60 lines
2718 bytes
In article <289@future.ursa.UUCP> raj@ursa.UUCP (Raj) writes:
>tbl has a bug.  It manifests itself when you have a long table, spanning
>several pages, and there are numeric fields.  The first few pages of the
>table were alright, but the later pages have the problem.  The problem is
>that blank spaces in the table are replaced by the decimal part of the
>row above!  I have tried all kinds of ways and means to get around it.  The
>only possible way is to declare the column as alphanumeric rather than 
>numeric.  That makes the periods not aligned, and the whole thing looks ugly.


Assuming the operative word is "long." Maybe your problem is
distantly related to the fact that tbl only looks at the first
100-200 or so (sorry, I forget the exact number now, but it's
in the docs) lines of the raw file when it's working up the
format for the table.  

Have you tried breaking up your table into several smaller
ones?  Probably using the  ".TS H" capability provided by the
memorandum macros.  For all tables but the first one, use
the "N" in the ".TH" macro that you put in after your header
lines - so that, as each new table shows up, the header is
only output if the processor is at the TOP of a new page.

You'll have to specify column widths, tho, in each new
table, so that as you carry over from page to page
it all looks like one continuous table.  You may have some
problems if you're trying to box your table.

And don't forget to use -mm to format.  The carryover head
business is an -mm feature, not a tbl feature.


	.TS H
	<global options> ; 
	<column formats>.
	<header lines>
	.TH
	  .
	  .
	<table data>
	  .
	  .
	.TE
	.TS H
	<global options> ;    \" Same as globals for first table
	<column formats>.     \" Same as formats for first table
	<header lines>        \" Same as header lines for first table
	.TH N                 \" 'N' added to suppress output of 
	  .                   \"    header lines unless top of page
	  .
	<table data>
	  .
	  .
	.TE




Kathy Vincent -----> AT&T: {ihnp4|mtune|burl}!wrcola!kathy
              -----> Home: {ihnp4|mtune|ptsfa|codas}!bakerst!kathy
Technical Details
Message-ID: <848@wrcola.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!mnetor!uunet!husc6!rutgers!mtune!wrcola!kathy
References: <289@future.ursa.UUCP>

Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Path: arc1-ca.pugleaf.net!utzoo!mnetor!uunet!husc6!rutgers!mtune!wrcola!kathy
From: kathy@wrcola.UUCP (K.M.Vincent)
Newsgroups: comp.text
Subject: Re: tbl problems
Message-ID: <848@wrcola.UUCP>
Date: Thu, 27-Aug-87 11:19:19 EDT
Article-I.D.: wrcola.848
Posted: Thu Aug 27 11:19:19 1987
Date-Received: Sat, 29-Aug-87 09:58:20 EDT
References: <289@future.ursa.UUCP>
Reply-To: kathy@wrcola.UUCP (K.M.Vincent)
Organization: AT&T, Winston-Salem, NC
Lines: 60
Keywords: tbl,troff,eroff,numeric field