From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/20378 Path: news.gmane.org!.POSTED!not-for-mail From: mb21 Newsgroups: gmane.text.pandoc Subject: Re: Pandoc sinks and sources Date: Tue, 19 Jun 2018 05:25:34 -0700 (PDT) Message-ID: References: <78277484-e7f4-421f-b5d0-ff7e98ad76a9@googlegroups.com> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_19102_1174104750.1529411134975" X-Trace: blaine.gmane.org 1529411009 17493 195.159.176.226 (19 Jun 2018 12:23:29 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 19 Jun 2018 12:23:29 +0000 (UTC) To: pandoc-discuss Original-X-From: pandoc-discuss+bncBDCMBBVJ5EFBBP7MUPMQKGQEJMKO57Y-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Tue Jun 19 14:23:25 2018 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane.org Original-Received: from mail-oi0-f59.google.com ([209.85.218.59]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fVFfR-0004Tc-39 for gtp-pandoc-discuss@m.gmane.org; Tue, 19 Jun 2018 14:23:25 +0200 Original-Received: by mail-oi0-f59.google.com with SMTP id y123-v6sf11614193oie.5 for ; Tue, 19 Jun 2018 05:25:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20161025; h=sender: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=lNZkvFLhy38Gx65kdjDNc86Thp6oAv2jQa24FeMEFeE=; b=GR7LnPnc6MJyU5Am5GCiWonlYLjGoAMwOE9yuecZm0IggjCP/pkJcjvzJxXLoxIsgt DkN4ajcEAf97wlCTy8xMltN4kgxNEpeT0gmDIXLXnIYHhFBnDfOKuqdc68DPVFv5Xf2Y ec/lnlr4811adZy+ZmZTWW0DFDMLJmDDI99wd4PBkGPZMi9hp1RJyEuko33u8bkW6m6c nwvmL/KvefPslIt0quZKz2JLmXdOs+fYqQz9usoG6EKqcTvzCbVxR3KRYo4E57FLTX9E 3MCgsMQ2BygD0GFS9YTUfbmaWdQt93V9eVEW8B0feBC3VNxoS53jA0MZYQoRPfJoeu6o YiLA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.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=lNZkvFLhy38Gx65kdjDNc86Thp6oAv2jQa24FeMEFeE=; b=P13ne9ywVr+f2zVPctI1ztoOaAGeSh0z3OZeyho2QvRjuiZ417Nyw4dLX5eIC7mf01 vSR1TAIq3UYMQ7rgTuHlDyPGHP69WqqS2IZ4YA85e0gn/qbgtabl+wJJmBGNqU2NiGl9 joIbKZ6bJ5Xhbr7lH2QZzb5BPamtihzYwFpDDQSDBavCfIYzNexTx0QljRQMOamtOBci ZMbqgl42Jar2ZOWVPrmAtxrdK8zVEhk6RmUjWL4BCUCir56yKJCVUON9DFMFVlFS48ax 7X1xG+LmsAQXl9XhaStiCAqJsq/RxveBP2V7Ow7hf02W8+Bt7C6izs7XEsXG+rB5eQtH fFFA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=sender: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=lNZkvFLhy38Gx65kdjDNc86Thp6oAv2jQa24FeMEFeE=; b=GMYDOAqxSlFYJIGieH99mWy9OAQXurh5ihcyHWDZHUa6vWtB43Cup5wMCkN3lKRkRI a7gEocZbmnAVcTYwrf/JL0Y9KSQ67hRA/s6DWLKg+6BEXrZdQzXYCnp/4gK5fyQy4bWf tQpsedQTKnFF7OmMaldhH4NvmmUMUXyHOpauEAacLWovFNrs1ljWOC6b86D7prYa7tQ1 DpsXZTq5MyUAnFPDwhOn8RaBflgSfI+7mBO3ss8x7rV34OPPSnJRPaw/CjVANBbYzkYS DxQkYWFyZiW2qdIONHrcXz4xVPKAeJ6Th7IFShxcULkFYg2c4/JI9qmUjbab8QDDoRth uD9Q== Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: APt69E3mB0PebFjVxsIAZGtxMH8Q7edTLU6W0HeYLIfhmb+AXCfhVIvO 0gV6K8EeVG8qIpiV8rc9tiU= X-Google-Smtp-Source: ADUXVKIryMI27My5KqRbqcz0fiwUJ9VC9Rb3tVkm/TBLfkiTeNyk/SD9FlGfvQk9B+OBV54oDkDShQ== X-Received: by 2002:a9d:63d4:: with SMTP id e20-v6mr712546otl.5.1529411136325; Tue, 19 Jun 2018 05:25:36 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a9d:6284:: with SMTP id x4-v6ls7368425otk.2.gmail; Tue, 19 Jun 2018 05:25:35 -0700 (PDT) X-Received: by 2002:a9d:190a:: with SMTP id j10-v6mr703603ota.0.1529411135489; Tue, 19 Jun 2018 05:25:35 -0700 (PDT) In-Reply-To: <78277484-e7f4-421f-b5d0-ff7e98ad76a9-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> X-Original-Sender: mauro.bieg-Re5JQEeQqe8AvxtiuMwx3w@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-Spam-Checked-In-Group: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Google-Group-Id: 1007024079513 List-Post: , List-Help: , List-Archive: , List-Unsubscribe: , Xref: news.gmane.org gmane.text.pandoc:20378 Archived-At: ------=_Part_19102_1174104750.1529411134975 Content-Type: multipart/alternative; boundary="----=_Part_19103_1177401551.1529411134975" ------=_Part_19103_1177401551.1529411134975 Content-Type: text/plain; charset="UTF-8" Not sure people talk about these kinds of programs enough to warrant specific terminology, but the concepts certainly make sense. For example my pandoc-placetable filter acts as a "source" if not called as a filter but as a standalone program. So you can use it as an ad-hoc CSV reader: pandoc-placetable --file=foo.csv --widths="0.2 0.8" | pandoc -f json -o output.html cheers On Thursday, June 14, 2018 at 11:04:53 PM UTC+2, Francesco Occhipinti wrote: > > > Hello pandoc users, > > While assisting my users in a project that relies on pandoc, i found > myself developing some small scripts which made me think of a new > convention: pandoc sinks and pandoc sources. Here > https://github.com/italia/docs-italia-comandi-conversione/blob/master/doc/pandoc-sinks-and-sources.md > the idea is explained in detail, let me know what you think about it. If > you find this useful, we could add it to the wiki. > > Cheers, > Francesco > > -- 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 post to this group, send email to pandoc-discuss-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/aa144587-a080-41cb-99a6-95c754336c3f%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. ------=_Part_19103_1177401551.1529411134975 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Not sure people talk about these kinds of programs enough = to warrant specific terminology, but the concepts certainly make sense.
For example my pandoc-placetable filter acts as a "source" if not = called as a filter but as a standalone program. So you can use it as an ad-= hoc CSV reader:

=C2=A0 =C2=A0 pandoc-placetable --= file=3Dfoo.csv --widths=3D"0.2 0.8" | pandoc -f json -o output.ht= ml

cheers


On Thursday, June 14, 2018 at= 11:04:53 PM UTC+2, Francesco Occhipinti wrote:

Hello pandoc users,

=C2=A0While assisting my users in a project tha= t relies on pandoc, i found myself developing some small scripts which made= me think of a new convention: pandoc sinks and pandoc sources. Here https://github.com/italia/docs-italia-comandi-conversione= /blob/master/doc/pandoc-sinks-and-sources.md the idea is explained= in detail, let me know what you think about it. If you find this useful, w= e could add it to the wiki.

Cheers,
Fran= cesco

--
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 post to this group, send email to pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To view this discussion on the web visit https://groups.google.com/d/= msgid/pandoc-discuss/aa144587-a080-41cb-99a6-95c754336c3f%40googlegroups.co= m.
For more options, visit http= s://groups.google.com/d/optout.
------=_Part_19103_1177401551.1529411134975-- ------=_Part_19102_1174104750.1529411134975--