From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/30968 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Claudio Di Vita Newsgroups: gmane.text.pandoc Subject: Using lfs in Pandoc filter (for scanning directories) Date: Thu, 14 Jul 2022 03:40:00 -0700 (PDT) Message-ID: <0b03f580-ac49-4589-98a5-c955514dbab0n@googlegroups.com> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_480_362063947.1657795200303" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="4436"; mail-complaints-to="usenet@ciao.gmane.io" To: pandoc-discuss Original-X-From: pandoc-discuss+bncBDOYFIOXRYHRBAPFX6LAMGQELSDLDTQ-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Thu Jul 14 12:40:06 2022 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-yb1-f186.google.com ([209.85.219.186]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1oBwGL-0000vL-GD for gtp-pandoc-discuss@m.gmane-mx.org; Thu, 14 Jul 2022 12:40:05 +0200 Original-Received: by mail-yb1-f186.google.com with SMTP id l6-20020a25bf86000000b00668c915a3f2sf1271486ybk.4 for ; Thu, 14 Jul 2022 03:40:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20210112; h=sender:date:from:to:message-id:subject:mime-version :x-original-sender:reply-to:precedence:mailing-list:list-id :list-post:list-help:list-archive:list-subscribe:list-unsubscribe; bh=T3ZrZf3ssL5SUBTRDBuweXojxfAb40uid+CXt/4PQrE=; b=gApdiDFNvza1cQOUgPAWuawoyIe5Rs6DBzcpW6rP4MFDcg02N6qrn5VHB1AboSF/Ye ZgzAD1WzirCjw6BTMkNRzD2jC1UshFU5BsxidMGlgTPPBJNKONLbBETO3D6ChV0utgq7 F8GV8R5tFrLWzht9biBw4bm6vDhjRW6YBv2cRSiEI1piGAOZmtzwAb+EY7ujmELAs3LX 0zyn3upP5vYNl7xsQCoGRiIKRlL19wbv497I2fZx8cQhflBI5OSNYO6J99O25LE1z2uY WL5NKzCRhwHkbbzBUDJJ+fTc0j0juBswdQ5K+T5FLJgwniJLeP1+uwVb9iAP0d4vzX2z Yfwg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=date:from:to:message-id:subject:mime-version:x-original-sender :reply-to:precedence:mailing-list:list-id:list-post:list-help :list-archive:list-subscribe:list-unsubscribe; bh=T3ZrZf3ssL5SUBTRDBuweXojxfAb40uid+CXt/4PQrE=; b=GRFfqo7X2i79ZpDaBDXQ6M0YW6fY7I7wMblUqPMvGuZOdiymdTUbFz0Et4fL2R7Sym pMeYrTvXCCkjfVNOVFuWDLq/t5YBJ9SYku8Xg7ZnG7Y3eUoT1hi3IluEqlsJ3q4toCEm hp3OSiAo6TPoMTRkzfEYqY9VVOyOY+sgqMvm/Oqra8LLCskYTwvcNDqLxAnJGOfFp+rd UbstpQhzOkSqS9YuWnLDKrpdbicYw4F+kiPzp4Wk9lwLevEt+K9BFaLuHkmQuqLRswAg m2z5X/x27GQehcLeIvA2fwheJsD7Qjo1CUjzxCVv78ZiLliR8oGeCoWi42liEqMo7C3/ XoVA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=sender:x-gm-message-state:date:from:to:message-id:subject :mime-version:x-original-sender:reply-to:precedence:mailing-list :list-id:x-spam-checked-in-group:list-post:list-help:list-archive :list-subscribe:list-unsubscribe; bh=T3ZrZf3ssL5SUBTRDBuweXojxfAb40uid+CXt/4PQrE=; b=QP9Bts5YQDFrRmH34xhJnAGjtiFFqpRN0oNCILoY86ckjl3YOIa7k0b5qwJ1EAkwey x9ErWhzeA/mUUiNp/ByoEO1whRHAcV62yqLaGZBezzCR5G0Vgo06APceiYIuIjO66te9 DDK9jF6MdFZiVw1erfVakkM091loaOHxF87eJZYtAhbtvjDtdW9Q4Er0AfRUPDks1So7 +aXAj/sHRbbolAlF0Pk+NmC9k4l4qi3tWOMtBhPe5xGd/v/T8BWsv/csc0b+qGkpHAUB HP/C7JpHKkDCeG08NJbgQfQziTNg44a3VNPyyPMEN6ynMfcbOCXycPHJ13f8qGXCHSY5 G9Jg== Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AJIora9c8jStZe6ViA0CD2yh6RC+TJJkyIHtsd5JR/B952Gv8jOZKLrP RSJNb6GS8UhtEyBK8OsKeAw= X-Google-Smtp-Source: AGRyM1sJq1dXVsnmxLkaH4DPNJ+2awEhDEJ21jYXukLy7psOLH7lQKKjOEpCvN2WcoLKrqOmXpVswA== X-Received: by 2002:a0d:c602:0:b0:31c:822a:c168 with SMTP id i2-20020a0dc602000000b0031c822ac168mr9609700ywd.134.1657795204470; Thu, 14 Jul 2022 03:40:04 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a25:254f:0:b0:66f:66a:4527 with SMTP id l76-20020a25254f000000b0066f066a4527ls7125266ybl.9.gmail; Thu, 14 Jul 2022 03:40:01 -0700 (PDT) X-Received: by 2002:a05:6902:1026:b0:66f:d3d:444 with SMTP id x6-20020a056902102600b0066f0d3d0444mr7887816ybt.260.1657795200939; Thu, 14 Jul 2022 03:40:00 -0700 (PDT) X-Original-Sender: claudio.divita-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org 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:30968 Archived-At: ------=_Part_480_362063947.1657795200303 Content-Type: multipart/alternative; boundary="----=_Part_481_745145900.1657795200303" ------=_Part_481_745145900.1657795200303 Content-Type: text/plain; charset="UTF-8" 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. ------=_Part_481_745145900.1657795200303 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi folks,

I created a Docker image from pandoc/latex (th= e 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 (install= ing it via luarocks) but I'm wondering how I can use it with pandoc.
<= div>
Should I install lua separately within my custom Docker = image and instructs pandoc to use such version ?

A= ny 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, i= n general, looks like a dirty solution.

Thanks,

Claudio

--
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/pandoc-discuss/0b03f580-ac49-4589-98a5-c955514dbab0n%40googlegroups.= com.
------=_Part_481_745145900.1657795200303-- ------=_Part_480_362063947.1657795200303--