From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/32721 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: John MacFarlane Newsgroups: gmane.text.pandoc Subject: Re: Filters in Lua vs in Haskell Date: Mon, 29 May 2023 11:18:53 -0700 Message-ID: References: Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3696.120.41.1.3\)) Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="28589"; mail-complaints-to="usenet@ciao.gmane.io" To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-X-From: pandoc-discuss+bncBDW7ZIEHTIIBBEWZ2ORQMGQEIUYXXLA-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mon May 29 20:19:03 2023 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-pl1-f192.google.com ([209.85.214.192]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1q3hSQ-0007EC-K8 for gtp-pandoc-discuss@m.gmane-mx.org; Mon, 29 May 2023 20:19:02 +0200 Original-Received: by mail-pl1-f192.google.com with SMTP id d9443c01a7336-1b02730e417sf24408855ad.2 for ; Mon, 29 May 2023 11:19:02 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1685384341; cv=pass; d=google.com; s=arc-20160816; b=TLlJBAW3lay9jLA6WtZlconcLWT7cJgIxaBF5AYSqZtDvcTACteB1uwsUZnnRuMLcG mK9PCY1YhqQcHqcyNfdOeCzM7nAQlWoqHVyZXTXCxOi5NWRU0ct5oKAv6pRva/0scZ9V fE3tlcTfSuyr+VIGhh6Y6qrFuq+Ii6WhIVZINkA7grLsvxTsLOHOTA6DPDx8QSogoUQ6 ZgJ3szBWMPUoTnTZocDy8mQeX62/nbOPjO/Y4rXmJmON2oJ7epP7LhU9ZclBijrbvD/0 +6XWEgbmRYfhBiDcW/DEdqQsAopI5xwUbBoTYbgqeZjoclKSi1HB4kmZLmaDW/EKo9fh Xr1g== 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:message-id:in-reply-to:to :references:date:subject:mime-version:content-transfer-encoding:from :sender:dkim-signature:dkim-signature; bh=m3MpOssNNC43BgeJl8ZTuucLiEeKj7a8pORxk7b1X98=; b=nvBqhBT25GpodOsKXQwdVb4T37CjSZVE3af0TQyo0M1UZPqBD3Yo8Q7YY6i3xPaOpg gHkDbiLqJAbM4J/Yzlxuzl32bg3PAk+ftTDGoyR5LFWk1tTLENLnkDwUXsDUUOfg5CGg 30I01bn81CTvNfEYFAj5zYZRhf1lk5TtLjQt6QMPwB45KP6wuIAp3eDrmULMni8YGMFP 3darEpcEtSBQyI2iVG8XG1Ig7ORLLmvbNrdcLGOSlsN8kZXhuF9LrHv6sDNSiqIWlx9S yeXD1wR8GPA/l4WrTbcO03qOTq9wGPWCjOnw0Uzs2zbE0P++miM1vxXlnXfmTQDqVIYc x3uw== ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b=fTGhmQaJ; spf=pass (google.com: domain of fiddlosopher-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2607:f8b0:4864:20::434 as permitted sender) smtp.mailfrom=fiddlosopher-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20221208; t=1685384341; x=1687976341; 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:message-id :in-reply-to:to:references:date:subject:mime-version :content-transfer-encoding:from:sender:from:to:cc:subject:date :message-id:reply-to; bh=m3MpOssNNC43BgeJl8ZTuucLiEeKj7a8pORxk7b1X98=; b=NNQzmcB5qXwb/PY6O445GRqCH0EGPTB/Gn5HBSkAQNLu54UZtHRX31HbAyP4Q5gSXd rb5C06i2eSr4txkmUXJbKPfTl75tay3imb2jHUP/qyldBZjk78r+nzDCN8qQmi6YtdeN SNEtgOAqKckZfF5a1Tp83GCUL522vUwVhKDEyh6CA3ooo+xCHW/4IyjO0ZleyMUypOkA PixNhanhmVdfCrcgbHHubF4+AlEJ0W/cWJXhszsoAOtGOjEXQG2+pAXJ8A3hLKJm2Lvo zkeGiwfzi/na1pLDQXyAOxDa1stdXJy1QdZmA DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1685384341; x=1687976341; 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:message-id :in-reply-to:to:references:date:subject:mime-version :content-transfer-encoding:from:from:to:cc:subject:date:message-id :reply-to; bh=m3MpOssNNC43BgeJl8ZTuucLiEeKj7a8pORxk7b1X98=; b=TeUxzFUzAkxJcEYZpGB6eBVO/0rAqrFZ3m/YWIsKJdzbHuaBmNUbuRrfeIUJMbB978 3qVlDTDGi2jOfrXdPLDTAq4eaAsf030HMP7lW2hEk27dMj41oN2H+yAs4QJLxqW9ndPe t14djIVx89CNs0ySlLTnVU8oUDLrrw5BbH2t9Q0SOEIqAkxD9iUPOwEskQR5dCRSaUh4 rFV4LmRl0OoIRKMpVsOanfmRDyNa0Ar04nd7szpHWp1JEnoFRP48XB4taahTA1OfM2AD xQkdfaaSiRCZsSoML+3Y4Pcpu6CG/ijnWJKFzT3EKHP8EWbKi4i X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1685384341; x=1687976341; 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:message-id :in-reply-to:to:references:date:subject:mime-version :content-transfer-encoding:from:x-beenthere:x-gm-message-state :sender:from:to:cc:subject:date:message-id:reply-to; bh=m3MpOssNNC43BgeJl8ZTuucLiEeKj7a8pORxk7b1X98=; b=ath81qSc88KRFe56Bf5KlUt3zSNw+thrGqaiu6oi/S2Mxaqk/koW2WXAyoVhSwNx7q k/sTMGVUEjVs30sZJwSoTC8haBcWtgreVwMNyc4xok3HxRHpgFxn5A9/lFo3wBrmeUac 32TYQdLPBIxbXWm0UuNC5PxCpwO8tgmF8w7/0L2aVQrN+VhQtbymmBTu+3ITGip1Zpqb aKgnbxDlqDNfXouv/NlsyoIJEfytdm+7xIu6I5VdELTCEH/h6wkg8OgdeJ Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AC+VfDztR2XG3cwq/bLOmHNrfp64Sj2KAB6DkRCtJFabaf5KlVcFb+sZ QGrAqMdsw4bnpytFfO6y+L0NLw== X-Google-Smtp-Source: ACHHUZ7K4EHFt+A21GTtRaBLMBccA2VXv3/xZ+jxQIWkDMA0ckdpLpZZEbzv9HzX7lJO4AFYw8fe/A== X-Received: by 2002:a17:902:ecc2:b0:1ae:32db:d6be with SMTP id a2-20020a170902ecc200b001ae32dbd6bemr11673plh.4.1685384341009; Mon, 29 May 2023 11:19:01 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a17:90b:30cc:b0:255:54c5:7e7b with SMTP id hi12-20020a17090b30cc00b0025554c57e7bls1584220pjb.0.-pod-prod-01-us; Mon, 29 May 2023 11:18:57 -0700 (PDT) X-Received: by 2002:a17:90a:2c46:b0:23d:286:47d3 with SMTP id p6-20020a17090a2c4600b0023d028647d3mr11522739pjm.40.1685384337469; Mon, 29 May 2023 11:18:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1685384337; cv=none; d=google.com; s=arc-20160816; b=qt14ZEbJpKyPF48EehmLwNm3sfF4L15TPRQTrjR0+hSdNowLWiR9Urjs1nZQKwquaE E1UtJPEkR8Uyu9z9wQ0O/YFePX5wgu5tZErIoYLFPrhq1LZjSUrQvputv8dB8CPtjRWI SYDcrarkqD3C7x+ty8sC7Z0BXr0iYnwptnJ2N1TEI7F3ua7jLUPftA/15oKMnDTdshAM 8w/uMSAtD1Wzjg07FwXK5KjtTshi3On3l7P1q+X1i7Q89fGVPk01z+nYoFdnecTNMoUU iNmoNCFh3bMibBgRzzoemm+sQv9koRTO6NnrW4p9NJNzQPQJ98eypoPfPbgW9Kk/J+Bz FRjg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=message-id:in-reply-to:to:references:date:subject:mime-version :content-transfer-encoding:from:dkim-signature; bh=ynMKeB9MSnU/Zg6a4gcKxxOwlsETAuPUm1DQy7EGCw8=; b=p9ixV/cFvjc/WeOWtIPg/LXENZqeMK9uMEKm6bveBty9/niMUCqy9AiC/CCL3uA66e riXXA2aCo5tt6NUp0f8bZryl85PbSePsyppR2TCieh1wvSGp5SQ6bal2K+gggwwGLy/8 ouEEveBp/dg7Rlf6GfCLJN05fzzLmsPz2aLXuh3Zu6rTEpSBwqx5Db6MFXBvIH55C3Pf aNleX0DEz31noPbXsqp73sLZ5hKFszd7Ph10yjLic3A4G/v10YNASVDHpqhI3UE69Dn/ ANPuz1pzaNMt91WkRYImQFIG4Aeug+nEMWqrjqVG7ntym1E5VvILTRIMXLQk7vhllFQm wUGQ== ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b=fTGhmQaJ; spf=pass (google.com: domain of fiddlosopher-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2607:f8b0:4864:20::434 as permitted sender) smtp.mailfrom=fiddlosopher-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Original-Received: from mail-pf1-x434.google.com (mail-pf1-x434.google.com. [2607:f8b0:4864:20::434]) by gmr-mx.google.com with ESMTPS id g11-20020a17090adb0b00b0025668b41b42si429950pjv.0.2023.05.29.11.18.57 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 29 May 2023 11:18:57 -0700 (PDT) Received-SPF: pass (google.com: domain of fiddlosopher-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2607:f8b0:4864:20::434 as permitted sender) client-ip=2607:f8b0:4864:20::434; Original-Received: by mail-pf1-x434.google.com with SMTP id d2e1a72fcca58-64fd7723836so1043027b3a.1 for ; Mon, 29 May 2023 11:18:57 -0700 (PDT) X-Received: by 2002:a05:6a00:a8e:b0:643:b653:3aa with SMTP id b14-20020a056a000a8e00b00643b65303aamr562493pfl.32.1685384336478; Mon, 29 May 2023 11:18:56 -0700 (PDT) Original-Received: from smtpclient.apple ([2601:644:4701:23f0:b4f9:1fbc:239f:3649]) by smtp.gmail.com with ESMTPSA id 26-20020aa7921a000000b0064d4d306af9sm239195pfo.79.2023.05.29.11.18.54 for (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Mon, 29 May 2023 11:18:54 -0700 (PDT) In-Reply-To: X-Mailer: Apple Mail (2.3696.120.41.1.3) X-Original-Sender: fiddlosopher-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org X-Original-Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b=fTGhmQaJ; spf=pass (google.com: domain of fiddlosopher-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2607:f8b0:4864:20::434 as permitted sender) smtp.mailfrom=fiddlosopher-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com 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:32721 Archived-At: Because JSON filters involve serializing the Haskell data structure to JSON= , then decoding that back to a Haskell data structure, modifying it, encodi= ng it to JSON, and decoding it back. The Lua interface avoids all of this = serialization/deserialization. > On May 29, 2023, at 12:46 AM, oliver wrote: >=20 > Hi there >=20 > The doco says Lua filters =E2=80=9Care usually faster than JSON filters= =E2=80=9D and from my understanding Haskell filters are JSON filters. >=20 > So why are filters in Pandoc=E2=80=99s =E2=80=9Cnative=E2=80=9D language = slower than filters in Lua? >=20 > Thanks for clarification!=20 > Olli >=20 > On 29 May 2023, at 11:03, Michael Milton wrote: >=20 > I just tried to render a PowerPoint presentation from markdown. However t= he template I used is a bit odd, and I noticed that my title slide was not = populated with text, whereas the regular slides were. I wonder if someone c= ould explain the logic that Pandoc uses to find a text box to insert text i= nto? Is there a way to modify my template to avoid these issues? -- > 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/msgi= d/pandoc-discuss/874eb03a-f62b-4ee7-a582-30c798f22083n%40googlegroups.com. >=20 > --=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= email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To view this discussion on the web visit https://groups.google.com/d/msgi= d/pandoc-discuss/EC2F53EB-56F2-4078-B8DF-5D35B64A7EC0%40halloleo.hailmail.n= et. --=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/F8164DE5-81BB-4E54-88E2-6725324BB184%40gmail.com.