tbl: how can I make entries not span a page?

Mark Harrison harrison at necssd.NEC.COM
Fri Jun 1 01:35:06 AEST 1990


I have written a program that generates tbl output.  The basic format
of the output is something like this:

+-------+-----------------------+-----------------------------+
|  001  |  title of first item  |  text description of first  |
|       |                       |  item which spans several   |
|       |                       |  lines.                     |
+-------+-----------------------+-----------------------------+
|  002  |  title of second item |  text description of second |
|       |                       |  item which spans several   |
|       |                       |  lines.                     |
+-------+-----------------------+-----------------------------+
etc...

I am specifying the horizontal lines by printing an "_" before
each item.  I am specifying the third column using T{/T} delimiters:

My problem:  Occasionally an item will span a page.  Is there a way
I can specify that if an item spans a page to go to the next page,
in a manner similar to mm's .DS/.DE display delimiters?

    +-------+----------------------+------------------------------+
    |  002  |  title of second item |  text description of second |
-----------------------PAGE--BREAK----------------------------------------
    |       |                       |  item which spans several   |
    |       |                       |  lines.                     |
    +-------+-----------------------+-----------------------------+

Thanks in advance,
Mark
-- 
Mark Harrison             harrison at necssd.NEC.COM
(214)518-5050             {necntc, cs.utexas.edu}!necssd!harrison
standard disclaimers apply...



More information about the Comp.unix.questions mailing list