[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Long text in tbl won't wrap, maybe related to mom
From: |
Mike Bianchi |
Subject: |
Re: Long text in tbl won't wrap, maybe related to mom |
Date: |
Fri, 5 Feb 2021 10:46:07 -0500 |
User-agent: |
Mutt/1.5.23 (2014-03-12) |
I don't know what the intended appearance was supposed to be, but
this sort-of works; substitute a tab-character for each <TAB> ...
.TS
expand;
cb s s s
c | c | c s
ltiw(1i) | ltw(2i) | lp8 | lw(1.6i)p8.
Some Interesting Places
_
Name<TAB>Description<TAB>Practical Information
_
T{
American Museum of Natural History
T} T{
The collections fill 11.5 acres (Michelin) or 25 acres (MTA)
of exhibition halls on four floors. There is a full-sized replica
of a blue whale and the world's largest star sapphire (stolen in 1964).
T}<TAB>Hours 10-5:45 S M Tu Th, 10-9 W Sat. Sun.
<TAB><TAB>Location<TAB>T{
Central Park West & 79th St.
T}
<TAB>Admission<TAB>Donation: $1.00 asked
<TAB>Subway<TAB>AA to 81st St.
<TAB>Telephone<TAB>212-769-5100
_
.TE
The <TAB> characters used to delineate columns disappears in normal printing.
Mike
On Fri, Feb 05, 2021 at 11:05:58AM -0300, Bento Borges Schirmer wrote:
> Hello
>
> I'm having great joy composing little documents for some homework and
> assignments using groff and the mom package. Yesterday I wanted to learn how
> to
> make tables so I read through mom's excellent documentation and
> reproduced all tables except the last one from L. L. Cherry and M. E.
> Lesk's Tbl -- A Program
> to Format Tables, when I encountered a problem where the lines wouldn't wrap:
>
> .PRINTSTYLE TYPESET
> .START
> .TS
> expand;
> cb s s s
> c | c | c s
> ltiw(1i) | ltw(2i) | lp8 | lw(1.6i)p8.
> Some Interesting Places
> _
> Name Description Practical Information
> _
> T{
> American Museum of Natural History
> T} T{
> The collections fill 11.5 acres (Michelin) or 25 acres (MTA)
> of exhibition halls on four floors. There is a full-sized replica
> of a blue whale and the world's largest star sapphire (stolen in 1964).
> T} Hours 10-5:45 S M Tu Th, 10-9 W Sat. Sun.
> \^ \^ Location T{
> Central Park West & 79th St.
> T}
> \^ \^ Admission Donation: $1.00 asked
> \^ \^ Subway AA to 81st St.
> \^ \^ Telephone 212-769-5100
> _
> .TE
>
> This is a minimal version of the last example from the tbl document that
> reproduces the funny behavior. It breaks the line as in the source, but the
> table grows beyond the page and doesn't stay as nice as seen e.g. on the troff
> FAQ or when using groff -Tpdf -t -ms. Am I missing something? Is there any
> workaround? I don't mind manually breaking the lines, of course.
>
> Best regards,
> Bento
>
--
Mike Bianchi
Foveal Systems
973 822-2085
MBianchi@Foveal.com
http://www.AutoAuditorium.com
http://www.FovealMounts.com
- Long text in tbl won't wrap, maybe related to mom, Bento Borges Schirmer, 2021/02/05
- Re: Long text in tbl won't wrap, maybe related to mom,
Mike Bianchi <=
- Re: Long text in tbl won't wrap, maybe related to mom, Bento Borges Schirmer, 2021/02/05
- groff git HEAD not building on macOS? (was: Long text in tbl won't wrap, maybe related to mom), G. Branden Robinson, 2021/02/07
- Re: groff git HEAD not building on macOS? (was: Long text in tbl won't wrap, maybe related to mom), Axel Kielhorn, 2021/02/08
- Message not available
- Fwd: groff git HEAD not building on macOS? (was: Long text in tbl won't wrap, maybe related to mom), T. Kurt Bond, 2021/02/09
- Re: groff git HEAD not building on macOS? (was: Long text in tbl won't wrap, maybe related to mom), T. Kurt Bond, 2021/02/09
- Re: groff git HEAD not building on macOS? (was: Long text in tbl won't wrap, maybe related to mom), Dave Kemper, 2021/02/09
- Re: Fwd: groff git HEAD not building on macOS? (was: Long text in tbl won't wrap, maybe related to mom), Bjarni Ingi Gislason, 2021/02/09