🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: net.text
Article #598

Need Troff Help

#598
From: Suzanne Barnett
Date: Wed, 31 Jul 1985 19:12
49 lines
2234 bytes
I have been using nroff some time and thought I'd begun to
understand it, and therefore troff. We have very recently
purchased a laser printer and can now use troff for nice
output. But I am having a couple of problems that I can't
seem to resolve.

The easier one is setting a global point size. I use -me
macros. Both -me's .sz and t/nroff's .ps are an environment
parameter. How do I get section headers (.sh) in any but the
default (10 pt) point size. I can get the title, but not the
numbers in different sizes.

The harder and more trying problem is that troff is going
along like gangbusters doing exactly what I want through most
of the file, and suddenly, near the end, it quits translating
and output is identical to the input file. This occurs
immediately after output of a floating keep. The page before
the floating keep is fine, output on the next page is one word
at the top (it was the last part of a hyphenated word, then to
prevent this I added a .nh) which I can't seem to make join
the text below the keep. The keep formats ok, it's code is

	.(z L
	.hl
	.sv 20
	.hl
	.sp 1
	.ce 1
	\fBFigure \fRFigure \n($1.\nF Figure Title\fR
	.(x F
	.sz 12
	\!\fRFigure \n($1.\nF Figure Title\fR
	.)x
	.fi
	.)z
	.)z

All text immediately after the keep is identical to the input
file, not troff formatted. All the troff codes are intact.

Anyone have any idea what I'm doing wrong? Nroff works okay on
this same file and no error messages are sent during troff,
just bad output.
-- 
Suzanne Barnett

uucp:	 ...{decvax,hao,ihnp4,seismo}!noao!terak!suze
phone:	 602 998 4800
us mail: Terak Corporation, 14151 N 76th street, Scottsdale, AZ 85260
Technical Details
Message-ID: <652@terak.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!watmath!clyde!burl!ulysses!allegra!mit-eddie!think!harvard!seismo!hao!noao!terak!suze

Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Posting-Version: version B 2.10.2 9/5/84; site terak.UUCP
Path: arc1-ca.pugleaf.net!utzoo!watmath!clyde!burl!ulysses!allegra!mit-eddie!think!harvard!seismo!hao!noao!terak!suze
From: suze@terak.UUCP (Suzanne Barnett)
Newsgroups: net.text
Subject: Need Troff Help
Message-ID: <652@terak.UUCP>
Date: Wed, 31-Jul-85 15:12:30 EDT
Article-I.D.: terak.652
Posted: Wed Jul 31 15:12:30 1985
Date-Received: Sat, 3-Aug-85 04:57:51 EDT
Organization: Terak Corporation, Scottsdale, AZ, USA
Lines: 49