From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/33340 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: John MacFarlane Newsgroups: gmane.text.pandoc Subject: Re: Lua filters and possible error Date: Sun, 19 Nov 2023 11:02:45 -0800 Message-ID: <69D4EAA3-A22A-47BA-ACD5-3F694B47CEAB@gmail.com> 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="24197"; mail-complaints-to="usenet@ciao.gmane.io" To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-X-From: pandoc-discuss+bncBDW7ZIEHTIIBBWNX5GVAMGQELMRQ72I-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Sun Nov 19 20:02:53 2023 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-io1-f64.google.com ([209.85.166.64]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1r4n4H-0006As-4w for gtp-pandoc-discuss@m.gmane-mx.org; Sun, 19 Nov 2023 20:02:53 +0100 Original-Received: by mail-io1-f64.google.com with SMTP id ca18e2360f4ac-7a9473ccf96sf80048839f.0 for ; Sun, 19 Nov 2023 11:02:53 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1700420572; cv=pass; d=google.com; s=arc-20160816; b=OMN4lovZR6Fe8wlN+b62Sn5yrwP++WS3TaeNg9qL82UU8fnKRCujih8RBMlijFrj2N kQJQTlCW+5GVK5MrJDcfs0sFPpL+W6h+uB0x2shg0u92BSpsjj4lmr3ikIn0bk0vl8JL xu7nsZoAPNPHXqyPLBoIAxtVghONFnz2edKtH5AO/eZDL662O3aHJJyukSv6TC0QLOTX lAGq+JnNGAJYuvFSGk7Y9TRCXgSLR02yzBrYbZ8t1/En43fmgcY2joCRqsj4G6/jAIwD 7+8qB5jRTkeGsEpSyDXdfg+fSpgYsvr2SIQU/CV4UvVAC0nFLaYF5FNNUzoqBhmNMX6i e7AQ== 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=Ktn+ZVPbYStBeOSKv1KL390HBJJRcTznfyMwFoLvlAA=; fh=m01AhCNo7xUywHldCVYouaJypLlN7JgtNYbImzBf4N4=; b=ho1F6ANgzbJX4IX17R4Fz9sJEPwKSiz/MAC2z9S40dyAXl9L57FHSzL6pMHXqNJ7cT vM+pqpEqGDKVZlVpwpgCtW5oo9yPqhYQ6kEfu6XqYQuuJRJgZMx08EKmndTlLQxTDFIZ MlM5vXMPA7myzIMs11XWjd5L9rvwop88Z1my/35txK91W+zFhoEd9nDTRTJ/yhmiUFqO Wl51yxpDCOpYOkNTWndafa8+KwUodEaYx3U9UJE4rcB2F4L+uEj2v3Y/01Gu1fjbMlgK y2R+n6S1NfuJBBfEoNt3vWRg9TgdfyDG88L3HkeUdCkK74BMoZURvyzTIdLZ9hYyom89 YotQ== ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=Z+f3D9wY; spf=pass (google.com: domain of fiddlosopher-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2607:f8b0:4864:20::233 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=20230601; t=1700420572; x=1701025372; darn=m.gmane-mx.org; 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=Ktn+ZVPbYStBeOSKv1KL390HBJJRcTznfyMwFoLvlAA=; b=d5QmNhEeRqeU+91YCt60bYcF+3G1d4f+p5Jro8LBUDnvJf0uHsWPCSryCJFYIcVCQw w5WinrY88GpBeMbY//IqNKuW7MILU1CF00dKf1TCGLowY5d90OeO9vEJklitnfRN5Lq4 ynXRWAML1q+gmDg+DLb1v/I2vp8Vd2eWNiWLiJi2sGaYaAc0IrgttdK8YDGnU2TkFrgk kXGrZQBVU0Z5kyqI1pI6NfA5kvKxK9pqtq8RfRN56n81CjmJaAT5faHTTRHnhJeIvgit qGHwSTVwAEhdIbii DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1700420572; x=1701025372; darn=m.gmane-mx.org; 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=Ktn+ZVPbYStBeOSKv1KL390HBJJRcTznfyMwFoLvlAA=; b=bbokE63AbF4mKHToQrJkgmVldpmsAxtCG8L8v7f8LZ9O4hj6G+Vk8YDda0jUNxK37B dk+IS3YVZT3aDbZL7w7OPjeDjIUtNqgavxa85p24RM7T+xwEy/HUwf2bpj3ocODhcvOp weDHCmje1q5BchSZf+Xd6Fqo6byD1kmaUWjJs2pdJl2Vn8NC4NJLG7tFOh2K5ENKKhur ++2mdiu7t1ofyjzvF5U7CWSuT0k+8qA8CSpGmuiqsmA5HQB/+ClY85hPM3pTb8mhKHeM aIaYjyxsRC3wUeefCqImMoAinojr1g X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1700420572; x=1701025372; 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=Ktn+ZVPbYStBeOSKv1KL390HBJJRcTznfyMwFoLvlAA=; b=vn5+9mPKAo5yE0WFDbWbJC3RARxpA53NGiKj4v7XYJIPZWbh5K7ImJZNNcz/OQE29a V2mdwLwwQlHMOWyM0xyaiiYPbb2tqaQtMdUyxRngGJP5Jwbjl/Cdvuuj54utlS+zFXa0 qVqxE3DDy1uQO69hO0Xr1KV17juXILw86xqjVtcE9W286b3CvFzyPBMlTEXgRK+u28nf oiaJ0SjZ+AG+xi9y5NjzaEUfSCsX7WB3jC0I3P8/6Ka7v28nfSWtOSQo7K Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AOJu0YwZY4JL2xK31tVYvQDdT0YyF1s4KI2WQa+5sJckWPo0EBBT+anB 0Mw8T5gB55gUrL8lof/VnBs= X-Google-Smtp-Source: AGHT+IEAui0YfMuIfu7bbQfw9d0nqNrZSdSB/rzWSO9l1IF7SOgv4570m+yVVyGJJKVwGRQodWa0/g== X-Received: by 2002:a05:6e02:1092:b0:35a:f713:e7f1 with SMTP id r18-20020a056e02109200b0035af713e7f1mr3273364ilj.0.1700420571916; Sun, 19 Nov 2023 11:02:51 -0800 (PST) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a05:6e02:3486:b0:349:b8b:c2c6 with SMTP id bp6-20020a056e02348600b003490b8bc2c6ls2452826ilb.2.-pod-prod-04-us; Sun, 19 Nov 2023 11:02:48 -0800 (PST) X-Received: by 2002:a05:6e02:12e5:b0:357:fa1b:491 with SMTP id l5-20020a056e0212e500b00357fa1b0491mr8451607iln.5.1700420568654; Sun, 19 Nov 2023 11:02:48 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700420568; cv=none; d=google.com; s=arc-20160816; b=ivwRQ38iyJf27Z4L6IL/DGHnGVdfUqAPfOtW5+zAiQmcrj0O4jrZVoZUGU0/fHf0zg ZwJaF0dYrPHd0+ozsL8wmTOCxCFaQCBrdnUEKCdUJUhktOG7bVzAuWgJokWstD1IB3r+ BasKutaQF5/bkJkXs02H8ejsXgbG9B4IP4bTCTUFNPSM4q1WZBjycDojhTsT4xnTKXNf l3Et9Xy8I5ZZ5JN7gj4Co4OmZZ12IeBnrCV+bdyyCvM0QDRxoFGWxUbQFi9zUzhtoktf wkErPnPMPQqbDINrYNl6bmLdWFggXkb877gbRR95SI8nXLgum2iSMfA05YWdWVaKcL72 MGAw== 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=yGVf8r+LioX0pTpV8phXOBvG1FEpn4/ENFvGdmZTQiI=; fh=m01AhCNo7xUywHldCVYouaJypLlN7JgtNYbImzBf4N4=; b=coUku6/TkzohVWOHO+CEU4lCr/HEMgl3hWtjj+6PNLlXm+aFjvVTZbGL2Dz54buPlP eVcUuztdEef6gCik+y/H9ITIyft9KdgbDEFf2b0mA5Sdz0sAh9ccceaPyCp/r8ZPgbwz 1+w7uWBwqj0rGh1fqTMERU7Cj8R+N9zMGrBxExtxYaw6FcXwiH4F2xkYDwTHSeyQ4bH3 +z+3LUk22dNqSUJs2VokelPQ7FFx8kzvvyZE/OVPvse4BDI3iWKmhVYnuPGKGEkrdBbg /8cYalI8Qkr/JBOhwUmY987YDcnbOxj8OYJiZcxT/7SZXRky/hdFHRIGYdaJrNbMgJq1 x7dg== ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=Z+f3D9wY; spf=pass (google.com: domain of fiddlosopher-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2607:f8b0:4864:20::233 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-oi1-x233.google.com (mail-oi1-x233.google.com. [2607:f8b0:4864:20::233]) by gmr-mx.google.com with ESMTPS id bt11-20020a056e02248b00b00359d1e22f06si930229ilb.5.2023.11.19.11.02.48 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 19 Nov 2023 11:02:48 -0800 (PST) Received-SPF: pass (google.com: domain of fiddlosopher-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2607:f8b0:4864:20::233 as permitted sender) client-ip=2607:f8b0:4864:20::233; Original-Received: by mail-oi1-x233.google.com with SMTP id 5614622812f47-3b6d80daae8so2562856b6e.2 for ; Sun, 19 Nov 2023 11:02:48 -0800 (PST) X-Received: by 2002:a05:6808:2dc7:b0:3b2:e61f:f0a8 with SMTP id gn7-20020a0568082dc700b003b2e61ff0a8mr8263107oib.45.1700420567718; Sun, 19 Nov 2023 11:02:47 -0800 (PST) Original-Received: from smtpclient.apple ([2601:644:4701:23f0:6902:4388:9035:193d]) by smtp.gmail.com with ESMTPSA id h7-20020a056a00170700b006cb574445efsm2620540pfc.88.2023.11.19.11.02.46 for (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Sun, 19 Nov 2023 11:02:46 -0800 (PST) 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=20230601 header.b=Z+f3D9wY; spf=pass (google.com: domain of fiddlosopher-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2607:f8b0:4864:20::233 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:33340 Archived-At: Do you have something like this in sample.md? --- lang: fr-FR ... > On Nov 18, 2023, at 3:39 PM, Apprentice Ship w= rote: >=20 > I am trying to understand a bit more about Lua filters, in particular "sp= ellcheck" in the repository. >=20 > https://github.com/pandoc/lua-filters/tree/master/spellcheck >=20 > and my understanding is that the filters will act on the AST, but a seque= nce of: >=20 > $ pandoc sample.md -s -o sample.tex >=20 > $ pandoc --lua-filter spellcheck.lua sample.md > summer > missspeling [en] >=20 > $ pandoc --lua-filter spellcheck.lua sample.tex > des > fran=C3=A7ais > missspeling > english > sont > Ces > Mais >=20 > seems to show that the Pandoc (ver 3.1.9) is not understanding the langua= ge metadata, as used by the LaTeX-writer. In fact, I do not see the the mai= n-language metadata entry under either of the commands: >=20 > pandoc -t native sample.md > pandoc -t native sample.tex >=20 > Is that what is going on here?=20 >=20 > Joshua >=20 >=20 >=20 >=20 >=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/CAH114nCcs0R1-ayRGf5W%2BR7VAAMLAYY-L62MvSK4AtWoqON%3Dtw%40= mail.gmail.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/69D4EAA3-A22A-47BA-ACD5-3F694B47CEAB%40gmail.com.