From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/32692 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: H Newsgroups: gmane.text.pandoc Subject: Re: Complete sample writer using 3.0 syntax Date: Wed, 24 May 2023 12:31:17 -0400 Message-ID: <30FCEC55-041B-42C7-97F6-5BD47AC7CCBA@meddatainc.com> References: <036dd5f8-667a-2b2f-9eaa-76c29718cd55@meddatainc.com> 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="39510"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: K-9 Mail for Android To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-X-From: pandoc-discuss+bncBCEIZSNSZ4IRBCPYXCRQMGQEEIIS6AA-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Wed May 24 18:32:12 2023 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-qt1-f192.google.com ([209.85.160.192]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1q1rPI-000A5T-G0 for gtp-pandoc-discuss@m.gmane-mx.org; Wed, 24 May 2023 18:32:12 +0200 Original-Received: by mail-qt1-f192.google.com with SMTP id d75a77b69052e-3f6b3a5a4e8sf7989311cf.1 for ; Wed, 24 May 2023 09:32:12 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1684945931; cv=pass; d=google.com; s=arc-20160816; b=i8CpTqV6JsTG8jV6fKp5yYuk2/EFM15v00u8/XNbtHC8tSx6l524nehk3j7vbsy7ln /Bhtb1BTkYu8XwbaCVAM5td1vfLZQPtoR791KLO2ECg/FnuQ9XDpKrVHs2nX/wqeox1p N06V0lsgBBn6OOltLoimMRu58WckYnMDBSLeDAP3p7VSoVtVyIKXTUh2ryfdWeEs7CJL pNP9GeHtcNJbhxCXwBC6zgzTWyBnSAbn1PHZrhWG/twC532hpeXiNbJLHSlvPGM7m094 WzYEOxwwySr4No4aQUF29u+d01IBnN7Ue2tsrTP79nhXCihiI7dJIjI29esj0nNI5L53 N3mA== 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:ui-outboundreport :message-id:from:to:subject:content-transfer-encoding:mime-version :references:in-reply-to:user-agent:date:sender:dkim-signature; bh=3BCdSpRoq9p9yX3QRYSxhjpdMOptg8vbAHOAT+Qz9j8=; b=SwCMMNGYrQIGNUqXQ4BhUtExZa6IFPVHzyZD+9Lf3/5EbKMZSaRK3tjnx+ecZ25YSk aYzDj4cDTIaAXsPi0FpCZIBthLfMEMGATYZ1FkT5/Estombb0sJMuLsB/BSM3M4BB0ae gxkwB26xI2oU2D6Cy2iqQGN90iyjffbM6mSM7gdMC5bkJZ5jksss8z1MsBQVJ28p0BEp OE9cSnHdJllH2yC6T2v2yplqO1VszCLRH8ySnvoJb/kmtcalGzQQ7dTnGgrKWI1cBoN7 w0MFRlHUtCYNrafi8Pf44EDamSydVmj/2aAqXr/8CaF8p682T7mWkWpstAzguonfWrAM REQA== ARC-Authentication-Results: i=2; gmr-mx.google.com; spf=pass (google.com: domain of agents-FcZObrvlYduBUy7/sJONFg@public.gmane.org designates 74.208.4.196 as permitted sender) smtp.mailfrom=agents-FcZObrvlYduBUy7/sJONFg@public.gmane.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=meddatainc.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20221208; t=1684945931; x=1687537931; 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 :ui-outboundreport:message-id:from:to:subject :content-transfer-encoding:mime-version:references:in-reply-to :user-agent:date:sender:from:to:cc:subject:date:message-id:reply-to; bh=3BCdSpRoq9p9yX3QRYSxhjpdMOptg8vbAHOAT+Qz9j8=; b=sunP6nxOK2I4fhjgWjoscib6JNzQt2MWZbKx4PDLUm4o2t3jCKbcyBYjQh1kShW1JJ xTTKWj8xG7lkluX/xp9IAwV207xzPcAJ8DhifSOijgogJ3rhjQ3NDAGCFzLG/IOpm9D3 PjSUMVE1D46qRmnqXIkAJw53dd2KLuEXUjbNhbUQxakAMbZgjC3pE49Zn9UmgKg8CXRU 0au+zB0V8TA5BRQnOhxnHezJ2Vb6ktHRHg+HkrXT5rFl1tTlffStY3354xxSXjzxBPB4 YBGd9cMp X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1684945931; x=1687537931; 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 :ui-outboundreport:message-id:from:to:subject :content-transfer-encoding:mime-version:references:in-reply-to :user-agent:date:x-beenthere:x-gm-message-state:sender:from:to:cc :subject:date:message-id:reply-to; bh=3BCdSpRoq9p9yX3QRYSxhjpdMOptg8vbAHOAT+Qz9j8=; b=Rrf7pewhCUuqrXAnnT2H9LC6pGhzIYOo+Shu2CN/kFDgWlDuf1mnQomjqBL1VcPPzF Hb8aMGKB2lKfTNOsP2zREuY+uLrzaIsMaatcTl4uMg7O1Il+c7DgT6Ml2sL02MHqoGPX hM+/5n9XqM73CqqNQNl7nmMJVjh+zbVqrb3Hw5DyTwa81geu1VfLTF4KZyDdCIlAVt0+ pSytDWYbAE3HRc2hbQh Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AC+VfDytVg18b8AcW1Ha2dtleEGHfwXRDtXhokyUoxAsLZBuGf0INlbV lNv5zPv0rpdtuRu2A3VE68I= X-Google-Smtp-Source: ACHHUZ4v8Y7hNzb1KtkLKZByBIwMjz72JghyjzznR9YBRiCKJu9w7my4j2036jP0sgITFV24uLjJ+A== X-Received: by 2002:a05:620a:191e:b0:75b:2863:a146 with SMTP id bj30-20020a05620a191e00b0075b2863a146mr1587885qkb.6.1684945931554; Wed, 24 May 2023 09:32:11 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:ac8:668c:0:b0:3f6:824f:575a with SMTP id d12-20020ac8668c000000b003f6824f575als635976qtp.0.-pod-prod-07-us; Wed, 24 May 2023 09:32:08 -0700 (PDT) X-Received: by 2002:ac8:7f41:0:b0:3f6:b760:f3dd with SMTP id g1-20020ac87f41000000b003f6b760f3ddmr9603912qtk.33.1684945928798; Wed, 24 May 2023 09:32:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684945928; cv=none; d=google.com; s=arc-20160816; b=xNfWFTSEzKTednGBxezSAwfvGacXO6+Ry53kepCsDkOQ71dslTvGUVnkW7aqUTlrdU oYNkUm+6jf7tQvlOqluvCZELOK0MTuiKqTVTJAzXXEpRRRRFs7WLGtd30LjewC5d3pBs egkbhNfHPXenhFJ1IkLfHCeQCxyeWCMNcwn8TEBhbUbopE9P1qu2KyD72pGbzprI39gN mb8LlCD00djI0xmcp5P8rlaJCOJNhdLya4L2kwUAjvK7CJA7TCZ+KllYtP/wBc3OKuOb Fx4ouy1pDoBf2FRgM00/lr3ISlytJmtY1FaoeH4FYnC63nheOG9cU1TPB0FJdBtHCaVs juuQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=ui-outboundreport:message-id:from:to:subject :content-transfer-encoding:mime-version:references:in-reply-to :user-agent:date; bh=l1JTWc0XcY09tO+xYConMlUd1D6ugdLaKJ4h64tNmZc=; b=hb3HwWIkNCTnK2YKeketPNQed1QHc3/OQHceZLJHqBKAhESsQfyaRBtjgG814SzUNA HpLHEm8azpf40mYN482eQ9b0jCkjR8qksonoVmr68nr9xssNgk1ZXbobyByZnonWSJdQ QzBkUedo4AZrmSL78vdGWToMlK5Fwdd8bHAlLURhIjzS/1riIfWviFYkYw7QzQLXOtVE r9wftCwi+0ehj04vX/zkVi9ceu3aGwVeTggvHKqIcEOUFJ59oz7JP26KkC7vtQuZ18jm jcJixBar4YyfFITI2de/hZRmFOVZiAKtYOehTAp3W2gMNwJwdwr8ZkLyMMker7Ajx07k yo4A== ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=pass (google.com: domain of agents-FcZObrvlYduBUy7/sJONFg@public.gmane.org designates 74.208.4.196 as permitted sender) smtp.mailfrom=agents-FcZObrvlYduBUy7/sJONFg@public.gmane.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=meddatainc.com Original-Received: from mout.perfora.net (mout.perfora.net. [74.208.4.196]) by gmr-mx.google.com with ESMTPS id fx3-20020a05622a4ac300b003f395029e21si819502qtb.2.2023.05.24.09.32.08 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 24 May 2023 09:32:08 -0700 (PDT) Received-SPF: pass (google.com: domain of agents-FcZObrvlYduBUy7/sJONFg@public.gmane.org designates 74.208.4.196 as permitted sender) client-ip=74.208.4.196; Original-Received: from android-ebf15b6ae8bf2dde.home ([72.94.51.172]) by mrelay.perfora.net (mreueus003 [74.208.5.2]) with ESMTPSA (Nemesis) id 0M4oHb-1qL0p83v4P-00yvrE for ; Wed, 24 May 2023 18:32:08 +0200 In-Reply-To: X-Provags-ID: V03:K1:hRxEXcxRinOIWy63XVMlcvJ3Hn6QJT3JrounH3Ras0O5XLBGQty JyhyQ5ZWPFrutFa6z3U5g7P9EZ1Ofd8znkUhBP/zyAYD0/uiaB0i+Oj50Z6PLMDtXZjZq6J yW+a+VmgYWdQPw48X3xWmFMaszwh0S9hx91haPEiJBjxeigWfrwQpNo3XnIROxz7vvb+TJo HU4dYcjCp/1Gb67Q/34MA== UI-OutboundReport: notjunk:1;M01:P0:obwjodY90TE=;S77CFPXeoI2JGBnJVWg3GRl2T3d S4hHGeUy8Dm3uhDW85mVP1gJzJitP4igyJ3ujU8bEe/w+JP+2BaFI4nuU1sU+9FWbVaci5zth fPYyrIJ5w5qm6VjZexFRcoCjGGQH/8o1Ov4taKleqmu/fDjghRJ3HB4E42oKUK0cG5i7ZdM6I 80x58oWUelaM71/u7ZafAhSRQAQBmGKobNY9kogQHhDw8reSgWYQ+UTjxgBVpJprLOORmO8zl AKi8wcBXmr2Q6e2hhpgQlhcqWI2us2UGLz3tynIa92mIpSc23IgqIfGe3PwUX0+Ma6MsIg7IF sEAtgegfkrtoVUEH+BcUSP81sTpb4ohjOrFvuGMlT13prZPyioxjSpmBx9nLY+Ymdqu6EuDg1 WBL5ezMes1C/PG/P7WxuxAIZ89yNN4j3mJx+7hIeQCBctxwmznLzARYlTJv89QmxvTWatMeSC ZDUalczGHuaNWfy+phtRLu+237kO0bHYYt6VGY8DTwyqzF/vI0sDmirDaDyAYHdb0AdLK+QzR 4YEKncRJBPK8lDkhmpZH3oI5AHTZWZ20kWCgrgGe46lGJdXYwk3m2pjs48BymImt0+/kd/KYh /bOmZndeQpazNhKOPPt+/gCScUhVPhqlzcav/zIoeSLeeUx6FkolfhmEUQxFqQ3fX47LZBnPE CLdC+RqQ/ks9JFKd1mL9s3Qx/4+FZzL3+9LINaDsKg== X-Original-Sender: agents-FcZObrvlYduBUy7/sJONFg@public.gmane.org X-Original-Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of agents-FcZObrvlYduBUy7/sJONFg@public.gmane.org designates 74.208.4.196 as permitted sender) smtp.mailfrom=agents-FcZObrvlYduBUy7/sJONFg@public.gmane.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=meddatainc.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:32692 Archived-At: On May 23, 2023 9:01:35 PM EDT, John MacFarlane wr= ote: >Here=E2=80=99s a pretty complete example: > >https://github.com/jgm/djot.lua/blob/main/djot-writer.lua > > >This is a pretty full-featured one, even using doclayout for >indentation and wrapping. > >> On May 23, 2023, at 5:22 PM, H wrote: >>=20 >> As a newcomer to pandoc I could greatly benefit from a /complete/ >sample custom writer using the 3.0 syntax as I am muddling my way >through learning it. >>=20 >> Googling finds a lot of code fragments using the old AST syntax which >is now deprecated. The github repository referenced on the pandoc >website has a lot of old syntax code but no code using the new syntax. >Further, the github page has a warning that the site should no longer >be used. >>=20 >> Where can I find a complete lua writer using the new syntax? Does not >need to be a sophisticated writer, perhaps just making some >customization of HTML output as such just to get the feet wet. >>=20 >> --=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 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/036dd5f8-667a-2b2f-9eaa-7= 6c29718cd55%40meddatainc.com. Thank you! I will review and experiment. If anyone has another good sample = program using the 3.0 syntax, please advise. --=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/30FCEC55-041B-42C7-97F6-5BD47AC7CCBA%40meddatainc.com.