public inbox archive for pandoc-discuss@googlegroups.com
 help / color / mirror / Atom feed
From: Learned Hand <olmu.mail-gM/Ye1E23mwN+BqQ9rBEUg@public.gmane.org>
To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
Subject: Re: How to automatically add the "References" section?
Date: Mon, 2 Mar 2015 11:52:49 -0800 (PST)	[thread overview]
Message-ID: <a539e4d8-747f-437e-b8d0-b493ba727792@googlegroups.com> (raw)
In-Reply-To: <c3a8f3dc-35d9-45da-94cb-d4ae06e3446b-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>


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

What OS are you using and what editor?

Am Samstag, 28. Februar 2015 22:25:36 UTC+1 schrieb Chao Xu:
>
> I'm using pandoc markdown, and output as html files.
>
> Every time I write an article and use some reference, say [@Dow1999]. I 
> have to add a new section # References to the end of my file so the 
> reference section has a title.
>
> Is there a way so I don't have to do this manually? 
>
> An ad hoc workaround I have right now is
> 1. Check if a string contain any references. (using a regular expression.)
> 2. Add "# References" to the end of the string if this is true.
> 3. Feed the resulting string to pandoc's html writer.
>

-- 
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/a539e4d8-747f-437e-b8d0-b493ba727792%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

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

  parent reply	other threads:[~2015-03-02 19:52 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-02-28 21:25 Chao Xu
     [not found] ` <c3a8f3dc-35d9-45da-94cb-d4ae06e3446b-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2015-03-02 19:52   ` Learned Hand [this message]
     [not found]     ` <a539e4d8-747f-437e-b8d0-b493ba727792-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2015-03-02 20:11       ` Chao Xu
     [not found]         ` <CAJQg2_34q-hVt7UTFKrx6JJNPVtw_drL8A2wqEV8s4cmw+77MA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2015-03-03  0:35           ` John MacFarlane

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=a539e4d8-747f-437e-b8d0-b493ba727792@googlegroups.com \
    --to=olmu.mail-gm/ye1e23mwn+bqq9rbeug@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).