From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/29991 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Albert Krewinkel Newsgroups: gmane.text.pandoc Subject: Re: Using lua filter include-files on pandoc 2.5 does not work Date: Mon, 17 Jan 2022 13:05:13 +0100 Message-ID: <8735lmefdv.fsf@zeitkraut.de> References: <091e1142-2cf5-40f0-a0f4-1c6a2bd0af4bn@googlegroups.com> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="30082"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Jacco Steur To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-X-From: pandoc-discuss+bncBCZJF7XJTILRBJNXSWHQMGQEPMV6ZRI-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mon Jan 17 13:06:00 2022 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 1n9Qls-0007e2-5s for gtp-pandoc-discuss@m.gmane-mx.org; Mon, 17 Jan 2022 13:06:00 +0100 Original-Received: by mail-lf1-f64.google.com with SMTP id q14-20020ac2514e000000b0042d99ba0e3esf10631072lfd.20 for ; Mon, 17 Jan 2022 04:06:00 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1642421159; cv=pass; d=google.com; s=arc-20160816; b=E15lkt99H2YT3I2SKNT75TEJfqRy7CIZwAf8GYvDQJceK2JeZGyvWv7IYzkEzHq7GJ t8IxDmlsU4THrnmw2yryozyE469kg7xX5ev3KnAoqYg9sHAIRHhfUtyGuFKh5s+8wc82 VUBtHR96xEI/vLW7K8B1+ZVdjqpI60mMqBeNEpGZB1q7MLJRKo+MIPbTNroPTSnATUCl rxEVC/Xt9vdX6Hkz0xf/wg8xsDyHRR3SWqY4VHSDmvsHnqw/qxCXAAKRyUm8AZ9nkXrQ +lRKxLm9lkZoUqWIU10tI7+DQfknA2mHuEmOcs4vYon/H9dCeOkwmSGZTwJACbgajWTH fLVg== 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:message-id :in-reply-to:date:subject:cc:to:from:references:sender :dkim-signature; bh=iVJS4uLiV27WlmczZM1WZWPfhsIPI1UDL/p2toMTd2Y=; b=kQeqVy1S4nc8VGNO3/GMoFmsl7qWtStPHWuRAE2G7vevrpF1QJ865otmGNv2LgFLhw x5799YZUCIwN1JR3tNIm812TKdzWOWKIbuC/3FmmENfSlR9UujGFwzu0niOtF0EI/hbW cSprLt+jgKgx9qcfWn76M9pB2vAHtFdA/p/u9YXpColbyNYibTofGBB66Wqr5eCKIX6Q YfWxc+ylQlehQqo8BE3af+ZnNhNVD+nJ2kNbJM13skDfIFDRWvrO076kKvyNcujJifGw uoJ1zGYgbsA4G6XEgQv43LQR0fxq2TsPLcrFBjBiIo0TRqS1gBj/nhz1YEuoZjm1fjdm quUA== ARC-Authentication-Results: i=2; gmr-mx.google.com; spf=pass (google.com: domain of albert+pandoc-9EawChwDxG8hFhg+JK9F0w@public.gmane.org designates 80.241.56.151 as permitted sender) smtp.mailfrom=albert+pandoc-9EawChwDxG8hFhg+JK9F0w@public.gmane.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20210112; h=sender:references:from:to:cc:subject:date:in-reply-to:message-id :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=iVJS4uLiV27WlmczZM1WZWPfhsIPI1UDL/p2toMTd2Y=; b=H6DJ+qwlAKHtsiPFpa1hqhn23t7s36fOS/e1URaM0ImqIN6h6A+6dsfJBQhbyBOLuq kRB6ozYv3/I57QZgIW//2yIYrAYBhJB+2LhUhPxEeZ3MBRZ24Sxfa+qk/elM/t9SDPGZ h2GpkwL/MtiLmnJFS3kMUPgcdXdw5X17kxGaoulJZspriIJZ/k6hOVD9CVrnrmwKxFkn UabwTsuo+lvZlfEMqEEmfp/3vvBqMBSXvj/M+I5Ba8UBUCeIk2UKWu77XYo+HDZj9O8o Aarq7OTpCbmCvj83cY65VR2EzmP/Dm6nDGY6cTApLCPDSqvMWo8w+jM1lg4AjokzdafH JDXw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=sender:x-gm-message-state:references:from:to:cc:subject:date :in-reply-to:message-id: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=iVJS4uLiV27WlmczZM1WZWPfhsIPI1UDL/p2toMTd2Y=; b=ryGiscquyr1+ORAQALcF8X6LsIHt3WoVD6BdmjbZaWr0aHC+2X3fvWUr7N5wQcWpw9 kZX4din46Xk5lQwIZW/Mlwg90geHwn6eKJG8Dd+r7+M7Em8GII3/MKQuZG26XxQW1UJ3 WC1FVXJiwMlKRS2ZOzre7XB1QOf5FKhhANQ6NwsFGuDF4WANAfQAqerjLZXWs7VVrBuL F2RFC59hVokreu8l6vMPbnztQS/OysBp5tB+N3fyiA3HWAlVTimTYSx2rV2S2UnKo/10 YoA/8EIqkP3Mb9d+lch9nDDyyEdAEeDj6F5N9clzajpRG9ygB4PPOnVO4enkShFDyeqv HmQw== Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AOAM530DISMfe4SApeax9cUO1aBzEXaBYCOfCrQaQlStn3laIx1CcH1A Djylqs5ANEShjuNmCJym7Qw= X-Google-Smtp-Source: ABdhPJz7YhfZ6X2viPyOgaVDa8wwyAjFSfpaDvMQqH+njqf+kzBlKYYLwPCAIgrLAj2a3dXwSHoB8w== X-Received: by 2002:a19:f811:: with SMTP id a17mr15935701lff.18.1642421159467; Mon, 17 Jan 2022 04:05:59 -0800 (PST) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a2e:a550:: with SMTP id e16ls707872ljn.11.gmail; Mon, 17 Jan 2022 04:05:56 -0800 (PST) X-Received: by 2002:a2e:9086:: with SMTP id l6mr15571456ljg.350.1642421156575; Mon, 17 Jan 2022 04:05:56 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1642421156; cv=none; d=google.com; s=arc-20160816; b=xhsT/tVlfTROMdFbgxpQPzQH05XPFcoVGB+fO7EFipWxegvcYRnDwdCMLwt4DYMVBq gMpLaHN++386NiRTbeozlLVgki4tYsB8jk50oArcM6+vpSChe5oav2yE1eawIgMTE7W2 UkUh5Ve+Rg9ajMAjZtknSQNjlRjEXbCCCgrZfpicXz/W9jCjH55wFzPWpP7zcnoaptge zH2LYA5igs0w2AnB3/BkNN9tX4fo8V5JlYOLZfVdgq3EsO8oQbJiYqu5P6//pw1LhofZ CDVPa/wFnEPm6bArpQVJ6giPoUNuBs/1kXuSGyT/t5m6XC4k6MX4dsN9L81XjHK7JqM9 l5RA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:message-id:in-reply-to:date:subject:cc:to:from :references; bh=rBfu+VLfZMLkGeSXxtZyoUH8NB/bPlRIpjPQp3duWcw=; b=mcLkNLAhLW1izWzdAuiO5Tj1ko+zYIvdTF9vq26yMzDRMAsf0taZKAcBeIzVOkiov2 0I/o2TQftcRfSpLXmt4Wqw+wqYaYiF9+dwlAoteW5pjln1+6KANBebe3WSvGeM0fj6Fu rp+EXWw0JePyF9+Bx/6Pkl1ni9mYg9cENPZ6lSqFKZNqyf4iW3pSUGJKy9miTTUCxcQq EULijt3hz0eUzm34t6j3S2oOxAVXGYFppzywuKhnsqLdfwXqd2MnTXTVgD7Ucq4W2itc u4GUbbaQFJUy0Ha+ccyJlZKCD/bJ8ihCJHLJEjWOjW2YpyPfZ1LoNZUO/XISTa8RISx8 v/jQ== ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=pass (google.com: domain of albert+pandoc-9EawChwDxG8hFhg+JK9F0w@public.gmane.org designates 80.241.56.151 as permitted sender) smtp.mailfrom=albert+pandoc-9EawChwDxG8hFhg+JK9F0w@public.gmane.org Original-Received: from mout-p-101.mailbox.org (mout-p-101.mailbox.org. [80.241.56.151]) by gmr-mx.google.com with ESMTPS id f4si211096lfc.9.2022.01.17.04.05.56 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 17 Jan 2022 04:05:56 -0800 (PST) Received-SPF: pass (google.com: domain of albert+pandoc-9EawChwDxG8hFhg+JK9F0w@public.gmane.org designates 80.241.56.151 as permitted sender) client-ip=80.241.56.151; Original-Received: from smtp1.mailbox.org (smtp1.mailbox.org [IPv6:2001:67c:2050:105:465:1:1:0]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-p-101.mailbox.org (Postfix) with ESMTPS id 4JcrGC4Rq7zQl7b; Mon, 17 Jan 2022 13:05:55 +0100 (CET) X-Virus-Scanned: amavisd-new at heinlein-support.de In-reply-to: <091e1142-2cf5-40f0-a0f4-1c6a2bd0af4bn-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> X-Original-Sender: albert+pandoc-9EawChwDxG8hFhg+JK9F0w@public.gmane.org X-Original-Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of albert+pandoc-9EawChwDxG8hFhg+JK9F0w@public.gmane.org designates 80.241.56.151 as permitted sender) smtp.mailfrom=albert+pandoc-9EawChwDxG8hFhg+JK9F0w@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:29991 Archived-At: Jacco Steur writes: > My goal is debugging LUA filters with the zerobrane ide. > > I got stuck on this: > > On Ubuntu I installed pandoc 2.5 using sudo apt install pandoc. > > [...] > > What am I doing wrong here...... You are doing everything right, it's just that the pandoc version shipped by Ubuntu is too old for this. The `pandoc.path` module is a relatively recent addition that became available in pandoc 2.12, released about a year ago. You can install a current version with the help of the *deb* packages published on the official pandoc release page: https://github.com/jgm/pandoc/releases/latest Alternatively, you could use a Docker image that suits your needs, e.g., , but the .deb installer is probably easier. HTH, Albert PS: This is also a shortcoming of the filter: it would be better if the filter was checking the pandoc version, returning a meaningful error message if the version is too old. I'll go and fix that. -- Albert Krewinkel GPG: 8eed e3e2 e8c5 6f18 81fe e836 388d c0b2 1f63 1124