From: "R (Chandra) Chandrasekhar" <chyavana-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
Subject: Numbered sections with `plain` output format
Date: Mon, 13 May 2013 21:38:13 +0530 [thread overview]
Message-ID: <51910FED.1090808@gmail.com> (raw)
Folks,
I am trying to get HTML5, PDF, and plain text output from the same .md
source file with numbered sections in all three outputs.
The bash script I am using is:
---
pandoc -f markdown -t html5 --standalone --number-sections $1.md -o $1.html
pandoc -f markdown -t plain --standalone --number-sections $1.md -o $1.txt
pandoc -f markdown -t latex --standalone --number-sections $1.md -o $1.pdf
---
The HTML and PDF outputs are fine and feature numbered sections, but
there are no numbered sections in the plain text. I think this is by
design but would like to know if there is a workaround for getting
numbered sections in plain text as well.
TIA.
Chandra
next reply other threads:[~2013-05-13 16:08 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-05-13 16:08 R (Chandra) Chandrasekhar [this message]
[not found] ` <51910FED.1090808-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2015-09-03 0:02 ` Ramon
[not found] ` <28ba6b1e-5f63-410f-9621-876096d0aa5c-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2015-09-04 23:51 ` BPJ
[not found] ` <CADAJKhBzbJ4f-AKsw-StH9ztY_TZ74FcJ=b_nXvDg58sKygBDA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2015-09-07 15:24 ` Ramon
[not found] ` <c6a102ac-8bd8-49d9-a5eb-e01842c53867-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2015-09-08 18:02 ` BPJ
[not found] ` <CADAJKhBaYx580Nr9ETZhiAnFtyO2x_M1DXbp+6P+sjFCXmpE6A-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2015-09-12 1:33 ` Ramon
[not found] ` <97032a20-00b3-4f9e-880d-8d3f157887f2-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2015-09-12 11:29 ` BPJ
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=51910FED.1090808@gmail.com \
--to=chyavana-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).