From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/33044 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: "'William Lupton' via pandoc-discuss" Newsgroups: gmane.text.pandoc Subject: Re: pandoc-include filter Date: Fri, 11 Aug 2023 10:45:39 +0100 Message-ID: References: <7de5029a-c8b8-4f17-bf76-fdf1abd522b0n@googlegroups.com> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="000000000000fd0b630602a2935d" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="9950"; mail-complaints-to="usenet@ciao.gmane.io" To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-X-From: pandoc-discuss+bncBCS4HJ6WSAHBBUMG3CTAMGQEA5VHM2A-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Fri Aug 11 11:46:00 2023 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-lj1-f184.google.com ([209.85.208.184]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1qUOiU-0002JT-Um for gtp-pandoc-discuss@m.gmane-mx.org; Fri, 11 Aug 2023 11:45:58 +0200 Original-Received: by mail-lj1-f184.google.com with SMTP id 38308e7fff4ca-2b6ff15946fsf19520621fa.2 for ; Fri, 11 Aug 2023 02:45:58 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1691747158; cv=pass; d=google.com; s=arc-20160816; b=mu4Yv9NbKiDsYDgeQsbPNyX/ZkWxmCjjLj/ngPHpVFwCKJdz9/+hRdXYimlWmALF0P WdCgLUOvB28+R4DJacciWcx7LWyIwdqdwTl34nbY8HjElcJPsvvpZ7HfXRLaIVq81nsk Q/9r1spGiN1yl5kHysR1eqn2IwUon7FAcF3G+pLH0UH9ixVCHEgqU+SQBdt2wg6lC5cq FGLgTeCOscURf57cHJZtTiEezdkXnbXpjbQIAJFJPv33EBX9ivzAncxlXmcsyUDK8DFN e8D0VrZGd4MSWpBSGdKbCuuPWcggNB6lc1QaY2uitUQcNyGs+eZOwg4XIS1CHbUgY7Br NpJw== 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:dkim-signature; bh=znQutIdAc1nETqIvmrxJi+A0yufz7+HtqY2FYmTd0Bo=; fh=qJmsSccMvP84+2UNRX8q/vpYH8nRtRt8EIzTbS8P9qg=; b=vjGi0jP3DL17A0PlsZ4Gd4enx9yHHuDvBcowH3A3ljIJQcOstV21jGtmVzNUjveg8R 7u1g+qu2DY9qrwNBFK9cjAWH3oytCgdjJaA3cuBE6APcMMNPsYQUCNo52eYjI7Oj3Lvb RhRU6OzBso4geSx4I1qKfU5fQGTHS8v2w8svQ2aVIjZPra34ZbkDRWweRmNsvuX10xo1 or17GvYSf4c0UnXM3Gh0dUjBx5iEHcOcOohoAaQenU2Y3OkxludUd7Cz9yzV1bMQ8j5Y k6FvANCxkpym+UiNnLMx3CSZVn1Q3XeQ1D+AZkUx1H8NWBFVxqw+a95s3iBjIIG01r96 +zzg== ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@broadband-forum.org header.s=google header.b=Nzqw2LIZ; spf=pass (google.com: domain of wlupton-QSt+ys/nuMyEUIsrzH9SikB+6BGkLq7r@public.gmane.org designates 2a00:1450:4864:20::636 as permitted sender) smtp.mailfrom=wlupton-QSt+ys/nuMyEUIsrzH9SikB+6BGkLq7r@public.gmane.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=broadband-forum.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20221208; t=1691747158; x=1692351958; 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:from:to:cc :subject:date:message-id:reply-to; bh=znQutIdAc1nETqIvmrxJi+A0yufz7+HtqY2FYmTd0Bo=; b=dcHMCguxC7xyh/GUDnuXPzbJwdBYWLWRaQwnZMioJWfuEm+/LzN8TfPsapC+8I6myu ud3PeQ5oklFgK+BzAFQ/4DqLI3AWK7VQnLc4YdOqx2vqi6MLBtvXvA8WSAwkOFVxRPMr uiBA3NWsavBLqBwrVl+r2lsA1oCRDUq8X+8DokiwlSyAkR64bOiEY4VlNx5tHJL8gzWT r3A7TgB7mrhn0SR57QY/AEwNaNo51D2GrV/NH0ui9BRST8t5mkxncTqpd32Y5dS685Td g88E0MZVi4Cf4f7007UmX16siOrCYA+KbYO1eVRtVYboEIVgEclW4BXl/LVxvrfVwFhi ia X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1691747158; x=1692351958; 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-beenthere:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=znQutIdAc1nETqIvmrxJi+A0yufz7+HtqY2FYmTd0Bo=; b=I3k5vPNkw+yeTOt4sQ9Iok5nBfos6sYOt3fVawq4yKNDGWcYm48eds4MDI7a2RHEq4 t8m2FYxS1RerzOdVbj/GgoXoqJWKH1z2ZE/ASq7bgoEPSbCiz6BRmDeqcYLMSE7817sJ KcNa2ri/+0/y1QcgVZ8vMKB4HRBKESRuzlu00r9PaKYcHNe2Xwr1vyx40ofL4MxM/AlZ o23+XxrMcY47ryETz7Sw/akicOCLowCEhB5B3fPOzOJN6p37+WkE3QdzgC0l5KdvvevJ B55vIpMVbEIa/ X-Gm-Message-State: AOJu0YyiaE1dnd/ysaKVf1M90iKGpR+X8nkzrvDpzX7dnQd7nRC7sEUw AENN1RYpLiEbSlnMiC5aBCE= X-Google-Smtp-Source: AGHT+IGuXevPU2mmdirjhU4EKWivqWjJuJrKWoIAEFAfATY6chVoWPAqIf5MBRf/A41KETx1F4PfFw== X-Received: by 2002:a2e:9d88:0:b0:2ba:5ca7:2311 with SMTP id c8-20020a2e9d88000000b002ba5ca72311mr1288536ljj.41.1691747157436; Fri, 11 Aug 2023 02:45:57 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a2e:a269:0:b0:2b6:ba32:c977 with SMTP id k9-20020a2ea269000000b002b6ba32c977ls1031800ljm.2.-pod-prod-03-eu; Fri, 11 Aug 2023 02:45:52 -0700 (PDT) X-Received: by 2002:ac2:4c2a:0:b0:4fb:99c7:bb60 with SMTP id u10-20020ac24c2a000000b004fb99c7bb60mr812635lfq.59.1691747151824; Fri, 11 Aug 2023 02:45:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1691747151; cv=none; d=google.com; s=arc-20160816; b=SwSrMVvdvN8E9kmlSLK7e9nNnmLSTa/EYBbTCX/4FQqpoB+ZF8MblAQyxGR8J3l2vJ KpDcnrmIQb8StnSu478aKHLHDnqukyoVOHwm4zEAJHABZ4VP6Mk3uYHXzZrqBLzlV61E fkRDlHQsl/nF5VErhOV2NrfU0PeuD7ht14xXekz3y4lsRilbdCIp6J2wDdvE77AT6T0e 6DTSnfET1oYnB4z2PLqfLL8HsIKgqfuB7TgXIM94Muh0J5cXJBQO3njDdPMG6sa9CsaE Nct4hQiNf4vP33IV1XhRV1KoZHLSQfBsgkPsjvW7MlUv1R7Ux7vKwD98QhqplD3BRHKt PbmQ== 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=DC1mlQD1vyvJwJT5j6ggeXhlDO1SJuQznRRr0HZEUmI=; fh=JyGgpuKdcZS0s4/2AUuqQC96oyYQ9WoOW+YyK1eWgPc=; b=CNtEgttLwKpZLc4FLISH6wyaYOwRgr74LoYhCk+usmkJ2vciRGBN6kUTO+U5jQd7Y0 tyVVPJ85ZZBUkaoYovc57gJUperxqjXCVXCLNcWa8swnOkK0j1d1fqZrc1XpnPr17Kbh YIvnJ8HLbEZCjFxAWbafVl41S19rW9Z2DUUnKGz3mXfmWFRifwKIAHyGqvk66hA7hlPm lJG7fx6yLNTCXhlHO9iglE7Q/GRy8swqitreuaPNF5wXd2mbynb5I5e1Ae2gtXgZnO+X 2bPA25b4Hd7JQu3OTpCJ/RDMKWJt8IOg0T6caNXXC5947CIKPszr4TDSLyyGDduvykfz 1e0g== ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@broadband-forum.org header.s=google header.b=Nzqw2LIZ; spf=pass (google.com: domain of wlupton-QSt+ys/nuMyEUIsrzH9SikB+6BGkLq7r@public.gmane.org designates 2a00:1450:4864:20::636 as permitted sender) smtp.mailfrom=wlupton-QSt+ys/nuMyEUIsrzH9SikB+6BGkLq7r@public.gmane.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=broadband-forum.org Original-Received: from mail-ej1-x636.google.com (mail-ej1-x636.google.com. [2a00:1450:4864:20::636]) by gmr-mx.google.com with ESMTPS id t31-20020a056402241f00b0051fe05f750asi324098eda.2.2023.08.11.02.45.51 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 11 Aug 2023 02:45:51 -0700 (PDT) Received-SPF: pass (google.com: domain of wlupton-QSt+ys/nuMyEUIsrzH9SikB+6BGkLq7r@public.gmane.org designates 2a00:1450:4864:20::636 as permitted sender) client-ip=2a00:1450:4864:20::636; Original-Received: by mail-ej1-x636.google.com with SMTP id a640c23a62f3a-99bf8e5ab39so254417566b.2 for ; Fri, 11 Aug 2023 02:45:51 -0700 (PDT) X-Received: by 2002:a17:906:5a4b:b0:99b:b867:4972 with SMTP id my11-20020a1709065a4b00b0099bb8674972mr1315369ejc.35.1691747151048; Fri, 11 Aug 2023 02:45:51 -0700 (PDT) In-Reply-To: <7de5029a-c8b8-4f17-bf76-fdf1abd522b0n-/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 header.s=google header.b=Nzqw2LIZ; spf=pass (google.com: domain of wlupton-QSt+ys/nuMyEUIsrzH9SikB+6BGkLq7r@public.gmane.org designates 2a00:1450:4864:20::636 as permitted sender) smtp.mailfrom=wlupton-QSt+ys/nuMyEUIsrzH9SikB+6BGkLq7r@public.gmane.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=broadband-forum.org X-Original-From: William Lupton 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:33044 Archived-At: --000000000000fd0b630602a2935d Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Try removing the '--': filters: - pandoc-include But you should have got an error, so I'm wondering whether you were successfully including the defaults file (note that, unless you've set your data directory to $HOME, it won't be searched for in $HOME/defaults). For testing, I suggest putting it in the current directory. On Fri, 11 Aug 2023 at 09:51, Guido Milanese wrote: > I have successfully installed pandoc-include ( > https://pypi.org/project/pandoc-include/) and I run it calling the filter > as usual: > > pandoc =E2=80=94filter=3Dpandoc-include test.md -o test.pdf > > The filter is a python=E2=80=94panflute filter. > > The pandoc-include documentation suggests to add this item to the documen= t > header: > > pandoc-options: > - --filter=3Dpandoc-include > > but it seems ineffective, since an explicit call of the filter in the > command line is necessary. > > I also added to ${HOME}/defaults/defaults file this line: > > filters: > - --pandoc-include > > but again nothing happens. > I=E2=80=99m sure I=E2=80=99m missing some basic step, and I am grateful i= n advance for > your kind help. > > guido (northern Italy) > Disclaimer: I have already asked the same question in the pandoc-include > discussione group. > > -- > 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/7de5029a-c8b8-4f17-bf76-= fdf1abd522b0n%40googlegroups.com > > . > --=20 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 e= mail 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_xxj%3Dp_V2ikAMXaq1bu-xFjMHUzAvdm1-2SuAg33UM8LmSA%40mail= .gmail.com. --000000000000fd0b630602a2935d Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Try removing the '--':

filters:=
=C2=A0 -=C2=A0 pandoc-include

But you shou= ld have got an error, so I'm wondering whether you were successfully in= cluding the defaults file (note that, unless you've set your data direc= tory to $HOME, it won't be searched for in $HOME/defaults). For testing= , I suggest putting it in the current directory.

On Fri, 11 Aug 2023 = at 09:51, Guido Milanese <gu= ido.milanese-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:

I have successfully= installed pandoc-include (https://pypi.org/project/pandoc-include/) and I = run it calling the filter as usual:

pan= doc =E2=80=94filter=3Dpandoc-include test.md -o test.pdf

The filter is a python=E2=80=94panflute f= ilter.

The pandoc-include documentation suggests= to add this item to the document header:

pandoc-options:
=C2=A0 - --filter=3Dpa= ndoc-include

but it seems ineffective, since an ex= plicit call of the filter in the command line is necessary.

I also added to ${HOME}/defaults/defaults= file this line:

filters:
=C2=A0 -=C2=A0 --pandoc-inclu= de

but again nothing happens.
I=E2=80=99m= sure I=E2=80=99m missing some basic step, and I am grateful in advance for= your kind help.

guido (northern Italy)
Disclaimer: I h= ave already asked the same question in the pandoc-include discussione group= .

--
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/7de5029a-c8b8-4f17-bf76-fdf1abd= 522b0n%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://group= s.google.com/d/msgid/pandoc-discuss/CAEe_xxj%3Dp_V2ikAMXaq1bu-xFjMHUzAvdm1-= 2SuAg33UM8LmSA%40mail.gmail.com.
--000000000000fd0b630602a2935d--