From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/16462 Path: news.gmane.org!.POSTED!not-for-mail From: Kolen Cheung Newsgroups: gmane.text.pandoc Subject: Re: Writing filter: getting `--top-level-division`? Date: Fri, 16 Dec 2016 20:06:52 -0800 (PST) Message-ID: References: <39d1e149-7ccb-45e4-a169-abfc5a4bc935@googlegroups.com> <20161215130942.GC64436@Administrateurs-iMac-3.local> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_2433_1046412637.1481947612511" X-Trace: blaine.gmane.org 1481947615 19912 195.159.176.226 (17 Dec 2016 04:06:55 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 17 Dec 2016 04:06:55 +0000 (UTC) To: pandoc-discuss Original-X-From: pandoc-discuss+bncBCS252WXTEIBBXPT2LBAKGQEU6GDMPQ-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Sat Dec 17 05:06:51 2016 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane.org Original-Received: from mail-pg0-f59.google.com ([74.125.83.59]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cI6Gn-0004Hf-AR for gtp-pandoc-discuss@m.gmane.org; Sat, 17 Dec 2016 05:06:49 +0100 Original-Received: by mail-pg0-f59.google.com with SMTP id a1sf27469008pgf.1 for ; Fri, 16 Dec 2016 20:06:54 -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:x-spam-checked-in-group:list-post:list-help:list-archive :list-subscribe:list-unsubscribe; bh=G6Zm0eMlCNqj9rXvTrWFNXdrM1ypAWLcALxoN2omH3A=; b=ZOCL+RY7VyqQEabsyk4ZGTf/viOC9cjoiY25l0/Iqrrux06M0JMW6zt3yToDE5vxHM pSu/yB5t7OMv/qLf81X3PIBi92rc6HjVZjEG45ExuWij/v+cBMqAcF218qSAFAE8Zy8z CVgRl0SNFsC8pALseqZea7mFO0IKesuUg5MirWb6H02DMHOdJz12/dcz2EI4tTLuNXjG qe7Nsv267FvuJMXyrzU2Zq2iVeX3CaGptPfdK4YqL15JnrAKgrN9go1ss9EwB7wTLYnJ sk8m41u8UGdIcEoi4aPoNmtoQKe0ke8983tLXC8yfNhbPQqZzA/CcptwwI2MMzj7bRyH 22sA== 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 :x-spam-checked-in-group:list-post:list-help:list-archive :list-subscribe:list-unsubscribe; bh=G6Zm0eMlCNqj9rXvTrWFNXdrM1ypAWLcALxoN2omH3A=; b=DI6gs25CPIPpu+TSqKa8E8PVAIjeEaZ7G/N5omJXI8Uzq7WE7URMzKNRuKDOtlKU5Z rRvXLIY8gr6l1Kyx0B1PKSQ3mDBr35xbvgQVPLbiU2w5uy9/RiT8qQ9reckyN9sI92zZ b3ed6AKXUW+xbQg+TGBX1Wr3qXCIyyeJGDQfFyQ/EhRoZ7+p5jCEZzyc8YyswwL4FRfG dqbj9f/+QvCvSuCpXtKDS5zmCoauh9gL3IQVoDUAxIoHiipvItfJWmGBXGMdAgyV3YWF YPEJRx+tHXAS4NcXcCJXg4k3nllbA85oM5hz+AEucIiuTPgFT5nLX0x0jVKdDDnSv1u6 4E/Q== 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=G6Zm0eMlCNqj9rXvTrWFNXdrM1ypAWLcALxoN2omH3A=; b=niBUcpJuzPUSq+4dQ0tgo2EJ+gehsR+8rZNo/viXSuYZLdRe6CWbu6eX9pUWym4j9k ZReWYMqOulVVRbQGTAuFhkWJWmq26jN75fsk561jDcS5Njjb1GI0iR12v/NQZf/RpDrn mbWJ7Yf1UKmOOJ9Ur1CSZbiRjMt0q0+sgNmdX71pxNZJ0iEcGGe9ZFDJUcrPYPj8srrp YW+zOfbyrAT1b1LK6SrgMFwuaFuJIH4UMeAIJRj6ThAm7iLfSUw6nkVm5aKuPXuZAUBM VnsglRneKkTzCrIlVOqWeex88kBag47dXVl1xOi6dFHA6bJlr2NyhZTh+8JVPjwDyzJj 7p7A== Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AIkVDXIs5tLdZq8dP3oYg4Qn0GHSIZPrVc7QZ4C1t0NOapPD76o290JVPpiyBNS+YHVpEA== X-Received: by 10.157.17.3 with SMTP id g3mr374207ote.8.1481947613409; Fri, 16 Dec 2016 20:06:53 -0800 (PST) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 10.157.22.198 with SMTP id s6ls9570803ots.33.gmail; Fri, 16 Dec 2016 20:06:52 -0800 (PST) X-Received: by 10.157.11.248 with SMTP id 111mr374996oth.4.1481947612936; Fri, 16 Dec 2016 20:06:52 -0800 (PST) In-Reply-To: <20161215130942.GC64436-BKjuZOBx5Kn2N3qrpRCZGbhGAdq7xJNKhPhL2mjWHbk@public.gmane.org> X-Original-Sender: christian.kolen-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.org gmane.text.pandoc:16462 Archived-At: ------=_Part_2433_1046412637.1481947612511 Content-Type: multipart/alternative; boundary="----=_Part_2434_1519659493.1481947612511" ------=_Part_2434_1519659493.1481947612511 Content-Type: text/plain; charset=UTF-8 Is there a chance this can be changed? On Thursday, December 15, 2016 at 5:10:30 AM UTC-8, John MacFarlane wrote: > > There's no way to get this information in a filter; it's > part of the WriterOptions. > > +++ Kolen Cheung [Dec 15 16 02:54 ]: > >Is it possible to determine the > `--top-level-division=[default|section|chapter|part]` option used in a > filter? I want to write a filter that needs to know how the header-level-1 > is related to the LaTeX's top level division. > > > >I tried using such settings with `-t native -s` and it seems the info > isn't there. > > > >-- > >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-discus...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org . > >To post to this group, send email to pandoc-...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org > . > >To view this discussion on the web visit > https://groups.google.com/d/msgid/pandoc-discuss/39d1e149-7ccb-45e4-a169-abfc5a4bc935%40googlegroups.com. > > >For more options, visit https://groups.google.com/d/optout. > > -- 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 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/f5bda5b4-25c0-4eac-9c3a-018b7cefda3e%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. ------=_Part_2434_1519659493.1481947612511 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Is there a chance this can be changed?

On Thursday,= December 15, 2016 at 5:10:30 AM UTC-8, John MacFarlane wrote:
There's no way to get this information = in a filter; it's
part of the WriterOptions.

+++ Kolen Cheung [Dec 15 16 02:54 ]:
>Is it possible to determine the `--top-level-division=3D[defau= lt|section|chapter|part]` option used in a filter? I want to write a filter= that needs to know how the header-level-1 is related to the LaTeX's to= p level division.
>
>I tried using such settings with `-t native -s` and it seems the in= fo isn't there.
>
>--=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, s= end an email to pandoc-discus...@googlegroups.com.
>To post to this group, send email to pandoc-...@googlegroups.com.
>To view this discussion on the web visit
https://groups.g= oogle.com/d/msgid/pandoc-discuss/39d1e149-7ccb-45e4-a169-abfc5a4b= c935%40googlegroups.com.
>For more options, visit https://groups.goo= gle.com/d/optout.

--
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/f5bda5b4-25c0-4eac-9c3a-018b7cefda3e%40googlegroups.co= m.
For more options, visit http= s://groups.google.com/d/optout.
------=_Part_2434_1519659493.1481947612511-- ------=_Part_2433_1046412637.1481947612511--