Long text in tbl won't wrap, maybe related to mom

2021-02-05 Thread Bento Borges Schirmer
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 T

Re: Long text in tbl won't wrap, maybe related to mom

2021-02-05 Thread Mike Bianchi
I don't know what the intended appearance was supposed to be, but this sort-of works; substitute a tab-character for each ... .TS expand; cb s s s c | c | c s ltiw(1i) | ltw(2i) | lp8 | lw(1.6i)p8. Some Interesting Places _ NameD

Re: Long text in tbl won't wrap, maybe related to mom

2021-02-05 Thread Bento Borges Schirmer
Hey, thanks for the quick response! > I don't know what the intended appearance was supposed to be, but > this sort-of works; substitute a tab-character for each ... Sorry about my omission, but I did use tab; I guess they were replaced by spaces after sending the e-mail, however. For instan

Re: Long text in tbl won't wrap, maybe related to mom

2021-02-05 Thread Bento Borges Schirmer
Hey > I can't remember if the groff mailing list allows small attachments or not, so I'm trying to attach the mom source I used (in a .zip so the tabs won't get modified) and the output pdf it produces to this email. > > Oh, and the slightly munged version of groff from git I was using was 1.22.4.

Re: Long text in tbl won't wrap, maybe related to mom

2021-02-05 Thread Peter Schaffter
On Fri, Feb 05, 2021, Bento Borges Schirmer wrote: > 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 exc

Re: Long text in tbl won't wrap, maybe related to mom

2021-02-06 Thread Bento Borges Schirmer
Hello >The other source of your problem is indeed in mom. Tbl appears to >require that adjusting be turned off in order to process text blocks >correctly, which mom is not presently doing. If you precede calls >to '.TS' with '.na', and follow calls to '.TE' with '.ad', >tables process as expecte

Re: Long text in tbl won't wrap, maybe related to mom

2021-02-06 Thread T. Kurt Bond
Peter Schaffter said: Tbl appears to require that adjusting be turned off in order to process text blocks correctly, which mom is not presently doing. If you precede calls to '.TS' with '.na', and follow calls to '.TE' with '.ad', tables process as expected. And I'd like to point out that this p

Re: Long text in tbl won't wrap, maybe related to mom

2021-02-07 Thread G. Branden Robinson
Hi Bento, Peter, and Kurt! At 2021-02-05T17:31:45-0500, Peter Schaffter wrote: > On Fri, Feb 05, 2021, Bento Borges Schirmer wrote: > > 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 mak

groff git HEAD not building on macOS? (was: Long text in tbl won't wrap, maybe related to mom)

2021-02-07 Thread G. Branden Robinson
At 2021-02-05T14:26:33-0500, T. Kurt Bond wrote: > and ran it with the slightly munged (but with nothing in mom changed) > and several months out of date version of groff from git. (it's out > of date since it's been several months since making groff finished > successfully. I'm on macOS, and I *

Re: groff git HEAD not building on macOS? (was: Long text in tbl won't wrap, maybe related to mom)

2021-02-08 Thread Axel Kielhorn
> Am 07.02.2021 um 22:49 schrieb G. Branden Robinson > : > > At 2021-02-05T14:26:33-0500, T. Kurt Bond wrote: >> and ran it with the slightly munged (but with nothing in mom changed) >> and several months out of date version of groff from git. (it's out >> of date since it's been several mont

Fwd: groff git HEAD not building on macOS? (was: Long text in tbl won't wrap, maybe related to mom)

2021-02-09 Thread T. Kurt Bond
s to me like the system c++ stdlib.h is including groff's lib/math.h, even though the line 100 mentioned above is just #include -- Forwarded message - From: T. Kurt Bond Date: Mon, Feb 8, 2021 at 8:48 PM Subject: Re: groff git HEAD not building on macOS? (was: Long text in tb

Re: groff git HEAD not building on macOS? (was: Long text in tbl won't wrap, maybe related to mom)

2021-02-09 Thread T. Kurt Bond
> looks to me like the system c++ stdlib.h is including groff's lib/math.h, > even though the line 100 mentioned above is just > > #include > > > ---------- Forwarded message ----- > From: T. Kurt Bond > Date: Mon, Feb 8, 2021 at 8:48 PM > Subject: Re:

Re: groff git HEAD not building on macOS? (was: Long text in tbl won't wrap, maybe related to mom)

2021-02-09 Thread Dave Kemper
On 2/9/21, T. Kurt Bond wrote: > In file included from src/libs/libgroff/curtime.cpp:20: > In file included from > /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/stdlib.h:100: > ./lib/math.h:38:3: error: "Please include config.h first." >

Re: Fwd: groff git HEAD not building on macOS? (was: Long text in tbl won't wrap, maybe related to mom)

2021-02-09 Thread Bjarni Ingi Gislason
The gnulib's version is probably out of date. Read "INSTALL.REPO" and run groff's "bootstrap" to update "gnulib". -- Bjarni I. Gislason

Re: Fwd: groff git HEAD not building on macOS? (was: Long text in tbl won't wrap, maybe related to mom)

2021-02-10 Thread T. Kurt Bond
When compiling groff from git I always start by running bootstrap. I still have the same problem. To repeat more concisely, here's the first error from the build: CXX src/libs/libgroff/libgroff_a-curtime.o In file included from ../src/libs/libgroff/curtime.cpp:20: In file included from /A

Re: Fwd: groff git HEAD not building on macOS? (was: Long text in tbl won't wrap, maybe related to mom)

2021-02-10 Thread T. Kurt Bond
It turns out that Dave Kemper 's suggestion that it was related to bug 59276 (http://savannah.gnu.org/bugs/index.php?59276) was correct. I use Homebrew on macOS to install Unix packages (instead of macports). I recently did a "brew cleanup", which removes old versions of packag

Re: Fwd: groff git HEAD not building on macOS? (was: Long text in tbl won't wrap, maybe related to mom)

2021-02-11 Thread G. Branden Robinson
Hi Kurt! At 2021-02-10T14:03:42-0500, T. Kurt Bond wrote: [big snip] Thanks a lot for digging into this! I have committed what _seems_ like should be a fix based on your extensive description. https://git.savannah.gnu.org/cgit/groff.git/commit/?id=979f3f4266151c7681a68a40d2c4913842a7271d If an

Re: Fwd: groff git HEAD not building on macOS? (was: Long text in tbl won't wrap, maybe related to mom)

2021-02-11 Thread T. Kurt Bond
I built groff from a fresh git clone and it built fine. A "make check" ended with: Testsuite summary for GNU Troff 1.23.0.rc1.204-979f # TOTAL: