From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/23251 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Rudi C Newsgroups: gmane.text.pandoc Subject: Re: Create TOC for multiple .md files Date: Fri, 16 Aug 2019 10:30:15 +0430 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="000000000000df1722059035b4c0" Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="117573"; mail-complaints-to="usenet@blaine.gmane.org" To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-X-From: pandoc-discuss+bncBCX4H4EJZ4KRB6UM3HVAKGQEQPDH4UA-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Fri Aug 16 08:00:29 2019 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane.org Original-Received: from mail-io1-f58.google.com ([209.85.166.58]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.89) (envelope-from ) id 1hyVHo-000UOC-Ms for gtp-pandoc-discuss@m.gmane.org; Fri, 16 Aug 2019 08:00:28 +0200 Original-Received: by mail-io1-f58.google.com with SMTP id u84sf2196026iod.1 for ; Thu, 15 Aug 2019 23:00:28 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1565935227; cv=pass; d=google.com; s=arc-20160816; b=JoFw2B81uokzcvQdBP7xr3Ok/YX5t2XQ3M4sVhTHLKBprn/tXsRlknYfL3dsl3mpTb nKvtu1uytYq+2jSe75z7H1crNlseDIyEFddsMUqYXXg0kAvQIvi4rvH6ovXexCfwmQJ1 xCQdzp4iT/hne1ufhMB/A/4ATjCFzjXFxVPqnyGN9DrVYJhhAbjZ6B4QQbmJ4HpOKbsH CppziErJkRWDUow1U26xxjzGnN+c8fDfWgB6XrR8uZU+PC34mcQVBx++4q4Iz9c7yHg1 vSX8hOsL6Lzre/jG3n4kEezBHG2dAQ1x3IClWQsv7rHmobd9KCRd0QkPzLw5oAlxpZRf DCTA== 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=yT1HnNi3/z+WfmCHdLvzoVCmQiGiX8mRLH4rXH6r4RM=; b=TdVjXbh1LturdUrd3O+7Jb4HZc/NntPQhdZunJrgWwQjC3VVNoBmvL5zjO4s1tRgth xCnN8PAo1ztT0poPIn45q3QtHJl26MmX5l9PFEKqc1suxYoRHbNgsGLe8686fNHJn13l +OIO5V9ly+m2PD9uPdNd9OLRIZaUE7opbT1Tu3MLUMYAKwhrisXm+R9AIoBe0iMoWNnY M4hP8+fvMGF0p7m0MQk8uzAxUQ++iQHFWi0VWPm26uKii60FVJQjQHdbCPrAYswSbqH8 4B7z+IR89QlvscQqL625wVmrm63B05w4PBtQpzvUqsKfkh62Ecpi/NUjDQhnag9+IDhL rVMw== ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=tljScSsd; spf=pass (google.com: domain of rudiwillalwaysloveyou-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2607:f8b0:4864:20::334 as permitted sender) smtp.mailfrom=rudiwillalwaysloveyou-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=yT1HnNi3/z+WfmCHdLvzoVCmQiGiX8mRLH4rXH6r4RM=; b=BD0ieXv+4FOUqFArKCyB2eLashjd1dMlaCUHP3+ov+3NsqqyczUyaD4aWzY3xEvGJe giD+WnSj+VJ1/ogZqfZUz/jP+pb+5PmmdAbeqT/VnprWWO0LuagfObbpmT15xWTLWh9k pe4wj2AJxcOWarS0qhvgMXbsuzlWT1dpioTdk013pUkmt+d6l+H47oTUMONt3amaFnTu Vby1tI3yfvde8QGYsFUufZzzlwX2L35kTRHADLgMicVmehC0052ML7JqCOZtbMJmtX4l X3nxt+cci60UlE/qGWuFZ225GJEU/v4EbT2RInEye10sXux72ZnmKxl+373MKerqkkD7 yuqg== 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=yT1HnNi3/z+WfmCHdLvzoVCmQiGiX8mRLH4rXH6r4RM=; b=KVjOq84nDveDiUcVuKNrCR7oV/ZX/v5ed1oh3g6ux/wKSC6F0jWlDd4jD59n/dgwbE R8dA1b6RTjFBWS+pUIhIlckSm7Ib0bDKz4bMwhRkxw3EO711DQabm1EbIiptlDzR32Qg zEG5nbwlPxcmPUB0RY0gVkaUBHRS4rJToJHlcW4jHlc3CdR1M+88PuVL3D63VE951ASL Ybt+hKtz8/TcF6+nw5hy9lqjfA1992TrOyh2t0dKgN8TEji6QGZK2cfWONtUaQ1NNixB UA0997pulsI5x+RGxsS5MQBUlCI7luFMkJgeRk3l1i+7IYzb6XoNKnpW6vYau4Ttv9JE 3fbA== 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=yT1HnNi3/z+WfmCHdLvzoVCmQiGiX8mRLH4rXH6r4RM=; b=o9c4nchfZKHqNq4ATolw5ZDUUudqZo8t1toRFLSAol9ku9w3ff3UZRtILc4E2ecdcO QcE3XLaxp+iG2Ppg4GQxYYws216XNSU9JbjabaF8eVhlJIEeDmJhU0oH9u8CXw+IHyNH /nDweK43i1ofCXnvJyTBG2dqo35NiqwJv7yBVgz8OCSyL2xTIk+C1KMyvmpjOJn/07qO PLGekqNkHmQy/GPApEsOxv7cs0mTAwQRPSbZVk6meGZfrYGo4t3QxR6aHRYgieLFFYGK 2mBmgtCqYlej/oKqr9cteKs+GYVWDWE4AnB8fhsdonqJR3L5r9N/hPqynaodvHjSIAiT 0yCQ== Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: APjAAAWyskWKO2R49H4D0tIvhv7G1vPcCJLCRcMwFtL6YRDy8DQodxbf ZHWW800/6JtR7DkW39HPRDM= X-Google-Smtp-Source: APXvYqyf69NnHzz4yv4QrV3FwI9TBu5xjCrqXF5KzeRObADxa1KvhuJ0Y2Jr9yQ8FH1HOfH1Gx2A3A== X-Received: by 2002:a05:6638:3d2:: with SMTP id r18mr9147934jaq.13.1565935227385; Thu, 15 Aug 2019 23:00:27 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a6b:b715:: with SMTP id h21ls40992iof.12.gmail; Thu, 15 Aug 2019 23:00:26 -0700 (PDT) X-Received: by 2002:a6b:fd19:: with SMTP id c25mr1613074ioi.267.1565935226168; Thu, 15 Aug 2019 23:00:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1565935226; cv=none; d=google.com; s=arc-20160816; b=HXbJMpdd4TWeG8sx6Bldt61etgtK/Hus83BxzL3t23Leof9ML6dtjIgEi5lU+IAl1r QU+H+SM6KuZrYK8c6vOIdAg/MQVUsO7jbDDQSmDuY1ASkE2QAi4DHTBgztMld+kw3MWY S1EKT5/lLXRsNOnUreU+tYdnfKpEa6XAUUMV8J52P7u8WBs34CE1mN3F1DrwQ35YNM2k KDi8bix7ikregSK4XYnfjJVJVvLePYwpEl70u9lRsXF8k3jMMD8Zuy4MfBLpNRKEp7EY LJLDxN46ZVzzM3K44qgPnBaL8B/mJ6eBdTJoiQlfIDWz4DsDt0bg0UNBr6/TuqWKabdC DfNw== 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=Y5j8TBXs7CdJe3gCdD6xZ7QoS1ccGAObLI8iY1IRiOY=; b=oPdomiq89lNurGYYkxQXcJ8APdvPJmNYM/pzu63RMX8vC8ds7MYCouOUMiY5ej12D+ 8d3XeV5Uls1hR6EvoSEkLVaIilWTxx/YLpUM7dROL9ZAVOYgq5FX6WJebI65sUEHl4ir mWrWeacLR1IwJwr4wRPA0w0hOqFUwYQIWcUuWBTUs9V7olwApCYVjicGqs3IsuWMrsA9 605WzBE7XVBRa/5GR2cpikgU2/3Q/8ktsULDAgWDSpG2pGRMC8pfkD6q2+P8rKoR7P1E 9gL8Yiknn55/sMCzLBW08XDrPlH8As/23QjGzcRvNK0Qs15H4E7okW32TzduFAnfb1LE BgDQ== ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=tljScSsd; spf=pass (google.com: domain of rudiwillalwaysloveyou-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2607:f8b0:4864:20::334 as permitted sender) smtp.mailfrom=rudiwillalwaysloveyou-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Original-Received: from mail-ot1-x334.google.com (mail-ot1-x334.google.com. [2607:f8b0:4864:20::334]) by gmr-mx.google.com with ESMTPS id i71si1667ioa.0.2019.08.15.23.00.26 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 15 Aug 2019 23:00:26 -0700 (PDT) Received-SPF: pass (google.com: domain of rudiwillalwaysloveyou-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2607:f8b0:4864:20::334 as permitted sender) client-ip=2607:f8b0:4864:20::334; Original-Received: by mail-ot1-x334.google.com with SMTP id c34so8633125otb.7 for ; Thu, 15 Aug 2019 23:00:26 -0700 (PDT) X-Received: by 2002:a05:6830:13cb:: with SMTP id e11mr6646438otq.130.1565935225737; Thu, 15 Aug 2019 23:00:25 -0700 (PDT) In-Reply-To: X-Original-Sender: RudiWillAlwaysLoveYou-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org X-Original-Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=tljScSsd; spf=pass (google.com: domain of rudiwillalwaysloveyou-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2607:f8b0:4864:20::334 as permitted sender) smtp.mailfrom=rudiwillalwaysloveyou-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:23251 Archived-At: --000000000000df1722059035b4c0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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, 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 Group= s >> "pandoc-discuss" group. >> To unsubscribe from this group and stop receiving emails from it, send a= n >> 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-9fc4= -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-XYdR= Ad_WcQAUNNvwyG94X%2BQjd9ehXBw%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/CAE9z9A2dN4oi2Wc2%3Du9%3DMw1edysjoidDZYqFh9uwcpdCZErujQ%40ma= il.gmail.com. --000000000000df1722059035b4c0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Is it on github or somewhere? :D
On Thu, A= ug 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 <rudiwillalwaysloveyou-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>:
It should be possible to write a script to find all the i= nput files, sort 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@googlegroups.= com.
To view this discussion on the web visit https://groups.goog= le.com/d/msgid/pandoc-discuss/508c2bd0-fb71-4ce3-9fc4-379a8724936b%40google= groups.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://g= roups.google.com/d/topic/pandoc-discuss/SGgcf9_CBHc/unsubscribe.
To unsubscribe from this group and all its topics, send an email to p= andoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/CALZUCcCV6iDRBYV0= H4-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 pand= oc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To view this discussion on the web visit https://gro= ups.google.com/d/msgid/pandoc-discuss/CAE9z9A2dN4oi2Wc2%3Du9%3DMw1edysjoidD= ZYqFh9uwcpdCZErujQ%40mail.gmail.com.
--000000000000df1722059035b4c0--