From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/23259 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Sarah G Newsgroups: gmane.text.pandoc Subject: Re: Create TOC for multiple .md files Date: Fri, 16 Aug 2019 12:38:35 -0500 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="00000000000063e4ba05903f76f6" Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="140104"; mail-complaints-to="usenet@blaine.gmane.org" To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-X-From: pandoc-discuss+bncBCM7P2FT34IBBKGU3PVAKGQEN274PNQ-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Fri Aug 16 19:38:55 2019 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane.org Original-Received: from mail-pl1-f184.google.com ([209.85.214.184]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.89) (envelope-from ) id 1hygBe-000aDl-Qf for gtp-pandoc-discuss@m.gmane.org; Fri, 16 Aug 2019 19:38:51 +0200 Original-Received: by mail-pl1-f184.google.com with SMTP id v13sf3600593plo.4 for ; Fri, 16 Aug 2019 10:38:50 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1565977129; cv=pass; d=google.com; s=arc-20160816; b=danC2+M9lwG+yV/F5Foo08vuBAo99LCr+gNzQUhd8ImXdtwOZ/GUo9T1dhWr1dXObn cV4wfVktvHweyIiru/5UtlsViZv906lmhioniAKEMz10fNKkZ0ohYa/TKeF6mYJ3IdQP EoFJXgy9/98DEFLgWYDWuWi+Xb3b8ljmCvf3+lpGuiOQT3EYkdYfLxkhxhjzb2QagN3W 19WJnkz+PzlMaaxR8QsYV1+JMhb3S7gGpJACrbOX8NIhdMRRlnQVwemFFMLxnIkn0ZS9 rltA7I//7UoR6P0IGU5tWl/JpD5/t/Hm62x4JncdySESMmt77pfNyIWEht734XQ01Ssg VCrw== 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=oqisSuIQ8uu+lqjLwqTAZCGE53aZC3HkBftwEPrx5Ww=; b=zGbgnBJcB3GWjfYri0ACI2/9o3lb1khp6g4iNcGv+9bPzTqp350QMrFzsKHGGFPNLI ooKKEsDwWbm3kayBd7iI95UoMcU7me7gf+sd/iZSs489TOWUQN04wC16I8mblFgb4Egl ODQUfagdXXZB4h6a7IuDtMpDHsJK9V/+t6Vb8iOuIxy7TJEiMJNmSjlwi5sBos3wEoLb sxawIkraMMgVRKtAAfhYLbsy6Q0kFXijdwkvSj24sz28OBgF/dWH/fxdfF3eFaCDa/b1 EOpUPULH5n2+RRGbGzRkFCEUb/JvcIVXxZbIwldSUXuo0eWfdouNnzRCTO6FWqjQRZST KCgA== ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=aYS9uDWY; spf=pass (google.com: domain of sfgibbons5-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2607:f8b0:4864:20::836 as permitted sender) smtp.mailfrom=sfgibbons5-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=oqisSuIQ8uu+lqjLwqTAZCGE53aZC3HkBftwEPrx5Ww=; b=CqvBy2WMlxhxyghNKf1FJqRAUeLhL/dLYJtX4i6U9wMw3W+kmT143Jz6kKwfHadpQy etXkJXiYtf5czoQPk5BcqNIxpsnoJIYda1V9jtpUibEolouzMo91+Qtwgor7wcguCdKI O+JGHeOZ8M9JPpFImzEHPO856rXIHi0LALErziOwh7I7UpozTF+7sfYKrH5aud88I7C8 DR0MdkyNVkQGd1uYTn+LJLPiZKJzgi5Vbpi/4x9U5sHtvyXwzHvPVufzei9Hp4dSuRym 7vxm0Qlzjy7CJFqKvd00Xn1z74zvZTftgctIl8IcHZV/O58zAFHLYtvcbIivDjaBWXa/ ZCaQ== 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=oqisSuIQ8uu+lqjLwqTAZCGE53aZC3HkBftwEPrx5Ww=; b=NMkZoSdaeKmdA1dQDGVbtK2GwFbcjfRj0xkgcQo78H/IIrKFmfmf1TvJqAv16xPmDm 3BWIe/h+4oaJxlsjJu3WOAQ/LnUUj58jmd2UW4tqU10XcOiA7U1GZtpR2DepCT2s/QGy 0R5BbsyjRCirNt5hD4XV7AIzBfY6pxoVmEXAMpPNINM0SpMKDuBqEfZ3YxbWqmw7+VCp g54ahxrLCFHUeXS+2AT7afcD6oB7oJ6H13KvdfuikrwDqpraOy1jPFY6bVELwmyqHIyS TZgkQHrCa/7Rnv60FNOeMkdS0z1fICGdKCxI8rHIkc07+6ZU3iD82sgptXt7tHCfqSmC geKw== 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=oqisSuIQ8uu+lqjLwqTAZCGE53aZC3HkBftwEPrx5Ww=; b=k0AKYaJr9LiNQeS10Xjj8fGROrniAzwbhj6GpT3aYvnRoiq+n4sMy/eKODbI3dWils +f07uwIHGFevz7aVxQGPyX9Py9EY/ixk0biof4W7AQzfNIHFyYc2pbGqYgta8ePot1j/ mA9u7es4I3hRSDaOlRMUibaM7OEs0qkw3mhznyL/M/RLIAczBuzS36NJDZYJt/a6Dg1A Q3h44f4wXb3wczQdkC/k1jTZhbpdT4Hl7W4puz9W4S1XQhGGFmjapzs6mKYum1JmIE7q cP0h9S3dP/RSX5m5cTn7799bzaR/wpp2Di+DyNTbEjOeFnpiYUTUiNJIrE4lZXPYc5kv so3g== Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: APjAAAWPzOACZyQNIYxboWMpaRhE2iEyY+iZw8kMJIL9Utrydk2LboOn iUAo19rDmMQd2I+4g702H7Q= X-Google-Smtp-Source: APXvYqzqhiAtrKEemUOcopePvC90/ED+ozfMG4Evtb6mB5ofh26+OnvF2sC+W1Z6Gftwar36DaEcRQ== X-Received: by 2002:a17:902:8207:: with SMTP id x7mr10487968pln.63.1565977129103; Fri, 16 Aug 2019 10:38:49 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a63:fc15:: with SMTP id j21ls1943105pgi.9.gmail; Fri, 16 Aug 2019 10:38:48 -0700 (PDT) X-Received: by 2002:a63:fe52:: with SMTP id x18mr9174521pgj.344.1565977128251; Fri, 16 Aug 2019 10:38:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1565977128; cv=none; d=google.com; s=arc-20160816; b=lS2xCQ2OFaZcs3T1Kzc3aqWrhR8oY6AMtRJj2DkCEsueNlblei3fV2vKkKElF8XivF ho7ZfI3wUlB57UcmvvxIG1bDZHUlEqYssQ8wfApI8k6KRq2C19huDa67GwWY6Yi0yn0K Hm5TS21VNvuYTeqXJteg+3y1S25iB3SPE/+CltJiNX3BLEDVfAE6klMuLSSa8ttD4kFq iwowTTUbZq2RiKx/3+shvgNNNUgIGLSpVi2DlqJ3lgAzb6/9e5my4gl4Ed+jVvErYZWe pXicchJOKaX1HH8xKUyqppBgykPRL0gIf9jTwv5FWbcg5NbYZosS9C6z7bY9cAfSpQpu TQpA== 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=6+S46eRTMwprQJ+zQlnC9GoF2Lf+5G8zEm0nAafN4Eg=; b=LOZ1k2bUbk0Z+stHuQ/rZ58vP8pI65gdRo+J5vIX9aD+daecA2MD7Fb6gD0w/xE10a ssx5bimTYyHeawQxbO6WFBvAW3KRDyg5+CCujCiGZZGuBBAseIvsDfi9eaSUHu7uDCKk 6vgv/w4Oq6J4c0xscReAQrC1Cj0Nb47Tj/zwTanpFexWisXN9l5yVv03LxuaTevmS3+Z aF+FgI9z7SaPVVE0QzkHLedAqK0lA6QnLBFNM9a+pjGAwzpEYUr6IIPFMdPvY8xFelKu NX5oilbZtXkapPhsg071d4s3z905jGJyyAEdXVEzEBIwXPQVXYa1FCguBSaBBbjHUbU5 fXhA== ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=aYS9uDWY; spf=pass (google.com: domain of sfgibbons5-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2607:f8b0:4864:20::836 as permitted sender) smtp.mailfrom=sfgibbons5-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Original-Received: from mail-qt1-x836.google.com (mail-qt1-x836.google.com. [2607:f8b0:4864:20::836]) by gmr-mx.google.com with ESMTPS id i11si184832pju.1.2019.08.16.10.38.48 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 16 Aug 2019 10:38:48 -0700 (PDT) Received-SPF: pass (google.com: domain of sfgibbons5-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2607:f8b0:4864:20::836 as permitted sender) client-ip=2607:f8b0:4864:20::836; Original-Received: by mail-qt1-x836.google.com with SMTP id j15so6872817qtl.13 for ; Fri, 16 Aug 2019 10:38:48 -0700 (PDT) X-Received: by 2002:ac8:73d5:: with SMTP id v21mr9755896qtp.23.1565977127149; Fri, 16 Aug 2019 10:38:47 -0700 (PDT) In-Reply-To: X-Original-Sender: sfgibbons5-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org X-Original-Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=aYS9uDWY; spf=pass (google.com: domain of sfgibbons5-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2607:f8b0:4864:20::836 as permitted sender) smtp.mailfrom=sfgibbons5-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:23259 Archived-At: --00000000000063e4ba05903f76f6 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Thanks. I ended up using docfx statictoc template for now On Fri, Aug 16, 2019, 12:21 PM Dmitriy Krasilnikov < dmitriy.krasilnikov-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > 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 = file >>>> 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-9f= c4-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/unsubscrib= e >>> . >>> 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-XY= dRAd_WcQAUNNvwyG94X%2BQjd9ehXBw%40mail.gmail.com >>> >>> . >>> >> -- >> 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/CAE9z9A2dN4oi2Wc2%3Du9%= 3DMw1edysjoidDZYqFh9uwcpdCZErujQ%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/CALZUCcCFJ-fvsWWwU%3DNTH= m4PDhvY5CjQFPPhrydWNZ_CXo6mWw%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/CANLAnXGEsQgyaHLKcCv8_rPWLgbFY2VFYkcroOLgSuweY2yRVA%40mail.g= mail.com. --00000000000063e4ba05903f76f6 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Thanks. I ended up using docfx statictoc template for now=

