On Tue, Oct 29, 2024 at 01:20:19AM +0000, Bjarni Ingi Gislason wrote:
> File prof.PDFPIC:
> 
> .ll 10n
> .PDFPIC -I -\n[.l]u ?/gnu.pdf
> .if !r stuff .tm stuff is not defined
> 
> -.-
> 
>   The file "gnu.pdf" is in the attachment.
> 
> -.-
> 
>   "test-groff.master" should be the same as "test-groff" in the upstream groff
> repository.
> 
>   Running:
> 
> test-groff.master -Tpdf -mhdtbl -U -mpdfpic -ww -b prof.PDFPIC > 
> /tmp/prof.PDFPIC.pdf
> 
>   Shows:
> 
> Attempt to call undefined import method with arguments ("splitpath") via
> package "File::Spec" (Perhaps you forgot to load the package?) at
> /home/bg/git/master-groff/groff/build/gropdf line 29.
> 
> troff: backtrace:
> '/home/bg/git/master-groff/groff/build/../tmac/pdfpic.tmac':76: macro
> 'pdfpic@get-image-dimensions'
> 
> troff: backtrace:
> '/home/bg/git/master-groff/groff/build/../tmac/pdfpic.tmac':197: macro
> 'PDFPIC'
> 
> troff: backtrace: file 'prof.PDFPIC':2
> troff:prof.PDFPIC:2: warning: macro '.if' not defined
> 
>   The last line (warning) needs an explanation.

> .ll 10n
> .PDFPIC -I -\n[.l]u /home/bg/git/groff/doc/gnu.pdf
> .if r stuff .tm stuff is defined

  I have added a correction to "tmac/pdfpic.tmac" in my repository to avoid
the warning when diagnostics are asked for.

  The upstream software does not use "-ww -b" when the HDTBL examples are
created.

  See other reports related to HDTBL like 54474-5, 54538-9, 55007, 55027,
55044, 55732, and 64967.

Reply via email to