public inbox archive for pandoc-discuss@googlegroups.com
 help / color / mirror / Atom feed
From: Claudio Di Vita <claudio.divita-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
To: pandoc-discuss <pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
Subject: Using lfs in Pandoc filter (for scanning directories)
Date: Thu, 14 Jul 2022 03:40:00 -0700 (PDT)	[thread overview]
Message-ID: <0b03f580-ac49-4589-98a5-c955514dbab0n@googlegroups.com> (raw)


[-- Attachment #1.1: Type: text/plain, Size: 1060 bytes --]

Hi folks,

I created a Docker image from pandoc/latex (the Ubuntu version) to run my 
pandoc conversions, thus developing some custom filters.

Due to new requirements, within a filter I need to scan directories and 
looking for files. I would use lfs (installing it via luarocks) but I'm 
wondering how I can use it with pandoc.

Should I install lua separately within my custom Docker image and instructs 
pandoc to use such version ?

Any other suggestions on how to scan directories from a Lua filter ? I 
could run a find through pandoc.pipe, but then I have to parse the output 
and, in general, looks like a dirty solution.

Thanks,

Claudio

-- 
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/0b03f580-ac49-4589-98a5-c955514dbab0n%40googlegroups.com.

[-- Attachment #1.2: Type: text/html, Size: 1483 bytes --]

             reply	other threads:[~2022-07-14 10:40 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-07-14 10:40 Claudio Di Vita [this message]
     [not found] ` <0b03f580-ac49-4589-98a5-c955514dbab0n-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2022-07-14 13:35   ` Albert Krewinkel
     [not found]     ` <87cze7g5ud.fsf-9EawChwDxG8hFhg+JK9F0w@public.gmane.org>
2022-07-15 15:29       ` Claudio Di Vita

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=0b03f580-ac49-4589-98a5-c955514dbab0n@googlegroups.com \
    --to=claudio.divita-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).