From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/27669 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: John MacFarlane Newsgroups: gmane.text.pandoc Subject: Re: Pikchr in Pandoc Date: Tue, 02 Feb 2021 09:29:00 -0800 Message-ID: References: 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="9796"; mail-complaints-to="usenet@ciao.gmane.io" To: 'Dan Shearer' via pandoc-discuss , pandoc-discuss Original-X-From: pandoc-discuss+bncBCJZJHG45QDBB2UX42AAMGQEXVGFEXA-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Tue Feb 02 18:29:17 2021 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-pg1-f191.google.com ([209.85.215.191]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1l6zUK-0002LU-OY for gtp-pandoc-discuss@m.gmane-mx.org; Tue, 02 Feb 2021 18:29:16 +0100 Original-Received: by mail-pg1-f191.google.com with SMTP id 145sf5314109pgh.2 for ; Tue, 02 Feb 2021 09:29:16 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1612286955; cv=pass; d=google.com; s=arc-20160816; b=betzJilxyD670kBYkVOgGAONJ/c9doD9ITx4HpWa4AqnkmGhD0MC5vatuv70+NSDrh +d/z9z0ncsGJK1xxrXa7X5Kp+fQb6qF897ni+LZmMk79hmp0AJZt8FhMUAE4T/Zufb3g ftzAXBeACq9PfI4/Hl24XrIv4HbAAjSdXxZsokhw1Ejm1eJKoqBiWopZf8CI1dfVDp/c HHFLZ8XzKip2LJy0/8CTKXFve+D0ap/qlSmfaH02Cx92Px7GiLLEx2iGXp5yhRXF4b3C yqZs5IzIxAUtINd6SM3ExjZgQiwQvj3qf2fUNKTfJplX5V0lLu+mWRn21Frnq+7xobA9 imIw== 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:content-transfer-encoding :mime-version:message-id:date:references:in-reply-to:subject:to:from :sender:dkim-signature; bh=ycH6jMnyip7ODyKPVDHR5AHS8Ps5R/a5Il9ZgapoczQ=; b=B7KClwIZIh94QgN7DhJw4w+CWJBskfOFQCun0Oow1MnFMX6zJiZA1+T+QugjW0RHQJ aaAtvHLaibqJaLQHIH0WZBp1S4pY51O2YenfEEpnO+Ct7qU4Fc+eyra4CqaUNSyCw7Lh HnszkSwDH+U41Ka4v05aY37/mcNWfeF4+7tudw1VPA2cQJv5VAwdQT13X7E6XBfraaWY rsOM5T6IX2TiR6LsozPpCsjIO7HXL/fA6OkdNC/5q7AA3aZ4BrYvAi1kejqj4mjcApwY a1r46iHd/OxXZp20oo8ydHkanjXCBZtaNczLnpi7p6AK98NrGXdnRn8AsMAInGLzKPFI JJWw== ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@berkeley-edu.20150623.gappssmtp.com header.s=20150623 header.b=02S2Xj9J; spf=pass (google.com: domain of jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org designates 2607:f8b0:4864:20::102b as permitted sender) smtp.mailfrom=jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20161025; h=sender:from:to:subject:in-reply-to:references:date:message-id :mime-version:content-transfer-encoding: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=ycH6jMnyip7ODyKPVDHR5AHS8Ps5R/a5Il9ZgapoczQ=; b=maH+2i1l4MoIIbfvnQ36RC428c1U/1W5g5VwIElIbVBAWlZk9clA81WJgvk4xZvhZP 94cdadotF3WyS4GuE0gZoK5aojlmRS3EY9Q2qM+Z7jatvx8w4o6UlkD8jl5HXYZYAHmM FSZ0MwvXTVoHG+qrAcFFSi0F8nP/4lgvgEe33nB8pQLFZ3lCUPopcRRC6SfEL4916H+u 1mooAzLl/lWMsCNMSJNctnKhKQKmR8SCB2DoINQog90yBN5rYyhliRdNNHVg8yA8GfrL elgZEakG47VND2+l67Bdcejrovt4wi1GTQeo8i3DJ1gusKIyNNKf3HvFPkDFeSFZKJ9K snWA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=sender:x-gm-message-state:from:to:subject:in-reply-to:references :date:message-id:mime-version:content-transfer-encoding :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=ycH6jMnyip7ODyKPVDHR5AHS8Ps5R/a5Il9ZgapoczQ=; b=DLShcZHclvUoZQOpzgU0vqxdKdsY2hUNNUYkMnvFTGKwtgH/MPC5lj96MiRL24exh8 Hye4x/7QdI/2vLEHox9qK7DU0g5kxHOTZFtJZHeQi5R5agPhy8JX72rkog0r3p66oSKC 6mQzvusRExdKi3xr91W8jZJATh8oOLv8s5rk/jfMxVoB9EmrmdEeZidnoqNONERIsOGw HS9Ohmh48OWYpnjor104L3097Vxc1gbiXIQDBot+DBrD8QhlC1qsHqLnGoLdsmphk6nV CMacdl3OOofZRb/HuzAUXwSVwZsTUXIWM6wXdGLdLIVzgHuuo3/yCo3XkXvd28WG4SXp Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AOAM530J+MQFdrIPzKKk0bou2Ig3iNEWRF40PtPW//BBAtPHYPdP2e6z cq1pXBK59jsGomETtfJk0aI= X-Google-Smtp-Source: ABdhPJzdB5yChDvJsIePVbcNl5GRy/Az7WJt55FCBZNJvNvXFpenQB25vaGQ5XiUZBrXs1qVu10mmw== X-Received: by 2002:a62:1ad5:0:b029:1c5:111b:91cf with SMTP id a204-20020a621ad50000b02901c5111b91cfmr22149972pfa.13.1612286955566; Tue, 02 Feb 2021 09:29:15 -0800 (PST) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a17:902:d892:: with SMTP id b18ls2725334plz.8.gmail; Tue, 02 Feb 2021 09:29:13 -0800 (PST) X-Received: by 2002:a17:90a:6a07:: with SMTP id t7mr5344061pjj.194.1612286953653; Tue, 02 Feb 2021 09:29:13 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1612286953; cv=none; d=google.com; s=arc-20160816; b=SKXA7RSWkGCQFS6dq1Ct48+K8FaDrgqET6q0wCfeBC+C5CT3KIsdPCssEbI6oevpng eXPf8w5AM10vBkekw4/zcNa+/AfHXcOLFJ3DFoSOL1UWcmevaQcZFQJ+PjK+lX+2J6om R+Zoom4Z8Ve+lA1pZEEsPmKYLLRkfB2VV9/85lvgxNwz0SLlpsnHi5fE7yCCu6dOmbrd Pt5NmqeZyPv3mtnnj3QPRLyCUGJMn/Z6jzs7WzTOYkjJxCrpBSzTj5CcH+RCTBdgUfqj eGJQvhSz+/GSGP4x+EqWd1vZuYMCGpGZLK4Vj6EP+u9xxxrbIbukNwpoTcgKZtIoMjWY vpPw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:message-id:date:references :in-reply-to:subject:to:from:dkim-signature; bh=jqdTGzSo+UEbcDk3vnsldqJfV3UGDmX67nLJcEhAaoc=; b=FD8Ak54XQBiCny2DRNg4/xzhIMnbie4AOZQsGQkfuCdtVbFwf/awBjfu+Z2f4Hh09D eTZz61pVBGewRR/EKuscqp0spFCZCnkYvRFmsYL8uD2Oy3f14Nwn+J494bBnsYAjxOzp HhW1coz3WjSlyeynT1860MBx7CRb03ChFbxGWSoLYivcErgkp6tVKQI3L1yKSrqj83cr jXFx/Ixq4bHmU45GPjx4ItyaEfeq/GqH7lBviKicsg4+fz17WVKyugv5pUJjTsTqDDLQ FZ7vtQ+roK8hS6kTxZmZubYpEiCEMZcbD2a6uzLmaeEW8xQA0p9SwoEkiBU/0Ddg+1nc XTeA== ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@berkeley-edu.20150623.gappssmtp.com header.s=20150623 header.b=02S2Xj9J; spf=pass (google.com: domain of jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org designates 2607:f8b0:4864:20::102b as permitted sender) smtp.mailfrom=jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org Original-Received: from mail-pj1-x102b.google.com (mail-pj1-x102b.google.com. [2607:f8b0:4864:20::102b]) by gmr-mx.google.com with ESMTPS id w2si1122188ply.1.2021.02.02.09.29.13 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 02 Feb 2021 09:29:13 -0800 (PST) Received-SPF: pass (google.com: domain of jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org designates 2607:f8b0:4864:20::102b as permitted sender) client-ip=2607:f8b0:4864:20::102b; Original-Received: by mail-pj1-x102b.google.com with SMTP id cl8so1416000pjb.0 for ; Tue, 02 Feb 2021 09:29:13 -0800 (PST) X-Received: by 2002:a17:902:8b8a:b029:df:fff2:c133 with SMTP id ay10-20020a1709028b8ab02900dffff2c133mr23752242plb.63.1612286952710; Tue, 02 Feb 2021 09:29:12 -0800 (PST) Original-Received: from johnmacfarlane.net (li55-134.members.linode.com. [74.82.3.134]) by smtp.gmail.com with ESMTPSA id i1sm23897155pfb.54.2021.02.02.09.29.11 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 02 Feb 2021 09:29:11 -0800 (PST) Original-Received: by johnmacfarlane.net (Postfix, from userid 1000) id B6E73A256; Tue, 2 Feb 2021 12:29:00 -0500 (EST) In-Reply-To: X-Original-Sender: jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org X-Original-Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@berkeley-edu.20150623.gappssmtp.com header.s=20150623 header.b=02S2Xj9J; spf=pass (google.com: domain of jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org designates 2607:f8b0:4864:20::102b as permitted sender) smtp.mailfrom=jgm-TVLZxgkOlNX2fBVCVOL8/A@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:27669 Archived-At: "'Dan Shearer' via pandoc-discuss" 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 You can learn about how to write pandoc filters from the documentation https://pandoc.org/filters.html https://pandoc.org/lua-filters.html You could, in principle, write the whole filter in C (using the pikchr liibrary and a JSON-parsing and generating library). Or you could use any other language. --=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/m2czxigyzn.fsf%40MacBook-Pro.hsd1.ca.comcast.net.