On Tue, Jun 16, 2015 at 9:51 AM, Dale Snell <ddsn...@frontier.com> wrote: > On Mon, 15 Jun 2015 10:20:16 -0500, in message > CABrM6wk=CwdfeHVE0YfvdEUSrJ5tA67Y4iUWQ=lcbvfsm_3...@mail.gmail.com, > Peng Yu wrote: > >> > pdfman < $(man -w ls) | groff -Tpdf -mandoc -c > /tmp/ls.pdf >> >> I got this error. Do you know what is wrong? >> >> groff: can't find `DESC' file >> groff:fatal error: invalid device `pdf' > > It looks to me like the directory > > /usr/{share,local/share}/groff/current/font/devpdf
I am on Mac. I have installed groff using homebrew. $ ls -lgo $(type -P groff) lrwxr-xr-x 1 32 Jun 16 11:08 /usr/local/bin/groff -> ../Cellar/groff/1.22.3/bin/groff Now, I see the following error. What do they mean and how to fix them? Thanks. $ ./pdfman < $(man -w ls) | groff -Tpdf -mandoc -c > /tmp/ls.pdf <standard input>:6: can't transparently output node at top level <standard input>:9: can't transparently output node at top level <standard input>:13: can't transparently output node at top level <standard input>:21: can't transparently output node at top level <standard input>:25: can't transparently output node at top level <standard input>:29: can't transparently output node at top level <standard input>:33: can't transparently output node at top level <standard input>:37: can't transparently output node at top level <standard input>:43: can't transparently output node at top level <standard input>:47: can't transparently output node at top level <standard input>:54: can't transparently output node at top level <standard input>:58: can't transparently output node at top level <standard input>:63: can't transparently output node at top level <standard input>:67: can't transparently output node at top level <standard input>:71: can't transparently output node at top level <standard input>:75: can't transparently output node at top level <standard input>:79: can't transparently output node at top level <standard input>:83: can't transparently output node at top level <standard input>:88: can't transparently output node at top level <standard input>:92: can't transparently output node at top level <standard input>:96: can't transparently output node at top level <standard input>:103: can't transparently output node at top level <standard input>:107: can't transparently output node at top level <standard input>:112: can't transparently output node at top level <standard input>:116: can't transparently output node at top level <standard input>:120: can't transparently output node at top level <standard input>:126: can't transparently output node at top level <standard input>:131: can't transparently output node at top level <standard input>:137: can't transparently output node at top level <standard input>:141: can't transparently output node at top level <standard input>:145: can't transparently output node at top level <standard input>:149: can't transparently output node at top level <standard input>:153: can't transparently output node at top level <standard input>:159: can't transparently output node at top level <standard input>:163: can't transparently output node at top level <standard input>:167: can't transparently output node at top level <standard input>:172: can't transparently output node at top level <standard input>:176: can't transparently output node at top level <standard input>:180: can't transparently output node at top level <standard input>:184: can't transparently output node at top level <standard input>:189: can't transparently output node at top level <standard input>:193: can't transparently output node at top level <standard input>:198: can't transparently output node at top level <standard input>:202: can't transparently output node at top level <standard input>:206: can't transparently output node at top level <standard input>:210: can't transparently output node at top level <standard input>:214: can't transparently output node at top level <standard input>:219: can't transparently output node at top level <standard input>:226: can't transparently output node at top level <standard input>:236: can't transparently output node at top level <standard input>:240: can't transparently output node at top level <standard input>:244: can't transparently output node at top level <standard input>:250: can't transparently output node at top level <standard input>:254: can't transparently output node at top level <standard input>:258: can't transparently output node at top level <standard input>:262: can't transparently output node at top level <standard input>:266: can't transparently output node at top level <standard input>:270: can't transparently output node at top level <standard input>:274: can't transparently output node at top level <standard input>:278: can't transparently output node at top level <standard input>:282: can't transparently output node at top level <standard input>:294: can't transparently output node at top level <standard input>:296: can't transparently output node at top level <standard input>:300: can't transparently output node at top level <standard input>:304: can't transparently output node at top level <standard input>:313: can't transparently output node at top level <standard input>:316: can't transparently output node at top level <standard input>:324: can't transparently output node at top level > couldn't be found. Some Linux distributions by default include > only a very cut-down groff installation, useful only for > generating man pages for terminal use. For general-purpose use, > the entire set of groff packages has to be installed manually. > > If you're using a Red Hat system of some sort, it's fairly easy to > determine how much of groff you've got: > > $ yum list installed groff\* > > If that command returns only something like: > > groff-base.x86_64 1.22.2-11.fc21 > > then all you've got is the minimal, man-page-only installation. > If you've got the entire thing, you should see: > > groff.x86_64 1.22.2-11.fc21 > groff-base.x86_64 1.22.2-11.fc21 > groff-doc.noarch 1.22.2-11.fc21 > groff-perl.x86_64 1.22.2-11.fc21 > groff-x11.x86_64 1.22.2-11.fc21 > > (Note that these packages are from my 64-bit Fedora 21 system. > Hence the ".x86_64" and ".fc21" fields.) > > If you're running a Debian-based system, synaptic or apt can give > you the same information. I don't know how to use them, though, > so I can't provide any examples. > > Of course, if you've built your groff directly from sources, you > can ignore most of what I wrote above. Except for the part about > the devpdf directory being missing. That looks to be your > immediate problem. > > Anyway, I hope this helps. > > --Dale > > -- > The question of whether computers can think is just like the > question of whether submarines can swim. > -- Edsger W. Dijkstra -- Regards, Peng