You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What you are seeing is not a pandoc problem, but caused by the way you are interacting with the pandoc docker image: when calling docker, the first argument is expected to be the executable to run in the container. Usually, that will be pandoc, but could also be bash etc. However, we try to detect if no executable was given, in which case pandoc is assumed. This detection works best if the first argument is an option, but seems to have failed in your case.
You could raise an issue on pandoc/dockerfiles if you believe the auto detection could be improved.
The manual, under the section Creating a PDF states:
AFAICT the arguments are in the wrong order; the input file has to follow all other arguments.
I stumbled on this because I kept on getting
Unexpected newline
when doing something similar in a GitHub Action.The text was updated successfully, but these errors were encountered: