From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/29319 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:07:15 +0000 Message-ID: <54c55b4dc2234d6cb0015bb40d8a8ac7@unibe.ch> References: <1ad4d633-8045-4611-97de-63757c38fa9fn@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="21189"; mail-complaints-to="usenet@ciao.gmane.io" To: Original-X-From: pandoc-discuss+bncBCZ27W53TUFBBB4Q3SFAMGQE5KVZUYI-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Fri Oct 01 15:07:23 2021 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-lf1-f64.google.com ([209.85.167.64]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1mWIG2-0005Lf-AO for gtp-pandoc-discuss@m.gmane-mx.org; Fri, 01 Oct 2021 15:07:22 +0200 Original-Received: by mail-lf1-f64.google.com with SMTP id v2-20020ac25582000000b003fd1c161a31sf2955027lfg.15 for ; Fri, 01 Oct 2021 06:07:22 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1633093641; cv=pass; d=google.com; s=arc-20160816; b=eqaJMxMIR8CHog7cCX99rabnvpWScekk9H4AlIO2kqUCJLQ50fX1ObmfJgMbB8x4f9 pT4DR+XxWVT9hAr1J6ae5n+q1tQzBPLa1NPg+jtO5Wb6OM05ehFnLiP8uPSZYlqTSUyN 2aywyQQjdRn3bSeKGGhXycF2hMBFUe4TqkqD0iZDHmfXukSOhlT2wmGDyTSE0Y/wdyon jaEZhTD2ZEq05UUgjFdPYra8kRrKXDxHjtZt9XAX5cIzCgaCAimT04oVhIVJY5msnWGL ethkKIeXyZgwrqcja2u40djP4C84x1RFkuWXTU4KdZjiF/jz6G8DejSZ/HJpJSi1tcdU EPdA== 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=7zcZ4ViCKGBju8q34X7waB/aNEHWw1S4Sm2JsixSPSQ=; b=XAmzxF5XwwZpYd/bPMrBKnB+CeIwW7wI058VehoE5xlezFfMuXqeqmYvNeDx21ak3r c50w0VgROY3adCBtbxl3LQ0UUpcYaA2iZaf6X2S8l2VeQdk4FdYF1nGARGkqes5bUgJg f+LAFAtsQ/RVpmLRSJB+rSgn+wTdaIrsv4CT/YevmVmmr9yS06gAdDjSFcHquF8X4TDD bcAuKmy1h7gN9/EImURSlgU3nrxMp44PZFcxJYrjIvDswrER87em8ofZ7DJLY9S9dSDO yAR0wVTTpLRgnP0uJVpKvBxttT9u5xFzW8BI9+lZyAlAkvqk6Cl249VCFpEIPFbFlo8n FiWA== 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=7zcZ4ViCKGBju8q34X7waB/aNEHWw1S4Sm2JsixSPSQ=; b=KQux4E5LfnEMJjNf0Y4FClwJuqeX1sH17M3u79knMKQfaESHqWQOvVzipN8nwpJ5SW 7poL6S1JJ9mAnpJU/vQuAmymzn7tzkY1fgb2KKIpEPSvXEaSimeg+JJAJmEG34PPLOs9 SixvKGKulaYiyc0St3InF4OHNBURSV2Yg73jHU5+z+TfNWtiX/nbv1ommScW3Mlpdtyo iO9uIIk3B6bEk5PsOK63F5qHihZWl+JydZXZUJ71xmVpndO7SR+Egk7SbC89Mk78hWQd 3vZfyL+xZymojG3UYtlZAY4TzK7aQyp9xbeSlTwCVRhTT5XZNC 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=7zcZ4ViCKGBju8q34X7waB/aNEHWw1S4Sm2JsixSPSQ=; b=tqAL4XCaMtlB+oC7udlRGZLNfwy/pd1x/S4skM61Hs5IDXzvhVjnArCAhAGElcX3KU mWwnQ/LDxGxEFR3qpDyWkHJgT2w+tdeqZzssTpzSI6K/IGODVp2Rm3cDSPKIXEvbTw+6 xOLTVHUqKb0u8TgTk0JOwwchpr1vi+ANfyNPPr08lnjotB1cpEF1VlukoWcneCeLpiFw sVMZmnHNTZqmbbpapyxsFtsLHaCqypd+YbH70WDzBZDVybBpHf2kMhcCwhcvMDtw9N+O APFM3 Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AOAM530ISmK7diVV6Qj1la5YjWyNshY06/D+/fhMGzCcRvE/kVzhbMvi SEofgJD1oqJwGkspuZF920c= X-Google-Smtp-Source: ABdhPJyV8YD0HX2pjl1T7Z6GnOLY9Vyy74eBkca1RQcNZfsxV4388N+sIlrPs32Zpj5XafC36bDKvg== X-Received: by 2002:a2e:144a:: with SMTP id 10mr12233770lju.149.1633093641770; Fri, 01 Oct 2021 06:07:21 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a05:6512:3499:: with SMTP id v25ls370754lfr.0.gmail; Fri, 01 Oct 2021 06:07:19 -0700 (PDT) X-Received: by 2002:a05:6512:3054:: with SMTP id b20mr5780891lfb.660.1633093639145; Fri, 01 Oct 2021 06:07:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1633093639; cv=none; d=google.com; s=arc-20160816; b=dDsm9A7H3tNKALFnVXCqph9DYNMVXBBD2nILnkM3jVRz/tn4R0tPtXkNCdbQylrPit F3ixFpudd2UMRdJ9tDUJurbNz+AgbCO+eg557F/RAXGjAGF7gC0MEDl9l8SdiMJCMiiI jfKxNCv9oZ61usk40RfKDmi7ZYHLEguWZQkXV68fvoFKJSqaJRWiemS6dVBkLuVCizHC GZBKeBAHqLl7sHQYQL9ia8h+U/8D4HkpOwZMPYalZ8dG98DDmlNvPo+ms2wKQuzJWsvE bng/JBD3KGKbWuMZpr/pmQghDv4oNTmTioNeRof6q68Abi9V78Ezb8ysX5mKdStw3xL7 C+ug== 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=nHfDQKWPH1FhTXGq1QMxoMlEE3h8LCAVaBGDIkPAxhA=; b=Gr1Mfp0MiUMJaI62r+Br8woU75stuZzDkIZjdKBiroz8/ey/5qc5t2NqnAvSNWzzIy 4hkfTDAfM3NET2xopZ5ZabJdPfycGNLBXgNypjn+AcStduQRPIlTmjgzsZXh6VWgkxYp kzPMpVSh+bD/LIJ+MjbDSzWFwaofLplihDKCtCqLZen6EnMHNy9belilFcvUfPkRzZBE WiaKJqRcGyBYI+3AFeIL1IpDT3QyywUY9Q6Lk543XtZFhsJE7GZzS7gWgFccPnTR8sj4 L+JjZVWWeDTzmYcLOJ8CbGdlFjPd+wwgfbK2RM9qikJBUsyNC2KeRwKnReqbnoocEhXY QWaQ== 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 p19si49940ljj.5.2021.10.01.06.07.18 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 01 Oct 2021 06:07:18 -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-01.campus.unibe.ch [130.92.13.20]) (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 B2C8550007F for ; Fri, 1 Oct 2021 15:07:16 +0200 (CEST) Thread-Topic: What must I do to get any LUA script to work ? Thread-Index: AQHXtsTdG14zutCcx0m4OHZQ7WOw7qu+HO0/ In-Reply-To: <1ad4d633-8045-4611-97de-63757c38fa9fn-/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:29319 Archived-At: Return s ________________________________________ Von: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org im A= uftrag von 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-discuss+unsubscribe-/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. --=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/54c55b4dc2234d6cb0015bb40d8a8ac7%40unibe.ch.