From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/21833 Path: news.gmane.org!.POSTED!not-for-mail From: Axel Rauschmayer Newsgroups: gmane.text.pandoc Subject: Re: Chapter TOC via filter? Date: Thu, 10 Jan 2019 11:50:22 -0800 (PST) Message-ID: <4f0905e3-c55d-4d97-958c-8478ada10bcf@googlegroups.com> References: <1bb6e5f4-04ce-4209-8223-f928f2943998@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_509_1454455012.1547149822885" X-Trace: blaine.gmane.org 1547149699 28360 195.159.176.226 (10 Jan 2019 19:48:19 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 10 Jan 2019 19:48:19 +0000 (UTC) To: pandoc-discuss Original-X-From: pandoc-discuss+bncBDYNJWVNWQLBBAGE33QQKGQECN5KCSI-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Thu Jan 10 20:48:15 2019 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane.org Original-Received: from mail-oi1-f183.google.com ([209.85.167.183]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ghgJK-0007H6-Ae for gtp-pandoc-discuss@m.gmane.org; Thu, 10 Jan 2019 20:48:14 +0100 Original-Received: by mail-oi1-f183.google.com with SMTP id v184sf5651272oie.6 for ; Thu, 10 Jan 2019 11:50:25 -0800 (PST) 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=gUEw9FDxGe9ei92wRSIHuAWBc7u8DVLZfuBhue8VCXk=; b=NQ5i/UDzYzZqe9NyIwUIrIg4w1f7Dx2Ovi9FsZltjfwkixX0qGQQZWAwId/QRzz+t1 qntK1BVkvTd1kHC+RpTG7k89fnjLXkDd/KrMPKo58LJPzHI0qY+tXpce+dMFQ7QxEp8s F1DEDCNtQEXWgKhdmkGWtGdp6Onqg/lTy4Mc47RjqTyaXzvoN0W+X/gQwkkQZmGmw1Wk EZTD6r97PDaTUb9WfoNtpJAWZ99Uy7JmCcbgNOVhTp9LTW/GexoQjhDFUREVhKotxmBa 7RAMzCyHeoDVO9ymBUOSBdH59mPI2+TRqgKHWKysrSkOPqbrz5q+TFe/gyZKj8iQE+Zj 9CRQ== 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=gUEw9FDxGe9ei92wRSIHuAWBc7u8DVLZfuBhue8VCXk=; b=M+wVJFA8x/H79/h8Bsfmi9V7GiCXds/Q5HP8mOyzUyAsE0MZSEhcqARmSxv6tG+8E6 tM3qBHsRdZJbEV5Ex9QFbQptRq5+L8XplOH1wcUw4uxc/xGjETVBagFEdCR1ZST7ReE1 EEIgjQ6X0FPNH84RcJaMpj2GSU7o7uRas2vZFhB93NfYNDZPKZuH2xf/7l9M1uiHQYW4 0hC/O+nQuirGcRgnXz5FvAh0STBhXu97aWNVEfv7Y4EbF93qlq0QAM9HzYBFF4aAd+W8 fPlGhP+laoxFAta25NpeTzKRE7Wx/ehymj86Da5uJdBJvdkmbzN1tXUAXNA1+gpDLCAL pFQg== 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=gUEw9FDxGe9ei92wRSIHuAWBc7u8DVLZfuBhue8VCXk=; b=CeMeV4xCz+7ABoipUOhfa6E0IjdLWr5wzp9gRpbeJfNsrTCfelMrCi8rigo3TzcuH1 pQWBwzq6aQ5KHYF0m5Ua6ZfEpig6KJCt/KSH6jv5oMAAIY/uRqMzriNTHpmlEpUOi687 xvgHpgalJLW+4arLnxue4pyAf03H1CtojuvyN+NfwbibvotkGQ+fZ5OzwrPmS0p2b+bE 2p7dAa5v1BhC2XvWd1k4CY5s8dc12iG03u2VFkKnDjso7ep8684Gfs91ye0bgWt1DmbL 0H77lVS1dZ6rvAFTuZNogaEQaiHRxdkzBzTFfgH93Qg6KwxxFWw+k9NJbBsY9E15dIxi U0uA== Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AJcUukdtPamcWc4jl6C1HoCVTpmoTPSCwwFrOZNKCb+xGX+p9txUl/6m 5Jwf4eLWHskdX1xzTvL+V3E= X-Google-Smtp-Source: ALg8bN6wwuwTgfgMxOQAikCnP7gIDd+eKRRzXH0qTUgcF5fKnHoGMAp04CF8Ua6JSoBMzTRCKLkvVQ== X-Received: by 2002:a9d:24c3:: with SMTP id z61mr137034ota.1.1547149825207; Thu, 10 Jan 2019 11:50:25 -0800 (PST) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a54:4605:: with SMTP id p5ls5014361oip.0.gmail; Thu, 10 Jan 2019 11:50:24 -0800 (PST) X-Received: by 2002:aca:5395:: with SMTP id h143mr64531oib.6.1547149823674; Thu, 10 Jan 2019 11:50:23 -0800 (PST) In-Reply-To: X-Original-Sender: rauschma-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:21833 Archived-At: ------=_Part_509_1454455012.1547149822885 Content-Type: multipart/alternative; boundary="----=_Part_510_267702539.1547149822886" ------=_Part_510_267702539.1547149822886 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Useful, thanks! Is there a way of intercepting pandoc=E2=80=99s numbering via a Lua filter?= That=20 would help a lot with implementing --top-level-division=3Dpart for HTML via= a=20 filter. The field numbering (in Sec) is useful. If Header had it, then numbering=20 could happen within the document (instead of =E2=80=93 AFAICT =E2=80=93 a s= eparate step)=20 and filters could influence it. --=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 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/4f0905e3-c55d-4d97-958c-8478ada10bcf%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. ------=_Part_510_267702539.1547149822886 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Useful, thanks!

Is there a way of inter= cepting pandoc=E2=80=99s numbering via a Lua filter? That would help a lot = with implementing=C2=A0--top-level-division=3Dpart for HTML via a filter.

The field numbering (in Sec) is useful. If Header h= ad it, then numbering could happen within the document (instead of =E2=80= =93 AFAICT =E2=80=93 a separate step) and filters could influence it.
=

--
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/4f0905e3-c55d-4d97-958c-8478ada10bcf%40googlegroups.co= m.
For more options, visit http= s://groups.google.com/d/optout.
------=_Part_510_267702539.1547149822886-- ------=_Part_509_1454455012.1547149822885--