From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/27470 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Peter Newsgroups: gmane.text.pandoc Subject: Lua filter applied to a specific input file Date: Thu, 14 Jan 2021 13:18:39 -0800 (PST) Message-ID: Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_1534_1465366258.1610659119028" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="5117"; mail-complaints-to="usenet@ciao.gmane.io" To: pandoc-discuss Original-X-From: pandoc-discuss+bncBCUL3CX4YUARBMHKQKAAMGQEASVGSBI-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Thu Jan 14 22:18:43 2021 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-ot1-f60.google.com ([209.85.210.60]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1l0A0w-0001Cf-Dx for gtp-pandoc-discuss@m.gmane-mx.org; Thu, 14 Jan 2021 22:18:42 +0100 Original-Received: by mail-ot1-f60.google.com with SMTP id z51sf2182975otb.2 for ; Thu, 14 Jan 2021 13:18:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20161025; h=sender:date:from:to:message-id:subject:mime-version :x-original-sender:reply-to:precedence:mailing-list:list-id :list-post:list-help:list-archive:list-subscribe:list-unsubscribe; bh=Lz9fA88LH29IVH203HprirQoJojwpxXfGjY9rmmjOck=; b=LK6U+TmK83tSrPoCMQDGxWCeSGoicZSwoK/trrAH5Hyk6zIGl1w6HeEAM7a3XPnnbT 23Ho4P4gVhU/1ElrNjUcxfqAwycJPTYDJFy+uqqTVXToeDvGCBpa+DMhJUanYJrBk698 O4dNRQ34LNp7GzjmiejclXOK9xSj7DxrwC/nuyl2TU8l7tl0Ji7gCk9EgReuQ8q/MisA gpWfdDUAfcLGoX8r/weG0cte4zFnYmGmtraz+tXbvsj2disaHx2r4qHqThYfWNKaVO6c PyfTD2v/gdJJKK4kNed5az7in98rmn+FU/16iwpRfafzclIkos9UZg2dgLBgmgJSjbz5 afKw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:message-id:subject:mime-version:x-original-sender :reply-to:precedence:mailing-list:list-id:list-post:list-help :list-archive:list-subscribe:list-unsubscribe; bh=Lz9fA88LH29IVH203HprirQoJojwpxXfGjY9rmmjOck=; b=J6P1alOsRtDQ9Yc/9YmR18xLGOCrhlffy2/bYFMND0GRqZlmbr/d00pQGEr4jKFe0o C4vvRrF1csTtNxVSqYe4xvOb2yoszcu1gk2KzC/mAYUPaCSztCz6ivTyPjlUYXuqpsAB Jgwlh4o0NTYebPXDrtSuY2dyK/pHDee28w+kWI1tmIitjlvXMgWBWAZWlZM9PcLQlq8m 5gLL54TgSPSodkdYZc3drgLEVYHiTdnvIkr77bSUtPDChfaBQlCHTuv6beRfEaRmhqJI ePO9wByYMqpJswktcbbIJj+m8KsWowCZQQGk4XzdnRi09/3WgjDAM6W8/YSx8iPV4hOL I93w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=sender:x-gm-message-state:date:from:to:message-id:subject :mime-version:x-original-sender:reply-to:precedence:mailing-list :list-id:x-spam-checked-in-group:list-post:list-help:list-archive :list-subscribe:list-unsubscribe; bh=Lz9fA88LH29IVH203HprirQoJojwpxXfGjY9rmmjOck=; b=UwDpJoadGrDFH+mYI3kyq0R/Aair/vDFwhjI1mUH+MQhreaTsIWgEr7HF/TIBo9IO7 TuJ6aZjiEU8aBq6LLU41ZiwwAf3MPoDqARW5OMw5MmessPYZL1qLdyiog26q/ylrwASs Q50TIbdVQ5AeM5oo5oCRFRVWT4Tn+UKYh+kvb3/yy7DycN4Aq6gPQhfLuZAla78gwDqA L9b7RpZC/7tudzH+kvV3uMK3Xy5WmBQ1JqUtkjrPFC5JjqdVeKMzG4sR6PEP9NEdowMO 6aZeaQmTt3QhcljsaAsV2InR1g0aN3ydBBgcjyhLXTBpWfSGHxrcYIX2zcJIXDfMO9R9 wRdw== Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AOAM533vkpp0DBtIz70ZJi94g/OyGb6cOPBEx0W//JpXtBpbydaNBVoz bRHPocQMhxFdrYxjEP+KbUM= X-Google-Smtp-Source: ABdhPJx/1BkkWxkjy+pF8uw7yJMEJqNSWenv7LGI/Fpz8lfrxGDMHY9QH7mFXi1m7HUOQNK/zSzHJg== X-Received: by 2002:a9d:6185:: with SMTP id g5mr5769099otk.273.1610659121388; Thu, 14 Jan 2021 13:18:41 -0800 (PST) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a05:6808:b36:: with SMTP id t22ls1678655oij.8.gmail; Thu, 14 Jan 2021 13:18:39 -0800 (PST) X-Received: by 2002:aca:f5d3:: with SMTP id t202mr3782083oih.25.1610659119727; Thu, 14 Jan 2021 13:18:39 -0800 (PST) X-Original-Sender: pmatulis-Re5JQEeQqe8AvxtiuMwx3w@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:27470 Archived-At: ------=_Part_1534_1465366258.1610659119028 Content-Type: multipart/alternative; boundary="----=_Part_1535_1344863779.1610659119028" ------=_Part_1535_1344863779.1610659119028 Content-Type: text/plain; charset="UTF-8" I have a working Lua filter and I'll be having pandoc iterate over multiple input files (for loop). However, I know in advance that my filter will only match on a specific file's data. Is it possible, within the AST model, to have the filter bail unless it's inspecting data associated with this specific file? Or do I need to deal with this at the pandoc invocation level (i.e. specify what filter to use based on the input files)? -- 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/b921eb81-70fe-43c5-aba0-d4b9317c270dn%40googlegroups.com. ------=_Part_1535_1344863779.1610659119028 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable I have a working Lua filter and I'll be having pandoc iterate over multiple= input files (for loop). However, I know in advance that my filter will onl= y match on a specific file's data. Is it possible, within the AST model, to= have the filter bail unless it's inspecting data associated with this spec= ific file? Or do I need to deal with this at the pandoc invocation level (i= .e. specify what filter to use based on the input files)? 

--
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://groups.google.com/d= /msgid/pandoc-discuss/b921eb81-70fe-43c5-aba0-d4b9317c270dn%40googlegroups.= com.
------=_Part_1535_1344863779.1610659119028-- ------=_Part_1534_1465366258.1610659119028--