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

Reply via email to