public inbox archive for pandoc-discuss@googlegroups.com
 help / color / mirror / Atom feed
From: BPJ <bpj-J3H7GcXPSITLoDKTGw+V6w@public.gmane.org>
To: "pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org"
	<pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
Subject: Re: Numbered sections with `plain` output format
Date: Sat, 12 Sep 2015 13:29:56 +0200	[thread overview]
Message-ID: <CADAJKhC62=F2CSTka9H7gNp+o7RC7CMCp6PMi9HgvZiA1qj8Ag@mail.gmail.com> (raw)
In-Reply-To: <97032a20-00b3-4f9e-880d-8d3f157887f2-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>

[-- 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 --]

      parent reply	other threads:[~2015-09-12 11:29 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-05-13 16:08 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 message]

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='CADAJKhC62=F2CSTka9H7gNp+o7RC7CMCp6PMi9HgvZiA1qj8Ag@mail.gmail.com' \
    --to=bpj-j3h7gcxpsitlodktgw+v6w@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).