From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/31536 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Gianluca Carbone Newsgroups: gmane.text.pandoc Subject: Pandoc filters to produces multiple document reading lines of a CSV Date: Thu, 13 Oct 2022 03:36:01 -0700 (PDT) Message-ID: <9cf8d9c7-2789-4a28-b66e-d2c393880b3cn@googlegroups.com> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_922_2073326092.1665657361623" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="32315"; mail-complaints-to="usenet@ciao.gmane.io" To: pandoc-discuss Original-X-From: pandoc-discuss+bncBDYLVBUDZEBBBEWUT6NAMGQEEHINHOQ-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Thu Oct 13 12:36:05 2022 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-oa1-f60.google.com ([209.85.160.60]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1oivZN-0008GD-Mk for gtp-pandoc-discuss@m.gmane-mx.org; Thu, 13 Oct 2022 12:36:05 +0200 Original-Received: by mail-oa1-f60.google.com with SMTP id 586e51a60fabf-132e28ef8fasf925707fac.0 for ; Thu, 13 Oct 2022 03:36:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20210112; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:reply-to:x-original-sender :mime-version:subject:message-id:to:from:date:sender:from:to:cc :subject:date:message-id:reply-to; bh=dwjrTn8Vx7p+oMEHzyItbu7i+hOX4FaRkJ3pB9MVDz8=; b=QdVCMlB1gxVIjzl+RncuinD3LLkLyo5bUXEWdzXSReV5iNdZj9/zalRuAu9TD4LG+E lbUj6+iQvgUYbwkopZVNizKxqSZd8zU2F1ONFUUYz3IDhJTp6cJh7D7EATXEFWBjq7nz GWJCGvJUIB4jo3iF2OQp7asgtgIOZwXep5zFsi/MDjeeBPrVwdF6Py+K10OriE3WVlxI TpiYZuFUyH//nkCnEHI6AxtrIVQ7IuBMwSDeIV1gqDG94JaQ73nH8cLqUxucMQDf6SVh Dmi7E5J5i2s6XL+jZ7cLvPIm+VU3LdMUOjEczG+QOl/9M8po1U1NFixiwecexrEtuYuv 1Awg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:reply-to:x-original-sender :mime-version:subject:message-id:to:from:date:from:to:cc:subject :date:message-id:reply-to; bh=dwjrTn8Vx7p+oMEHzyItbu7i+hOX4FaRkJ3pB9MVDz8=; b=p3rBZ4221VFRuA837pCZwHXYr7A3LeVx1Cpa8o+LAKXgof+w/UniKNlJGm817sM/Ga MlepjReLO5MuiFJ1EFhsCGF4JzxAtTYOHsrpeKyGnEzCzQXK1xl/yvB8Xh7cV3HBBnbS tLcu7P3Wo7vWz5RDsBK07Cj/xOklNDSoIHS03omzhfuXZrQpLpmfSJvY93YntRNleTtM MFg5tXcdREbZ77/lT3dJ2bF1Gy+psp11lEL4gB/B9ZaPzW+pda273E9TpWJ0HIiHNFpZ 5noEp81o97VDCN+D0pxKrcOzUjrWlUUAlnU9bdDCYm00TbNdMaJ6dEG09Oh6To37i+vj Yjng== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; 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-sender:mime-version:subject:message-id:to:from:date :x-gm-message-state:sender:from:to:cc:subject:date:message-id :reply-to; bh=dwjrTn8Vx7p+oMEHzyItbu7i+hOX4FaRkJ3pB9MVDz8=; b=hbhpo9aLTjYZq1fEvmfq36OboWHCeX6avza5jcDLE4C65pwbIJOYVbAU9Xf/9KFg/Y LVP7ZqrtG3jiegVvjpwsGwJemNXpD37R08Jkz1+Ei/tKZ1Rr5CcBFRy5wxJ3EUEYCuMG 9cAz0A4Ml0zZ1pmB9LhEpXZFQYX2U7Hvi6t/Zymk3XEZdcjBmBB4eTkkvGS6ESfyrdev B3zsdf7f7FFjDTHZpG7sk18dT/jlmwuZJiL/InLxxQGPfONqGlS93LlbFXyua7xzuXdG BvYYReWaUnm/m/7EtFVcU766bfRVNF3slYeG26K6mM83r/eg5b67a2Ii2X3KT8BGqdbh VyXQ== Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: ACrzQf08ybPY3F7Z04C5QcGNBD1iEzPPz8CxkrUdKrlBR+wnrdeC324t HGiTbItond4gcvt1M2yehAY= X-Google-Smtp-Source: AMsMyM7zZbs3UkYPaCEfK0dQExc4eW7DlO0fCnKY6JdoWP7x5oGaUUoN7axePh1RdJzl2yVY/9hC4w== X-Received: by 2002:a05:6830:2805:b0:659:aab:f8e4 with SMTP id w5-20020a056830280500b006590aabf8e4mr15058665otu.84.1665657364623; Thu, 13 Oct 2022 03:36:04 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a9d:4544:0:b0:661:91c7:c50b with SMTP id p4-20020a9d4544000000b0066191c7c50bls226150oti.0.-pod-prod-gmail; Thu, 13 Oct 2022 03:36:02 -0700 (PDT) X-Received: by 2002:a05:6830:2f9:b0:661:9e22:58f9 with SMTP id r25-20020a05683002f900b006619e2258f9mr8455177ote.350.1665657362172; Thu, 13 Oct 2022 03:36:02 -0700 (PDT) X-Original-Sender: gianlucarbone96-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-Google-Group-Id: 1007024079513 List-Post: , List-Help: , List-Archive: , List-Unsubscribe: , Xref: news.gmane.io gmane.text.pandoc:31536 Archived-At: ------=_Part_922_2073326092.1665657361623 Content-Type: multipart/alternative; boundary="----=_Part_923_474937151.1665657361623" ------=_Part_923_474937151.1665657361623 Content-Type: text/plain; charset="UTF-8" Hello guys! I'm new with the tool, and I try to understand how filters works. I tried to install some community filters but any satisfy my needs. I want to obtain multiple documents in output (markdown documents) which uses a specifc template already defined and working by me. The input file, must be a CSV file with an header for example: // CSV file \\ name, surname, date, location Josh, White, 2022-10-12, Rome Kate, Brown, 2021-09-30, London I want in output in this case 2 documents: 1. One with content filled by the values of first record of CSV 2. One with content filled by the values of the second record of CSV How can I do something like this ? Thank you so much for your help! -- 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/9cf8d9c7-2789-4a28-b66e-d2c393880b3cn%40googlegroups.com. ------=_Part_923_474937151.1665657361623 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hello guys!

I'm new with the tool, and I try to understand how filte= rs works. I tried to install some community filters but any satisfy my need= s.

I want to obtain multiple documents in output (markdown documents= ) which uses a specifc template already defined and working by me.

T= he input file, must be a CSV file with an header for example:
// CSV file \\
name, su= rname, date, location
Josh, White, 2022-10-12, Rome
Kate, Brown, 2021= -09-30, London


I want in output in this case 2 documents:
=
  1. One with content filled by the values of first record of CSV
  2. One with content filled by the values of the second record of CSV
How can I do something like this ?

Thank you so much for = your help!

--
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/9cf8d9c7-2789-4a28-b66e-d2c393880b3cn%40googlegroups.= com.
------=_Part_923_474937151.1665657361623-- ------=_Part_922_2073326092.1665657361623--