From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/26918 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: "jmuc...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org" Newsgroups: gmane.text.pandoc Subject: Re: how to generate the bibliography for a document? Date: Fri, 20 Nov 2020 13:38:56 -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_266_227121848.1605908336546" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="36643"; mail-complaints-to="usenet@ciao.gmane.io" To: pandoc-discuss Original-X-From: pandoc-discuss+bncBCX7HCFDXYLRB4PO4D6QKGQE2WAHF7A-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Fri Nov 20 22:39:01 2020 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-ot1-f59.google.com ([209.85.210.59]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1kgE7Q-0009Of-RW for gtp-pandoc-discuss@m.gmane-mx.org; Fri, 20 Nov 2020 22:39:00 +0100 Original-Received: by mail-ot1-f59.google.com with SMTP id l12sf4677107oth.16 for ; Fri, 20 Nov 2020 13:39:00 -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=7E/ns3G0yhEgdRPRq97mVg3JJpaRPO0Wy8Pzk6og/68=; b=DGzsC0vBKuEQ79j0TkyFA3N2NJjXmtncXqNDLmVYf30ODQdOoHbQyQq70B5mMT7AzT ncRU0j3xol1pFvpyma/+nSxU634vxG4W70aeOp2GX6F+36LtfQiIwbwZUoj0ZFdegiaL aOJr/14oPfiOXEnJ+Y//eG7vk8v+k/lOag5vfCN++FdbSY4iBmGLsDjiCDLH4UtkfTIp 4EZkDBVk5EhRot/siW/XD/3XHFXO1Q5mNG/ZBJ7O1FUxWklbGVLrYPerfyX/u4R1NX4y emKttbiHNwSCFsHvsvLc7AalF2h/6gKAYS/p3Opc9DtvoTOjBvThUAXpEsWwMQQJiHkh fnPw== 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=7E/ns3G0yhEgdRPRq97mVg3JJpaRPO0Wy8Pzk6og/68=; b=rvRlFhSnmJ+UZUi0rNc7mxGijkrvzq60dySAB285Hl0gIeSZq+a/8WPsA4SgLMrzAR UOcKRzLQ9RVafPoNiE//IfoOP4HLBLs23av9fZv0F+stJiZSBtXZOZUsK4uFePgvuqTC kQZ0yXKqOfPgYI0gznDdnRBU7sCGov+WJ6v57OQQ3eLNcVvif/gWD9c84BbE/WmMOGYC GJEQxNPIf9aZ8zMhs3WO108trRk8ML9kau28lrI32otMKKC23ErKR7ofpp/jAyJUb/O6 VzK7oLwlQn09l/buHPJLSnDBcRLnFHeh8FZHJnr9Mp3AJMYXU4kAaTKkv0hKxm5HabJG bskg== 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=7E/ns3G0yhEgdRPRq97mVg3JJpaRPO0Wy8Pzk6og/68=; b=TTivwUr42EMm3pCEpMb47MJaednNwf0jBerAm7L/KpIdKY8oNmDbOI/r3v+ZPfsSl/ JCHkzhG/TPrAwfot/eB+N3dTojbVJmCotGuzD/UePWzxefTQ9oNaWuekmU5DrSK+/tAu 29GlQ1MGL0DCJ6b5MQ6QCo0SgWHfbLe5Jk6C2kqlAnnsDqtYuF3LS5Gd+Ohro+RVd+wZ 5K6DuC3m/idasxrm7q0R4SdsguUyYBCmo2Yre3S+NIrRIOjCwDvi8I+Sf0DB35GVspkH T7DzEfV2TrvXc1vSGCg2tEEwxlxv1oNPOsXap6xmlDfvbdv3muhToiLxcZdw+snhHtsZ Sqbw== Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AOAM531KEvld4RB/gxCQyAN/oRlIDcdfUzMaVBzl1N4OJaMISuppSXzv 1jZmTGr5ASEjro6H/o/2HB4= X-Google-Smtp-Source: ABdhPJyohny7XWVNNln4zN+SeKzIPxZwa0oC24vEci2Ix+hZrBlhTPdC/1wlIPZr1xMIYuXk7OfXmg== X-Received: by 2002:a4a:b689:: with SMTP id v9mr15724223ooo.0.1605908339872; Fri, 20 Nov 2020 13:38:59 -0800 (PST) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a9d:344b:: with SMTP id v69ls1960736otb.3.gmail; Fri, 20 Nov 2020 13:38:57 -0800 (PST) X-Received: by 2002:a9d:2923:: with SMTP id d32mr1733408otb.117.1605908337307; Fri, 20 Nov 2020 13:38:57 -0800 (PST) In-Reply-To: X-Original-Sender: jmuccigr-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:26918 Archived-At: ------=_Part_266_227121848.1605908336546 Content-Type: multipart/alternative; boundary="----=_Part_267_931839822.1605908336546" ------=_Part_267_931839822.1605908336546 Content-Type: text/plain; charset="UTF-8" On Wednesday, 18 November 2020 at 19:00:23 UTC-5 John MacFarlane wrote: > > Just one note: you can simply do > > pandoc mybib.bib --citeproc -s -o formatted-bibliography.html > > or any format you like. > > If the input is a bibliography format (bibtex, biblatex, > csl json), pandoc will automatically generate a document > as if you had nocite in the metadata. > This isn't working for me with json input (from Zotero). bib (also from Zotero) works just fine. I'm getting this error with the json: ```JSON parse error: Error in $: mempty``` even with a json file with only one entry that json_verify is happy with. The pandoc command is barfing on it. The old, nocite way works fine still. PS A side note: the new method with --citeproc generates html spans every place the bib has double curly brackets to preserve cases in title. Seems unnecessary. -- 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/ce80a7a2-bfb3-4ff8-ac1f-26f8a0a1fa9en%40googlegroups.com. ------=_Part_267_931839822.1605908336546 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Wednesday, 18 November 2020 at 19:00:23 UTC-5 John MacFarlane wrote:
=

Just one note: you can simply do

pandoc mybib.bib --citeproc -s -o formatted-bibliography.html

or any format you like.

If the input is a bibliography format (bibtex, biblatex,
csl json), pandoc will automatically generate a document
as if you had nocite in the metadata.

This isn't working for me with json in= put (from Zotero). bib (also from Zotero) works just fine. I'm getting this= error with the json:

```JSON parse error: Error i= n $: mempty``` 

even with a json file with on= ly one entry that json_verify is happy with. The pandoc command is barfing = on it. The old, nocite way works fine still.

PS A = side note: the new method with --citeproc generates html spans every place = the bib has double curly brackets to preserve cases in title. Seems unneces= sary.

--
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/ce80a7a2-bfb3-4ff8-ac1f-26f8a0a1fa9en%40googlegroups.= com.
------=_Part_267_931839822.1605908336546-- ------=_Part_266_227121848.1605908336546--