🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: comp.sys.next.software
2 messages
2 total messages Started by kluge daniel Tue, 29 Dec 1992 21:47
tbl, troff, ptroff & Co.
#1473
Author: kluge daniel
Date: Tue, 29 Dec 1992 21:47
47 lines
2162 bytes
I just played around with ptroff, for having a Man Page, which is
suitable for printing.
My First problem was the following:
When I run a man-page through tbl, it exited with 'bus error'.
After playing a little bit with the File, I found the solution, the
NeXT-tbl doesn't accept things like this:
l l
- -
l l
First_Title Second_Title
fist second

although the following just produced some funny output, and an error:
l l
- 
l l
( Input: line xx: Data ignored on table line 2
( First_Title Second_Title
( ___________ second

Ok, ok i know, if you Place an undersocre in the line preeceding 'first'
you will get it, BUT I don't like it, to edit every 100k man-page that
comes from the net, so I'd appreciate, if 'tbl' would work as intended.

After that, I moved some ManPages through ptroff, and tryed, to reformat
them from Letter to A4, without success,
Neither
	ptroff -t -l 297mm
nor
	ptroff -t -s A4
did something useable, both produced the same, it looked like an A4 page
seen through a Frame of Letter-Size: the top of The Page had been cut,
and the next page already showed up at the bottom.
To make things worse, if you want to reformat it with 'psnup', it won't
come out of 'psnup' as A4 as well, so, the Pages get gut on the end,
because someone thinks, that the Page is some .5in shorter than it
acutally is.

I'd appreciate any suggestions, comments to those problems (tbl & ptroff
with non-Letter formating)

- daniel
--
Daniel G. Kluge @ Swiss Federal Institute of Technology Zuerich
E-Mail              : kluge@avalon.physik.unizh.ch (NeXT-Mail welcome)
study-related stuff : dankluge@iiic.ethz.ch
DECnet              : EZINFO::CLUESCH
Re: tbl, troff, ptroff & Co.
#1488
Author: Bjorn S. Fjeld Pettersen
Date: Wed, 30 Dec 1992 23:38
35 lines
1791 bytes
In article <1992Dec29.214748.5774@ifi.unizh.ch> kluge@avalon.physik.unizh.ch  
(kluge daniel) writes:

[stuff deleted...]

> After that, I moved some ManPages through ptroff, and tryed, to reformat
> them from Letter to A4, without success,
> Neither
> 	ptroff -t -l 297mm
> nor
> 	ptroff -t -s A4
> did something useable, both produced the same, it looked like an A4 page
> seen through a Frame of Letter-Size: the top of The Page had been cut,
> and the next page already showed up at the bottom.

I have tried using ptroff on a troff file also, with the same result: It always  
starts printing well above what is visible on tha page. Anyone have a fix for  
this?

[more stuff deleted...]

> - daniel
> --
> Daniel G. Kluge @ Swiss Federal Institute of Technology Zuerich
> E-Mail              : kluge@avalon.physik.unizh.ch (NeXT-Mail welcome)
> study-related stuff : dankluge@iiic.ethz.ch
> DECnet              : EZINFO::CLUESCH

Bjorn

------------------------------------------------------------------------------
Bjorn S. Fjeld Pettersen
bjorn@doek.uoregon.edu                       NextMail Welcomed
#include <std-disclaimer.h>
------------------------------------------------------------------------------
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads