From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/23258 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Dmitriy Krasilnikov Newsgroups: gmane.text.pandoc Subject: Re: Create TOC for multiple .md files Date: Fri, 16 Aug 2019 20:20:57 +0300 Message-ID: References: <508c2bd0-fb71-4ce3-9fc4-379a8724936b@googlegroups.com> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="00000000000049693805903f37d2" Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="62780"; mail-complaints-to="usenet@blaine.gmane.org" To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-X-From: pandoc-discuss+bncBCW6BWX4WAKBBBOM3PVAKGQERB7XRNA-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Fri Aug 16 19:21:11 2019 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane.org Original-Received: from mail-ed1-f64.google.com ([209.85.208.64]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.89) (envelope-from ) id 1hyfuY-000GBv-LK for gtp-pandoc-discuss@m.gmane.org; Fri, 16 Aug 2019 19:21:10 +0200 Original-Received: by mail-ed1-f64.google.com with SMTP id c31sf3818067ede.5 for ; Fri, 16 Aug 2019 10:21:10 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1565976070; cv=pass; d=google.com; s=arc-20160816; b=khTg2yUUuKRXrIkOvin7HTwWUbfAVpRmT9g4OzmwdXkxuSwMxkEyt5trFmbhOu682V HO1RAyC4v7ilK1J0rGf8hAE4xMSWAWBXVdSVShf2cuKt8pnc1mG7l8fPFyvNmRQ7c3gt SxCSyJ8UV3GFL40TMIn11UlaaDyExvUjU9OGsH81wcX4C9FgiRqdMjTTE2nB04ROpj3Z LR03N+FKG22C+B7TsdQd0z1SX9ROjHMKvPDa+XYFARs4rsLB/u2r3kBrm9MOSpzhzm+K L5029eCOLRZecBy/ujimeJIdohJ4ScsqkKwt5fn3uQZLQagstGSNJKxVza5n8nLYpc3a +CIQ== 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:to:subject:message-id:date :from:in-reply-to:references:mime-version:sender:dkim-signature :dkim-signature; bh=k08fNmo6nNb8GZl9xGfhrCL1WiTIuD/TQ5BCmCssitE=; b=sAqHG2TitVTM0FezIaReBgGNgfsRP6VbXyIkzrLWgc6r6f3NOEVraz8Ij5m+Yyq7hw 372xq6vwpbWetvuG9XKdG2teO7yxi3VOnranqYm+4jnA1e98qW/NsVzSJQC7P8yiS51g T7Auk1vlovX0mEZs1ot3ZaBoSPwPn80jTf6aUXPjw66pnQtMeNWUfD1Sdl7RzM8Qa7Z7 vQ5Q1DAY7a6ZDjNejVehWwn1UC/Pz9HQLaCCKfSuork+BfB3z4Y94P0evvWy3usRu8Of B979fS3QkeTo9j5WHZJlyV1yw/P4bIXFcIgCU7Wgjt8hMn5MHFqnfOVrAvz5Fu0OgQ3e KU5g== ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=jxqHRYkW; spf=pass (google.com: domain of dmitriy.krasilnikov-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2a00:1450:4864:20::42b as permitted sender) smtp.mailfrom=dmitriy.krasilnikov-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20161025; h=sender:mime-version:references:in-reply-to:from:date:message-id :subject:to: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=k08fNmo6nNb8GZl9xGfhrCL1WiTIuD/TQ5BCmCssitE=; b=RSx+8u4atMZSssiKUR1j/mnUGVM7cpNIU3LQNCr31rOQszoz2u0uY3+5oXgpQiGXA8 LpxinFU7/gUcH1ZvQHYF9IC+8LpTXvdzNiJiIBpnTYqJ5w0lOlBW2FYmpwJVH2ALchMq RNjXzE5MLHRGkQskeNc3F2RM/En1o1noRMO8hqvVdvFtDWaThIYZUJJ9p9pF06tx135Z XhdhZv5ovJLtAtApw0T3OlKc1DV4S9F759SopfnY+vkJ79/w7tRn3DNto1cLbgFxT3A6 kQYHsC1IKhvAtTpYtBodKZRieTPFNARlZdHL/qIo0A+eUSJcway3XQCaHt2LOx+bIGII yVLA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :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=k08fNmo6nNb8GZl9xGfhrCL1WiTIuD/TQ5BCmCssitE=; b=WV5osM9gLZCTO1i8HkvSm5il541nHoLj6Y4+iIi9JYMFYWov/AAEij9kh/LrLc2wB6 k4IjPhNhlF1OmO5tLx80JIjTVEa/mXdkfKsmEw0/MElYCFdabUSCqsz2a22dra1Ddzh9 dELGloWD8amoJL9wrkaBDIjI56w1DWFQDV/mvbFX3Jc6DSILssdHnIPGhfrhdTUz6VAJ 4qjwQplLDJadRxlZAKPKJfcuy4Gsj51mPYcUD+Sl2Ct7Lh+bedt/2SK219+kO9aixi8n EQAVkXXPIWOz5pSNkSXAbiF294kQwo9II7q9ipD4QxJOhiA9+FPakUEGK4mgt4Utaj2z cuQA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=sender:x-gm-message-state:mime-version:references:in-reply-to:from :date:message-id:subject:to: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=k08fNmo6nNb8GZl9xGfhrCL1WiTIuD/TQ5BCmCssitE=; b=nZiJOoIeZjAluTpLcvyUr0vg/lWf1AtK1ugnBJx6BYg1/V/tdPCiFkk6HX8DTJy1/u z7fR7Xftzvg+CEXnGnyYuo6uj3uyphux9aNTeQqAN90NhKS8eOQDE8ZAnT2ojSTs0msl UZZLFLM9wdW/gjK8/pMs0wiNY0am1MktuoTSS4xw6Kn2XCxkBU61Dtj5MBc9hr/GXuO4 IjBz2NohAvEN1Y6gdyS5ARFNE2lFw4hx7rFC9YDH9YAPBvJ5j45CWxTE7A0Urg6ydEhr FEXnc+1MiuUJjYMYeELyeYs1pZcYc++39b58MQ6tBNitck/flXU8mRLosVb/SX/dJlkH Jt9A== Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: APjAAAXPSIstnwMbYctjAUwIKYo85LiwjDoxXUT1gJA/+O1R8ssaJ+E3 rftl5RSVNAFiaebifOJ0TIg= X-Google-Smtp-Source: APXvYqwCHuG8oTzaRUpiA+aF7OAe81SGATYEW2wz9J5vAF41xLzSB3Wgc3mysdXhaMIp6nvm4/VQ7Q== X-Received: by 2002:a17:906:cecb:: with SMTP id si11mr10340603ejb.178.1565976070011; Fri, 16 Aug 2019 10:21:10 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a05:6402:3d8:: with SMTP id t24ls2439713edw.10.gmail; Fri, 16 Aug 2019 10:21:09 -0700 (PDT) X-Received: by 2002:a05:6402:1285:: with SMTP id w5mr12343776edv.36.1565976069095; Fri, 16 Aug 2019 10:21:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1565976069; cv=none; d=google.com; s=arc-20160816; b=jxSPgbmylX/oSSQMghATcq8nyGXuhhNdRW6i3ANs3cdIx8UFC/9TpXFuu/FThuzoLr 7HQgrFjAWNkqruLcxU6YTaLZL9nuSuutdWa8MsZSO3FEkfe/sIbdLQojfgeHV6yxgbvz 73jCLUxG/NGR6MCqgwy6bPK3tQDwVM/N7dAql252KwU8K6OHh+fVPStUhSgfkP2mYDx5 JiKkfRztoFcxRBBPInQevDqkTFJoAdFMgH+Rf3e8zbVU+gUpi+QwJ9+mYE1ReJNi28qC eGtrdvKp89rk6xcr9FWdA5TrpMYbYmLg7wZkiT1mSz1aLMTn9XxELBnvoyhyZ57GxYES 6giA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=GC5ubxxkah0sQBP8TI0JAhx1Y1gCSI4DzAIkLfIb0BA=; b=DwHrnZzSLZhQuJCBgh7YZrRdiR9EJq8iaRFyXXLS0KB0Mm9HigReh3sSt2IbWrzjf9 ZvMSRora43gPZoNzwGlGwgBlY4U/6efakLw+Q7TgfCVwNNsr5sfM5D4qEuY2n9MCSKW8 t/sHdac2QwHYLQ515gPyNbr2tWOlVo3E/sUhBjyVY5lmA41oS5pYgdctMbcw/J9/FCao Tn9qPLDT9NiOWorYqbe0y/ck8shy520kgdRr5iuDsYWJUwJo/tQSPdhs6EBQHy6jzJqS 3/vC7H63TQvexFiKeLairnLSr0Ovr+LAJFm7CW0QISLPRfla3tTavuL1YglSxhPUGTYT qWBw== ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=jxqHRYkW; spf=pass (google.com: domain of dmitriy.krasilnikov-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2a00:1450:4864:20::42b as permitted sender) smtp.mailfrom=dmitriy.krasilnikov-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Original-Received: from mail-wr1-x42b.google.com (mail-wr1-x42b.google.com. [2a00:1450:4864:20::42b]) by gmr-mx.google.com with ESMTPS id m29si298984edb.3.2019.08.16.10.21.09 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 16 Aug 2019 10:21:09 -0700 (PDT) Received-SPF: pass (google.com: domain of dmitriy.krasilnikov-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2a00:1450:4864:20::42b as permitted sender) client-ip=2a00:1450:4864:20::42b; Original-Received: by mail-wr1-x42b.google.com with SMTP id g17so2244610wrr.5 for ; Fri, 16 Aug 2019 10:21:09 -0700 (PDT) X-Received: by 2002:adf:eac3:: with SMTP id o3mr11340790wrn.264.1565976068449; Fri, 16 Aug 2019 10:21:08 -0700 (PDT) In-Reply-To: X-Original-Sender: dmitriy.krasilnikov-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org X-Original-Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=jxqHRYkW; spf=pass (google.com: domain of dmitriy.krasilnikov-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2a00:1450:4864:20::42b as permitted sender) smtp.mailfrom=dmitriy.krasilnikov-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.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.org gmane.text.pandoc:23258 Archived-At: --00000000000049693805903f37d2 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On github theres an old version, didn't do git push master for some time... You'd better describe what you want from a program and I will try to do it and release a binary for you or the source code if you want to play with Go= . =D0=BF=D1=82, 16 =D0=B0=D0=B2=D0=B3. 2019 =D0=B3., 9:00 Rudi C : > Is it on github or somewhere? :D > > On Thu, Aug 15, 2019 at 10:10 PM Dmitriy Krasilnikov < > dmitriy.krasilnikov-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > >> I have written a similar tool in go, that merges two MD files into one, >> and makes a TOC of a file as a an additional feature. >> >> =D1=87=D1=82, 15 =D0=B0=D0=B2=D0=B3. 2019 =D0=B3., 20:10 Rudi C : >> >>> It should be possible to write a script to find all the input files, >>> sort them, then feed them to pandoc while prepending the title of the f= ile >>> to its content as a markdown header. >>> >>> -- >>> 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/508c2bd0-fb71-4ce3-9fc= 4-379a8724936b%40googlegroups.com >>> . >>> >> -- >> You received this message because you are subscribed to a topic in the >> Google Groups "pandoc-discuss" group. >> To unsubscribe from this topic, visit >> https://groups.google.com/d/topic/pandoc-discuss/SGgcf9_CBHc/unsubscribe= . >> To unsubscribe from this group and all its topics, 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/CALZUCcCV6iDRBYV0H4-XYd= RAd_WcQAUNNvwyG94X%2BQjd9ehXBw%40mail.gmail.com >> >> . >> > -- > 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/CAE9z9A2dN4oi2Wc2%3Du9%3= DMw1edysjoidDZYqFh9uwcpdCZErujQ%40mail.gmail.com > > . > --=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/CALZUCcCFJ-fvsWWwU%3DNTHm4PDhvY5CjQFPPhrydWNZ_CXo6mWw%40mail= .gmail.com. --00000000000049693805903f37d2 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
On github theres an old version, didn't do git push m= aster for some time... You'd better describe what you want from a progr= am and I will try to do it and release a binary for you or the source code = if you want to play with Go.

