public inbox archive for pandoc-discuss@googlegroups.com
 help / color / mirror / Atom feed
* Numbered sections with `plain` output format
@ 2013-05-13 16:08 R (Chandra) Chandrasekhar
       [not found] ` <51910FED.1090808-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
  0 siblings, 1 reply; 7+ messages in thread
From: R (Chandra) Chandrasekhar @ 2013-05-13 16:08 UTC (permalink / raw)
  To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw

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


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2015-09-12 11:29 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-05-13 16:08 Numbered sections with `plain` output format R (Chandra) Chandrasekhar
     [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

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).