>No, pdfmark doesn't, but if you use pdfroff rather than groff, then it
>will take care of TOC relocation for you; you will also need to use
>pdfroff, (or Deri's "-Tpdf" capability), to properly format active cross
>references within the document body.
>
>Finally, if you are using pdfroff, and you are *not* using ms' .TC to
>generate a table of contents, then you may need the --no-toc-relocation
>option, to prevent insertion of a second copy of your document instead
>of the TOC; see "man pdfroff" for more details.
>
>-- 
>Regards,
>Keith.

Keith, thank you.

I get errors with pdfroff:

$ /usr/local/bin/pdfroff -ms -mpdfmark z.1 > z.pdf
troff: fatal error: can't find macro file pdfmark
troff: fatal error: can't find macro file pdfmark
$ /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
$ pkg info -xl groff|grep pdfmark
        /usr/local/share/doc/groff-1.22.2/pdf/pdfmark.pdf
        /usr/local/share/groff/1.22.2/tmac/pdfmark.tmac
$ pkg info -xl groff | grep spdf
        /usr/local/share/groff/1.22.2/tmac/spdf.tmac
$ 

Using groff directly seems to work:

$ /usr/local/bin/groff -Tpdf -ms -mpdfmark z.1 > z.pdf
$ 

Am I using pdfroff wrong?
Or is this some misconfig on my system?

Thank you

Anton

Reply via email to