If you give the filename `pandoc-word-pagebreak`, pandoc will expect the filter to be an executable in the PATH with just that name.  So, if you just have `pandoc-word-pagebreak.hs` in your working directory, that won't work.

Try either `--filter pandoc-word-pagebreak.hs` compile the filter (`ghc --make pandoc-word-pagebreak`) and use `--filter ./pandoc-word-pagebreak`.

Oh, you can test on the command line:

    pandoc --filter ./pandoc-word-pagebreak input.md -o output.docx


--
You received this message because you are subscribed to the Google Groups "pandoc-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To post to this group, send email to pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/253add6a-b873-4a1c-ad97-3dadf4c7ed1f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.