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

* Re: Numbered sections with `plain` output format
       [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>
  0 siblings, 1 reply; 7+ messages in thread
From: Ramon @ 2015-09-03  0:02 UTC (permalink / raw)
  To: pandoc-discuss


[-- Attachment #1.1: Type: text/plain, Size: 1521 bytes --]

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.

[-- Attachment #1.2: Type: text/html, Size: 3252 bytes --]

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

* Re: Numbered sections with `plain` output format
       [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>
  0 siblings, 1 reply; 7+ messages in thread
From: BPJ @ 2015-09-04 23:51 UTC (permalink / raw)
  To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw

[-- Attachment #1: Type: text/plain, Size: 2746 bytes --]

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 <felciano-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>:

> 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
> <javascript:_e(%7B%7D,'cvml','pandoc-discuss%2Bunsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org');>
> .
> To post to this group, send email to pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
> <javascript:_e(%7B%7D,'cvml','pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@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
> <https://groups.google.com/d/msgid/pandoc-discuss/28ba6b1e-5f63-410f-9621-876096d0aa5c%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> 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/CADAJKhBzbJ4f-AKsw-StH9ztY_TZ74FcJ%3Db_nXvDg58sKygBDA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

[-- Attachment #2: Type: text/html, Size: 3954 bytes --]

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

* Re: Numbered sections with `plain` output format
       [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>
  0 siblings, 1 reply; 7+ messages in thread
From: Ramon @ 2015-09-07 15:24 UTC (permalink / raw)
  To: pandoc-discuss; +Cc: bpj-J3H7GcXPSITLoDKTGw+V6w


[-- Attachment #1.1: Type: text/plain, Size: 2756 bytes --]

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 <felc...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org <javascript:>>:
>
>> 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 
>> <https://groups.google.com/d/msgid/pandoc-discuss/28ba6b1e-5f63-410f-9621-876096d0aa5c%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>> 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.

[-- Attachment #1.2: Type: text/html, Size: 5551 bytes --]

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

* Re: Numbered sections with `plain` output format
       [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>
  0 siblings, 1 reply; 7+ messages in thread
From: BPJ @ 2015-09-08 18:02 UTC (permalink / raw)
  To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw

[-- Attachment #1: Type: text/plain, Size: 3706 bytes --]

Do you think you will manage without extensive documentation -- I.e. with
commented code?
Den 7 sep 2015 17:25 skrev "Ramon" <felciano-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>:

> 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 <felc...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>:
>>
>>> 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
>>> <https://groups.google.com/d/msgid/pandoc-discuss/28ba6b1e-5f63-410f-9621-876096d0aa5c%40googlegroups.com?utm_medium=email&utm_source=footer>
>>> .
>>> 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
> <https://groups.google.com/d/msgid/pandoc-discuss/c6a102ac-8bd8-49d9-a5eb-e01842c53867%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> 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/CADAJKhBaYx580Nr9ETZhiAnFtyO2x_M1DXbp%2B6P%2BsjFCXmpE6A%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

[-- Attachment #2: Type: text/html, Size: 5395 bytes --]

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

* Re: Numbered sections with `plain` output format
       [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>
  0 siblings, 1 reply; 7+ messages in thread
From: Ramon @ 2015-09-12  1:33 UTC (permalink / raw)
  To: pandoc-discuss; +Cc: bpj-J3H7GcXPSITLoDKTGw+V6w


[-- Attachment #1.1: Type: text/plain, Size: 4114 bytes --]

Heh -- happy to give it a shot at least. I'll likely just try to get it 
running as is; if it adds numbering and can run as is with a basic Perl 
install on OSX then it should be fairly straightforward I think (hope!).

Thanks!

Ramon

On Tuesday, September 8, 2015 at 11:02:33 AM UTC-7, BPJ wrote:
>
> Do you think you will manage without extensive documentation -- I.e. with 
> commented code?
> Den 7 sep 2015 17:25 skrev "Ramon" <felc...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org <javascript:>>:
>
>> 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 <felc...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>:
>>>
>>>> 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 
>>>> <https://groups.google.com/d/msgid/pandoc-discuss/28ba6b1e-5f63-410f-9621-876096d0aa5c%40googlegroups.com?utm_medium=email&utm_source=footer>
>>>> .
>>>> 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-discus...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org <javascript:>.
>> To post to this group, send email to pandoc-...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org 
>> <javascript:>.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/pandoc-discuss/c6a102ac-8bd8-49d9-a5eb-e01842c53867%40googlegroups.com 
>> <https://groups.google.com/d/msgid/pandoc-discuss/c6a102ac-8bd8-49d9-a5eb-e01842c53867%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>> 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/97032a20-00b3-4f9e-880d-8d3f157887f2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

[-- Attachment #1.2: Type: text/html, Size: 8261 bytes --]

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

* Re: Numbered sections with `plain` output format
       [not found]                     ` <97032a20-00b3-4f9e-880d-8d3f157887f2-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
@ 2015-09-12 11:29                       ` BPJ
  0 siblings, 0 replies; 7+ messages in thread
From: BPJ @ 2015-09-12 11:29 UTC (permalink / raw)
  To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw

[-- Attachment #1: Type: text/plain, Size: 5528 bytes --]

I'll upload it tomorrow or the day after tomorrow. You will have to install
some modules to handle JSON and so forth. It isn't hard unless you are on
Windows and are not using Strawberry Perl :-)

http://www.cpan.org/modules/INSTALL.html

Got to go now!

/bpj

lördag 12 september 2015 skrev Ramon <felciano-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>:

> Heh -- happy to give it a shot at least. I'll likely just try to get it
> running as is; if it adds numbering and can run as is with a basic Perl
> install on OSX then it should be fairly straightforward I think (hope!).
>
> Thanks!
>
> Ramon
>
> On Tuesday, September 8, 2015 at 11:02:33 AM UTC-7, BPJ wrote:
>>
>> Do you think you will manage without extensive documentation -- I.e. with
>> commented code?
>> Den 7 sep 2015 17:25 skrev "Ramon" <felc...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>:
>>
>>> 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 <felc...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>:
>>>>
>>>>> 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
>>>>> <https://groups.google.com/d/msgid/pandoc-discuss/28ba6b1e-5f63-410f-9621-876096d0aa5c%40googlegroups.com?utm_medium=email&utm_source=footer>
>>>>> .
>>>>> 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-discus...-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
>>> To post to this group, send email to pandoc-...-/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
>>> <https://groups.google.com/d/msgid/pandoc-discuss/c6a102ac-8bd8-49d9-a5eb-e01842c53867%40googlegroups.com?utm_medium=email&utm_source=footer>
>>> .
>>> 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
> <javascript:_e(%7B%7D,'cvml','pandoc-discuss%2Bunsubscribe@googlegroups.com');>
> .
> To post to this group, send email to pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
> <javascript:_e(%7B%7D,'cvml','pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org');>.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/pandoc-discuss/97032a20-00b3-4f9e-880d-8d3f157887f2%40googlegroups.com
> <https://groups.google.com/d/msgid/pandoc-discuss/97032a20-00b3-4f9e-880d-8d3f157887f2%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> 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/CADAJKhC62%3DF2CSTka9H7gNp%2Bo7RC7CMCp6PMi9HgvZiA1qj8Ag%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

[-- Attachment #2: Type: text/html, Size: 7571 bytes --]

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