public inbox archive for pandoc-discuss@googlegroups.com
 help / color / mirror / Atom feed
From: King John Unn <hex7c3-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
To: pandoc-discuss <pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
Subject: Re: how to generate the bibliography for a document?
Date: Wed, 18 Nov 2020 11:59:51 -0800 (PST)	[thread overview]
Message-ID: <d3fd4aa4-cfe2-4d7f-be3d-f844dfd676aan@googlegroups.com> (raw)
In-Reply-To: <538a99b8-3ed4-4145-a4b7-c42145b61fefn-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>


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

There are quite some solutions to choose from. `nocite` is awesome. It's 
beginner friendly and i could solve my problem. Didn't even have to mess 
with templates or filters :)

thank you for all your help. 
On Wednesday, November 18, 2020 at 1:19:01 PM UTC the.so...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org wrote:

> Hi,
> I too recently went through the process of creating a document with a list 
> of all my publications.  
>
> Here's the command I used:
> ``
> $ pandoc -d bib-defaults.yaml
> ```
>
> And here's the content of the bib-defaults.yaml file:
> https://gist.github.com/the-solipsist/8fcab57c2d7771ef3758f927ec79ae34
>
> And here's the publications.md file that I used as the input:
> ```
> ---
> nocite: '@*'
> ...
>
> # Books, book chapters & reports
>
> :::{#refs_book}
> :::
>
> # Journal articles & conference papers
>
> :::{#refs_journal}
> :::
>
> # Op-eds & press articles
>
> :::{#refs_press}
> :::
> ```
>
> I hope that helps.
> On Wednesday, 18 November, 2020 at 5:37:34 pm UTC+5:30 King John Unn wrote:
>
>>
>> hello community, 
>>
>> I am a new user to pandoc. I am trying to generate the bibliography for a 
>> document. My template looks like this:
>>
>> ```
>> $body$
>> ```
>>
>> This allows me to create a plain text document from markdown without 
>> header, title, toc, etc. 
>>
>> ```
>> body text with references...
>>
>> References
>>
>> reference 1
>> ...
>> reference n
>> ```
>>
>> I want to remove the body, too and only stick with:
>>
>> ```
>> References
>>
>> reference 1
>> ...
>> reference n
>> ```
>> ```
>>
>> Is it possible to generate the reference only? If possible i would like 
>> to further modify the format of references, too.
>>
>

-- 
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 view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/d3fd4aa4-cfe2-4d7f-be3d-f844dfd676aan%40googlegroups.com.

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

  parent reply	other threads:[~2020-11-18 19:59 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-11-18 12:07 King John Unn
     [not found] ` <89f878c1-770d-4d21-b372-15961fb5e385n-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2020-11-18 12:28   ` AW: " denis.maier-FfwAq0itz3ofv37vnLkPlQ
2020-11-18 13:12   ` Joseph Reagle
2020-11-18 13:18   ` Gabriel Nützi
2020-11-18 13:19   ` Pranesh Prakash
     [not found]     ` <538a99b8-3ed4-4145-a4b7-c42145b61fefn-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2020-11-18 19:59       ` King John Unn [this message]
     [not found]         ` <d3fd4aa4-cfe2-4d7f-be3d-f844dfd676aan-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2020-11-18 20:57           ` hex
     [not found]             ` <3881d8c8-1c42-d10a-ec51-c209d989579a-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2020-11-19  0:02               ` John MacFarlane
2020-11-19  0:00           ` John MacFarlane
     [not found]             ` <m2a6ve5i7u.fsf-jF64zX8BO08an7k8zZ43ob9bIa4KchGshsV+eolpW18@public.gmane.org>
2020-11-20 21:38               ` jmuc...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
     [not found]                 ` <ce80a7a2-bfb3-4ff8-ac1f-26f8a0a1fa9en-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2020-11-21  0:22                   ` John MacFarlane
     [not found]                     ` <m2h7pjftjg.fsf-jF64zX8BO08an7k8zZ43ob9bIa4KchGshsV+eolpW18@public.gmane.org>
2020-11-21 14:23                       ` Pranesh Prakash
     [not found]                         ` <22933182-2014-4210-a47f-02f754995774n-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2020-11-21 15:38                           ` jmuc...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
     [not found]                             ` <87b8a4f1-8abc-4c7a-80bf-c62408dc1b60n-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2020-11-21 20:59                               ` John MacFarlane
     [not found]                                 ` <m2blfqfmtr.fsf-jF64zX8BO08an7k8zZ43ob9bIa4KchGshsV+eolpW18@public.gmane.org>
2020-11-21 23:20                                   ` jmuc...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org

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=d3fd4aa4-cfe2-4d7f-be3d-f844dfd676aan@googlegroups.com \
    --to=hex7c3-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).