Re: groff 1.23.0.rc4 on Solaris 11 OpenIndiana

2023-04-16 Thread Ralph Corderoy
Hi Branden, > pdfpic.tmac does a pretty hairy thing. > > . \" Get image dimensions. The `tr` command to strip null bytes is > . \" distasteful, but its necessity is imposed on us. See > . \" . > . ec @ > . sy p

Re: groff 1.23.0.rc4 on AIX

2023-04-16 Thread Ralph Corderoy
Hi Branden, > > > xlc -q64 ... -lSM -lICE -lXaw -lXmu -lXt -lX11 -lm libxutil.a > > > lib/libgnu.a > > > ld: 0711-317 ERROR: Undefined symbol: .XpmReadFileToPixmap > > > ld: 0711-317 ERROR: Undefined symbol: .XShapeCombineMask > > > ld: 0711-317 ERROR: Undefined symbol: .XShapeQueryExtension ..

Re: groff 1.23.0.rc4 on mingw

2023-04-16 Thread Bruno Haible
Yesterday I wrote: > posix_spawn is faster than fork()+exec() on Linux/glibc, because some > effort has been made to optimize that. I'm not aware of a similar effort > for Cygwin, and won't do it myself either. The situation regarding posix_spawn on Cygwin is a bit complicated and not optimal. I w

Re: groff 1.23.0.rc4 on AIX

2023-04-16 Thread Bruno Haible
G. Branden Robinson wrote: > I question whether there should in fact be any "checking for Xpm" > configuration test in groff for the Xpm library or for the SHAPE > extension client library interface (which is in Xext). Indeed, adding -lXpm and -lXext to the link options makes the creation of 'gxdi

Re: groff 1.23.0.rc4 on Solaris 11 OpenIndiana

2023-04-16 Thread Bruno Haible
G. Branden Robinson wrote: > > On Solaris 11 OpenIndiana, 1 see 1 test failure: > > > > FAIL: tmac/tests/pdfpic_does-not-choke-on-bad-pdfinfo-output.sh > > === > > > > pdfpic.tmac::5: error: retrieval of > > '/export/home/bruno/groff-1.

Re: groff 1.23.0.rc4 on Solaris 11 OpenIndiana

2023-04-16 Thread Bruno Haible
Ralph Corderoy wrote: > Doesn't that look a bit odd? Both tr and sed want to see a single > backslash in their argv[] string. tr for \000 and sed for \( and \). > The arguments to both are in sh's single quotes. Yet the backslashes > for tr are single whereas sed's are doubled. Yes, this is the

Re: groff 1.23.0.rc4 on Solaris 11 OpenIndiana

2023-04-16 Thread Ralph Corderoy
Hi Bruno, > When I run > > pdfinfo doc/automake.pdf | tr -d '\000' | grep "Page *size" | sed -e 's/Page > *size: *\\([[:digit:].]*\\) *x *\\([[:digit:].]*\\).*$/\ > .nr pdfpic*width (p;\\1)\\n\ > .nr pdfpic*height (p;\\2)/' Are you running those three lines in a shell or have you edited the tro

Re: groff 1.23.0.rc4 on Solaris 11 OpenIndiana

2023-04-16 Thread Bruno Haible
Ralph Corderoy asked: > > When I run > > > > pdfinfo doc/automake.pdf | tr -d '\000' | grep "Page *size" | sed -e > > 's/Page *size: *\\([[:digit:].]*\\) *x *\\([[:digit:].]*\\).*$/\ > > .nr pdfpic*width (p;\\1)\\n\ > > .nr pdfpic*height (p;\\2)/' > > Are you running those three lines in a shell

Re: reformatting man pages at SIGWINCH

2023-04-16 Thread G. Branden Robinson
[CC list trimmed of Texinfo people/lists] At 2023-04-11T11:39:11+0200, Dirk Gouders wrote: [I wrote:] > > 4. A habit has grown up among man(1) programs and pagers to call > > for and support, respectively, a "blank line squeezing" feature: any > > runs of more than one blank line are condensed to

Re: Newbie question - Indents and paragraph filling

2023-04-16 Thread hbezemer--- via
Dear Ben, You could use this simple set of macro's I use for my exams as a starter. https://github.com/Allfifthstuning/awesome-groff-user-macrosets/blob/main/toets.tmac Kind regards, Hans Ben wrote: > Hi > > I am by no means an experienced user of groff. I thought I would give it a > go as it