From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/32411 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: "'William Lupton' via pandoc-discuss" Newsgroups: gmane.text.pandoc Subject: Re: Exit Lua REPL (was: Re: ANN: pandoc 3.1.2 Date: Tue, 28 Mar 2023 15:36:45 +0100 Message-ID: References: Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="00000000000096cd7d05f7f6cae9" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="40340"; mail-complaints-to="usenet@ciao.gmane.io" Cc: pandoc-announce-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-X-From: pandoc-discuss+bncBCS4HJ6WSAHBBCXXROQQMGQENJWIYPQ-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Tue Mar 28 16:37:02 2023 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 1phARa-000AIC-Cd for gtp-pandoc-discuss@m.gmane-mx.org; Tue, 28 Mar 2023 16:37:02 +0200 Original-Received: by mail-lf1-f61.google.com with SMTP id e9-20020a196909000000b004cca10c5ae6sf4809682lfc.9 for ; Tue, 28 Mar 2023 07:37:02 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1680014222; cv=pass; d=google.com; s=arc-20160816; b=TbAV6cayZ3ydfptnBPWKimXxivMnOw8PPf5d/nLNjz/hU0+K3YC5nm8z77krZNgwC8 fC0mklYEBL179jy16R3crA3Fg7VZ7ddpGNkyDjaDnmpL1n67a/ltRMIQu3akpPWKT1M9 Ge4J04CSkavLwb7wE9XVgq0I8VSNw5Uht9daCd4a/PbyNdO/rR1zgoGoASTcfhPo746t 3E33H0wp2l+JamL5ynPwzf7ZBljhfs2Hg/+DY96G4dpp6fZyBLvmvgvLTKXOsZUGdUUh M1PueAz2tjEjgQ6g6er9cCV8IdeG/dDi2Q3Q3ZHhQ154Qg5pU3BpqM7AkcV26PPPOvXG ykTQ== 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:cc:to:subject:message-id :date:from:in-reply-to:references:mime-version:dkim-signature; bh=L26EsYXp2DUm0hOgLAaXZo6yYOF/t9OfUGqy/y7uuOg=; b=iY3G12M1Snivp0b5/QOO7baU2/utPJea2F7JMi/6gf/F99MCU2C205jZt+nsn6iFRT wZXB7hPMGbUj85RYD2wSxy7IeSBbwO18f2+MIx0PtEGiDbqny/5Qw7T8IXOCzihKsTHV a3NQ91tl6F9yuLFz8f/6Tt4ikOkfKYmJHU9q515ZDXY5W8Jd0SLYEXFL4g5y/hsZw9Ao jmpjex7MQepMbIOHJqGOJbgdJfwIvrmdREfBzEAEO3JZ2YEB/GlwKrjVsJqcw7kNTwZl HakEsgC4XKbX6wQEV8PwAT1rxeY+B9HzxTAV+0Pad/3J0qKaLhb8EJrxW/UVmio16Y0K vc1A== ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@broadband-forum.org header.s=google header.b=bTDVsY4v; spf=pass (google.com: domain of wlupton-QSt+ys/nuMyEUIsrzH9SikB+6BGkLq7r@public.gmane.org designates 2a00:1450:4864:20::534 as permitted sender) smtp.mailfrom=wlupton-QSt+ys/nuMyEUIsrzH9SikB+6BGkLq7r@public.gmane.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=broadband-forum.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20210112; t=1680014222; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:reply-to :x-original-authentication-results:x-original-sender:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version:from:to:cc :subject:date:message-id:reply-to; bh=L26EsYXp2DUm0hOgLAaXZo6yYOF/t9OfUGqy/y7uuOg=; b=Hlv2MoHXig9hzKnCqAxPWUbc4l9XgxOBqGCU5N1yVNtGLkUs3jeuFQD8hk8bocVVPe tMnctI4LtEyEHP/asUCpy+n+BoItrNPvXPk0nz5Yzb+d35Hqz0Ewl0ikTMGW99F54XOl sD4kd3TU5EcU86NcwBy8SZB87+V2rt9/F2VVtLpVcDBhk9JHoVSQlypQmkd7pcgdVu1p NICP66KvSzEKXkkqQ696FqLgPXToz1Nl6H97TeOco0DOeSichc4mOBn9562fseT/toFs BFdFvdx12c9zVfSTgwiOWBR2wFhetzgfnIdrMh9Z+aJdCoRmJL21SpprmiPRXeiTErt9 yvZA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1680014222; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :x-spam-checked-in-group:list-id:mailing-list:precedence:reply-to :x-original-authentication-results:x-original-sender:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=L26EsYXp2DUm0hOgLAaXZo6yYOF/t9OfUGqy/y7uuOg=; b=C5iUIeXqqPkFyYYPuf7eFTVK6d3es3R1Nwz86oqTBPEwiTPSgzT/f4szmDegmFxrp9 jIuFMDfJoQ4X5JhZ7mb0EwssBSs/r99bSzWftTXvqWU6FMAhDOQ2sKqNUoIqb8cBbERq 5VkQSaAfA5v25PzEuzw9CWWC2tQgQIwPuhYeeFe8Ol4zL2aKxiB/Ed21smoG0TWOtCK0 l9KY2DJY3ry3fa9uuUPTwmuKqQ0YR4iG/T+sqJO1PFJFWMPrVhc3by4qEjUo7r6171n/ yzhmsUbm90sNShRKM4B/d0AQF3p6x4nQVc2Bn3KN8xWH+j X-Gm-Message-State: AAQBX9f6F7L5aIFRFGOmgTlRmrFdd8U5pe3ZNwCoJYMlcg8Qz9C3tKqw NqWb53GwB2epz8vdS5Plkug= X-Google-Smtp-Source: AKy350YfQZ9y33wvrpGiqJbTYFIPlwtcMR0rbZ6qVicrjF0SLZ5VaExqmdjv7zLCBCaG3UzKJWK1uw== X-Received: by 2002:ac2:568f:0:b0:4db:5133:59a6 with SMTP id 15-20020ac2568f000000b004db513359a6mr4477412lfr.13.1680014221890; Tue, 28 Mar 2023 07:37:01 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a05:6512:3c84:b0:4e8:6261:7dc1 with SMTP id h4-20020a0565123c8400b004e862617dc1ls4054302lfv.2.-pod-prod-gmail; Tue, 28 Mar 2023 07:36:57 -0700 (PDT) X-Received: by 2002:ac2:511a:0:b0:4eb:e03:9e6c with SMTP id q26-20020ac2511a000000b004eb0e039e6cmr2889798lfb.33.1680014217130; Tue, 28 Mar 2023 07:36:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680014217; cv=none; d=google.com; s=arc-20160816; b=dUhx3VB+Yenk5Ic76EZTGxYnazCtWTS3u5nPLufuq5XIV5mnvO+dJ16M/fqspwvWI8 43wfIgbKfOGmVS6gszaXjonPt3BkRm6qr0SqJ0HCE2F7DnTZPC4kwB8rSfUX1YXPZNgV Ovdbi6Jr3wNUNYyeRvVq0lFSz9REMbv2D0br+f3ujPLZb8MX30+o7nB1aab/rkMVaf3k 2vzj6GmbfGBsx8rOftmOnPCxTy842FVxKEHfzYSIj6huMVzddOWMf66LJZKdrPGvxWJv VIa1J5VJhBcPv49e9PkU9gh5fqBK8CfKR8EEmAI5l7FoWjm1mW1udBtLkGTr4QDLg5yX mBaA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:dkim-signature; bh=RbZ0abaeZw/BNia5MERTnn6f4hTRq41IyR7tYMI6g7k=; b=0A/ehYdvDpbAP72fEtg7r8ReG8lHAQKSABgRo403VHli9t4Pzh44osq3+VA6pX+Jrb cfemNpFC9Eu2lojc3TEIi7wLCvbtvdwqWyimOg43SXboTCcEjx2pZV1SK6Qx4KYgLt5q Fm8iPMZkySgL8RX5vJu87chxJ8QGj2S1y1AE/+19F43MyMKHAj8wng9yUTdV5gBIPgy1 P13R2FFsVQ8LswFxU5VBSEFph+V8caD3bb+TbdsZa/aGdxfZwnS6/vKZ7R1UO4MkL1Vv PQ+xdg0L1jjnFvn0zxreoevW/JgAzoUy3CLoQc+hD3tA5oD7AFxH3GRVEhe6jPRDVL2M 8ABg== ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@broadband-forum.org header.s=google header.b=bTDVsY4v; spf=pass (google.com: domain of wlupton-QSt+ys/nuMyEUIsrzH9SikB+6BGkLq7r@public.gmane.org designates 2a00:1450:4864:20::534 as permitted sender) smtp.mailfrom=wlupton-QSt+ys/nuMyEUIsrzH9SikB+6BGkLq7r@public.gmane.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=broadband-forum.org Original-Received: from mail-ed1-x534.google.com (mail-ed1-x534.google.com. [2a00:1450:4864:20::534]) by gmr-mx.google.com with ESMTPS id c29-20020a056512239d00b004e9d34ac318si1424113lfv.5.2023.03.28.07.36.57 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 28 Mar 2023 07:36:57 -0700 (PDT) Received-SPF: pass (google.com: domain of wlupton-QSt+ys/nuMyEUIsrzH9SikB+6BGkLq7r@public.gmane.org designates 2a00:1450:4864:20::534 as permitted sender) client-ip=2a00:1450:4864:20::534; Original-Received: by mail-ed1-x534.google.com with SMTP id eg48so50512486edb.13 for ; Tue, 28 Mar 2023 07:36:57 -0700 (PDT) X-Received: by 2002:a17:906:2416:b0:932:4d97:a370 with SMTP id z22-20020a170906241600b009324d97a370mr7526204eja.14.1680014216443; Tue, 28 Mar 2023 07:36:56 -0700 (PDT) In-Reply-To: X-Original-Sender: wlupton-QSt+ys/nuMyEUIsrzH9SikB+6BGkLq7r@public.gmane.org X-Original-Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@broadband-forum.org header.s=google header.b=bTDVsY4v; spf=pass (google.com: domain of wlupton-QSt+ys/nuMyEUIsrzH9SikB+6BGkLq7r@public.gmane.org designates 2a00:1450:4864:20::534 as permitted sender) smtp.mailfrom=wlupton-QSt+ys/nuMyEUIsrzH9SikB+6BGkLq7r@public.gmane.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=broadband-forum.org X-Original-From: William Lupton 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:32411 Archived-At: --00000000000096cd7d05f7f6cae9 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On my Mac, both Ctrl-C and Ctrl-D exit. (But command-line editing doesn't seem to work for me. It does work in the isocline example running in the same terminal window. I could create an issue for this?) On Tue, 28 Mar 2023 at 14:52, BPJ wrote: > How do you exit this new Lua REPL? Neither ^D nor os.exit() works. > > Den tis 28 mars 2023 02:06John MacFarlane skrev: > >> I'm pleased to announce the release of pandoc 3.1.2, >> available in the usual places: >> >> Binary packages & changelog: >> https://github.com/jgm/pandoc/releases/tag/3.1.2 >> >> Source & API documentation: >> http://hackage.haskell.org/package/pandoc-3.1.2 >> >> Some exciting new features in this release: >> >> - Support for output in Typst, a new TeX alternative >> with incremental compilation and many nice features >> (https://typst.app). >> >> - typst is also supported as a --pdf-engine. >> >> - 'pandoc lua -i' can be used to open a Lua REPL >> with the pandoc environment preloaded. You can also instruct >> a filter to open a REPL at a certain point, using 'pandoc.cli.repl'. >> This should make it much easier to debug Lua filters. >> >> - We now provide macOS binary releases compiled for Apple silicon. >> >> Thanks to all who contributed, especially Albert Krewinkel >> for his work on the Lua subsystem, and new contributors >> Amy de Buitl=C3=A9ir, Andres Freund, Christian Christiansen, and >> Mart=C3=ADn Pozo. >> >> -- >> You received this message because you are subscribed to the Google Group= s >> "pandoc-discuss" group. >> To unsubscribe from this group and stop receiving emails from it, send a= n >> 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/E861BA57-7C89-4012-8A04= -77D9DF190281%40gmail.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 > 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/CADAJKhCR4F6YAteNDsmo0GQ= 5JYYyDyYhxJqX95YppNiNQnqYAQ%40mail.gmail.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/CAEe_xxh%3DJGBH9JRdddp-hmCZTQZAqiYX4vmNXO_uVXZewJm7Yw%40mail= .gmail.com. --00000000000096cd7d05f7f6cae9 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
On my Mac, both Ctrl-C and Ctrl-D exit.

(But command-line editing doesn't seem to work for me. It does work in= the isocline example running in the same terminal window. I could create a= n issue for this?)

On Tue, 28 Mar 2023 at 14:52, BPJ <melroch-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
How do you exit = this new Lua REPL? Neither ^D nor os.exit() works.

Den tis 28 mars 2023 02:0= 6John MacFarlane <fiddlosopher-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> skrev:
I'm pleased to announce the release of pand= oc 3.1.2,
available in the usual places:

Binary packages & changelog:
https://github.com/jgm/pandoc/releases/ta= g/3.1.2

Source & API documentation:
http://hackage.haskell.org/package/pandoc-= 3.1.2

Some exciting new features in this release:

- Support for output in Typst, a new TeX alternative
=C2=A0 with incremental compilation and many nice features
=C2=A0 (https://typst.app).

- typst is also supported as a --pdf-engine.

- 'pandoc lua -i' can be used to open a Lua REPL
=C2=A0 with the pandoc environment preloaded.=C2=A0 You can also instruct =C2=A0 a filter to open a REPL at a certain point, using 'pandoc.cli.re= pl'.
=C2=A0 This should make it much easier to debug Lua filters.

- We now provide macOS binary releases compiled for Apple silicon.

Thanks to all who contributed, especially Albert Krewinkel
for his work on the Lua subsystem, and new contributors
Amy de Buitl=C3=A9ir, Andres Freund, Christian Christiansen, and
Mart=C3=ADn Pozo.

--
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@googlegroups.= com.
To view this discussion on the web visit https://groups.google.com/= d/msgid/pandoc-discuss/E861BA57-7C89-4012-8A04-77D9DF190281%40gmail.com= .

--
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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/CADAJKhCR4F6YAteNDs= mo0GQ5JYYyDyYhxJqX95YppNiNQnqYAQ%40mail.gmail.com.

--
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://group= s.google.com/d/msgid/pandoc-discuss/CAEe_xxh%3DJGBH9JRdddp-hmCZTQZAqiYX4vmN= XO_uVXZewJm7Yw%40mail.gmail.com.
--00000000000096cd7d05f7f6cae9--