Yes that would be great -- thank you! Ramon On Friday, September 4, 2015 at 4:51:15 PM UTC-7, BPJ wrote: > > I wrote a perl filter once to implement a custom numbering scheme. It's > a rather simple algorithm. I can dig it up if you like to use it or > translate it into your language of choice. > > torsdag 3 september 2015 skrev Ramon >: > >> I'm running into the same issue -- would like to use pandoc to insert >> numbers to section headings, including in txt output formats. Is that >> possible? >> >> Ramon >> >> On Monday, May 13, 2013 at 9:08:13 AM UTC-7, chandra wrote: >>> >>> 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 >>> >> -- >> 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/28ba6b1e-5f63-410f-9621-876096d0aa5c%40googlegroups.com >> >> . >> For more options, visit https://groups.google.com/d/optout. >> > -- 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/c6a102ac-8bd8-49d9-a5eb-e01842c53867%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.