On 26/10/15 04:28, Koz Ross wrote: > I've just discovered groff, and am quite impressed! However, for some > reason, I'm having an odd issue. I have a folder called 'src' where I > plan to store chapters of my book, and I want to add it to the search > path for stuff to include into the final document. I give groff the > following command to format: > > groff -b -Ffont -Isrc -Mmacro -ms -U -wall -dpaper=a4 -Tpdf \ > a-stranger-world.ms > a-stranger-world.pdf > > However, when I do this, groff gives the following warnings: > > Unknown option: I > Unknown option: r > Unknown option: c > > Have I done something wrong, and if so, what?
Reproduced here ... looks like another bug in -Tpdf. It doesn't seem to be reproduced with (a simplified form of): pdfroff -b -Ffont -Isrc -Mmacro -mspdf -U -wall -dpaper=a4 \ -P-pa4 a-stranger-world.ms > a-stranger-world.pdf Note the use of -mspdf rather than bare -ms, to pull in the pdfmark extensions for ms; you may also need to add --no-toc-relocation, if you aren't using .TC, otherwise you'll likely get your document "printed" twice in the resultant .pdf output file.