* Markdown to markdown pre-filtering for equation numbers loses YAML meta block @ 2017-10-17 18:39 R (Chandra) Chandrasekhar [not found] ` <ea78e6f5-67cc-be29-684f-c1fa106c7783-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> 0 siblings, 1 reply; 2+ messages in thread From: R (Chandra) Chandrasekhar @ 2017-10-17 18:39 UTC (permalink / raw) To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw 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 ^ permalink raw reply [flat|nested] 2+ messages in thread
[parent not found: <ea78e6f5-67cc-be29-684f-c1fa106c7783-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>]
* Re: Markdown to markdown pre-filtering for equation numbers loses YAML meta block [not found] ` <ea78e6f5-67cc-be29-684f-c1fa106c7783-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> @ 2017-10-17 20:46 ` John MACFARLANE 0 siblings, 0 replies; 2+ messages in thread From: John MACFARLANE @ 2017-10-17 20:46 UTC (permalink / raw) To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw 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. ^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2017-10-17 20:46 UTC | newest] Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2017-10-17 18:39 Markdown to markdown pre-filtering for equation numbers loses YAML meta block R (Chandra) Chandrasekhar [not found] ` <ea78e6f5-67cc-be29-684f-c1fa106c7783-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> 2017-10-17 20:46 ` John MACFARLANE
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).