public inbox archive for pandoc-discuss@googlegroups.com
 help / color / mirror / Atom feed
From: John MACFARLANE <jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org>
To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
Subject: Re: Markdown to markdown pre-filtering for equation numbers loses YAML meta block
Date: Tue, 17 Oct 2017 13:46:53 -0700	[thread overview]
Message-ID: <20171017204653.GC49624@protagoras> (raw)
In-Reply-To: <ea78e6f5-67cc-be29-684f-c1fa106c7783-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>

Use -s or --standalone to get the metadata.

+++ R (Chandra) Chandrasekhar [Oct 18 17 00:09 ]:
>I need to assign equation numbers in a markdown document and am 
>running the pandoc-eqnos filter specifically to get a source document 
>with that. Ergo, I need the output format to be markdown as well, 
>preferably the default flavour put out by pandoc.
>
>I tried
>
>pandoc --to markdown --filter pandoc-eqnos --output out.md in.md
>
>but I find that the YAML metadada block at the very top of in.md 
>disappears in the out.md. What should I do to preserve it?
>
>Thanks.
>
>Chandra
>
>-- 
>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/ea78e6f5-67cc-be29-684f-c1fa106c7783%40gmail.com.
>For more options, visit https://groups.google.com/d/optout.


      parent reply	other threads:[~2017-10-17 20:46 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-10-17 18:39 R (Chandra) Chandrasekhar
     [not found] ` <ea78e6f5-67cc-be29-684f-c1fa106c7783-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2017-10-17 20:46   ` John MACFARLANE [this message]

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=20171017204653.GC49624@protagoras \
    --to=jgm-tvlzxgkolnx2fbvcvol8/a@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).