From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/31422 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: William Lupton Newsgroups: gmane.text.pandoc Subject: Re: wkhtmltopdf options Date: Wed, 21 Sep 2022 16:17:26 +0100 Message-ID: References: <90439113-3c05-40bf-8748-6363d4178f76n@googlegroups.com> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="000000000000e2bd5a05e93171e4" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="30734"; mail-complaints-to="usenet@ciao.gmane.io" To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-X-From: pandoc-discuss+bncBCS4HJ6WSAHBBEWWVSMQMGQEMZHTEVI-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Wed Sep 21 17:17:42 2022 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-vk1-f183.google.com ([209.85.221.183]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1ob1Tp-0007q5-Pl for gtp-pandoc-discuss@m.gmane-mx.org; Wed, 21 Sep 2022 17:17:41 +0200 Original-Received: by mail-vk1-f183.google.com with SMTP id v67-20020a1fac46000000b003a2699aa42fsf1901259vke.8 for ; Wed, 21 Sep 2022 08:17:41 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1663773460; cv=pass; d=google.com; s=arc-20160816; b=hQCQEd/4cxOkHn+vqpsnCPoKEtxBBdH+C00DBPdzi8zhKsxIcmrjUA5hC7x9SOcJM0 y86UEwOEsTiDVJFFvTHiHktYFWmipyyDleDjUQq+Wd15Z0GAzZ3+NU0lgBluUHzsWr+p +ywjsD1bI3OPdt4GDCdsFB/SSRjKkmtP2gSvLz1+pllFtw4+NqCVzAX44UQiHqK7k9zq Ro0J3u6RuNGE8WNiCgZc1wZMcUtTGMvD0EeD9TogohcGTS15C7tik+uWRBlLM9fSjn1k 2W1C1F8IA5DFtCIZw5RC/ovJR96uXG5AV3i9OwNJYfAjkHWzrt7g7Cu4w3qQNp1G/qn9 mUvQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:reply-to:to:subject:message-id:date :from:in-reply-to:references:mime-version:sender:dkim-signature; bh=nWaEkOwUZKoYOzfsdnAhjgpd51z/SE4lDaXplErddhU=; b=sV6UYqJID+smLs6AUMpc/iKe+9TsOpvQ7TSjp6BoEBQZdGtSGEDlNAxGOyCH05eXig lN9liYJcmIA9dTF4Yxh8GDD0r236tSKwqa5V/vmNcGclO5mI/WJo9sYTecxRQ8PeUrRM doAq3HCiQ1/E2oiSQyUgSMbcn+sPl9qTKqQXcQn4fh1ltEm/iWQZPaFpDJKq2JPr3IJY USsUFjdrexJMAVUVmxn0uKv8Kx6/8TzHABfRljiQyqEbs8OJaS11O2if6ubCuzlgjsQ6 8gILoDiyLan6gs/W6XutjiuTSDBhDCNuQ81z6IzVD6dN6ofcKWxkRxa3+XlMFntS/xL/ xs5w== ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@broadband-forum-org.20210112.gappssmtp.com header.s=20210112 header.b=RO9Rblc8; spf=pass (google.com: domain of wlupton-QSt+ys/nuMyEUIsrzH9SikB+6BGkLq7r@public.gmane.org designates 2607:f8b0:4864:20::b33 as permitted sender) smtp.mailfrom=wlupton-QSt+ys/nuMyEUIsrzH9SikB+6BGkLq7r@public.gmane.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20210112; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:reply-to :x-original-authentication-results:x-original-sender:to:subject :message-id:date:from:in-reply-to:references:mime-version:sender :from:to:cc:subject:date; bh=nWaEkOwUZKoYOzfsdnAhjgpd51z/SE4lDaXplErddhU=; b=n4+IMNh7GdG9r8o9lHwNMonNRjs4S3RvInOyrjlhb4uw2OPowr2tW1XqhFbrDFiQya OoM8QZbMgYhi6UpOoRQ6YvtNED04p8uVmjYkg0DuScNnCRhp3Smh3FNG/ypL1ot9dRne hwJy6014EaMRgk+5Gi/5RKG786d5/CKfq+IwZ7Tf4GfvD3CaFFRx96SkgqGpjGuVZ76M hkQ+xLWCtkhrM1qNv/cO0CLXQPE+9CBbVA970VD4rDHsIHQb5JXxy3uMGMuk0jt2Zn7o YYh1nDQOSFiDum/GS7soY3pHPdRcD3+cMFwlgJwiMtXDFpZ7uPPoKyBxayY4PnN89OV9 3y8w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :x-spam-checked-in-group:list-id:mailing-list:precedence:reply-to :x-original-authentication-results:x-original-sender:to:subject :message-id:date:from:in-reply-to:references:mime-version :x-gm-message-state:sender:from:to:cc:subject:date; bh=nWaEkOwUZKoYOzfsdnAhjgpd51z/SE4lDaXplErddhU=; b=w7bMmiJJ3qxNj2Hpu8/TK712V0lpQtM6vsg3yaGwiN5h+6n2pKuttAUZGDJHxAgdYq DzqPBxoL5jlsHThHM/GrpIRYmlV7ehFgGmbKWoWSV2kv8Utywt5PTOv9wXIzjloqKERn TymcLwOKTc5+yaNRo2CEEi/oCPMa73myXt0U0lXi6J+L5CpbZobMdsSalQWtK0zWgRG4 M6pPNGRBV4heGfATzDf87dvs85NRBOMQT8bg+g49wvycXo4jltr/iIKS0pnGNvmbgF7e ZtXYIm5i1ArHCuCR2zqRTlIHqtWSBnkP25J1sM3sBzG+LDpKZ4iXndIqRnWDkBa9eSs9 Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: ACrzQf3E109qdK1085ixjVc3lC/xWgu9egs0zpKU48WgZ78a/yujErb+ wWpGyIWEpSJQUdf9s/q68Yg= X-Google-Smtp-Source: AMsMyM4/zkcJ6YrIAJr87tAFz5KrOtMkdra7rUOdxDm4dtUcXoXUsILwU/RjJG/MrT+BXGTbmCl2CQ== X-Received: by 2002:ab0:3c93:0:b0:3c0:b089:1081 with SMTP id a19-20020ab03c93000000b003c0b0891081mr4361336uax.9.1663773460636; Wed, 21 Sep 2022 08:17:40 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a1f:9d0d:0:b0:36c:67d2:5ed6 with SMTP id g13-20020a1f9d0d000000b0036c67d25ed6ls1023728vke.7.-pod-prod-gmail; Wed, 21 Sep 2022 08:17:37 -0700 (PDT) X-Received: by 2002:a1f:4190:0:b0:39e:9013:4246 with SMTP id o138-20020a1f4190000000b0039e90134246mr10544941vka.33.1663773457618; Wed, 21 Sep 2022 08:17:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1663773457; cv=none; d=google.com; s=arc-20160816; b=iqVLr9tmiM+5GLV4JvWemiQzVzH7Ee84R7PFfaq9PGfNgeCxz+OncR4odhBEKgNx6V jQDWdLwOz1Qel2ZHs72bjN7U9ZIOam2oGkwTQUAcRIkLTes/81/d655cnpK7u3KVPRmI YWNkjF/mJl8TaE40nNoExKTfOnOoDfIbPFmBSCTggoPLGKFRHinIsZIzqBiAH3C89ZzT Jk+B1JVxiAUQnaw9Yp94ov4w4CJxoi7hr82h7aNQqD7w6c5P1397NQQRV6X4C6Ps5zQn 8xnyNVoUYylUFRDohQhfa1ug5N4sFHKbT9PI5JMFBfMN0nMzvZX7Iv0WlCW9mF/zLOlT Ji5g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=doE7ODlatzJ5Ta5mCkjUlxRqgLB5gX+xCoQK4lPvJZs=; b=sMCMBbrmed81Y7s+NAfvWrSsStddFE2kSTqne9RcNwFTKY/pl41s7L4aPTyqUpKLdt BwKEsHNLmouO2g+QeTyl+TG3iQCoKzhhG2/k7jjjrHeDo4gUtWqsWqUGan0x7PMcGVsu uvgy4F1A6HDdl7D2pOMw/rEP3Adwn+xbIsIxmJ2J4Xn3aDh4Y6XZnMh9M14Eesjxzx2q 0H3XQaTKZBoG3qBAdL4030o6zrnE+vCWWIEduBWGvbtZ3z88bFYwIaOj9QPAwPwOULwn e1ZzxiVuSWIhvxl21lQbyCO6w7HkkFZtvHQELGkBC0PBax+bpGfKfolnFpmDmcJoAjGc 5akw== ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@broadband-forum-org.20210112.gappssmtp.com header.s=20210112 header.b=RO9Rblc8; spf=pass (google.com: domain of wlupton-QSt+ys/nuMyEUIsrzH9SikB+6BGkLq7r@public.gmane.org designates 2607:f8b0:4864:20::b33 as permitted sender) smtp.mailfrom=wlupton-QSt+ys/nuMyEUIsrzH9SikB+6BGkLq7r@public.gmane.org Original-Received: from mail-yb1-xb33.google.com (mail-yb1-xb33.google.com. [2607:f8b0:4864:20::b33]) by gmr-mx.google.com with ESMTPS id j23-20020a67fa57000000b003980b6c8861si104045vsq.2.2022.09.21.08.17.37 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 21 Sep 2022 08:17:37 -0700 (PDT) Received-SPF: pass (google.com: domain of wlupton-QSt+ys/nuMyEUIsrzH9SikB+6BGkLq7r@public.gmane.org designates 2607:f8b0:4864:20::b33 as permitted sender) client-ip=2607:f8b0:4864:20::b33; Original-Received: by mail-yb1-xb33.google.com with SMTP id 198so8584484ybc.1 for ; Wed, 21 Sep 2022 08:17:37 -0700 (PDT) X-Received: by 2002:a25:e746:0:b0:6b3:a997:ae59 with SMTP id e67-20020a25e746000000b006b3a997ae59mr18680676ybh.443.1663773456900; Wed, 21 Sep 2022 08:17:36 -0700 (PDT) In-Reply-To: <90439113-3c05-40bf-8748-6363d4178f76n-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> X-Original-Sender: wlupton-QSt+ys/nuMyEUIsrzH9SikB+6BGkLq7r@public.gmane.org X-Original-Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@broadband-forum-org.20210112.gappssmtp.com header.s=20210112 header.b=RO9Rblc8; spf=pass (google.com: domain of wlupton-QSt+ys/nuMyEUIsrzH9SikB+6BGkLq7r@public.gmane.org designates 2607:f8b0:4864:20::b33 as permitted sender) smtp.mailfrom=wlupton-QSt+ys/nuMyEUIsrzH9SikB+6BGkLq7r@public.gmane.org Precedence: list Mailing-list: list pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org; contact pandoc-discuss+owners-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org List-ID: X-Google-Group-Id: 1007024079513 List-Post: , List-Help: , List-Archive: , List-Unsubscribe: , Xref: news.gmane.io gmane.text.pandoc:31422 Archived-At: --000000000000e2bd5a05e93171e4 Content-Type: text/plain; charset="UTF-8" I think you have to use a separate --pdf-engine-opt for each word, e.g., this works for me on my Mac: pandoc -o simple.pdf --pdf-engine wkhtmltopdf simple.md --pdf-engine-opt=--footer-center --pdf-engine-opt=[page] PS, You might hope that this would work, but I guess wkhtmltopdf doesn't support equals signs between the option name and its value. pandoc -o simple.pdf --pdf-engine wkhtmltopdf simple.md --pdf-engine-opt=--footer-center=[page] On Wed, 21 Sept 2022 at 15:55, jlr...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org wrote: > Hello! > > I'd like to print the page number on the PDF pages when processing with > wkthmltopdf. I tried the command line > > pandoc -o filename.pdf --pdf-engine wkhtmltopdf -c pandoc.css > filename.md --pdf-engine-opt=--footer-center [page] > > on Win10 cmd line, without success. How do I pass options to the > wkhtmltopdf engine? > > Cheers! > > > -- > 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/90439113-3c05-40bf-8748-6363d4178f76n%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/CAEe_xxjr6GO3hwffXP%3D_0%3DidFOETtW4O0CicKiQXB0t-ZzNMrA%40mail.gmail.com. --000000000000e2bd5a05e93171e4 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
I think you have to use a separate --pdf-engine-opt for ea= ch word, e.g., this works for me on my Mac:

pandoc -o si= mple.pdf --pdf-engine wkhtmltopdf simple.md --pdf-engine-opt=3D--footer-cen= ter --pdf-engine-opt=3D[page]

PS, You might ho= pe that this would work, but I guess wkhtmltopdf doesn't support equals= signs between the option name and its value.

pand= oc -o simple.pdf --pdf-engine wkhtmltopdf simple.md --pdf-engine-opt=3D--fo= oter-center=3D[page]

Hello!

I'd like to print the= page number on the PDF pages when processing with wkthmltopdf. I tried the= command line

=C2=A0 pandoc -o filename.pdf --pdf-= engine wkhtmltopdf -c pandoc.css filename.md --pdf-engine-opt=3D--footer-ce= nter [page]

on Win10 cmd line, without success. Ho= w do I pass options to the wkhtmltopdf engine?

Che= ers!


--
You received this message because you are subscribed to the Google Groups &= quot;pandoc-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an e= mail to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To view this discussion on the web visit https= ://groups.google.com/d/msgid/pandoc-discuss/90439113-3c05-40bf-8748-6363d41= 78f76n%40googlegroups.com.

--
You received this message because you are subscribed to the Google Groups &= quot;pandoc-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an e= mail to pand= oc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To view this discussion on the web visit https://gro= ups.google.com/d/msgid/pandoc-discuss/CAEe_xxjr6GO3hwffXP%3D_0%3DidFOETtW4O= 0CicKiQXB0t-ZzNMrA%40mail.gmail.com.
--000000000000e2bd5a05e93171e4--