From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/29939 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: "'Dan Shearer' via pandoc-discuss" Newsgroups: gmane.text.pandoc Subject: Re: Pikchr in Pandoc Date: Mon, 10 Jan 2022 13:16:25 -0800 (PST) Message-ID: <131b93bd-047c-4020-9ec3-3bb01d26cf83n@googlegroups.com> References: Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_52_1302249407.1641849385462" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="17245"; mail-complaints-to="usenet@ciao.gmane.io" To: pandoc-discuss Original-X-From: pandoc-discuss+bncBDXKRPO4RUOBBKWE6KHAMGQE3DG7U3Q-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mon Jan 10 22:16:30 2022 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-oo1-f60.google.com ([209.85.161.60]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1n721l-0004GF-A1 for gtp-pandoc-discuss@m.gmane-mx.org; Mon, 10 Jan 2022 22:16:29 +0100 Original-Received: by mail-oo1-f60.google.com with SMTP id k15-20020a4abd8f000000b002dad9892c92sf9304452oop.5 for ; Mon, 10 Jan 2022 13:16:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20210112; h=date:from:to:message-id:in-reply-to:references:subject:mime-version :x-original-sender:reply-to:precedence:mailing-list:list-id :list-post:list-help:list-archive:list-subscribe:list-unsubscribe; bh=2GrN+VQEg/BJMxXlOlK+w3s90Pr2sOUpjku3jIo10wU=; b=pjqg0VrsM6prdQ2xkm/q06oHz59H/Q32+YpL+ZrSrjl/fSjfhVZsuf4TWNkzz1O8QY vPkGQkgRcoJXfm8IACuwBMEF5GoiE1FbCCa8y5OoNKdghLH79wj3EhSHYtxZIGQixDve gYce0FfIG7l7eHhMhA1bC5jK158NrPoZG5WfN/4SACSFQuBpYRxVtlXQ/nQw/GaXgT9f BZ4Np5LItl8AvV1dPHYgrQv4fFlh8M2B89TXTr9rkLmbXlXtz3oJhtgUKE/NpDYAZlMF vlD1fFO8bsBfiWd/cctzCaC1Hh+aesexYYWmrXMD3Vqp90BPmbuSVnwffpazTR8Wamvu kkFQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:message-id:in-reply-to:references :subject:mime-version:x-original-sender:reply-to:precedence :mailing-list:list-id:x-spam-checked-in-group:list-post:list-help :list-archive:list-subscribe:list-unsubscribe; bh=2GrN+VQEg/BJMxXlOlK+w3s90Pr2sOUpjku3jIo10wU=; b=PciGz3+ZTFiJgysMtOR9nK4+dtW8bim6sxO6hiQrfxp11eBXlBB+vK96iCeRJCypRH s8YcVXLQFzTHStwPm3ViLJ4M9wCoY4HTN/Y5mXi0e5pM6Rbsfmp7ngx+c1eKRPche1T4 aXLHGsUoZa/2UQ9TWT3iJG4y5k6y/YnVA4u57sdQP508/lG4hQSRKWRFndXsx5r6DQZI oUNrpwdZrtTwnlDvGqaWjZs8mWCFJWFJE+fhlSR49UrCSC30OlZ90/hCj5/Tri3gnQkH Fscs17U2nBakVx7vMG6od64arwEBRBEyCsIB5C7qM8qto9iRDfYHyz/xCRN+uY4DxzYJ 374A== X-Gm-Message-State: AOAM532dRQd/Irkh08ITYHp+g9RehLQHrSi13Pog5u6tAmLk3bsvjO0Z QV7EQx3jpTLeJ9bZxJxaIiw= X-Google-Smtp-Source: ABdhPJzFmROf4Xuhk0nyM9SJ3uXBnk7CSTTA6UM9cq+AaqfC2DEnzl0mNBfuEnGQO9shSVwfyx1Spw== X-Received: by 2002:aca:2b0a:: with SMTP id i10mr11568010oik.8.1641849387902; Mon, 10 Jan 2022 13:16:27 -0800 (PST) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a4a:e5cb:: with SMTP id r11ls734237oov.6.gmail; Mon, 10 Jan 2022 13:16:26 -0800 (PST) X-Received: by 2002:a4a:dd08:: with SMTP id m8mr1134584oou.25.1641849386243; Mon, 10 Jan 2022 13:16:26 -0800 (PST) In-Reply-To: X-Original-Sender: danshearerprivate-gM/Ye1E23mwN+BqQ9rBEUg@public.gmane.org X-Original-From: Dan Shearer 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:29939 Archived-At: ------=_Part_52_1302249407.1641849385462 Content-Type: multipart/alternative; boundary="----=_Part_53_307697749.1641849385462" ------=_Part_53_307697749.1641849385462 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Le mardi 2 f=C3=A9vrier 2021 =C3=A0 17:29:16 UTC, John MacFarlane a =C3=A9c= rit : > "'Dan Shearer' via pandoc-discuss"=20 > writes:=20 > > > Le lundi 1 f=C3=A9vrier 2021 =C3=A0 17:40:33 UTC, John MacFarlane a =C3= =A9crit :=20 > >=20 > >>=20 > >> We wouldn't embed this directly in pandoc (trying to avoid=20 > >> C dependencies), but it would be easy to create a filter=20 > >> to intercept specially marked code blocks and convert them=20 > >> to pictures. (There are examples of this kind of thing in the=20 > >> pandoc/lua-filters repository.)=20 > >>=20 > >=20 > > John, what is needed to help make a Pikchr filter happen?=20 > > https://pandoc.org/lua-filters.html=20 > Here is the filter in Lua:=20 https://code.jboy.space/pikchr-filter/file?name=3Dpikchr.lua&ci=3Dtip . It assumes the pikchr binary is in the path. Dan --=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/131b93bd-047c-4020-9ec3-3bb01d26cf83n%40googlegroups.com. ------=_Part_53_307697749.1641849385462 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Le mardi 2 f=C3=A9vrier 2021 =C3=A0 17:29:16 UTC, John MacFarlane a =C3=A9c= rit :
"'Dan Shearer' via pandoc-discuss"
<pandoc-...@goo= glegroups.com> writes:

> Le lundi 1 f=C3=A9vrier 2021 =C3=A0 17:40:33 UTC, John MacFarlane = a =C3=A9crit :
>
>>
>> We wouldn't embed this directly in pandoc (trying to avoid=20
>> C dependencies), but it would be easy to create a filter=20
>> to intercept specially marked code blocks and convert them=20
>> to pictures. (There are examples of this kind of thing in the= =20
>> pandoc/lua-filters repository.)=20
>>
>
> John, what is needed to help make a Pikchr filter happen?=20

https://pandoc.o= rg/lua-filters.html

Here is the filter in Lua: https://cod= e.jboy.space/pikchr-filter/file?name=3Dpikchr.lua&ci=3Dtip  .
<= /div>

It assumes the pikchr binary is in the path.
=

Dan


--
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://groups.google.com/d= /msgid/pandoc-discuss/131b93bd-047c-4020-9ec3-3bb01d26cf83n%40googlegroups.= com.
------=_Part_53_307697749.1641849385462-- ------=_Part_52_1302249407.1641849385462--