From: "Miguel Alejandro Salgado Zapién" <mikesalzap-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
To: pandoc-discuss <pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
Subject: Pandoc is attempting to execute as binary metadata values with whitespaces on CLI
Date: Mon, 14 Aug 2023 08:29:09 -0700 (PDT) [thread overview]
Message-ID: <9917658e-13d7-402a-ad4b-34cdb9189b7bn@googlegroups.com> (raw)
[-- Attachment #1.1: Type: text/plain, Size: 1693 bytes --]
I'm using Pandoc as a static site build with a Makefile, I recently updated
to .
pandoc 3.1.6.1
Features: +server +lua
Scripting engine: Lua 5.4
And when running this command:
```
pandoc \
-f markdown+footnotes \
-t html5 \
-s \
--template=./template/template.html \
--section-divs \
-C \
--include-before=template/include-before.html \
--include-after=template/include-after.html \
--metadata-file ./metadata.yaml \
--katex \
\
--metadata-file entries/radicale-tricks/metadata.yaml \
\
--metadata=git_date:"2023-01-26T14:39:04-08:00" \
--metadata=git_author:'"Miguel Alejandro Salgado Zapien"' \
--metadata=git_last_commit:8ff2a65ef5613d19f5a67d82df17d93159273582 \
--metadata=git_commit:874cb3b65c9969006c7156d78013f3274b10f587 \
\
-i entries/radicale-tricks/index.md \
-o build/entries/radicale-tricks/index.html
```
I get this output.
```
pandoc: Alejandro: withBinaryFile: does not exist (No such file or
directory)
```
So previously I issued this issue with the date, which was `2023-01-26
14:39:04 -0800`, and it was trying to interpret the `-0` as a flag, and
these two behaviors make me think that there is an issue with the CLI
command parser.
Any ideas on how I can fix this for my CLI script?
Is this an actual issue?
This used to work before my update.
--
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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/9917658e-13d7-402a-ad4b-34cdb9189b7bn%40googlegroups.com.
[-- Attachment #1.2: Type: text/html, Size: 2993 bytes --]
reply other threads:[~2023-08-14 15:29 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=9917658e-13d7-402a-ad4b-34cdb9189b7bn@googlegroups.com \
--to=mikesalzap-re5jqeeqqe8avxtiumwx3w@public.gmane.org \
--cc=pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).