From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/32053 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: John MacFarlane Newsgroups: gmane.text.pandoc Subject: Re: Directories for lua filters Date: Fri, 20 Jan 2023 12:25:17 -0800 Message-ID: <1B880D38-AC8E-40B2-A4D1-15B534F81C6F@gmail.com> References: <69d75ee2-5140-4415-2da7-aef9ff91df5f@intielectronics.com> <1f6a4484-4173-21b9-efcc-d7cd3867d4f7@intielectronics.com> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.120.0.1.13\)) Content-Type: multipart/alternative; boundary="Apple-Mail=_AECB3276-E906-40DD-8580-05BA3FCC02E0" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="9847"; mail-complaints-to="usenet@ciao.gmane.io" To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-X-From: pandoc-discuss+bncBDW7ZIEHTIIBBMXRVOPAMGQE36GIXUA-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Fri Jan 20 21:25:27 2023 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-yw1-f184.google.com ([209.85.128.184]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1pIxx0-0002PM-JE for gtp-pandoc-discuss@m.gmane-mx.org; Fri, 20 Jan 2023 21:25:26 +0100 Original-Received: by mail-yw1-f184.google.com with SMTP id 00721157ae682-4cddba76f55sf62149677b3.23 for ; Fri, 20 Jan 2023 12:25:26 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1674246325; cv=pass; d=google.com; s=arc-20160816; b=THYJvL2oIHLN5bGGzmFhiQm8/iqQtO5/Ufdx1i/sOWLDhxqIiQtJRN+uXk6HHszsKR Eb+XVxWRzWUAfv29Te/udWyXv90lMUND5c88DWp7q9Qt9v9yEXOgvlQQ5d051kCDxPWN QLGefiA8jbgJNeiXT4t1WDhSWTqB0TClaYvX4C4q8Onjd7NHDjvIbp7svyFkLvKsLcQf Ow8cwAPRXxiPeVfnAs6kpMCkk/IWu2saCfiOYWxjy1Id7NFjR191p1DCXNx94fUmVoqb W24p0pFCc9yZWpQhL0SvntsVO7o3LV0TMNPibqt/4KGiNarF5YVW/SKzr3F93FyspbEa ak5Q== 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:from:sender:dkim-signature :dkim-signature; bh=9Dm3+IARdQF41Yzl6bueq7fbDCrG10LjCdYEc1u/ZTQ=; b=nUsTERBdTIfKN8rcLqLgJvXrG8YXQRUCvV5qlaEnrmt6nE4lwAno9l9rtrMAX5OIU/ BISLf5C88ZDL/47csbbm9Y/CPOMSskHiKLPeUWVgvhvr6LQ97xpbs4uPW9EJitG4cCiL ZxmSO3ipdvf+2u+UkMxnsf98dwgUQKekj5NL0oNIaFjel8YvPY0b4TcAuzUfa2E1mniB HAJrhi4NRu7ltSZtAXKAEU+aqeCy6lwWQRBvHJWj0H7POVXitEgRdfXGqz3ol0jwsChp iMIL7ju4GdPyvQ4IWR48+ezCDJTXdA+7Gqer+TgLyBFkg5y0gHkI3lUcQ7ikuRGbU5Bp 5Z6A== ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=KdPsz4z8; spf=pass (google.com: domain of fiddlosopher-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2607:f8b0:4864:20::42f 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=20210112; 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:from:sender :from:to:cc:subject:date:message-id:reply-to; bh=9Dm3+IARdQF41Yzl6bueq7fbDCrG10LjCdYEc1u/ZTQ=; b=CWVoX8kco2mJH/HrSiV7FDM6yqF1gb/NBgXTTN39bDgpudsg2RKF1yNOcG2AIBUWE/ s34JzfF1ElRsAi1dRBLzKB9LL0IyTySPA39n8aRMQfFehuiFh0iUzOuYg6qtUrTAgnmF UW6X2d9FuS29fhB5kHyRaQzHVs6fkyPYLCiFZo9DZsqgILcltDh7aEibPJz7JnlMekO+ jQPm9puvcnR/Pv6U3dLnKGMgQdjDdFgAYzmZUEU7wCEaazl/1Y2norWGVY1vlsgVAuvB DcbtyFSUCbRBN6gtE3k4NuK300d863HO+0/E5qWpVb5N3qla4+63hcmDqh4IKRrPMnBJ 91ew== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; 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:from:from:to:cc :subject:date:message-id:reply-to; bh=9Dm3+IARdQF41Yzl6bueq7fbDCrG10LjCdYEc1u/ZTQ=; b=NrhYHxpkCYTbhV8zbKpSEyNhGH5YXuzRzLz/Alhm2oKnp2axQ8EiCXCoWYtBbpRKOD oW4PKhobXi/DpASVBqZS4WPiELCN0Znw3QIfkzho3u0edHIllsKB6u7nAEiavdNldzYz EGNSomq6YTwtjP2ZBXCbuLOlXD+n2uvu5XiUWsKaZOD4u5ONhSNB1OpbIw8AYpTlPk6x Kjjtq1WpoLdFfmhBEnbWqKidFC+AQfGXFAZEe9sF5xEbv5mLo58MYXLILiwknPFwcurA hgRK3FWDegJueiAmUIOSL/buVn0gPGvvLOz2TZ3qVuOEvuhqv5TSFwFbCXX2mp9tLClB ZZCA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; 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:from :x-gm-message-state:sender:from:to:cc:subject:date:message-id :reply-to; bh=9Dm3+IARdQF41Yzl6bueq7fbDCrG10LjCdYEc1u/ZTQ=; b=QdrUESlYeEY1Lm8jEOZWhdHO3k9Zp+qe0phNlXtgiskHJ7IVsRL2qjO2tyvDEZtDim etbvaCX7Dc0bg4yGVOhWmhZMtdopqAe4I5ruOY3JPUR1NL49AIsRZgLB6ZiY3Ao76daa QZ76ASwSL4fGDpfL7CWrSvzqd5ObP0hyEeRUHl6tIQs9YinfF9twHKbAMKSSPVbWTgeQ wzfdYCiBQj63P+3JIqy05hha7HJsZvANMQRpCKniSmlMwwHkLF9s+bO+UDuc8y0oHL6p W/mcS3cIZ+vz3ggbCjy2qiCmT4g994TuFWQyNitemBS914 Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AFqh2krUmA7TthMHvRhy3NiijxyiLnKqzuCifwNGFN0D3mp3UscRvfk5 uYZg2zINOTOZVhrDi8EydI4= X-Google-Smtp-Source: AMrXdXsE0FS19lQubub5B8DeWkCq9psncVpw2hcGPFpj2zJ/uISC8ZPFe7ea7jkMkN+RqFpLlNO4EA== X-Received: by 2002:a25:bf8e:0:b0:7d7:ec44:7cdc with SMTP id l14-20020a25bf8e000000b007d7ec447cdcmr1770211ybk.598.1674246325561; Fri, 20 Jan 2023 12:25:25 -0800 (PST) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a25:e0d2:0:b0:803:e366:20f with SMTP id x201-20020a25e0d2000000b00803e366020fls646265ybg.0.-pod-prod-gmail; Fri, 20 Jan 2023 12:25:22 -0800 (PST) X-Received: by 2002:a25:ea0c:0:b0:801:4f65:a66a with SMTP id p12-20020a25ea0c000000b008014f65a66amr2251279ybd.63.1674246322315; Fri, 20 Jan 2023 12:25:22 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1674246322; cv=none; d=google.com; s=arc-20160816; b=EqOOwqh0BpCTAbV6BOm/1bLCaLz9231HOo1vG2SgNTohOd4b++f+v12RSOcAgrQjgx nkyimfZ1TImAHs4fyhjmb2AP8ljIKC+C6qymUDfXbDgWx5yqTOsXHyPkoc5jAhg7vbcz 7n8t2eZXfeXuV6ZeamDNacDfZW8ZMFqZuUl8YkNxoEhdmPHDfsCAsmgs4yq7qpctMVIj hsQV/V3Rh4ryEjpcNj4xQaPbM3rKyWqYQg48vl/t+7iwXXkznT8WK2/CslvFzrtPHwDD aLuHodwpXSzzHW2gREW7AhTNYUTk5a54LgK+MAQB1auhJrwxSK6h3iGhbaBakXR+HVZx Inhw== 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:from :dkim-signature; bh=aKNW9QKk27xT5n3PZM4feKAsU54kg9YvY2qSrFADVgo=; b=pH5d4KOoEsMKkiHuNhNtqvumCR1JDrWRJLKqzHA+cDnwkkGG7O1yHBqdFaAK+g16Sz dLz6oN/I65i6w1vS5cXx0RR95eVcmEPf5kPR7Ft8BKD+uSXLRK07KOoH8hmsbIX+51to uVO4ypFct//lfVa0UrHu2Ls/XfpsFqsLYuxiJB4m+pSiESkPsv0eEjkQnPWU8Zi0pAir xjpw4phMyE9G66jK19bHCyJ913+kBI8j4suU1f0wTuRjmOXQzg5jVweP+kGf51aYf3kB DtMHebFHfGkpyvCM3Eb8EzudOSN2wBUV/yrpbVRjTkCOuIFgpq7Ij8dNsqoN3FjDgb9R /NTw== ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=KdPsz4z8; spf=pass (google.com: domain of fiddlosopher-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2607:f8b0:4864:20::42f 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-x42f.google.com (mail-pf1-x42f.google.com. [2607:f8b0:4864:20::42f]) by gmr-mx.google.com with ESMTPS id p78-20020a257451000000b007dea084c723si1902129ybc.4.2023.01.20.12.25.22 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 20 Jan 2023 12:25:22 -0800 (PST) Received-SPF: pass (google.com: domain of fiddlosopher-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2607:f8b0:4864:20::42f as permitted sender) client-ip=2607:f8b0:4864:20::42f; Original-Received: by mail-pf1-x42f.google.com with SMTP id w2so4806450pfc.11 for ; Fri, 20 Jan 2023 12:25:22 -0800 (PST) X-Received: by 2002:aa7:98ce:0:b0:58b:25f9:52c1 with SMTP id e14-20020aa798ce000000b0058b25f952c1mr43418607pfm.31.1674246321178; Fri, 20 Jan 2023 12:25:21 -0800 (PST) Original-Received: from smtpclient.apple (protagoras.phil.berkeley.edu. [128.32.252.45]) by smtp.gmail.com with ESMTPSA id b126-20020a62cf84000000b00574e84ed847sm16200159pfg.24.2023.01.20.12.25.20 for (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Fri, 20 Jan 2023 12:25:20 -0800 (PST) In-Reply-To: <1f6a4484-4173-21b9-efcc-d7cd3867d4f7-4SSc53hpTiu9TMao6EloiEEOCMrvLtNR@public.gmane.org> X-Mailer: Apple Mail (2.3654.120.0.1.13) X-Original-Sender: fiddlosopher-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org X-Original-Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=KdPsz4z8; spf=pass (google.com: domain of fiddlosopher-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2607:f8b0:4864:20::42f 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:32053 Archived-At: --Apple-Mail=_AECB3276-E906-40DD-8580-05BA3FCC02E0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" Manual definitely covers both 1 and 2: it says In order of preference, pandoc will look for Lua filters in =E2=80=A2 a specified full or relative path, =E2=80=A2 $DATADIR/filters where $DATADIR is the user data directory (see = --data-dir, above). I wouldn=E2=80=99t expect 3 to work. If it does, that=E2=80=99s quite unex= pected. Can anyone else reproduce this? > On Jan 20, 2023, at 9:14 AM, ChrisD wrote: >=20 > Sorry, this is my error. >=20 > Filters work when placed in > 1) The current working directory > 2) $DATADIR/filters > 3) /lua >=20 > So the manual is correct, though it only specifies (2), not (1) or (3). >=20 > Sorry for the noise. >=20 >=20 > On 1/20/2023 9:47 AM, ChrisD wrote: >> What is the correct location for lua filters? >>=20 >> The pandoc manual says it will search for lua filters in $DATADIR/filter= s. However that doesn't work for me on Windows. What does work is: >>=20 >> 1) The current working directory >> 2) $DATADIR/lua >> 3) /lua >>=20 >> The location of pandoc.exe for me is user//AppData/Local/Pando= c. This is on my path. >>=20 >> Is this an error in the manual, or do I have something configured wrong?= It seems to me I must have read somewhere to use the lua sub-directory, bu= t I can't find it anywhere online now. >>=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/1f6a4484-4173-21b9-efcc-d7cd3867d4f7%40intielectronics.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/1B880D38-AC8E-40B2-A4D1-15B534F81C6F%40gmail.com. --Apple-Mail=_AECB3276-E906-40DD-8580-05BA3FCC02E0 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset="UTF-8" Manual definitely covers both 1 and 2= : it says

In order of preference, pandoc will = look for Lua filters in

=E2=80=A2 a spec= ified full or relative path,

=E2= =80=A2 $DATADIR/filters where $DATADIR is the user data dire= ctory (see --data-dir, above).

I wouldn= =E2=80=99t expect 3 to work.  If it does, that=E2=80=99s quite unexpec= ted.  Can anyone else reproduce this?


On Jan 20, = 2023, at 9:14 AM, ChrisD <cd34-gg-4SSc53hpTiu9TMao6EloiEEOCMrvLtNR@public.gmane.org> wrote:

Sorry, this is my error.

Filters work= when placed in
1) The current working directory
2) $DATADIR/filters
3) <Location of pandoc.exe>/lua
So the manual is correct, though it only specif= ies (2), not (1) or (3).

