From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/29321 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Newsgroups: gmane.text.pandoc Subject: AW: What must I do to get any LUA script to work ? Date: Fri, 1 Oct 2021 13:24:57 +0000 Message-ID: <1178c58675b0461e9f49669ab19d29d2@unibe.ch> References: <1ad4d633-8045-4611-97de-63757c38fa9fn@googlegroups.com> <54c55b4dc2234d6cb0015bb40d8a8ac7@unibe.ch>,<0ed66c25-3797-4cf4-986a-92ff787f30cbn@googlegroups.com> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="32486"; mail-complaints-to="usenet@ciao.gmane.io" To: Original-X-From: pandoc-discuss+bncBCZ27W53TUFBBLEY3SFAMGQEH4XPQUA-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Fri Oct 01 15:25:02 2021 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-lf1-f59.google.com ([209.85.167.59]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1mWIX8-0008Hp-CS for gtp-pandoc-discuss@m.gmane-mx.org; Fri, 01 Oct 2021 15:25:02 +0200 Original-Received: by mail-lf1-f59.google.com with SMTP id f32-20020a0565123b2000b003fd19ba9acasf3880863lfv.10 for ; Fri, 01 Oct 2021 06:25:02 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1633094702; cv=pass; d=google.com; s=arc-20160816; b=wMrTU/czg71rnQwfPQlhWSLNDZlF2s6LKHMmS5sKBU8dyG8Ts+6p5HWrY2vEipNypv sAZTCPuTthy0GjoqW307NqokmTT2fC9nrkXtKAK9yFA2gr6tiIkOUSioXtLwtcTV5uja yTME/REdZSWZX+6fbDRqFd/4zAf6Nx0Oi/++01MlKKwocyXZ8+jJH80SeDusHyJ6Y42f WaDWm/v0yZcEINjy5prFDs3wRHy5i8TmHdcXD7U1FUz3p0TNFcpXs7DVuflD0qHdtwsq svffcAKe54aEuw64PZUf5MCghUBd1C0Qlr+g/Qho0yKuz3Wu5yLSv4lnzluuX2y3NJAv 2aEA== 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:mime-version :content-transfer-encoding:content-language:accept-language :in-reply-to:references:message-id:date:thread-index:thread-topic :subject:to:from:sender:dkim-signature; bh=zVH53oHQ3Tn1H+uflxhSW5yINmPEDUuRsz0jvv7/K5c=; b=wMP2eeQo0spX5AOW9EuZa+KCCLVMvN/F3kBsHdniQa0igtrq3W1p2ON/5RBWUj+d/6 6sW+9PJEhDJ2OK3nHALXO+IzJj8KvxHueoagLZEub/OS6RSDWD3Mmff+TeoLctXJPaCK lduL8jwD5zU1z8Eeqn0wm7qQscJpN9ftze1eX6elSLdnZDIvjMqVYVVow0QFLCxjIxiI xxY7Mr5rqG2Y8yrqDZvGyNle1WM132l6kgvZD1Xt6VMr/hAAhGGoOgTLo0Km3p3FRMiH rbYrnqlxZ90085xqrGTwQLD5Uzk2i18GclySo/mUeIzDFz78JcWSewlgxO9MJOjtwbEA hmzg== ARC-Authentication-Results: i=2; gmr-mx.google.com; spf=pass (google.com: domain of denis.maier-NSENcxR/0n0@public.gmane.org designates 130.92.0.82 as permitted sender) smtp.mailfrom=denis.maier-NSENcxR/0n0@public.gmane.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=unibe.ch DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20210112; h=sender:from:to:subject:thread-topic:thread-index:date:message-id :references:in-reply-to:accept-language:content-language :content-transfer-encoding:mime-version: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=zVH53oHQ3Tn1H+uflxhSW5yINmPEDUuRsz0jvv7/K5c=; b=BcTVISHISVafJjzzBnhyelTRfoznsDIROpGmv6KainstyX+qeTgCUVdwrjMWWXEhKX 7xDn4VqoqikPD2nx2rsrM/FUFf87jfn8PrvesG0pFHYfIcrvGSydVyiMxPbJh9SVrVP3 ZFO6ORIVEER4URy7qEPOGOcoN3BkWP2WfU30Weg4jSLjQ1dTj4HKP7Utcpktx5Du5yfu V7lb+PmGTKIE1APGQTfOc/yD8/GF3gRpGea5oFwzamF1+VqfBV0Vm7OuKnCu4IFeZgae XACyvdKh5ihWBX9fcaeck9IDW6bt8drN5X7I26Pb3G7dHyNThI X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=sender:x-gm-message-state:from:to:subject:thread-topic:thread-index :date:message-id:references:in-reply-to:accept-language :content-language:content-transfer-encoding:mime-version :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=zVH53oHQ3Tn1H+uflxhSW5yINmPEDUuRsz0jvv7/K5c=; b=DFy8BM4fP7wpBpVE6WB8yuo/UCX0GYR6OIoDR/KqVUMBOKTkNsd5gqXAbHK3ZDQ4Vk nMxfWGehL3uQ6yWg12hpV5dNl9yLOUVfhweB6wAil1uFlyIrnpclgzLFFZKt/QfuHx3v BjGUF+NIe0lwbg+NjJpxs1fTX18lF6ZWAJEbit7ZWc0YkNFb7TKwaBM8U1U1b3uM+sWA 6rrr0HwvsGuiYiEHaVasjbZOME21zZJSU0IpYYCt8zk9WNyVr6+7CwIQtV8r6w/s8R7g MlMak Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AOAM530r69uB3SJciCeZ7DBKZeO/Pa69hRiTBSXSDxoee6uP+lCjglqw fapwby1JMkSGJYpLSyJs8Ck= X-Google-Smtp-Source: ABdhPJwXK27Dtyg70yWx1Qi+YuH91RrJ8TlaGn8qeUqIfTnCX2EwM8PAu8Yeboo77BYSUQv3t/eW7Q== X-Received: by 2002:ac2:5c11:: with SMTP id r17mr5505601lfp.191.1633094701856; Fri, 01 Oct 2021 06:25:01 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a2e:5453:: with SMTP id y19ls1041347ljd.0.gmail; Fri, 01 Oct 2021 06:24:59 -0700 (PDT) X-Received: by 2002:a2e:898f:: with SMTP id c15mr11750120lji.452.1633094699267; Fri, 01 Oct 2021 06:24:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1633094699; cv=none; d=google.com; s=arc-20160816; b=F/OYvLu+wZhzgE5PdE/qtePg0468ah/CqWOxVGC86wtXmTq4Odeu23hnSrm22tnkcx JmNifBBrDayOkLaYFhiBJtvkC10L4dzYaEa7IjGpafjjyEsYAeo5yqk1ZK3FJTyocPk2 /vXsFWn+Gkk8SMuWqOnGwNbHAG3IpO9NKxhONl8p5wjUmJPAMN/gcy4LeYH3AyRj7yW/ 2MmKLKWUPhY74HSuPlfRkqyNuzRxexIdfVCvmsPiCWrusD9bNCzJealKm/+IEok45ije OejZh3a+w9YIZ1ov2c0XgUn2zxWP7GjqtbLQ45mIBb7kABXiVof34J9KqXHrtWuvJy8t o+8g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:content-transfer-encoding:content-language :accept-language:in-reply-to:references:message-id:date:thread-index :thread-topic:subject:to:from; bh=FV1NGLgWr+WAKo3UQ/aVa1Zn0g1VzUJkU9hLlrFfu0k=; b=uGElhRjJxA0tvp+eJtN5iS+F0GwHROWynEbf1pJhuStUSIpM+7rrHbSthpBlfVBJmG 3/k0xD+MtCR/6hK1o1uFknulpE6rSalslQ0pdB+TDWXaeYK2FUYiDZ/ZRi7bGPEuT/oo RmWvnljF8GuVzVk4R1QYu5OYD3U5xlKzrm6DdsDfO9lPpq/ZLM1DckGYJAYyAwWHyXem wKZNwBvR8IYF6cqhMgeb456nFxCgC7Wv+5181AgNVZV4Mvm+1Vd9wP1ZhkXlgv9aaR98 qP6PuQ0HPnVNFlIqtwNU0DSl9XB/HCF1z/jai/OS5ZF/8eo1beCOMHDYh50X5dDWLIov scgQ== ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=pass (google.com: domain of denis.maier-NSENcxR/0n0@public.gmane.org designates 130.92.0.82 as permitted sender) smtp.mailfrom=denis.maier-NSENcxR/0n0@public.gmane.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=unibe.ch Original-Received: from mailhub-lb1.unibe.ch (mailhub-lb1.unibe.ch. [130.92.0.82]) by gmr-mx.google.com with ESMTPS id r28si76165lfn.6.2021.10.01.06.24.59 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 01 Oct 2021 06:24:59 -0700 (PDT) Received-SPF: pass (google.com: domain of denis.maier-NSENcxR/0n0@public.gmane.org designates 130.92.0.82 as permitted sender) client-ip=130.92.0.82; X-Virus-Scanned: By University of Bern - MGW Original-Received: from mail.campus.unibe.ch (aai-edge-04.campus.unibe.ch [130.92.13.146]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mailhub-lb1.unibe.ch (Postfix) with ESMTPS id DDA03500080 for ; Fri, 1 Oct 2021 15:24:57 +0200 (CEST) Thread-Topic: What must I do to get any LUA script to work ? Thread-Index: AQHXtsTdG14zutCcx0m4OHZQ7WOw7qu+HO0////jS4CAACGgwg== In-Reply-To: <0ed66c25-3797-4cf4-986a-92ff787f30cbn-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> Accept-Language: de-CH, en-US Content-Language: de-CH x-originating-ip: [130.92.13.161] X-Original-Sender: denis.maier-NSENcxR/0n0@public.gmane.org X-Original-Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of denis.maier-NSENcxR/0n0@public.gmane.org designates 130.92.0.82 as permitted sender) smtp.mailfrom=denis.maier-NSENcxR/0n0@public.gmane.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=unibe.ch 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:29321 Archived-At: It works now? ________________________________________ Von: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org im A= uftrag von Vin Cent Gesendet: Freitag, 1. Oktober 2021 15:24:21 An: pandoc-discuss Betreff: Re: What must I do to get any LUA script to work ? Thank you. On Friday, October 1, 2021 at 3:07:22 PM UTC+2 denis...-NSENcxR/0n0@public.gmane.org wrote: Return s ________________________________________ Von: pandoc-...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org im Auftrag v= on Vin Cent Gesendet: Freitag, 1. Oktober 2021 15:04:21 An: pandoc-discuss Betreff: What must I do to get any LUA script to work ? Greetings, I have been spending time pulling my hair and reducing my code and ambition= s. Now (based on the BlockCode example from my LUA code is simply reduced to : function Span(s) s.identifier =3D "ggg"; end I based that on examples I found here : https://issueexplorer.com/issue/lie= rdakil/pandoc-crossref/319 and based on the Span description from https://pandoc.org/lua-filters.html My very obvious expectation is that any generated span element has a "ggg" = identifier. I don't know how I could define a more trivial function. However, nothing e= ver works. This started with comparisons and real code. Since nothing works, I have re= duced it to this oneliner, which still doesn't. When I compile my (.tex) code (into epub), this continues producing blocks = such as :

[= fig:LettreChessCarleyCo]

My compilation is run with this command : pandoc -L ../pandocLabelFilter.lua -Fpandoc-crossref -o ebook.epub epub.tex= --epub-metadata=3Dmetadata.xml --epub-cover-image=3DIMG/couverture.jpg --t= oc --toc-depth=3D2 --resource-path=3DIMG/ --default-image-extension=3Djpg ../pandocLabelFilter.lua contains what I pasted above. So, what must I do additionnally so that any LUA code accepts to be run for= real ? Thanks, Vincent -- 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-discus...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org. To view this discussion on the web visit https://groups.google.com/d/msgid/= pandoc-discuss/1ad4d633-8045-4611-97de-63757c38fa9fn%40googlegroups.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 e= mail to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org. To view this discussion on the web visit https://groups.google.com/d/msgid/= pandoc-discuss/0ed66c25-3797-4cf4-986a-92ff787f30cbn%40googlegroups.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/1178c58675b0461e9f49669ab19d29d2%40unibe.ch.