= On Fri, Aug 16, 2019, 12:21 PM Dmitriy Krasilnikov <dmitriy.krasilnikov-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
On github theres a= n old version, didn't do git push master for some time... You'd bet= ter describe what you want from a program and I will try to do it and relea= se 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 <r= udiwillalwaysloveyou-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>:
Is it on github or somewhere? :D

On T= hu, 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 merge= s two MD files into one, and makes a TOC of a file as a an additional featu= re.

=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 a= ll the input files, sort them, then feed them to pandoc while prepending th= e 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+uns= ubscribe-/JYPxA39Uh5TLH3MbocFFw@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 Goog= le Groups "pandoc-discuss" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/pandoc-discuss/SGgcf= 9_CBHc/unsubscribe.
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/pa= ndoc-discuss/CALZUCcCV6iDRBYV0H4-XYdRAd_WcQAUNNvwyG94X%2BQjd9ehXBw%40mail.g= mail.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@goo= glegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/= pandoc-discuss/CAE9z9A2dN4oi2Wc2%3Du9%3DMw1edysjoidDZYqFh9uwcpdCZErujQ%40ma= il.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-discus= s/CALZUCcCFJ-fvsWWwU%3DNTHm4PDhvY5CjQFPPhrydWNZ_CXo6mWw%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://groups.= google.com/d/msgid/pandoc-discuss/CANLAnXGEsQgyaHLKcCv8_rPWLgbFY2VFYkcroOLg= SuweY2yRVA%40mail.gmail.com.
--00000000000063e4ba05903f76f6--