From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/26864 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Pranesh Prakash Newsgroups: gmane.text.pandoc Subject: Re: how to generate the bibliography for a document? Date: Wed, 18 Nov 2020 05:19:01 -0800 (PST) Message-ID: <538a99b8-3ed4-4145-a4b7-c42145b61fefn@googlegroups.com> References: <89f878c1-770d-4d21-b372-15961fb5e385n@googlegroups.com> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_681_1676630668.1605705541011" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="27949"; mail-complaints-to="usenet@ciao.gmane.io" To: pandoc-discuss Original-X-From: pandoc-discuss+bncBDA2Z3PTWYIBBRV62T6QKGQEPIGNYIA-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Wed Nov 18 14:19:06 2020 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-oo1-f64.google.com ([209.85.161.64]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1kfNMX-00076s-Oh for gtp-pandoc-discuss@m.gmane-mx.org; Wed, 18 Nov 2020 14:19:05 +0100 Original-Received: by mail-oo1-f64.google.com with SMTP id x28sf741130oog.8 for ; Wed, 18 Nov 2020 05:19:05 -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=mC26RIEy8azw+WpIIowWiWO62Np5Nm8BScVmYsYZCb4=; b=C1bM6mstbzS/vILvwpQ+VCJPKurIga7zws5wEYw9OckK4/OMfF8rlm36cD7U+QMmvp C7Y6HreGn00mbVgvqZrxRIGvB3GCoLSwtKut7cslSEoSxC9WCaxI4YN3k4W8UsETd4e/ 6eoPWYlspEeQzXx2b12K9qPNkc/nhGqDNFT+I6+Za+Lwk1FlUUI6UU5rtnPRBtggokg0 Dj5pszkHDOpfyfyCGzjtOXfseBMziwKn8OzZ1nYbq53AR82MRu4eaGd7QE8kpI5AWlrh UuHC2qhtFmzezyIG3GZU35D/8qhxynVzaiC+mN07l0bMIWcIYjvXy6PCq44Pr28BOexX 02MA== 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=mC26RIEy8azw+WpIIowWiWO62Np5Nm8BScVmYsYZCb4=; b=RwpkMdqD5DalD+JtYjeOLiIciGIqBvlVs5r4o4FEcAFGzzYAOdLRTXVz0AFxVfh+jC o1kQ73G5PTlehlHCGTdoYwtmPlraxtAML5mVnoDHEsHXV6qFQQEOmNPpTdnXtTbFL1On xSf0ORh05jhUpyQpObzxd2Jwubj7oFypvq2zov43DzAgSnMC5xpxN7W/FshEml1MSG2w i4cVZg+QJe7+bpbjRIL90t/k0XlIEW/gO6CGx5rvIv/iY+Q+FxeP/pVBWFtSmxt1r3Vo 0BMvZ/3cX2CugbXWUt774bSny3uqQwW9u+7x+kUCBTJnQU+1rPBqRRX/YFIKqU7UT/6e HyMw== 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=mC26RIEy8azw+WpIIowWiWO62Np5Nm8BScVmYsYZCb4=; b=uETwHnBszUb8RLVuP033obDv91EVm2AUScgxPiftjpl0k5w9guYVVsf+Sg7hdlrHcz jitlxfi/7SfBdc6A/ovOorz2fuQwVwcHWlMlO5hxwSKOUuJcwtnfMM24DinxJzHTjZuV KwgNXusUSfGRo2Hmns2ijfgOY7Y/bjkZMbYp1dWQqgj5kDQc3JIrQJZ3O53O2U4jBsVC tWO0Ni8GTacMEELDihKNLEmRAYWT/TkivrGzhcE4/JiEmg3W2Z6nXr3a3AUGdqObYHD5 A+7urmGTaCnUPtTaH4LVNzRs30Wj1+NHUzv9aapnNdpgfe/4PdROHFSqJIM7hVXoXI3E UhVQ== Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AOAM533HI3V86h4rUv/MPYJ2kcAyfyyqOv9zrLHElaXrmA2qLdaEGpy6 2eFsGVOzBM5Nreq30Hhgmqc= X-Google-Smtp-Source: ABdhPJzubTVLdXaUNgj4tVvFtiomwl/GbnQUzPFgD7GU5l85oxjoIWf1QmVwkvLrX+FKrBLhXXj50g== X-Received: by 2002:a9d:68c3:: with SMTP id i3mr6068683oto.31.1605705544849; Wed, 18 Nov 2020 05:19:04 -0800 (PST) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:aca:416:: with SMTP id 22ls4817890oie.7.gmail; Wed, 18 Nov 2020 05:19:02 -0800 (PST) X-Received: by 2002:aca:d583:: with SMTP id m125mr2383819oig.47.1605705541758; Wed, 18 Nov 2020 05:19:01 -0800 (PST) In-Reply-To: <89f878c1-770d-4d21-b372-15961fb5e385n-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> X-Original-Sender: the.solipsist-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:26864 Archived-At: ------=_Part_681_1676630668.1605705541011 Content-Type: multipart/alternative; boundary="----=_Part_682_1309740875.1605705541011" ------=_Part_682_1309740875.1605705541011 Content-Type: text/plain; charset="UTF-8" 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/538a99b8-3ed4-4145-a4b7-c42145b61fefn%40googlegroups.com. ------=_Part_682_1309740875.1605705541011 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi,
I too recently went through the process of creating a do= cument with a list of all my publications. 

<= div>Here's the command I used:
``
$ pandoc -d bib-defau= lts.yaml
```

And here's the content = of the bib-defaults.yaml file:
https://gist.github.com/the-solips= ist/8fcab57c2d7771ef3758f927ec79ae34

And here's th= e publications.md file that I used as the input:
```
---
nocite: '= @*'
...

# Books, book chapters & reports

:::{#refs_boo= k}
:::

# Journal articles & conference papers

:::{#ref= s_journal}
:::

# Op-eds & press articles

:::{#refs_pre= ss}
:::
```

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 ge= nerate 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 remove the body, too and only stick with:

=
```
References

reference= 1
...
reference n
```
``= `

Is it possible to generate the reference only? I= f possible i would like to further modify the format of references, too.

--
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/538a99b8-3ed4-4145-a4b7-c42145b61fefn%40googlegroups.= com.
------=_Part_682_1309740875.1605705541011-- ------=_Part_681_1676630668.1605705541011--