The `pandoc_wrapper` is a script that calls pandoc with the appropriate parameters for the document formatting I want to do. It takes a source file and a destination directory as parameters; it automatically creates the destination name based on the source file name and the destination directory.
The `inotifywait` program is from the `inotify-tools` package in Ubuntu.