This is on FreeBSD 10.2-RELEASE-p9, with base OS groff, /usr/bin/groff at 1.19.2, and groff-1.22.2_3 istalled via packages under /usr/local/bin.
When I try to run pdfroff 1.22, it pulls groff 1.19: $ /usr/local/bin/pdfroff --version GNU pdfroff (groff) version 1.22.2 GNU groff version 1.19.2 Copyright (C) 2004 Free Software Foundation, Inc. GNU groff comes with ABSOLUTELY NO WARRANTY. You may redistribute copies of groff and its subprograms under the terms of the GNU General Public License. For more information about these matters, see the file named COPYING. called subprograms: GNU grops (groff) version 1.19.2 GNU troff (groff) version 1.19.2 $ However, 1.19, the base OS version is drastically cut down to the bare necessities of building FreeBSD man pages only, so it does not have spdf or pdfmark macros, hence the error: $ /usr/local/bin/groff -Tpdf -mspdf z.1 > z.pdf $ /usr/local/bin/pdfroff -mspdf z.1 > z.pdf troff: fatal error: can't find macro file spdf troff: fatal error: can't find macro file spdf $ I can't see anything relevant in pdfroff man page. Please help Thanks Anton