From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/29442 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: BPJ Newsgroups: gmane.text.pandoc Subject: Re: AW: compiling lpeg into pandoc Date: Tue, 2 Nov 2021 13:38:12 +0100 Message-ID: References: <87ee806loe.fsf@zeitkraut.de> <83dbc2c6dcbe49e49e00dac40b73eb65@unibe.ch> <878ry67p0o.fsf@zeitkraut.de> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="000000000000a6dc3a05cfcd916e" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="27203"; mail-complaints-to="usenet@ciao.gmane.io" To: pandoc-discuss Original-X-From: pandoc-discuss+bncBCWMVYEK54FRBQHCQSGAMGQEZOTSRQY-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Tue Nov 02 13:38:27 2021 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-lf1-f61.google.com ([209.85.167.61]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1mht3b-0006x5-5Q for gtp-pandoc-discuss@m.gmane-mx.org; Tue, 02 Nov 2021 13:38:27 +0100 Original-Received: by mail-lf1-f61.google.com with SMTP id x27-20020ac2489b000000b004002367bdbbsf1244058lfc.2 for ; Tue, 02 Nov 2021 05:38:27 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1635856706; cv=pass; d=google.com; s=arc-20160816; b=NVt89LEOYnsHF13JEu2N78/geoFN8HuTjawmcjINGY+srO7RxAgKMe+Y08Fi6MynmD +UYc/9V/gYjzUQNQjjz7ii5WNkRwR/ZJKM8exL4ANUIx1itxKbVo3oT/pjkDKbC9peDe 6z9XDCd47uc0+zZB1YQeW+Ei0hJ5oiN9qKqO5ie1CnV8ZMP08v4t7whuaFuqaplWFSck U0bgvlSB+/BkcTmZAPY5kHTJG4MY640CUszxqlJygQzSaOP/u3wys1aOZC8HgCOioCcC fchU5a4iI3TL2/NzpSQasKNHOUegznJhGjRBj02PWi0JlFe6QthEPA91AS7i6h0snPpJ p2oQ== 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:to:subject:message-id:date :from:in-reply-to:references:mime-version:sender:dkim-signature :dkim-signature; bh=KAKOkGuZA+j177J4Pb4sJ9TlW3rM3hFDffs4WU41jr8=; b=HFuv5h1LXAim07gn7huR4fMhFn0GOwRP8Vi7w1d7LVfyXzEB/lXcQtUrFTZTwJzYCn 94GkALRuS9D61Wv464guSrw6OqayCFELQhpoPLlNrPJ5h2DBeohXV1w3BI2jFOH2APq2 B1SSBIOLnlA+VQdvgJxPlOqjEgqbfoERLLXpAxpTqI18WoGYizdJir6jxx2jAi2+WjzW mxvrv8QaP0i5QIUeEvzX+tBE16Lj41a3MTql3G9YjVwlL12/iYezFRAct9QXioXDJAZI R6G1y9QR0v7CmkmuWqncEhH7XMcxcAQX7UJrVihlmDTLPo5M2wYr1WTzebkoJ8u6gHPg lkfA== ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=qb0vB1ES; spf=pass (google.com: domain of melroch-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2a00:1450:4864:20::22c as permitted sender) smtp.mailfrom=melroch-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=sender:mime-version:references:in-reply-to:from:date:message-id :subject:to:x-original-sender:x-original-authentication-results :reply-to:precedence:mailing-list:list-id:list-post:list-help :list-archive:list-subscribe:list-unsubscribe; bh=KAKOkGuZA+j177J4Pb4sJ9TlW3rM3hFDffs4WU41jr8=; b=U/AF568Asd1guB+BWNfNuAo/L0eMmDbfHXXQZnEilhaVrdQx6bXJgYqmYuLu+Jh2/X H4y1aIMUIEoO7WDrpGJuNzatAGOZ0j4bO4WJJVAVHQP/pHVjV5DNEdXhtK3/Iajik2oH W+H5jwq+LEcTDkHRMnszpxqMOODRZIiVBiL4wEAkfoX7pkO059fehixaYcEw0JJ0Rbl+ cU7FlrYIdWd1vgFhh8qJ7fG55NRXOl8SjimzW+8oDN2Qr9FMYF9y1NKEIJUCdQiJbuKL dnc58BTowLu0DW9Xtb7FQr/Ro1331/quTEeDVIy4zxW8ERlFzu200HS9nWjcaqDShxg7 VLJg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :x-original-sender:x-original-authentication-results:reply-to :precedence:mailing-list:list-id:list-post:list-help:list-archive :list-subscribe:list-unsubscribe; bh=KAKOkGuZA+j177J4Pb4sJ9TlW3rM3hFDffs4WU41jr8=; b=jtHX3XQWEUtHzfxsxVYAgHe6DtltTas1vJPSiqp6p+zv1cS7J8Mp0Oko1lkA7sv5B4 ZzwN7UY84ZgjGHf6BPuyioC+zI87SPZf3U89GxaVrWq1l8v13bq4g0c+5gayHZntQ0ej pOdpCUv4iuSX9sG+ADBiiINXQ2+Cxq/BFOrKliskioRqcSbHz+UdSbXyV62fc2V+DMCB ez2f1oFXqQMGx0hMHoG1RBJrfrz9R6vfu7ZoSPdrRpmoShbX52tycmI+1HepLVzGu4Sb igM34LHK1iW/N2LX2KhM+IwF4RjxQJpObLIcbIYUZ+Wbn0W0wAqWXKNEpVIx5KrLITr2 rhyQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=sender:x-gm-message-state:mime-version:references:in-reply-to:from :date:message-id:subject:to:x-original-sender :x-original-authentication-results:reply-to:precedence:mailing-list :list-id:x-spam-checked-in-group:list-post:list-help:list-archive :list-subscribe:list-unsubscribe; bh=KAKOkGuZA+j177J4Pb4sJ9TlW3rM3hFDffs4WU41jr8=; b=owt/uniCtcMw3TdgEJrvbVVCBVLat3CpucYm/JAiOai0KT2tRwEnv9csDLAk7X1FzE 7FHIdC2GPLhisERvFX6RGKh3JLaQ6aABMvE59MyLxXdPg9pmJqnf2RQYXh4GBWZl7Z8Q N/IXA3L4ZDuA1qjJNwJX9+f9IwounHcoiHPW7RbSUwFBJUMaVm4aVvPY/x1viDM3CyAu jWpVJ6Z60NEWhzTz7uLQ+i3cUWYPc0RnLOVHiBZLAVJ99ffgqeK/bY9DMvfo4HVuiDQc 3b2302Oly99uSC5nk640KPGsgNfmlWTbZ+wFd+SBO3eORnRs+8uf298TdzzDnl55rEGW mxWA== Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AOAM532kRv1s8c2uwd2cdh0WH5ZzMKQXn1LncPfJKb6KOz7D8A72ZOyQ 9huhT1yuTH0p38isY5O+Xy0= X-Google-Smtp-Source: ABdhPJzPReOeIrmrnWYtqysm8eLYMCz+OcWTdpnAZSag4yTkRVYAVhk2DkgBHopGpL8eBsCLy784ZQ== X-Received: by 2002:a05:651c:4c8:: with SMTP id e8mr38625801lji.173.1635856706631; Tue, 02 Nov 2021 05:38:26 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a2e:bf27:: with SMTP id c39ls2148985ljr.1.gmail; Tue, 02 Nov 2021 05:38:24 -0700 (PDT) X-Received: by 2002:a2e:9e4e:: with SMTP id g14mr38542307ljk.261.1635856703917; Tue, 02 Nov 2021 05:38:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1635856703; cv=none; d=google.com; s=arc-20160816; b=v8wBqjJUronLpYcGAXk+xJu0p4zpqe1fI6RZU2oOdKlz2+ZTK+DQDFMv9fq8yDoy8M 9zDe85mQcUjELI/DfNVzkpHer6PLZtVNHawQH6geg+RvdmadtdoGCMwtb3Ml04YoiuK/ h6NKsDG9JfABnWRNOvY8BwEE9fFuFTcnI0VevUlJyEmid3HHQlA4CBTKEHh0coCyak+3 qRghL3j69O3UiQzLjRAwiFUyVnXHRgiD57liFUO+IIlwz4Agy4rnFbX6wWc2ovkEdcKx QLbublaF2lPi8iP5cGhz/BR0cf3gohGoEJ73WQJUys5a9arc+gDIKI7N4kDppK1q+U89 A+Dg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=y/jmL2gSq1LDZmgsigKSt/2OLZDTCoC9+u/K3OtNz70=; b=qJyC/VQTbziJ/auym3Vvlqnx4frtgFRhu+hTUvG5unGNYKB1T8Pcyr/ULa9lv1pySV cbu4TNVV49AwRBxQCLD/nUGkagrdTYKX4SPpF+ALPk/iyQp35cEc8iV0xhgOaUeVcwk4 FJJ6hsAA/hwZpaqD4MUK/3uVoKLUnD5X9+74p6Xnn8ZdH071whEK6LZBVmkWDl7SX1r/ PI6+bRXRXwBaVV493H5J1AimmWM4PhOVvE9U7rMcoOGmqTKwl5EVfoJ9b5DErTTW9iuF JQa9mPPD0rsZJFbyUrcadjXc58Csfv9DRCz/eb9vNNca6YvASKbkkYEJnmrHCbMHNpB0 cA2g== ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=qb0vB1ES; spf=pass (google.com: domain of melroch-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2a00:1450:4864:20::22c as permitted sender) smtp.mailfrom=melroch-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Original-Received: from mail-lj1-x22c.google.com (mail-lj1-x22c.google.com. [2a00:1450:4864:20::22c]) by gmr-mx.google.com with ESMTPS id e11si694484lfr.10.2021.11.02.05.38.22 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 02 Nov 2021 05:38:22 -0700 (PDT) Received-SPF: pass (google.com: domain of melroch-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2a00:1450:4864:20::22c as permitted sender) client-ip=2a00:1450:4864:20::22c; Original-Received: by mail-lj1-x22c.google.com with SMTP id k24so15255242ljg.3 for ; Tue, 02 Nov 2021 05:38:22 -0700 (PDT) X-Received: by 2002:a2e:a589:: with SMTP id m9mr20826536ljp.372.1635856702429; Tue, 02 Nov 2021 05:38:22 -0700 (PDT) In-Reply-To: <878ry67p0o.fsf-9EawChwDxG8hFhg+JK9F0w@public.gmane.org> X-Original-Sender: melroch-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org X-Original-Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=qb0vB1ES; spf=pass (google.com: domain of melroch-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2a00:1450:4864:20::22c as permitted sender) smtp.mailfrom=melroch-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:29442 Archived-At: --000000000000a6dc3a05cfcd916e Content-Type: text/plain; charset="UTF-8" Note that if you use the static binaries from the release page you can not use modules which use external (non-Lua) libraries. I have heard that if you download the first nightly from after each release that can use external libraries, but I'd rather not rely on that. Note also that the environment variables LUA_PATH_5_3 and LUA_CPATH_5_3 will override those without the version suffix. See https://web.archive.org/web/20210127030419/http://www.thijsschreijer.nl/blog/?p=1025 Den tis 2 nov. 2021 12:53Albert Krewinkel skrev: > > denis.maier-NSENcxR/0n0@public.gmane.org writes: > > > Anyway, so if I install modules via luarocks they become usable in > > filters? (That is, pandoc's lua will find those modules?) > > The locations in which Lua searches for libraries are controlled via the > LUA_PATH and LUA_CPATH environment variables. There is a convenient > `luarocks path` command which shows the necessary settings and can be > used to set them: > > eval "$(luarocks path)" > > After that, the Lua interpreter in pandoc should be able to find all > modules installed via luarocks. Just make sure that luarocks uses > Lua 5.3, which is the version included in pandoc. > > -- > 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/878ry67p0o.fsf%40zeitkraut.de > . > -- 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/CADAJKhC0WWR%2BwYpw%2BhFXTCS0BWeyeRLZ285HrQUtqARXq4auLw%40mail.gmail.com. --000000000000a6dc3a05cfcd916e Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Note that if you use the static binaries from the release= page you can not use modules which use external (non-Lua) libraries. I hav= e heard that if you download the first nightly from after each release that= can use external libraries, but I'd rather not rely on that.=C2=A0
Note also that the environment va= riables LUA_PATH_5_3 and LUA_CPATH_5_3 will override those without the vers= ion suffix. See


Den tis 2 nov. 2021 12:53Albert K= rewinkel <albert+pandoc-9EawChwDxG8hFhg+JK9F0w@public.gmane.org> skrev:
<= blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px= #ccc solid;padding-left:1ex">
denis.maier-NSENcxR/0n0@public.gmane.org writes:

> Anyway, so if I install modules via luarocks they become usable in
> filters? (That is, pandoc's lua will find those modules?)

The locations in which Lua searches for libraries are controlled via the LUA_PATH and LUA_CPATH environment variables. There is a convenient
`luarocks path` command which shows the necessary settings and can be
used to set them:

=C2=A0 =C2=A0 eval "$(luarocks path)"

After that, the Lua interpreter in pandoc should be able to find all
modules installed via luarocks. Just make sure that luarocks uses
Lua 5.3, which is the version included in pandoc.

--
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 pandoc-discuss+unsubscribe@go= oglegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/= pandoc-discuss/878ry67p0o.fsf%40zeitkraut.de.

--
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://gro= ups.google.com/d/msgid/pandoc-discuss/CADAJKhC0WWR%2BwYpw%2BhFXTCS0BWeyeRLZ= 285HrQUtqARXq4auLw%40mail.gmail.com.
--000000000000a6dc3a05cfcd916e--