🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.text
Article #6051

{,n}eqn, tbl, {n,t}roff, and mm

#6051
From: Sid Cowles
Date: Sat, 25 Mar 1989 00:35
48 lines
2123 bytes
i have a problem with the general pipe:  {n,}eqn|tbl|{p,n,t}roff.

input to the sequence is file.n where file.n contains a table inside
a memorandum macros display (with vertical bars in the tbl format
section) and equations within data elements of the table.  i've
tried beginning the processing with tbl before {n,}eqn and results
are worse than the sequence shown.

the vertical bars indicated in the tbl format fail to come through
correctly, if at all.  (when using the nroff sequence, i pipe through
col before viewing results.)  is this kind of request a basic conflict
between eqn and tbl?

below is an example file.n (hard tabs are shown by \t):
=======================================================================
.nr O 1.0i                              \" SET PAGE OFFSET AT 1.0 INCH
.so /usr/lib/tmac/tmac.m                \" CALL THE MEMORANDUM MACROS
.EQ                                     \" SETUP FOR EQN
delim ##
.EN
Table:
.DS
.TS
box;
l | l | l
.
=
head1\thead2\thead3
=
.sp
#dW over dt#\ttwo\tthree
.sp
#psi#\tfour\t#delta#
.sp
=
.TE
.DE
=======================================================================

thanks for any help,
sid
=======================================================================
s cowles                         att:  +1 415 423 0929
lawrence livermore national lab  uucp: {backbone}!lll-lcc!scowles
environmental sciences division  internet:  scowles@lll-lcc.llnl.gov
p. o. box 5507; L-524
livermore, california  94550
=======================================================================
Technical Details
Message-ID: <2375@lll-lcc.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!eecae!netnews.upenn.edu!rutgers!apple!well!lll-lcc!scowles

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!eecae!netnews.upenn.edu!rutgers!apple!well!lll-lcc!scowles
From: scowles@lll-lcc.UUCP (Sid Cowles)
Newsgroups: comp.text
Subject: {,n}eqn, tbl, {n,t}roff, and mm
Summary: why don't vertical bars come through?
Keywords: eqn, neqn, tbl, nroff, troff, ptroff, mm
Message-ID: <2375@lll-lcc.UUCP>
Date: 25 Mar 89 00:35:22 GMT
Reply-To: scowles@lll-lcc.llnl.gov     (Sid Cowles)
Distribution: usa
Organization: Lawrence Livermore Labs, Comp Center, Livermore CA
Lines: 48