Re: adjustment of text blocks in tables (was: long nroff tables)

2021-01-21 Thread Oliver Corff
Hi, there seems to be at least one effort, 20 years ago, to produce true HTML output. I located "troffcvt: troff-to-XXX Conversion Software" by Paul DuBois. If I understand correctly, this was/is available in Ubuntu distributions. Here is the link: http://www.snake.net/software/troffcvt/ Haven'

Re: adjustment of text blocks in tables (was: long nroff tables)

2021-01-21 Thread James K. Lowden
On Thu, 21 Jan 2021 14:46:24 +1100 "G. Branden Robinson" wrote: > It would be really nice if tbl(1) could output HTML itself. Hmm, from 10,000 feet that doesn't look terribly hard. Certainly tbl input provides all the requisite information needed for an HTML table. mandoc claims to do it alread

adjustment of text blocks in tables (was: long nroff tables)

2021-01-20 Thread G. Branden Robinson
Hi Bjarni, You've changed the subject, so please change the Subject: when doing so. At 2021-01-21T03:24:38+, Bjarni Ingi Gislason wrote: > Concerning the warning "cannot adjust line". > > It is caused by "troff" meddling with the line adjustment in at least > text block columns ( T{...T}

Re: long nroff tables

2021-01-20 Thread Bjarni Ingi Gislason
Concerning the warning "cannot adjust line". It is caused by "troff" meddling with the line adjustment in at least text block columns ( T{...T} ). Happens when the adjustment mode is 'b' (adjust to both margins), which is the default mode. Temporary workaround is to put '.ad l' in front

Re: long nroff tables

2021-01-20 Thread James K. Lowden
On Wed, 20 Jan 2021 18:00:39 +0100 Oliver Corff wrote: > try this: > > TS H Hi Oliver, Thanks for the suggestion. I'm still stuck for the "right" way, but it turns out lengthening the logical page does the trick: .pl 100i I didn't find a way to avoid diving down into troff request

Re: long nroff tables

2021-01-20 Thread Oliver Corff
Sorry, that was copy&paste one character too short. Should start with: .TS H Oliver. On 20/01/2021 18:00, Oliver Corff wrote: Hi James, try this: TS H center nospaces tab(:); lb s l l. Service Branches _ Service     : Person in Charge _ .TH Customer Complaints  : Willy Nick

Re: long nroff tables

2021-01-20 Thread Oliver Corff
Sorry, I only read the first half of your text properly. I didn't check whether the standard tbl behaviour of the .TS H/.TH mechanism is observed by the man/mdoc packages. That can theoretically depend on the output target. If it is a text terminal, then there is no "page length", the text flows;

Re: long nroff tables

2021-01-20 Thread Oliver Corff
Hi James, try this: TS H center nospaces tab(:); lb s l l. Service Branches _ Service     : Person in Charge _ .TH Customer Complaints  : Willy Nickel Merchandise Return     : Ebenezer Scrooge .\" fill many, many lines here ... .TE You'll see that tbl treats "Service:Person I

Re: long nroff tables

2021-01-20 Thread ds26gte--- via
Set page length to a very long distance? Perhaps using the max integer possible in groff? --d On Wednesday, January 20, 2021, 11:36:35 AM EST, James K. Lowden wrote: How do I show "infinite" tables in nroff?  When the tbl output doesn't fit on one "page", I get: $ nroff -t foo err

long nroff tables

2021-01-20 Thread James K. Lowden
How do I show "infinite" tables in nroff? When the tbl output doesn't fit on one "page", I get: $ nroff -t foo error: page 2: table will not fit on one page; use .TS H/.TH with a supporting macro package I don't understand how man/mdoc arrange for nroff to display one long page (e.g., for "man