Sorry for the noise.<= br class=3D"">

On 1/20/2023 9:47 AM, ChrisD wr= ote:
What is the correct location for lua= filters?

The pandoc manual says it will searc= h for lua filters in $DATADIR/filters. However that doesn't work for me on&= nbsp;Windows. What does work is:

1) The curren= t working directory
2) $DATADIR/lua
3) <Loca= tion of pandoc.exe>/lua

The location of pan= doc.exe for me is user/<username>/AppData/Local/Pandoc. This is on my= path.

Is this an error in the manual, or do I= have something configured wrong? It seems to me I must have read some= where to use the lua sub-directory, but I can't find it anywhere online now= .


-- 
You received this message because you are subscribed to the Google G= roups "pandoc-discuss" group.
To unsubscribe from this group = and stop receiving emails from it, send an email to pandoc-discuss+unsubscribe@goog= legroups.com.
To view this discussion on the web visit&nb= sp;https://groups.google.com/d/msgid/pandoc-discuss/1f6a44= 84-4173-21b9-efcc-d7cd3867d4f7%40intielectronics.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://groups.google.com/d/msgid/p= andoc-discuss/1B880D38-AC8E-40B2-A4D1-15B534F81C6F%40gmail.com.
--Apple-Mail=_AECB3276-E906-40DD-8580-05BA3FCC02E0--