public inbox archive for pandoc-discuss@googlegroups.com
 help / color / mirror / Atom feed
From: Ruben Hernandez <rube04-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
Subject: Standalone markdown output with citations
Date: Fri, 20 Jun 2014 09:27:21 -0700 (PDT)	[thread overview]
Message-ID: <688f82c8-9ed5-4053-99e7-7a630bf004f9@googlegroups.com> (raw)

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

Hello,

I just joined the group and tried searching before posting my question but 
did not find much, so here is my problem.
I'm trying to produce a markdown file with expanded citations from a 
markdown source and bibtex bib file.

Here is some info.
I'm running  pandoc (1.12.4.2) and pandoc-citeproc (0.3.1) 
installed with `cabal install` under Ubuntu 12.04 (precise) 64-bit, Kernel 
Linux 3.4.0-030400-generic.

I'm using the bib file from the nocite example in the documentation and the 
command I'm using is:

pandoc -s -f markdown -o nocite-output.md --biblio=biblio.bib 
nocite-example.md

The nocite-example.md file is:

---
nocite: |
    @item1, @item2
...

@item3

# References


The output file nocite-output.md produced is: 

---
biblio-files: biblio
bibliography: 'biblio.bib'
nocite: |
    @item1, @item2
...

@item3


Is this the expected behavior? I would like to have as output something 
like:

John Doe (2005)

References
========

Doe, John. 2005. *First Book*. Cambridge: Cambridge University Press.
———. 2006. “Article.” *Journal of Generic Studies* 6: 33–34.
Doe, John, and Jenny Roe. 2007. “Why Water Is Wet.” In *Third Book*, edited
by Sam Smith. Oxford: Oxford University Press.


Trying to produce pdf or html files as output works as expected.

Thanks,

Ruben.

-- 
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/688f82c8-9ed5-4053-99e7-7a630bf004f9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

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

             reply	other threads:[~2014-06-20 16:27 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-06-20 16:27 Ruben Hernandez [this message]
     [not found] ` <688f82c8-9ed5-4053-99e7-7a630bf004f9-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2014-06-20 16:32   ` John MacFarlane
     [not found]     ` <20140620163219.GD6991-bi+AKbBUZKbivNSvqvJHCtPlBySK3R6THiGdP5j34PU@public.gmane.org>
2014-06-20 17:19       ` Ruben Hernandez
2014-06-20 18:19       ` BPJ

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=688f82c8-9ed5-4053-99e7-7a630bf004f9@googlegroups.com \
    --to=rube04-re5jqeeqqe8avxtiumwx3w@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).