=D0=BF=D1=82, 16 =D0=B0=D0=B2=D0=B3. 2019 =D0= =B3., 9:00 Rudi C <ru= diwillalwaysloveyou-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>:
Is it on github or somewhere? :D

On Th= u, Aug 15, 2019 at 10:10 PM Dmitriy Krasilnikov <dmitriy.kras= ilnikov-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
I have written a similar tool in go, that merges two MD fil= es into one, and makes a TOC of a file as a an additional feature.
=D1=87=D1= =82, 15 =D0=B0=D0=B2=D0=B3. 2019 =D0=B3., 20:10 Rudi C <rud= iwillalwaysloveyou-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>:
It should be possible to write a script to find all the input files, sor= t them, then feed them to pandoc while prepending the title of the file to = its content as a markdown header.

--
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 pandoc-discuss+unsubscribe@go= oglegroups.com.
To view this discussion on the web visit https://= groups.google.com/d/msgid/pandoc-discuss/508c2bd0-fb71-4ce3-9fc4-379a872493= 6b%40googlegroups.com.

--
You received this message because you are subscribed to a topic in the Goog= le Groups "pandoc-discuss" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/pandoc-discuss/SGgcf9_CBHc/unsu= bscribe.
To unsubscribe from this group and all its topics, send an email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discus= s/CALZUCcCV6iDRBYV0H4-XYdRAd_WcQAUNNvwyG94X%2BQjd9ehXBw%40mail.gmail.com.

--
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
pandoc-discuss+unsubscribe-/JYPxA39Uh4Ykp1iOSErHA@public.gmane.org= m.
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-dis= cuss/CAE9z9A2dN4oi2Wc2%3Du9%3DMw1edysjoidDZYqFh9uwcpdCZErujQ%40mail.gmail.c= om.

--
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://group= s.google.com/d/msgid/pandoc-discuss/CALZUCcCFJ-fvsWWwU%3DNTHm4PDhvY5CjQFPPh= rydWNZ_CXo6mWw%40mail.gmail.com.
--00000000000049693805903f37d2--