From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/26868 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: hex Newsgroups: gmane.text.pandoc Subject: Re: how to generate the bibliography for a document? Date: Wed, 18 Nov 2020 20:57:52 +0000 Message-ID: <3881d8c8-1c42-d10a-ec51-c209d989579a@gmail.com> 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/alternative; boundary="------------27ACB10DBF9B743F25937036" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="14370"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 To: pandoc-discuss Original-X-From: pandoc-discuss+bncBDJYJXMQVQNBBU4V236QKGQEEOBMDGI-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Wed Nov 18 21:57:59 2020 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-ed1-f61.google.com ([209.85.208.61]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1kfUWd-0003bV-Jd for gtp-pandoc-discuss@m.gmane-mx.org; Wed, 18 Nov 2020 21:57:59 +0100 Original-Received: by mail-ed1-f61.google.com with SMTP id o11sf1434673edq.5 for ; Wed, 18 Nov 2020 12:57:59 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1605733079; cv=pass; d=google.com; s=arc-20160816; b=XCPOhVPXDhNIS/6s8Tm7R8Ucf5pmNWnV/ntgwQln6CZy/HP6deJRmuyut6T2BUQ9hX B3lonnWwJBBUXQXmaX0Q8xSiUm7Fp9HFl/t8Y5P0k5EJX0UQlOOoNzwwXoAV6AhMgZJ1 ly6ubD5Tio4VISuj5NdDhVw/FKZ+GBIGSqlEDCZOLSS7CqjZ0iyAA/epTQywFToB/pA4 5tQUHTcRf944zHnoY+4jNdnXOOdMMCpNdTH+FTAJXMmpYkOAN1X5WCydAjHL5WqLfdL4 StmuArWbam4TryoA2CH9rDUkh5rJt7sqw+SCPfQEJQhbB0LSWdOr7m49nI401mzZU7/X L0PA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:content-language:in-reply-to :mime-version:user-agent:date:message-id:references:reply-to:to:from :subject:sender:dkim-signature:dkim-signature; bh=erHofMxd1T+hCHd0bYg3P8BPBSl4AXDcNvDeirIMZxA=; b=lKr/pF/7CiyIK3rLOIP8IRkaRcF6cE0w+TxedesVD2W4bAfMQqgm+kHSuGibpTzLiI Qgn3Ph0tGHkaLGfK/Ed3ypBZEICDV+MgYVtmv92R3r8kOhWR7oiBQ3d+kEqhQFU6ACTX ZRUyTEkVGfRSvMFfRogPhxW1a+PHuOot13ZsKdzldy/xF+SN6qq6KqXJy5VuCf2808qk BSSfDuqhlkJa8XZi1KFaxR0Xcrk/eafGchkXcT5lWPyNaKbeaRJGRNkxVSa/iM23WDXC qsb+JnFC0AbrOnwGvLkkWn05ocfvKAYhNQ3TJV4o0AfFbBxNUjgPfzzHYEWhoRTkcUwk XQOA== ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b="m0PyTt/L"; spf=pass (google.com: domain of hex7c3-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2a00:1450:4864:20::42d as permitted sender) smtp.mailfrom=hex7c3-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20161025; h=sender:subject:from:to:reply-to:references:message-id:date :user-agent:mime-version:in-reply-to:content-language :x-original-sender:x-original-authentication-results:precedence :mailing-list:list-id:list-post:list-help:list-archive :list-subscribe:list-unsubscribe; bh=erHofMxd1T+hCHd0bYg3P8BPBSl4AXDcNvDeirIMZxA=; b=Z79ss2f/LSJfhGUmIu8XdtqjbVk4CH8JYURYBsDim6DtY+HKRJ3zmW+keBoN+N8i9D fsAXiQNooKissvJdv8yAQxkqiNK7pCh2kUA7Dk9yY9URMLa6lNAbZJX/BqnDY8jjVAhb MJdq7Jc3hD4NkyryIIlqXHlRCM5wOuJVmvsDC5kPBKyx/lv7+wEXunfgAoeCullHRp3K bjJVQGt+hshkncC/Qin/rbvARNaDCfdX5bTq4ameKHQ+5DM+/bMQ16LFcH+dcqK3rD0N L6vpYo4qpXl21TXek7KcX/TgeuWnGR+QjeLyJHCyGCCOtGgpm3MZ4T7piQmrsGVl+0fb 5wgg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:from:to:reply-to:references:message-id:date:user-agent :mime-version:in-reply-to:content-language:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :list-post:list-help:list-archive:list-subscribe:list-unsubscribe; bh=erHofMxd1T+hCHd0bYg3P8BPBSl4AXDcNvDeirIMZxA=; b=av69XNfM+XqRTxNxm2o6JPHL5bsDDxHntN6f/jtmiqgN5wIrJhmJQXLOvwHGnhoMtM AqEKOOrlVIIIZuHdoINWe3drWvJeMxHJBimrQE5tc0xNHFGfroMbwOCx/pp5yaq7X4ky fC6p1Poa5VzrhuYmFkMBPTdUtUC/mXY6tPnV6i9E4SzMc+NEC+O8HNvGY1nmDkpaJpz3 RRzY9RBT7Zyu6PNuM8CWweJeaX5KvLlwipQns+EvZaT1TSkanawDi49vjPCQihuI1KNX WnalAzvrHxsdQydEfWOAi8G8VVEpfPFRX58HHEZQTGfyGsgEAdrYFjN2svG9FuzoyUDj yw3A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=sender:x-gm-message-state:subject:from:to:reply-to:references :message-id:date:user-agent:mime-version:in-reply-to :content-language:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :x-spam-checked-in-group:list-post:list-help:list-archive :list-subscribe:list-unsubscribe; bh=erHofMxd1T+hCHd0bYg3P8BPBSl4AXDcNvDeirIMZxA=; b=pKt8gxUrXT0JslKiAYswDQysOfnVgKRHq39sIaxmB+4S1NKqAv4W1PyifX27bvFYtg OgEJQ/0ft9bMNnNWXiQZiEFS9+hrzsn6B3LWnJTiADaB7qJIyn6El7oXcUPDKMQGAZrc FJdOELQCSiCA2tRzGa5zpBQZ3btPLx9c97z1XLW6/47RsE5r9o2MHnqeFMzZM3Q5ItT6 Wu1Yo22Prt0Es2snJfHVYZDYZhyDnSnigPFBTuBycl+ezW0Y2NjLIA8iwq0RdjZ+3yVy 47nDNY3aH1BLIQA+EH/rBTScOlk0dM3kleVK8w36bvK6aaBE9NKNgX3XZ+9x/m Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AOAM532w1S7ssIhGa4o/o7HCR51aEYLkScl8POARJJ/EiGq+IywRgpiz 1mkoGPy+GCjjGLv8JZEnUZw= X-Google-Smtp-Source: ABdhPJxxpUztdnwt8yUuXP7wGlnMPBJQclh7JBBJlj8tRRLOBpfT9A1f/zfI05SZWfXMgB+Rduyh2g== X-Received: by 2002:a17:906:5017:: with SMTP id s23mr26807846ejj.359.1605733079291; Wed, 18 Nov 2020 12:57:59 -0800 (PST) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a17:906:c13:: with SMTP id s19ls380781ejf.1.gmail; Wed, 18 Nov 2020 12:57:55 -0800 (PST) X-Received: by 2002:a17:906:46d5:: with SMTP id k21mr26009142ejs.495.1605733075170; Wed, 18 Nov 2020 12:57:55 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605733075; cv=none; d=google.com; s=arc-20160816; b=RxsaOpLdE93XxiXBmBD2BNEcmRRVnH6hxOu70KgpoCRDSdVAiK5MHkyEXCMEBqTWbx fo2rmXqg8Pl82sPE6MKhB29YNsxbRGw+SAs9F51iKsp0RK3wVhTVUtNfbz6ySTSzrZTs FTLYnXuDL2GgH6zoW7kTUpSyrNBV+GK28WEv2cmu4KGAVSW7jkKkaorz9wb2eaoMQJq1 oOItHTzOGtvQQZI1ZmD5aJ1lRM5aI2416sgTxizgM9DEvGiEAiVCSdL0v0T4QsVIj0tA EGPwH2hgwmL7ZQMVB52gL1Qfu5PAjh/2y2xNc1PrWN62mEdUfTOVFkGxXnZJGVSyK9h3 lCvQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-language:in-reply-to:mime-version:user-agent:date :message-id:references:reply-to:to:from:subject:dkim-signature; bh=ktSjOxVozDsOmg3EXI5mz2HePvW8YNd/agnMRJacaL4=; b=Z/5RMP4shf5nk5KevKD9JcF/14p2CEZVAu55tfAHRRUe9uXZSFarIppymK4EyGxDPT J6gOnsBB50RdSI2UJ9FInzjPusHdt9wMOPdygMJcJDV3Ct9UMXqP+T8fnXXsMkLxarCG y4cburR+Y81kpK0vcs0Yd6G2vDnTMSVGwta0PAosu1K08piSOt/NpGu41ucyndoz+CGU 5Y/sP5/knOSiDuzC5mvvpfbYw1pEYtQaptVuVtQoyjoCoy0MVrdWBySktsJrlYF810C5 va2BwoZv7dF/hz2J1YT8u8F9+WTnRvHHD85opZdu/El1G0KM8vIVYYZinISGtcrYD+3u ZSHg== ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b="m0PyTt/L"; spf=pass (google.com: domain of hex7c3-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2a00:1450:4864:20::42d as permitted sender) smtp.mailfrom=hex7c3-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Original-Received: from mail-wr1-x42d.google.com (mail-wr1-x42d.google.com. [2a00:1450:4864:20::42d]) by gmr-mx.google.com with ESMTPS id v21si544709edd.4.2020.11.18.12.57.55 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 18 Nov 2020 12:57:55 -0800 (PST) Received-SPF: pass (google.com: domain of hex7c3-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2a00:1450:4864:20::42d as permitted sender) client-ip=2a00:1450:4864:20::42d; Original-Received: by mail-wr1-x42d.google.com with SMTP id p1so3489892wrf.12 for ; Wed, 18 Nov 2020 12:57:55 -0800 (PST) X-Received: by 2002:adf:f183:: with SMTP id h3mr6884378wro.239.1605733074663; Wed, 18 Nov 2020 12:57:54 -0800 (PST) Original-Received: from [10.0.1.10] ([188.125.199.86]) by smtp.gmail.com with ESMTPSA id d10sm35142819wro.89.2020.11.18.12.57.53 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 18 Nov 2020 12:57:54 -0800 (PST) In-Reply-To: Content-Language: en-US X-Original-Sender: hex7c3-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org X-Original-Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b="m0PyTt/L"; spf=pass (google.com: domain of hex7c3-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2a00:1450:4864:20::42d as permitted sender) smtp.mailfrom=hex7c3-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com 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:26868 Archived-At: This is a multi-part message in MIME format. --------------27ACB10DBF9B743F25937036 Content-Type: text/plain; charset="UTF-8"; format=flowed I noticed one small problem: i would like to add the citekey to each entry: |``` [ref]: Doe, John "Title" https://somegroups.md ``` the format is not really important to me. I care most about citekey and url. What i have now: ```| ||Doe, John "Title" https://somegroups.md| ``` ||| Can this be achieved with a citation style? There are sooo many i didn't find any with citekeys. Alternatively, it would already be helpful to know in which order citations are listed. On 18/11/2020 19:59, King John Unn wrote: > 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 a topic in the > Google Groups "pandoc-discuss" group. > To unsubscribe from this topic, visit > https://groups.google.com/d/topic/pandoc-discuss/pbT4p_13Kt0/unsubscribe. > To unsubscribe from this group and all its topics, send an email to > pandoc-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 > . -- 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/3881d8c8-1c42-d10a-ec51-c209d989579a%40gmail.com. --------------27ACB10DBF9B743F25937036 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

I noticed one small problem: i would like to add the citekey to each entry:

```
[ref]: Doe, John "Title"
       ht=
tps://somegroups.md
```

the format is not really important to me. I care most about citekey and url=
. What i have now:

```
Doe, John "Title"
https://s=
omegroups.md
```

Can this be achieved with a citation style? There are sooo many i didn't find any with citekeys. Alternatively, it would already be helpful to know in which order citations are listed.



On 18/11/2020 19:59, King John Unn wrote:
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.=C2=A0

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

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

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 a topic in the Google Groups "pandoc-discuss" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/pandoc-d= iscuss/pbT4p_13Kt0/unsubscribe.
To unsubscribe from this group and all its topics, send an email to pandoc-discuss+unsubscribe-/JYPxA39Uh4Ykp1iOSErHA@public.gmane.org= m.
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-d= iscuss/d3fd4aa4-cfe2-4d7f-be3d-f844dfd676aan%40googlegroups.com.

--
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/p= andoc-discuss/3881d8c8-1c42-d10a-ec51-c209d989579a%40gmail.com.
--------------27ACB10DBF9B743F25937036--