Hi Branden, On Fri, Mar 22, 2024 at 02:44:26PM -0500, G. Branden Robinson wrote: > At 2024-03-22T20:10:51+0100, Alejandro Colomar wrote: > > It reduces the base paragraph inset (did I use the right term? :) to > > almost nothing. > > I have to say I regard this as a pretty minor problem compared to others > I've seen grohtml have with man pages. > > However, I would also say that it's wrong that running eqn on an input > document that doesn't even _use_ eqn should change anything about the > rendering. That's weird. > > ...and it turns out I can't reproduce this. > > $ preconv man3/_Generic.3 | tbl | eqn -Thtml | troff -man -Thtml -Wbreak | > post-grohtml >| _Generic-eqn-Thtml.html
I'm quite surprised that you aren't even getting the warning due to `eqn -Thtml`. > $ preconv man3/_Generic.3 | tbl | eqn -Tps | troff -man -Thtml -Wbreak | > post-grohtml >| _Generic-eqn-Tps.html > $ stat -c '%s %n' _Generic-eqn-T* > 3010 _Generic-eqn-Thtml.html > 3010 _Generic-eqn-Tps.html > $ diff -u _Generic-eqn-T* > --- _Generic-eqn-Thtml.html 2024-03-22 14:32:37.651496863 -0500 > +++ _Generic-eqn-Tps.html 2024-03-22 14:32:24.779577657 -0500 > @@ -1,5 +1,5 @@ > <!-- Creator : groff version 1.23.0.1081-32530 --> > -<!-- CreationDate: Fri Mar 22 14:32:37 2024 --> > +<!-- CreationDate: Fri Mar 22 14:32:24 2024 --> > <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" > "http://www.w3.org/TR/html4/loose.dtd"> > <html> > > I can't think of anything in the last 179 commits that would have > affected this, but...179 slightly exceeds the capacity of human working > memory. I was running $ troff --version GNU troff (groff) version 1.23.0.902-1fce7-dirty But I can reproduce it with 1.23.0: $ /usr/bin/groff --version | head -n1; GNU groff version 1.23.0 $ diff -u0 \ <(/usr/bin/preconv man3/_Generic.3 \ | /usr/bin/tbl \ | /usr/bin/eqn -Tps \ | /usr/bin/troff -man -Thtml -Wbreak \ | /usr/bin/post-grohtml) \ <(/usr/bin/preconv man3/_Generic.3 \ | /usr/bin/tbl \ | /usr/bin/troff -man -Thtml -Wbreak \ | /usr/bin/post-grohtml); --- /dev/fd/63 2024-03-22 20:51:15.333130375 +0100 +++ /dev/fd/62 2024-03-22 20:51:15.333130375 +0100 @@ -38 +38 @@ -<p style="margin-left:1%; margin-top: 1em">_Generic − +<p style="margin-left:9%; margin-top: 1em">_Generic − @@ -47 +47 @@ -<p style="margin-left:1%; margin-top: 1em"><b>_Generic(</b><i>expression</i><b>, +<p style="margin-left:9%; margin-top: 1em"><b>_Generic(</b><i>expression</i><b>, @@ -57 +57 @@ -<p style="margin-left:1%; margin-top: 1em"><b>_Generic</b>() +<p style="margin-left:9%; margin-top: 1em"><b>_Generic</b>() @@ -64 +64 @@ -<p style="margin-left:1%; margin-top: 1em"><i>expression</i> +<p style="margin-left:9%; margin-top: 1em"><i>expression</i> @@ -67 +67 @@ -<p style="margin-left:1%; margin-top: 1em">This is +<p style="margin-left:9%; margin-top: 1em">This is @@ -77 +77 @@ -<p style="margin-left:1%; margin-top: 1em">C11.</p> +<p style="margin-left:9%; margin-top: 1em">C11.</p> @@ -84 +84 @@ -<p style="margin-left:1%; margin-top: 1em">C11.</p> +<p style="margin-left:9%; margin-top: 1em">C11.</p> @@ -91 +91 @@ -<p style="margin-left:1%; margin-top: 1em">The following +<p style="margin-left:9%; margin-top: 1em">The following @@ -97 +97 @@ -<p style="margin-left:1%; margin-top: 1em">#include +<p style="margin-left:18%; margin-top: 1em">#include Cheers, Alex > > Regards, > Branden -- <https://www.alejandro-colomar.es/> Looking for a remote C programming job at the moment.
signature.asc
Description: PGP signature