public inbox archive for pandoc-discuss@googlegroups.com
 help / color / mirror / Atom feed
From: "'William Lupton' via pandoc-discuss" <pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
Subject: Re: How to pass to latexmk options which have a space-separated argument
Date: Mon, 30 Oct 2023 07:45:40 +0000	[thread overview]
Message-ID: <CAEe_xxih=XEY4qYAQn8_TWUf+9tDSQ5SZ7ng=NUcGWAn9n-a-Q@mail.gmail.com> (raw)
In-Reply-To: <4B28A474-F723-477A-8ADB-510FA6D0DDC4-WPTjrydoUPgeaOpM6FAJmQkbCANdLtlA@public.gmane.org>

[-- Attachment #1: Type: text/plain, Size: 1787 bytes --]

I think you need to use multiple options, as in:

pandoc doc.md  -t latex --pdf-engine=latexmk --pdf-engine-opt=-e
--pdf-engine-opt='$max_repeat=1' -o doc.pdf

(I don't use latexmk, but I guess I must have it installed because the
above worked for me. It didn't seem to create an output file, but that's
probably a different problem.)

On Mon, 30 Oct 2023 at 07:32, oliver <news-WPTjrydoUPgeaOpM6FAJmQkbCANdLtlA@public.gmane.org> wrote:

> Hi there
>
> I try to use latexmk with pandoc and I want to pass to latexmk the
> option:-e $max_repeat=1
>
> So I try the following:
>
> pandoc doc.md  -t latex --pdf-engine=latexmk  '--pdf-engine-opt=-e
> $max_repeat=1' -o doc.pdf
>
> But I get from latexmk the error: “Latexmk: -e $max_repeat=1 unknown
> option”
>
> How can I pass to latexmk this option which has an argument separated by
> space?
>
> Thanks for pointers!
> Oliver
>
> --
> 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/4B28A474-F723-477A-8ADB-510FA6D0DDC4%40halloleo.hailmail.net
> .
>

-- 
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/CAEe_xxih%3DXEY4qYAQn8_TWUf%2B9tDSQ5SZ7ng%3DNUcGWAn9n-a-Q%40mail.gmail.com.

[-- Attachment #2: Type: text/html, Size: 2750 bytes --]

  parent reply	other threads:[~2023-10-30  7:45 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-10-26 11:40 Simple documents do multiple LaTeX runs news-WPTjrydoUPgeaOpM6FAJmQkbCANdLtlA
     [not found] ` <f1950468-445b-4886-8b1b-66105bbf7cae-fsFgPW9xikU7lZ9V/NTDHw@public.gmane.org>
2023-10-26 16:29   ` John MacFarlane
     [not found]     ` <E6504425-9F1C-422A-9416-F8E87EC2B769-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2023-10-27  1:44       ` Oliver Baumann
2023-10-30  7:32       ` How to pass to latexmk options which have a space-separated argument oliver
     [not found]         ` <4B28A474-F723-477A-8ADB-510FA6D0DDC4-WPTjrydoUPgeaOpM6FAJmQkbCANdLtlA@public.gmane.org>
2023-10-30  7:45           ` 'William Lupton' via pandoc-discuss [this message]
     [not found]             ` <CAEe_xxih=XEY4qYAQn8_TWUf+9tDSQ5SZ7ng=NUcGWAn9n-a-Q-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2023-10-30 15:21               ` BP Jonsson
2023-10-31 12:14               ` news-WPTjrydoUPgeaOpM6FAJmQkbCANdLtlA
2023-11-03  6:56       ` Oliver
2023-11-03  7:19       ` How to copy all (image) source files of a markdown file into a temp folder Oliver
     [not found]         ` <8DFE8EAF-7206-4EC5-88F8-4A727EEE2631-WPTjrydoUPgeaOpM6FAJmQkbCANdLtlA@public.gmane.org>
2023-11-03  8:11           ` Bastien DUMONT
2023-11-03 12:29             ` oliver
     [not found]               ` <E329D815-20A8-4E88-9A7F-4598736B07D6-WPTjrydoUPgeaOpM6FAJmQkbCANdLtlA@public.gmane.org>
2023-11-03 15:19                 ` Bastien DUMONT
2023-11-06  4:40                   ` oliver
2023-11-03 15:49     ` Simple documents do multiple LaTeX runs Ulrike Fischer
     [not found]       ` <udtggqf79vlx$.dlg-bMiYgyzgJ3Ab1SvskN2V4Q@public.gmane.org>
2023-11-03 17:01         ` John MacFarlane
     [not found]           ` <1B830352-6696-4F37-A61B-6FBD53CB57DE-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2023-11-03 17:43             ` John MacFarlane
     [not found]               ` <4091673D-F656-4EAC-81E4-B0F8F7D5E999-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2023-11-06  4:41                 ` oliver

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='CAEe_xxih=XEY4qYAQn8_TWUf+9tDSQ5SZ7ng=NUcGWAn9n-a-Q@mail.gmail.com' \
    --to=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).