public inbox archive for pandoc-discuss@googlegroups.com
 help / color / mirror / Atom feed
From: John MacFarlane <fiddlosopher-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
Subject: Re: Directories for lua filters
Date: Fri, 20 Jan 2023 12:25:17 -0800	[thread overview]
Message-ID: <1B880D38-AC8E-40B2-A4D1-15B534F81C6F@gmail.com> (raw)
In-Reply-To: <1f6a4484-4173-21b9-efcc-d7cd3867d4f7-4SSc53hpTiu9TMao6EloiEEOCMrvLtNR@public.gmane.org>

[-- Attachment #1: Type: text/plain, Size: 2214 bytes --]

Manual definitely covers both 1 and 2: it says

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

	• a specified full or relative path,

	• $DATADIR/filters where $DATADIR is the user data directory (see --data-dir, above).

I wouldn’t expect 3 to work.  If it does, that’s quite unexpected.  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 specifies (2), not (1) or (3).
> 
> Sorry for the noise.
> 
> 
> On 1/20/2023 9:47 AM, ChrisD wrote:
>> What is the correct location for lua filters?
>> 
>> The pandoc manual says it will search for lua filters in $DATADIR/filters. However that doesn't work for me on Windows. What does work is:
>> 
>> 1) The current working directory
>> 2) $DATADIR/lua
>> 3) <Location of pandoc.exe>/lua
>> 
>> The location of pandoc.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 somewhere 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 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/1f6a4484-4173-21b9-efcc-d7cd3867d4f7%40intielectronics.com.

-- 
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/1B880D38-AC8E-40B2-A4D1-15B534F81C6F%40gmail.com.

[-- Attachment #2: Type: text/html, Size: 3947 bytes --]

  parent reply	other threads:[~2023-01-20 20:25 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-01-20 16:47 ChrisD
     [not found] ` <69d75ee2-5140-4415-2da7-aef9ff91df5f-4SSc53hpTiu9TMao6EloiEEOCMrvLtNR@public.gmane.org>
2023-01-20 17:14   ` ChrisD
     [not found]     ` <1f6a4484-4173-21b9-efcc-d7cd3867d4f7-4SSc53hpTiu9TMao6EloiEEOCMrvLtNR@public.gmane.org>
2023-01-20 20:25       ` John MacFarlane [this message]
     [not found]         ` <1B880D38-AC8E-40B2-A4D1-15B534F81C6F-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2023-01-20 20:55           ` ChrisD
     [not found]             ` <9c6e0ddc-b18d-205f-0868-3eb1498848f4-4SSc53hpTiu9TMao6EloiEEOCMrvLtNR@public.gmane.org>
2023-01-20 22:07               ` ChrisD
     [not found]                 ` <198fb70e-dafe-517c-2ca5-f8a9342be92e-4SSc53hpTiu9TMao6EloiEEOCMrvLtNR@public.gmane.org>
2023-01-21 11:44                   ` 'William Lupton' via pandoc-discuss

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1B880D38-AC8E-40B2-A4D1-15B534F81C6F@gmail.com \
    --to=fiddlosopher-re5jqeeqqe8avxtiumwx3w@public.gmane.org \
    --cc=pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).