On Tue 16 Jun 2015 11:47:27 Peng Yu wrote: > 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
Does the pdf /tmp/ls.pdf look alright in the viewer. The warnings you are seeing are to do with the pdf overview pane where you can click on different sections to jump to that section, it should not affect the rest of the pdf. You can suppress all warnings with ./pdfman < $(man -w ls) | groff -Tpdf -mandoc 2>/dev/null > /tmp/ls.pdf