From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/26867 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: King John Unn Newsgroups: gmane.text.pandoc Subject: Re: how to generate the bibliography for a document? Date: Wed, 18 Nov 2020 11:59:51 -0800 (PST) Message-ID: References: <89f878c1-770d-4d21-b372-15961fb5e385n@googlegroups.com> <538a99b8-3ed4-4145-a4b7-c42145b61fefn@googlegroups.com> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_20_1008241610.1605729591041" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="30946"; mail-complaints-to="usenet@ciao.gmane.io" To: pandoc-discuss Original-X-From: pandoc-discuss+bncBDJYJXMQVQNBBOH22X6QKGQE4LZ2Y5Q-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Wed Nov 18 20:59:56 2020 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-oi1-f190.google.com ([209.85.167.190]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1kfTcR-0007xD-CB for gtp-pandoc-discuss@m.gmane-mx.org; Wed, 18 Nov 2020 20:59:55 +0100 Original-Received: by mail-oi1-f190.google.com with SMTP id f66sf1432806oib.9 for ; Wed, 18 Nov 2020 11:59:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20161025; h=sender:date:from:to:message-id:in-reply-to:references:subject :mime-version:x-original-sender:reply-to:precedence:mailing-list :list-id:list-post:list-help:list-archive:list-subscribe :list-unsubscribe; bh=xXUA5LVMTW4nLp9b/tUaZ6qjbbn/aNHnOrVV+j2fODA=; b=nI40+6zk6Jt7Jn6eGarev7YNcwc3k9fQO5jHQom3mq/ac6sWtnyV3ZgP9uw8dY4pOV XdFQb01oxT1nzhTOKNGmoFieN6EOUWN+XFXWiFE/v9sWnCXfTgDMZ8v/lXx1apMiJaSK 1+LypIo3sKstDdCgTsR3ASpmBCatN1GX1TaDyTllU7yWuVDsHgpGh071K3zDQEYYgITS IAUvkuOcH8axFecusjAQyFZySxlFO6Ca2w9ebInAALaCvQ9Mr/YDUlcT9YikWmJt2U8v 1nXGG05yZiDvXkbzC8inrTGrO5hbU0roVtCbS8PgTJzNMxl1kxNdvPQ/ZySN25T2kRKF Dseg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:message-id:in-reply-to:references:subject:mime-version :x-original-sender:reply-to:precedence:mailing-list:list-id :list-post:list-help:list-archive:list-subscribe:list-unsubscribe; bh=xXUA5LVMTW4nLp9b/tUaZ6qjbbn/aNHnOrVV+j2fODA=; b=YQGQCRHKrzln+5ClgHaFUqCdfHZkrefe7fT1Q2Xlvg5Z0LrJzmYT8ABPU8dXCJPkYf DmZNjHsrCZZOnUnqEHh3iilhjdGPVkX4mNdNZGywN+M7FVApCXqRUHMmv6JL7UJMz1Xn wz/dFzcyyVheOLrIrtljH6lzEK9yuBpshlGsV3a9Mvc6Qh5sTf+2e8hjyYCmtldq82xh uyVRgYFuMn4jNoJNO53bVlsQ6Jj7n7zays04BwiAikQLdQ7BwM81uO66PKTEzLaHrwf5 Ci6Z9UrThqayO+A6C0uVWiFaWs//CwnFcFiuI5scV4BLf1OPkZU6sw/WCKD5jOmbwrFQ 3KIg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=sender:x-gm-message-state:date:from:to:message-id:in-reply-to :references:subject:mime-version:x-original-sender:reply-to :precedence:mailing-list:list-id:x-spam-checked-in-group:list-post :list-help:list-archive:list-subscribe:list-unsubscribe; bh=xXUA5LVMTW4nLp9b/tUaZ6qjbbn/aNHnOrVV+j2fODA=; b=BaXV27GmvzJKC0mC9ti4/g9/7E6h6DE+/aMWwQ0bMbeG6ZlDQ5xeuSUKpVNQBb4ui2 eONz5yPGVZv4L5M+bs6o7RIMTB70FSCpHl7iErvBavWUjovXpEw/9oiO4ajoaLrGguns Bl22QMzPrbNSqTqiEIYrzp6SPqxe8PjgfmHrDWdHnQrS/ABMtVHAZhWjiBMmMyn1oW3+ jWfn0YoYLRS5MKtb0hKjmSMIYDnMOxLr5FL4rBfMHQa2hBz4VxjIYRBXozaCzEWNDgOE sD0oEXZ+FlYDUi0ikNJh/vMvt2tjhaZib+6whxbolaxIyyzgTH+amcLqQsdsds5ZmlKK D4dg== Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AOAM532ys0lQjPTuo+9H90h1jIV6MowTp5ME1W/AFuuywAhHiEc3WicN 2ZWHGA5o1MgfYIjQHrRnEGs= X-Google-Smtp-Source: ABdhPJyUyjDS5LSR1N78+R02B7YLSKQPrGkjLV+/Yd3fagHFDjK8Ft30qhsWTSU/SEtIQSmwbkB+bQ== X-Received: by 2002:a4a:8d82:: with SMTP id i2mr7700172ook.3.1605729594353; Wed, 18 Nov 2020 11:59:54 -0800 (PST) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a9d:6b0f:: with SMTP id g15ls165118otp.0.gmail; Wed, 18 Nov 2020 11:59:52 -0800 (PST) X-Received: by 2002:a9d:375:: with SMTP id 108mr7364244otv.126.1605729591829; Wed, 18 Nov 2020 11:59:51 -0800 (PST) In-Reply-To: <538a99b8-3ed4-4145-a4b7-c42145b61fefn-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> X-Original-Sender: hex7c3-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org Precedence: list Mailing-list: list pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org; contact pandoc-discuss+owners-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org List-ID: X-Google-Group-Id: 1007024079513 List-Post: , List-Help: , List-Archive: , List-Unsubscribe: , Xref: news.gmane.io gmane.text.pandoc:26867 Archived-At: ------=_Part_20_1008241610.1605729591041 Content-Type: multipart/alternative; boundary="----=_Part_21_1755199754.1605729591041" ------=_Part_21_1755199754.1605729591041 Content-Type: text/plain; charset="UTF-8" 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. ------=_Part_21_1755199754.1605729591041 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable There are quite some solutions to choose from. `nocite` is awesome. It's be= ginner friendly and i could solve my problem. Didn't even have to mess with= templates or filters :)

thank you for all your help= .
O= n 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.=C2=A0

Here'= ;s the command I used:
``
$ pandoc -d bib-defaults.yaml=
```

And here's the content of t= he bib-defaults.yaml file:

And here's the publications.md file = that I used as the input:
```
---
nocite: '@*'
...
<= br># 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, 2= 020 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:

```<= /div>
$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 remo= ve the body, too and only stick with:

```
References

reference 1
...
<= div>reference n
```
```

<= div>Is it possible to generate the reference only? If possible i would like= to further modify the format of references, too.
<= /blockquote>

--
You received this message because you are subscribed to the Google Groups &= quot;pandoc-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an e= mail to pand= oc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@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.
------=_Part_21_1755199754.1605729591041-- ------=_Part_20_1008241610.1605729591041--