From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/27666 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: Tue, 2 Feb 2021 06:32:53 -0800 (PST) Message-ID: References: Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_556_902282909.1612276373303" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="6689"; mail-complaints-to="usenet@ciao.gmane.io" To: pandoc-discuss Original-X-From: pandoc-discuss+bncBDXKRPO4RUOBBF6F4WAAMGQE46S4TOI-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Tue Feb 02 15:32:57 2021 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 1l6wjh-0001cz-Ht for gtp-pandoc-discuss@m.gmane-mx.org; Tue, 02 Feb 2021 15:32:57 +0100 Original-Received: by mail-oo1-f60.google.com with SMTP id r10sf10260351ooh.3 for ; Tue, 02 Feb 2021 06:32:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20161025; 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=gUYJriyQais5CQsm5GkAJaptVYwbjujcKwqCDShCH/o=; b=eGDiPWEcU5gbIFb7ragX60bjYqhYH8gJ3SNplw9w/Fkp/bKP1DU+tb7KrEfih4EygO bSphi5z1UBXsXyIm+VKR2aSOAmxZg50JXk28nZ+o2ABxusbaqSiX41swd0cewt5t6eJm I49FoBt9qGn0xKS+oV7kyF/rUAy49p5Tfo92R6ZFuGlQDcaAPlGKjVMzQ4U4GvH7kS7b c7i8XhACsnrMBNCl14op9r3vKb45WsyUJrMYt1NdM3n3vkS/v02xXjbFUyayYP7M+DUu /c8jaL3srG/iy/92ceL1Qy0LJR0y/ZqjzXqVy16KE8xuNmCuyDKfm014kLKCOqRP5PY/ ufgg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; 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=gUYJriyQais5CQsm5GkAJaptVYwbjujcKwqCDShCH/o=; b=l0v9xi2TSqo4f/YJWmZY5ni7qXjP6h9lPtShLKHt/M4LiPNb2JX+fo3V0WIDsmkAgp 6DFP99Rna/AejEhIeiICSJ4FVYmGu3Z77KiqI3Xj4MIMlm4mOYD4pGY4nkSM2Vf5gM+P TUeKHuaCgbMrCw4YRR3vDm9UpiyF6JaZrrBJheFAna5zsoQTkntV3J6rqt475CZzqZMy Igf11XU0fyfyriLxXgzN+cI0dAOnFtsa77+1CZX5AgNKm7MatdwzeiOGN2WLXMUyVDKC Qh0el1bTqjojqYSe3RSXqOEnfFF/XzdxKXLzvkk51FvjWOOAXpd9uukqIwjIFIcmr5bU Ntsw== X-Gm-Message-State: AOAM530QP39bJdB129EB859escVu1JN3MhgyWbtjr7BNIbb6JucSdDIc whrbilhcdex5hi+A1NpubLY= X-Google-Smtp-Source: ABdhPJyS8z5qzC/oyvwrnKaQFmFetJoIeWhgIg27PvLrfE7sTZk5PmtN1NCcSDeI/PfoYJY5z8yYRQ== X-Received: by 2002:a05:6830:2414:: with SMTP id j20mr15244375ots.326.1612276376656; Tue, 02 Feb 2021 06:32:56 -0800 (PST) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a05:6830:1391:: with SMTP id d17ls4887066otq.2.gmail; Tue, 02 Feb 2021 06:32:54 -0800 (PST) X-Received: by 2002:a9d:6c9a:: with SMTP id c26mr15293549otr.96.1612276374001; Tue, 02 Feb 2021 06:32:54 -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:27666 Archived-At: ------=_Part_556_902282909.1612276373303 Content-Type: multipart/alternative; boundary="----=_Part_557_1910117172.1612276373303" ------=_Part_557_1910117172.1612276373303 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Le lundi 1 f=C3=A9vrier 2021 =C3=A0 17:40:33 UTC, John MacFarlane a =C3=A9c= rit : > > 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 The obvious place at least initially for such code blocks to appear is in= =20 Markdown. Pikchr is intended (just like PIC was) to be used as a=20 plugin/filter in any context, but it's main development environment to date= =20 has been in the Fossil variant of Markdown, see=20 https://www.fossil-scm.org/xfer/md_rules. Pandoc doesn't support Fossil=20 Markdown, but it seems like it would not be hard to do so. -- Dan Shearer dan-QNUrB6Xd9YFAfugRpC6u6w@public.gmane.org --=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/f194310d-8b68-41d5-a13e-28f83fd7b512n%40googlegroups.com. ------=_Part_557_1910117172.1612276373303 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Le lundi 1 f=C3=A9vrier 2021 =C3=A0 17:40:33 UTC, John MacFarlane a =C3=A9c= rit :

We wouldn't embed this directly in pandoc (trying to avoid
C dependencies), but it would be easy to create a filter
to intercept specially marked code blocks and convert them
to pictures. (There are examples of this kind of thing in the
pandoc/lua-filters repository.)

John, what is needed to help make a Pi= kchr filter happen?

The obvious place at leas= t initially for such code blocks to appear is in Markdown. Pikchr is intend= ed (just like PIC was) to be used as a plugin/filter in any context, but it= 's main development environment to date has been in the Fossil variant of M= arkdown, see https://www.fossil-scm.org/xfer/md_rules. Pandoc doesn't suppo= rt Fossil Markdown, but  it seems like it would not be hard to do so.<= br>

--
Dan Shearer
dan-QNUrB6Xd9YFAfugRpC6u6w@public.gmane.org

--
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/f194310d-8b68-41d5-a13e-28f83fd7b512n%40googlegroups.= com.
------=_Part_557_1910117172.1612276373303-- ------=_Part_556_902282909.1612276373303--