From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/30744 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: A A Newsgroups: gmane.text.pandoc Subject: Re: Experimenting with pandoc module using just Lua Date: Thu, 16 Jun 2022 17:28:29 +0200 Message-ID: References: Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="000000000000d8cee905e1924afa" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="25252"; mail-complaints-to="usenet@ciao.gmane.io" To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-X-From: pandoc-discuss+bncBDJ77HUDRUCBBKMYVWKQMGQEBJ7DMIQ-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Thu Jun 16 17:28:46 2022 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-pg1-f189.google.com ([209.85.215.189]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1o1rQL-0006Kr-UH for gtp-pandoc-discuss@m.gmane-mx.org; Thu, 16 Jun 2022 17:28:46 +0200 Original-Received: by mail-pg1-f189.google.com with SMTP id 78-20020a630051000000b003fe25580679sf873279pga.9 for ; Thu, 16 Jun 2022 08:28:45 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1655393324; cv=pass; d=google.com; s=arc-20160816; b=RWGtd2Ygsho4JX805BNMVEybkVE0bXKNktzqlsjeWH/MqO6lMcSWR+S5tzeDGlw5y1 /auHhb4NZMkPDmrXfvPq3avDlhuMNKdn1S2sqGVNKWEbWdczttOr7BLfcOifrlbTdCu/ H7FdayImx1bY6yDpy+xn5P/YDteZ0hW+h78z+QWGKFXKQVEqD9MsJsGNVVnuymcYgvN+ QU1IDxZRSB1VE8Hm0utq3F56Xf1TFlhuyvjYjpCIzvTGJ1Rc8RImO2wdT+Q3yvFY4wea wVcPm7Juk622tLGjuRI/RmT0+XGo+nOOkdqypg5Uj700VaydhpvmUEB0qvtihNDHf8It ljpA== 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=xvAc5QRA/g60TxffROcxjl7fcikaVrEo4W1ESdzzvu4=; b=AV/QLvDYZAnNcSovMSWyvgFlDYx5nErfJMdJ2XB/HuSm7OlWmzll4CyzVx844F+v9s I4rEVn6OqFPiGQaGSv5DQwx/Pv/GxPJf5mFC5BySXZFwPz/DCctInIiHQNd64jMEmCWw prsBU35M29oz7ZVkQKuQylU7pWJQBp/M7PNhWanDQvPqaupzVGnfDePF8HOmS150GCFW vHV5tdIFZ9qZqkc9dyzYe6IlNHJCQgbC/yBkGbaV/Mgpx79xNZb1zCXiqPrwW7yN5Ll2 XzzKu9GFeS7SofRuo7XIZkmvWEhQtC4SpOITwcI4+r7XObv75OQfPRjJ2Veg1dyMdhGW kZwg== ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=iVx7c3dz; spf=pass (google.com: domain of amine.aboufirass-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2607:f8b0:4864:20::130 as permitted sender) smtp.mailfrom=amine.aboufirass-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=xvAc5QRA/g60TxffROcxjl7fcikaVrEo4W1ESdzzvu4=; b=Lc/MhpvYDM36hFIIosBFMLP6SJ1QBW4KOFmuCoi0awHh4t4N7Z/v/yxeZhE/aHIb7L 7/IVJ1p9fAD0yZE1sXB8c2A3UhyBU9ftC+cdzpI5jAw+eK7M9m9vyB/qpM0EHykV1Jh4 G9PAouFuqg5S+RVv6mGwjYn2qeRJnZQAVWGNNhsASLWZJyLsPwxLAgJWimOzFoQq1o4Q 1adQQDaot1U1SxrVsC+TiFF019FYeDuk/VHzccMEU1rLPinvMmdHwCFUMT4cNXBtPhAA iSTGKSOevUT9EGR7MpS/CjQkgBWzCOtF4/J0azF461T8Ne8p9zj/IxuWR7yn0Vtfzwvn Nz/g== 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=xvAc5QRA/g60TxffROcxjl7fcikaVrEo4W1ESdzzvu4=; b=e4Jo8EnoC1IyYjjDUOBskw5shLp7pU48ylcBNVOh3b/xg6sOyKnaI2Q4+rOpcvEb+q /OSj3nWMuUTRYGG07g+UYyycNQJADXTrX4ag0cnXrMpP5+U4vryF55xmmr9xvryynaVd EBfjWJr1FqmK6O89iyCyQ6mEhwpuH0ru7UILAJAASMfMeJcYl0Z3rFCdvKA10uG0W0nB 2DuuWlgVr7fr6Xi6p2JJRoGi266Ga6Y51oqQn953iysdkvaVVt+XROZsOMClNW9AycFX MwUt0LuJCra7GuJ7Ks+uqgeu5TPT8VU61XZ0zhdLlCTuOLP0VA8kzHYvCwfrL7PAmcmR V4Fg== 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=xvAc5QRA/g60TxffROcxjl7fcikaVrEo4W1ESdzzvu4=; b=mFiyzlubAbqMA7sR60vHlEZAmYgmdW3UtQyN/NOvOqof2fgQ2sMExvfSzXz4zVF37k 0rzwRaD4X7lDqah1MbYLsZQg21wA4WeBg8aq9IG+34P72q+1RPsARCh7UBh0dnGxoYdL +zrWonqeB1d0iARaTYQ5syxJTiIg8Ir9egDJahGFLlVxJDVxhzaIBYH2gGSWGyr6cTv/ BF6MTYy1XsYjWUzDiEv6jaSOS2R1kq2deyfInTxD6cp6YMt+BMcIkFj6NCCCoIEbNKYi ChdTLvccq9HQIwNSHs6h6CL5jnM1evqgZN6HKIjQ0H1Stpn6zTdDJhJCNQ5GZkVrWOr2 mUDg== Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AJIora+m6GxrSOu/9COPxfOwznWZakFG3nFvB+ARqx2MhI8MZ0Lx6PNN wWrzBH+TdGXmPPi6YUnCIVw= X-Google-Smtp-Source: AGRyM1vb6ieN3MIqd8yARvC8dPKhOqwY1pUDQozUeDCiPBqxnmY5/xdp8IpoQvpK5SRMbWlTZOpsDA== X-Received: by 2002:a17:90a:fd92:b0:1e2:d731:9ad5 with SMTP id cx18-20020a17090afd9200b001e2d7319ad5mr16681984pjb.199.1655393324579; Thu, 16 Jun 2022 08:28:44 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a05:6a00:2406:b0:51b:c5fc:5f02 with SMTP id z6-20020a056a00240600b0051bc5fc5f02ls1090021pfh.4.gmail; Thu, 16 Jun 2022 08:28:41 -0700 (PDT) X-Received: by 2002:a05:6a00:10d4:b0:522:9215:c399 with SMTP id d20-20020a056a0010d400b005229215c399mr5422491pfu.18.1655393321256; Thu, 16 Jun 2022 08:28:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1655393321; cv=none; d=google.com; s=arc-20160816; b=xBHYuN+VDNhryXF7xv7I+4rNmQMBMy5E/ryIobDz/8dGb2s4dkxaWIfaFv7tjIrSPY kOUq+2eNIG2WqwT5vU/i5Tx/UhiCIaHTx4NA3QF8g4vU3+62wvyvhvBnLBZLd5YsGQAZ mgzzGp5xCnDtOIU3RQL0xuaa1WR8p71U65bD/dOdr+e23IAngsd0z29WNw3g6OBxgUBY lRqV64gbXLc8YUT6vM3DGNZ4gJ8Wpyu0U2kmxSXMB74+G/uzHqEMcZRbb7jCoMOQFM7q HySjwxHeTeMuIBqh6Bab3c4K/L6o1BwLS1JIWTLihBFSqKibd1zxmG1jANGyzoFcCNhf vkoQ== 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=60qdGduwlkEYViqOLnK3fEGXHtqPTj/0aRTactQtzKo=; b=u6GYLp3+9pwE7gAuGnZuaZOaBue15Ik5Gk68TFxVZf2B3HCdnm5SeZrYnyGVfqOT7E z2Hm2VNYOeeDlFOLNr1KIZ0OuUytoWLHKG0Giy9BnQTZmgdBNsZG2Qz28/UNzpxhne/m 3XMheSpmr2PzMxDEJ2n393EWPIOD+m821aLVk+Dv8fW5ex2xJZyhtO3KwGbp09JlcHei v+CFW4CZKO6PKCxwsvPTyj5Pb433QNqpRzjLPdK0XM8MLXu5BTA17wADmZ6jP5QXx8Oi TUXHm1tzkCIgq/PhM62WpLC1YN1L4pQjXx6Q76S80/i5jzJ6Cyz1S9jRBm4DYAW0qoAe 4DxQ== ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=iVx7c3dz; spf=pass (google.com: domain of amine.aboufirass-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2607:f8b0:4864:20::130 as permitted sender) smtp.mailfrom=amine.aboufirass-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Original-Received: from mail-il1-x130.google.com (mail-il1-x130.google.com. [2607:f8b0:4864:20::130]) by gmr-mx.google.com with ESMTPS id b8-20020a170902d88800b00168a12d520csi119892plz.3.2022.06.16.08.28.41 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 16 Jun 2022 08:28:41 -0700 (PDT) Received-SPF: pass (google.com: domain of amine.aboufirass-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2607:f8b0:4864:20::130 as permitted sender) client-ip=2607:f8b0:4864:20::130; Original-Received: by mail-il1-x130.google.com with SMTP id l14so1165544ilq.1 for ; Thu, 16 Jun 2022 08:28:41 -0700 (PDT) X-Received: by 2002:a05:6e02:1c89:b0:2d1:b0ae:88a1 with SMTP id w9-20020a056e021c8900b002d1b0ae88a1mr3117540ill.311.1655393320749; Thu, 16 Jun 2022 08:28:40 -0700 (PDT) In-Reply-To: X-Original-Sender: amine.aboufirass-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org X-Original-Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=iVx7c3dz; spf=pass (google.com: domain of amine.aboufirass-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2607:f8b0:4864:20::130 as permitted sender) smtp.mailfrom=amine.aboufirass-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:30744 Archived-At: --000000000000d8cee905e1924afa Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi Bastien, I'm afraid that doesn't really show me how I can build a document from scratch similar to what is done in Haskell using a `Builder`. I really would like to avoid learning Haskell and stick to the Lua API. But I'm getting the impression that use of the Lua API requires understanding of how the underlying Haskell objects interact. Regards, Amine On Thu, 16 Jun 2022 at 17:20, A A wrote: > I guess a better way to phrase my question is the following: > > *Is there a way to generate a document from scratch and programmatically > using Lua and without using Haskell?* > > There is mention here > of a pandoc Builde= r > class but I don=E2=80=99t see its Lua equivalent here > . > > > ---------- Forwarded message --------- > From: A A > Date: Thu, 16 Jun 2022 at 16:51 > Subject: Experimenting with pandoc module using just Lua > To: > > > Dear All, > > Is there a way to experiment with the objects pandoc module using Lua > without having to write a filter/writer and go through the pandoc CLI? I > would really like to just experiment with generating documents and gettin= g > familiar with the Lua API using just a Lua interpreter. > > Regards, > > Amine > --=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/CAMwawgOHE5QEeHJbO%2BNF8QvViKas3P6Q6G7F%3DdS4YecTda1z1w%40ma= il.gmail.com. --000000000000d8cee905e1924afa Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi Bastien,

I'm afraid that doesn&#= 39;t really show me how I can build a document from scratch similar to what= is done in Haskell using a `Builder`.

I really wo= uld like to avoid learning Haskell and stick to the Lua API. But I'm ge= tting the impression that use of the Lua API requires understanding of how = the underlying Haskell objects interact.

Regards,<= /div>

Amine

On Thu, 16 Jun 2022 at 17:20, A A <<= a href=3D"mailto:amine.aboufirass-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org">amine.aboufirass-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org= > wrote:

I guess a better way to= phrase my question is the following:

Is there a way to generate a docu= ment from scratch and programmatically using Lua and without using Haskell?=

There is mention here of a pa= ndoc Builder class but I don=E2=80=99t see its Lua = equivalent here.



---------- Forwarded message ---------
From: A A <amine.aboufiras= s@gmail.com>
Date: Thu, 16 Jun 2022 at 16:51
Subject: E= xperimenting with pandoc module using just Lua
To: <pandoc-discuss@googleg= roups.com>


Dear All,

Is there a way to experiment with the obj= ects pandoc module using Lua without having to writ= e a filter/writer and go through the pandoc CLI? I = would really like to just experiment with generating documents and getting = familiar with the Lua API using just a Lua interpreter.

Regards,

Amine

--
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/CAMwawgOHE5QEeHJbO%2BNF8QvViKas3P6Q6G= 7F%3DdS4YecTda1z1w%40mail.gmail.com.
--000000000000d8cee905e1924afa--