I want to view manpages as pdf. I tried the following:

man -t awk | ps2pdf - - | zathura (combination of this and the last example in the manpage of ps2pdf)

However, zathura just shows me a black window, as if I did not open any file.

How can I fix this?


Add - as a command line argument to zathura:

man -t awk | ps2pdf - - | zathura -

as the man page says:

zathura displays the given files. If a single hyphen-minus (-) is given
as file name, the content will be read from the standard input.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.