public inbox archive for pandoc-discuss@googlegroups.com
 help / color / mirror / Atom feed
From: Kolen Cheung <christian.kolen-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
To: pandoc-discuss <pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
Subject: Writing filter: getting `--top-level-division`?
Date: Thu, 15 Dec 2016 02:54:04 -0800 (PST)	[thread overview]
Message-ID: <39d1e149-7ccb-45e4-a169-abfc5a4bc935@googlegroups.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 308 bytes --]

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.

             reply	other threads:[~2016-12-15 10:54 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-12-15 10:54 Kolen Cheung [this message]
     [not found] ` <39d1e149-7ccb-45e4-a169-abfc5a4bc935-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2016-12-15 13:09   ` John MacFarlane
     [not found]     ` <20161215130942.GC64436-BKjuZOBx5Kn2N3qrpRCZGbhGAdq7xJNKhPhL2mjWHbk@public.gmane.org>
2016-12-17  4:06       ` Kolen Cheung
2016-12-17 11:33       ` BP Jonsson
2017-01-04 23:30       ` Kolen Cheung

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=39d1e149-7ccb-45e4-a169-abfc5a4bc935@googlegroups.com \
    --to=christian.kolen-re5jqeeqqe8avxtiumwx3w@public.gmane.org \
    --cc=pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).