* File containing command-line arguments @ 2021-06-01 4:28 Louis Turk [not found] ` <e39bc5df-321d-4953-bcf5-975ee04b8a17n-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> 0 siblings, 1 reply; 3+ messages in thread From: Louis Turk @ 2021-06-01 4:28 UTC (permalink / raw) To: pandoc-discuss [-- Attachment #1.1: Type: text/plain, Size: 741 bytes --] I have over 60 books with most of the pandoc command-line arguments the same. Is it possible to put those command-line arguments in a file to be called from the command line? If yes, does someone have a sample file they will share? I've tried putting them in a file called with the -d argument, but get "Expected a mapping". -- 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/e39bc5df-321d-4953-bcf5-975ee04b8a17n%40googlegroups.com. [-- Attachment #1.2: Type: text/html, Size: 1031 bytes --] ^ permalink raw reply [flat|nested] 3+ messages in thread
[parent not found: <e39bc5df-321d-4953-bcf5-975ee04b8a17n-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>]
* Re: File containing command-line arguments [not found] ` <e39bc5df-321d-4953-bcf5-975ee04b8a17n-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> @ 2021-06-01 7:52 ` Bastien DUMONT 2021-06-01 8:23 ` BPJ 0 siblings, 1 reply; 3+ messages in thread From: Bastien DUMONT @ 2021-06-01 7:52 UTC (permalink / raw) To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw A Makefile could be the solution. Have a look here: https://blog.scottlowe.org/2017/05/08/using-makefile-with-markdown-documents/ Le Monday 31 May 2021 à 09:28:48PM, Louis Turk a écrit : > I have over 60 books with most of the pandoc command-line arguments the same. > Is it possible to put those command-line arguments in a file to be called from > the command line? If yes, does someone have a sample file they will share? I've > tried putting them in a file called with the -d argument, but get "Expected a > mapping". > > -- > 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/e39bc5df-321d-4953-bcf5-975ee04b8a17n%40googlegroups.com. -- 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/YLXnLTrw65zEMbZ1%40localhost. ^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: File containing command-line arguments 2021-06-01 7:52 ` Bastien DUMONT @ 2021-06-01 8:23 ` BPJ 0 siblings, 0 replies; 3+ messages in thread From: BPJ @ 2021-06-01 8:23 UTC (permalink / raw) To: pandoc-discuss [-- Attachment #1: Type: text/plain, Size: 2081 bytes --] Or a defaults file — will work out of the box on Windows too. https://pandoc.org/MANUAL.html#default-files Den tis 1 juni 2021 09:53Bastien DUMONT <bastien.dumont-VwIFZPTo/vqsTnJN9+BGXg@public.gmane.org> skrev: > A Makefile could be the solution. Have a look here: > https://blog.scottlowe.org/2017/05/08/using-makefile-with-markdown-documents/ > > Le Monday 31 May 2021 à 09:28:48PM, Louis Turk a écrit : > > I have over 60 books with most of the pandoc command-line arguments the > same. > > Is it possible to put those command-line arguments in a file to be > called from > > the command line? If yes, does someone have a sample file they will > share? I've > > tried putting them in a file called with the -d argument, but get > "Expected a > > mapping". > > > > -- > > 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/e39bc5df-321d-4953-bcf5-975ee04b8a17n%40googlegroups.com. > > -- > 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/YLXnLTrw65zEMbZ1%40localhost > . > -- 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/CADAJKhDq2soVUFhb199ihMFBp9a-fDPNjUBVj5F-fq4pvCDzgQ%40mail.gmail.com. [-- Attachment #2: Type: text/html, Size: 3485 bytes --] ^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2021-06-01 8:23 UTC | newest] Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2021-06-01 4:28 File containing command-line arguments Louis Turk [not found] ` <e39bc5df-321d-4953-bcf5-975ee04b8a17n-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> 2021-06-01 7:52 ` Bastien DUMONT 2021-06-01 8:23 ` BPJ
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).