On Tue, 2 Sep 2014, Chuck Guzis wrote:
Date: Tue, 2 Sep 2014 08:47:55
From: Chuck Guzis <cclist at sydex.com>
Reply-To: "General Discussion: On-Topic and Off-Topic Posts"
<cctalk at classiccmp.org>
To: General Discussion: On-Topic and Off-Topic Posts <cctalk at classiccmp.org>
;
Subject: Re: ID Text Processor (e.g. nroff/troff
On 09/02/2014 07:43 AM, Peter Corlett wrote:
On Mon, Sep 01, 2014 at 04:38:40PM -0700, Chuck
Guzis wrote:
Can anyone identify the text formatting program
that the following is
meant
for? Looks kind of like nroff, but it's not (particularly those @-leadin
sequences):
It would appear to be "TXTFORM":
http://bitsavers.trailing-edge.com/pdf/cdc/cyber/cyber_180/NOS_VE/ses/Txtfo…
That certainly is it--thanks much! I'll pass the information along.
--Chuck
If the sample text is for use with the CDC TXTFORM software, it
must be for a version later than 1.5. Annotating the original
sample with "<- ..." comments we have:
CHAP5
\format,16,60,66,8,60 <- diff
\define,ref $&1 <- missing
\title,c=- #p - <- diff
\block,i8 <- missing
\nojust <- same
\setu1 <- missing
\seth at A <- missing
\setss[] <- missing
\seto! <- missing
\double <- missing
\page211 <- missing
\blank <- maybe the same
\skip10 <- missing
\center,b,u,=Chapter 5 at D Biomass, Production and the Fishery <- diff
\skip6 <- missing
15.1 Introduction1
\setu1,notblanks <- missing, missing
where
- diff == different formatting code in TXTFORM 1.5
- missing == formatting code not in TXTFORM 1.5
- same == same formatting code as TXTFORM 1.5
I think that the \page211 isn't a macro, but setting the page
number to 211 for the start of chapter 5.
I think that the line "\format,16,60,66,8,60" may be setting
- left margin
- right margin
- physical page length
- 1st line indent
- 1st line right margin
but in any case, the \FORMAT code in TXTFORM 1.5 has only three
parameters, and TXTFORM 1.5 has separate formatting codes for
\MARGIN and \LENGTH.
I agree with others that the sample is in the ROFF/NROFF/TROFF
style. It's a declarative style rather than a procedural style
like TeX. I can imagine what the other formatting codes might
do, but haven't yet found a matching formatter that includes
all of them. Considering each formatting code, I don't think
that any of them are macro invocations, with the possible
exception of \format,16,60,66,8,60.
I think that the text
- "Chapter 5 Biomass, Production and the Fishery"
would be underlined with a single underline, with the spaces
underlined, and posslibly on two lines (split at the 5 at D), and
that the text
- 15.1 Introduction1
may be mangled in the sample, with "Introduction1" where
"Introduction&1" or "Introduction$&1" should be, and
underlined
but without the spaces underlined, and the "ref" "$&1" or
"&1"
used for generating a table of contents.
Chuck, can you post a longer example, and tell us more about the
source of the sample (the type of floppy or hard disk, the OS if
that is known, et cetera)?
--Ernest