Search code examples
pandochaskell-stackmanpage

Where can I find Pandoc's `man` page, and how do I install it?


I installed a Haskell program on my Mac with the command stack install pandoc, and now I'd like to read about it. When I run man pandoc, I get the message No manual entry for pandoc. which pandoc returns ~/.local/bin/pandoc.

From running man man, I understand that man tries to find a suitable man file by "a sophisticated method of finding manual page files, based on the invocation options and environment variables," but are there standards for how such a file should be delivered, and where you should put it once you have it?


Solution

  • I would use homebrew:

    brew install pandoc
    

    that also installs a man page and (unlike stack) doesn't build from source.

    For further options, see Installing Pandoc.