From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/32837 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: "Bernardo C. D. A. Vasconcelos" Newsgroups: gmane.text.pandoc Subject: Re: Access input format in Lua filter Date: Fri, 16 Jun 2023 07:29:18 -0700 (PDT) Message-ID: <086e28fb-4818-462d-bda2-6b15d0fb8710n@googlegroups.com> References: Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_216_593462252.1686925758005" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="30101"; mail-complaints-to="usenet@ciao.gmane.io" To: pandoc-discuss Original-X-From: pandoc-discuss+bncBDUKFWODQ4ARBP7DWGSAMGQE7JNIYRA-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Fri Jun 16 16:29:22 2023 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-oa1-f61.google.com ([209.85.160.61]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1qAAS2-0007bb-1U for gtp-pandoc-discuss@m.gmane-mx.org; Fri, 16 Jun 2023 16:29:22 +0200 Original-Received: by mail-oa1-f61.google.com with SMTP id 586e51a60fabf-19f57e3540csf782813fac.1 for ; Fri, 16 Jun 2023 07:29:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20221208; t=1686925761; x=1689517761; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:reply-to:x-original-sender :mime-version:subject:references:in-reply-to:message-id:to:from:date :sender:from:to:cc:subject:date:message-id:reply-to; bh=kNZYngyxFpa3obvrR5IZqazdE7M77Z2YcsNj85biF1k=; b=QNKXFZyzibeOS7b9Y8Yes33c5alXEMZRj6XFNr+99g7Y+BFmTuMuQtRBaDdQxB5hEk jEcW2kcFC8vzQ7rVaJUl6WKNRdICxy8paiDqY9Z7vtiusfcYBBKveeGgrXyC45CSAOwn tuuMXCh5nsJiYmPzOL2mPb6afy6+Jx4D0RDpfvPZDBSVr5fTH1ek+1bCO3ByS48/acWB kHdzU5iv/8URtj/cerViXqjPwJWe51cQBg/f7R7ynU8BQcRsjvx8yixR1HHm23SxWaAf rnAgtA8b2ANspsoxMMOaWlAfOayE91hTDMoRGYw6M/8ZdnMEvnYqwySAgMZ+h+BI6Wr5 xKKg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1686925761; x=1689517761; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:reply-to:x-original-sender :mime-version:subject:references:in-reply-to:message-id:to:from:date :from:to:cc:subject:date:message-id:reply-to; bh=kNZYngyxFpa3obvrR5IZqazdE7M77Z2YcsNj85biF1k=; b=K4sHw9epzRTvCkaR7InGtA1GFLTjQ8euZYQV8oTTAuDWbiQh5nZlMASb8sKfGZXp9J NLWvBqt1Y1aQJQn8jG5wqtFPrZ6xqGBCNW3kokDS6vY1jl88ZJEcUSEJvhtPahLyycrY hOExgVhLJkYMqy/fi7S6YoxlmYoZfTM1s2PfNdl98CzkslaCmY5EpK5G5xq/xaApw72b XJUR9AdgSrokeDPUCZGm0EgF8u+aZu7/si9vihSKI97FDiyfaX99JtbDPQfWWVslxxTA VMJhurkNuNvfawjWF4EMB0GFHERb5a4LKqmwt+KgdN/zIMcpI/xR2FTkZZKTzMrQH6YJ zomg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1686925761; x=1689517761; 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-sender:mime-version:subject:references:in-reply-to :message-id:to:from:date:x-beenthere:x-gm-message-state:sender:from :to:cc:subject:date:message-id:reply-to; bh=kNZYngyxFpa3obvrR5IZqazdE7M77Z2YcsNj85biF1k=; b=DTBFOHOFC8BwgyTWi33QjpkI3WDiqIzf3UMcReYFLs8+VaHi0CRUs9DkSYz4NEqi+i E0x4VUQhMWK3iaw7V9e2MtnbDz7m75r4nZAygsGbKkIKTseau7kxRFWV65r9dm+nvz3o uZXqZ0U3oNp8jCbUADlZjbLej9dQMRg6jMJniThNm4Qro/WcH7sMRzinMCRe+cZ6QWC7 hyzl/gI06zgx2lXhV563VJxTe20CGWGAKx42Mn7nFyMR+nrz2j+QldNK6+DGCP6Uf0k9 lX1dleppdE4ytE2wwVzC5BTZ/NpGfB7vrXPfrXnTEmJXdXqgpQ Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AC+VfDwPOwebf2YjcZc+LfIeDkLBJYEGH2PneKH2Fgtjt87dF2YXJ4eT anvfSfkzK9Ut/pdipzfi0IE= X-Google-Smtp-Source: ACHHUZ4GMOJ8irmXt4ZCEYnyt7dVGhM2/aFu3uLRj+rNg8WUxDCDFtA/fE8lLEmLUQrtwPQKJM8IRw== X-Received: by 2002:a05:6870:a2c4:b0:1a6:c968:4a15 with SMTP id w4-20020a056870a2c400b001a6c9684a15mr2086038oak.4.1686925760961; Fri, 16 Jun 2023 07:29:20 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a05:6870:f6a8:b0:19f:3563:ef77 with SMTP id el40-20020a056870f6a800b0019f3563ef77ls251849oab.0.-pod-prod-07-us; Fri, 16 Jun 2023 07:29:18 -0700 (PDT) X-Received: by 2002:a05:6830:1186:b0:6a5:e9c9:5b58 with SMTP id u6-20020a056830118600b006a5e9c95b58mr509365otq.1.1686925758666; Fri, 16 Jun 2023 07:29:18 -0700 (PDT) In-Reply-To: X-Original-Sender: bernardovasconcelos-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:32837 Archived-At: ------=_Part_216_593462252.1686925758005 Content-Type: multipart/alternative; boundary="----=_Part_217_528227696.1686925758005" ------=_Part_217_528227696.1686925758005 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable I think it is the constant FORMAT, but I could be mistaken. On Friday, June 16, 2023 at 8:33:12=E2=80=AFAM UTC-3 BPJ wrote: > Is there any way to get the current input format in a Lua filter? > > I asked this a while back in another thread but got no answer, so I ask= =20 > again in a dedicated thread. Apologies if there was an answer and I misse= d=20 > it! > --=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/086e28fb-4818-462d-bda2-6b15d0fb8710n%40googlegroups.com. ------=_Part_217_528227696.1686925758005 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable I think it is the constant FORMAT, but I could be mistaken.

On Friday, Ju= ne 16, 2023 at 8:33:12=E2=80=AFAM UTC-3 BPJ wrote:
Is there any way to= get the current input format in a Lua filter?

<= div dir=3D"auto">I asked this a while back in another thread but got no ans= wer, so I ask again in a dedicated thread. Apologies if there was an answer= and I missed it!

--
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/086e28fb-4818-462d-bda2-6b15d0fb8710n%40googlegroups.= com.
------=_Part_217_528227696.1686925758005-- ------=_Part_216_593462252.1686925758005--