From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/24938 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Thomas Hayes Newsgroups: gmane.text.pandoc Subject: pandoc-citeproc error when processing bib file -- unexpected end of input Date: Tue, 21 Apr 2020 11:44:43 -0700 (PDT) Message-ID: <66df21f5-9398-4f60-8223-80c2d6a44480@googlegroups.com> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_599_576618207.1587494683616" Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="12462"; mail-complaints-to="usenet@ciao.gmane.io" To: pandoc-discuss Original-X-From: pandoc-discuss+bncBD53DP4NVIBBBHH67T2AKGQEJ4TU62Y-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Tue Apr 21 20:44:48 2020 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-ot1-f62.google.com ([209.85.210.62]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1jQxt1-00037p-SF for gtp-pandoc-discuss@m.gmane-mx.org; Tue, 21 Apr 2020 20:44:47 +0200 Original-Received: by mail-ot1-f62.google.com with SMTP id n3sf12745982otk.22 for ; Tue, 21 Apr 2020 11:44:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20161025; h=sender:date:from:to:message-id:subject:mime-version :x-original-sender:reply-to:precedence:mailing-list:list-id :list-post:list-help:list-archive:list-subscribe:list-unsubscribe; bh=wU6UGB2kWxLGO1poew6asSH5hCbBH5oRisTwtk2HuGI=; b=kcFN6INDQIlznAc7aaM7wYr9UmTeL9wRvWOERX5rVEQXcbxMxrCVxr4YSqooBDO7aE YUUNKd3PCoCykFXhvZyQ7P/2O+YXV1BcZJ6BIxi3xDRAUJN0YYqkAqUNJrvXghFI/o2/ WmNf23YL/oF7Ylu9d+5rUcA7jbVkVqcxIWZH07OoLL4uRxDApx8vd5t/5DEGSBf4RcFZ cYJ/9YlJX2ZQhTQakCWyjAX8kGNVYA1SZ9pTpuUpC/gGDYXUtA6IlHNzyLphX0fAYLuX OU1scwRYpQ02rFrn7zZyZBOnfhnsU73sgqvUgyC0eddSTeaNOKGMLDjbBXfFLV/y4S03 JBGQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:message-id:subject:mime-version:x-original-sender :reply-to:precedence:mailing-list:list-id:list-post:list-help :list-archive:list-subscribe:list-unsubscribe; bh=wU6UGB2kWxLGO1poew6asSH5hCbBH5oRisTwtk2HuGI=; b=COfVeOup8WPouUzZmFlP57jO2mT1e3Cx7nWhmBHYaMxWb/1m+uxrBmkHZc4LeMKJiP BcksqxS39z2Tm5RAxPNgC01pI2MQ9FPvrb+iXyVId49i1ZuGS7mV714RSwjxoDl3SY4V MHwLnaSM3y07om4Mce/gcnhVZZMIu+0GYoPPtAJQFX3oZvIFtnIOEImtVsmVd/Bn2Hgt sXKIiC4FCfk2+8fV+jM6s+d+bP002kkRqz7q0Q+wx4M977LTytPE/FiyGjcBsjH5pHhF arRrM0KzlUio1bpSWS4WVZQtxkaY/6wYmivN2dZocFJR71K6cNCUVj14Cj3pfWsdqPTZ +Gpg== 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: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=wU6UGB2kWxLGO1poew6asSH5hCbBH5oRisTwtk2HuGI=; b=dzdZetyhOuZjcmAUfHJw8O9w2vvLKZOpRUgZECyWFBIPKbO03L2KSH2eYAuglfvIRS SdkzJMsseOCt7PLU0/pf0S5XBhfG7Gpno6TmkpZhQVknhqhy1YISYeR7OechPnGsYbJT 37Ne7b5mH7fJZU7iZLHpM+CmzznMm9/2UmkZSHEDOo6mhaXClzBcoyzB5LS4IvR1N0AD anOwQSQP8ytRzs5/rTIIueF+uBcppQTdS5Kdnxf5YbTjRj8kmjW2UUtGmxJ1FbYUJIK1 3xnhb7ajF9hcsV0byp3ugj9hzvnL07Eiacvvc1KIi0S8nqr6vxKkLqgs7YU2NChejPkQ Hvcg== Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AGi0PuZqWxCAiXfoiO5M1PZMWdHpWue+ScelQ7XvUtMrIkPIvDteJRf4 KuZFNDXC/1PWynb1GQYW4Fs= X-Google-Smtp-Source: APiQypJgRumIzu/UcjhHkyFxlei6z1VGXHTXazR0cDecCvb79UUzL/x8fLb8OZQYv1/rfDN2K1/i5A== X-Received: by 2002:aca:5651:: with SMTP id k78mr4079955oib.32.1587494686690; Tue, 21 Apr 2020 11:44:46 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a9d:3985:: with SMTP id y5ls3866126otb.7.gmail; Tue, 21 Apr 2020 11:44:44 -0700 (PDT) X-Received: by 2002:a9d:a55:: with SMTP id 79mr15138501otg.295.1587494684164; Tue, 21 Apr 2020 11:44:44 -0700 (PDT) X-Original-Sender: tjandkyonga-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:24938 Archived-At: ------=_Part_599_576618207.1587494683616 Content-Type: multipart/alternative; boundary="----=_Part_600_685493496.1587494683617" ------=_Part_600_685493496.1587494683617 Content-Type: text/plain; charset="UTF-8" I am getting an error when trying to convert an md file to an odt. I am using pandoc-citeproc, a bibliography file, and a csl. The command and the error are as follows: $ pandoc --filter=pandoc-citeproc --bibliography=bib.bib --csl=sbl.csl -- reference-doc=ref.odt --standalone input.md -o output.odt Error reading bibliography ./bib.bib (line 902, column 1): unexpected end of input expecting "}", "\\" or "{" Error running filter pandoc-citeproc: Filter returned error status 1 My bib.bib file ends in this way: @Article{ young1999, author = {Pamela Dickey Young}, title = {The Fatherhood of God at the Turn of Another Millennium}, shorttitle = {The Fatherhood of God at the Turn of Another Millennium}, journal = {Semeia}, volume = {85}, pages = {195-202}, year = 1999, } I have tried removing the final blank line from the bib.bib file, so that the last line only contains the single character } but I still get the same error. I have uninstalled and reinstalled pandoc-citeproc, but I still get the same error. How can I fix this error and get pandoc to turn my markdown file into an odt with proper citations from my bib file? -- 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/66df21f5-9398-4f60-8223-80c2d6a44480%40googlegroups.com. ------=_Part_600_685493496.1587494683617 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
= I am getting an error when trying to convert an md file to an odt. I am usi= ng pandoc-citeproc, a bibliography file, and a csl. The command and the err= or are as follows:

$ pandoc
--filter=3Dpandoc-citepro= c --bibliography=3Dbib.bib --csl=3Dsbl.csl --reference-doc=3Dref.odt --standalone input.= md -o output<= span style=3D"color: #660;" class=3D"styled-by-prettify">.odt
Error rea= ding bibliography ./bib.bib (line 902, column 1):
unexpected end of inpu= t
expecting "}", "\\" or "{"
Error runn= ing filter pandoc-citeproc:
Filter returned error status 1

My bib.bib file ends in this way:

<= code class=3D"prettyprint">
@Article{ young1999,
=C2=A0author
=3D {Pamela <= /span>Dickey Young},
=C2=A0title
=3D {The Fatherhood of God at t= he Turn of Another
Millennium},
=C2=A0shorttitle
=3D {The Fatherhood of God at t= he Turn of Another
Millennium},
=C2=A0journal
=3D {Semeia},
=C2=A0volume
=3D {<= /span>85},
=C2=A0pages
=3D {195-202},=
=C2=A0year
=3D <= /span>1999= ,
}


I h= ave tried removing the final blank line from the bib.bib file, so that the = last line only contains the single character } but I still get the same err= or.

I have uninstalled and reinstalled pandoc-citeproc, but I still= get the same error.

How can I fix this error and get pandoc to turn= my markdown file into an odt with proper citations from my bib file?

--
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/66df21f5-9398-4f60-8223-80c2d6a44480%40googlegroups.co= m.
------=_Part_600_685493496.1587494683617-- ------=_Part_599_576618207.1587494683616--