[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[groff] Recent contrib/hdtbl changes may have broken it
From: |
G. Branden Robinson |
Subject: |
[groff] Recent contrib/hdtbl changes may have broken it |
Date: |
Fri, 26 Oct 2018 16:28:02 -0400 |
User-agent: |
NeoMutt/20180716 |
Hi all,
The commits a519a612a98f0ef9a570242bfd85984d22b5864f and
c675115c7c96106fced3be6f528144524150292f from August appear to have
caused problems in my build environment. Obviously the .pso warnings
are due to unsafe mode being turned off, but the changes have a greater
impact than that.
Before I spend much more time on this, I'd like to know if others can
reproduce (A) the warnings below and (B) the conversion of
contrib/hdtbl/examples/fonts_n.ps to a mostly-blank document; the font
tables no longer appear.
If others see the same effect, then I think those commits may have to
reverted unless someone has the energy and understanding sufficient to
work around them. From looking over contrib/examples/common.roff I can
say there's a lot of flamboyant cleverness in there--which we might
expect from the same author whom we already known implemented a PRNG in
roff for sport--such as apparently using roff logic to determine what
the English ordinal suffix of an integer should be.
For instance, in the warnings below, the string "1st" is not literal,
but _computed_. I.e., roff requests are used to determine whether the
suffix should be "st", "nd", "rd", or "th". I think. It's pretty
convoluted stuff. The .backtrace is about 6 levels deep at this point.
Anyway, first things first: can other people reproduce the results (A)
and (B) described above?
GROFF contrib/hdtbl/examples/color_nested_tables.ps
../contrib/hdtbl/examples/color_nested_tables.roff:40: The 1st width value ()
is too small. It should be greater than 12000.
../contrib/hdtbl/examples/color_nested_tables.roff:52: The 1st width value ()
is too small. It should be greater than 11999.
GROFF contrib/hdtbl/examples/color_table_cells.ps
GROFF contrib/hdtbl/examples/color_transitions.ps
GROFF contrib/hdtbl/examples/col_rowspan_colors.ps
GROFF contrib/hdtbl/examples/fonts_n.ps
troff: contrib/hdtbl/examples/fonts_n.roff:141: .pso request not allowed in
safer mode
troff: contrib/hdtbl/examples/fonts_n.roff:141: name expected (got '\{')
fonts_n.roff: listing font ''...
troff: contrib/hdtbl/examples/fonts_n.roff:141: warning: can't find font '='
troff: contrib/hdtbl/examples/fonts_n.roff:141: .pso request not allowed in
safer mode
GROFF contrib/hdtbl/examples/fonts_x.ps
troff: contrib/hdtbl/examples/fonts_x.roff:152: .pso request not allowed in
safer mode
troff: contrib/hdtbl/examples/fonts_x.roff:152: name expected (got '\{')
fonts_x.roff: listing font ''...
troff: contrib/hdtbl/examples/fonts_x.roff:152: warning: can't find font '='
troff: contrib/hdtbl/examples/fonts_x.roff:152: .pso request not allowed in
safer mode
GROFF contrib/hdtbl/examples/mixed_pickles.ps
--
Regards,
Branden
signature.asc
Description: PGP signature
- [groff] Recent contrib/hdtbl changes may have broken it,
G. Branden Robinson <=