public inbox archive for pandoc-discuss@googlegroups.com
 help / color / mirror / Atom feed
From: John MacFarlane <jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org>
To: hears4y-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org,
	pandoc-discuss
	<pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
Subject: Re: .bib to .pdf (APA)
Date: Fri, 04 May 2018 09:54:34 -0700	[thread overview]
Message-ID: <yh480ky3gz4b05.fsf@johnmacfarlane.net> (raw)
In-Reply-To: <0caef14a-2647-4583-839b-aea520aa7316-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>


Pandoc doesn't convert .bib to anything.

However (assuming this is a bibtex or biblatex file), you could try
the following.  Create a markdown file bib.md with the following
contents:

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
---
nocite: |
  @*
bibliography: 'yourbibfile.bib'
csl: 'apa.csl'
...

# Bibliography

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Make sure you have apa.csl in your working directory (you can get
it from the citeproc style repository).  Then, do this:

pandoc bib.md --filter pandoc-citeproc -o bib.pdf





hears4y-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org writes:

> I would like to convert my master .bib file into a pdf file using pandoc. I 
> tried using the pandoc manual, but I'm just not getting the output I 
> desire. Can you please give me the pandoc command to use to convert a .bib 
> file to .pdf while formatting into APA format? At this point I do not need 
> to attach to my main document, I just want to learn how to convert the bib 
> into pdf with APA styling. 
>
> Thanks so much.
>
> -- 
> 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/0caef14a-2647-4583-839b-aea520aa7316%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.


  parent reply	other threads:[~2018-05-04 16:54 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-05-04 14:55 hears4y-Re5JQEeQqe8AvxtiuMwx3w
     [not found] ` <0caef14a-2647-4583-839b-aea520aa7316-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2018-05-04 16:54   ` John MacFarlane [this message]
     [not found]     ` <yh480ky3gz4b05.fsf-pgq/RBwaQ+zq8tPRBa0AtqxOck334EZe@public.gmane.org>
2018-05-05 14:24       ` John Muccigrosso
     [not found]         ` <e022f634-69bb-4abf-9b79-2c57ad7e5355-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2018-05-05 14:59           ` hears4y-Re5JQEeQqe8AvxtiuMwx3w

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=yh480ky3gz4b05.fsf@johnmacfarlane.net \
    --to=jgm-tvlzxgkolnx2fbvcvol8/a@public.gmane.org \
    --cc=hears4y-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).