From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/17841 Path: news.gmane.org!.POSTED!not-for-mail From: Joost Kremers Newsgroups: gmane.text.pandoc Subject: Re: Pandoc citeproc cannot parse my bibtex file. Why? Date: Tue, 20 Jun 2017 13:06:04 +0200 Message-ID: <87tw3aor4z.fsf@fastmail.fm> References: <4548206e-ab96-45ed-8ef9-31ad97107fda@googlegroups.com> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; format=flowed; charset="UTF-8" X-Trace: blaine.gmane.org 1497956769 21466 195.159.176.226 (20 Jun 2017 11:06:09 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 20 Jun 2017 11:06:09 +0000 (UTC) User-Agent: mu4e 0.9.19; emacs 25.2.50.1 To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-X-From: pandoc-discuss+bncBCS7B5O6XUOBBHUDUTFAKGQENBE4MHA-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Tue Jun 20 13:06:02 2017 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane.org Original-Received: from mail-yb0-f185.google.com ([209.85.213.185]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dNGyw-0005Jk-BM for gtp-pandoc-discuss@m.gmane.org; Tue, 20 Jun 2017 13:06:02 +0200 Original-Received: by mail-yb0-f185.google.com with SMTP id o20sf15364893yba.1 for ; Tue, 20 Jun 2017 04:06:08 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1497956767; cv=pass; d=google.com; s=arc-20160816; b=Rl6Jzgl+cOQys69StVXfnxxVsO/zTggL5L0Rrdcil3Fg/dyUoP5IbKiqMwYyLGJjbv g+S7+WUT1PdBh5lR1hQuCDyuDh3MkQKVxk7oiSUOFGM/vTmT371hFNwVeHFJjrNqSA+5 YPTQeCRk+jsUVYQXQndJAQmtZ2pKKkgp2nntCMHlfXj4Ye8i2I3m8jV5HNjcRZBIeUJG i6PL8Djfpfn12LVzJTjyA0yXEXfgSlEzohQFLGCnWS/LfbK5t5gdXda3sKaIB4OyUKYf ZWztmHJ4Lu2sKvHABB69s5FV6+snNKjf8ThxK5MdQUb/vFofr61RuwROriouCNrQpYB4 Raeg== 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:reply-to:mime-version:message-id :date:in-reply-to:subject:to:from:user-agent:references :arc-authentication-results:arc-message-signature:sender :dkim-signature:arc-authentication-results; bh=E13NCdcNoEms1mUBfE0WXFffI6vUZWklObBtci+3WW0=; b=dqFRTa58DMlh///fy4tZLx9E+3KNrqYDGyC1OnKg92h3Y/QzBWHRORCrYsTnju5ZLu BhlvRc0SvqKqPTlvS6HmvWpr+/1aVKfByLHXNKJFcHaOkjaLv9dOckv7WkggO39tq5+O OBfvFy5Qw7e+KOgDAjPKH0Q3uqJs5x16HLOQroAegmEm1Wf3flnOeWbyYO3IO/JwpeUw Lx2Kww+XjnAbN56qhn7NAghcjsNmPfLiMIv7zyTLak4ya3/NZzFOBZETPnWPPoxVIDjY E/GxrL6/2/TKNAb6jJ0D9C/ck9cd0WIt+sn/j2ypEXTJjxcgQE2pMVoz7Jrww7H8IXGJ pcXA== ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@fastmail.fm header.b=UqG/AyE2; dkim=pass header.i=@messagingengine.com header.b=XUKkPV0y; spf=pass (google.com: domain of joostkremers-97jfqw80gc6171pxa8y+qA@public.gmane.org designates 66.111.4.27 as permitted sender) smtp.mailfrom=joostkremers-97jfqw80gc6171pxa8y+qA@public.gmane.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=fastmail.fm DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20161025; h=sender:references:user-agent:from:to:subject:in-reply-to:date :message-id:mime-version:x-original-sender :x-original-authentication-results:reply-to:precedence:mailing-list :list-id:list-post:list-help:list-archive:list-subscribe :list-unsubscribe; bh=E13NCdcNoEms1mUBfE0WXFffI6vUZWklObBtci+3WW0=; b=kFmdTVr8WiBuV0c1KewOD6tOYujppa41UuxITCkQH6ucvgX4VLZGVjRRdof9Ab/Pu5 EWQG0eKUIIgDec55M4P6CN7N+AYS7/XEyIyU9+PxHkf4hYDea7PVn5duC3/lEZ080qiz 9Vc4aoVQHJr7hYwOtpDx1Fkz4ckHDZNwdsIDBV6sqY9lZhi0Zzf9tQMx5F65otF11eB6 vKwGUCALRTvuKG3MyC+A3WfrPA3eZNGfqr8ss5TrbcH+GtOJNGrRTQ/vk6ZRxZbPpTPB hL+UI1bjY7QrArgZJq8SXtxBwArYhDIqaSKgiXhDk6Rq1d2lfYUBmPcrFFFaaU3c065S 502Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=sender:x-gm-message-state:references:user-agent:from:to:subject :in-reply-to:date:message-id:mime-version:x-original-sender :x-original-authentication-results:reply-to:precedence:mailing-list :list-id:x-spam-checked-in-group:list-post:list-help:list-archive :list-subscribe:list-unsubscribe; bh=E13NCdcNoEms1mUBfE0WXFffI6vUZWklObBtci+3WW0=; b=QriUwg+7r/dRCEs4hTQOEnxhE03aeWFGB+gOJRScqu6QRf4p5HVtGQOoiDcZ9HZ5s5 v24eaAt+Nd8Tu5guUJhyRERf8CeK3Y3+g7VGi/xV00CMwDpQmYXLhzZwKPKdUfrMexvL +hfo6TuJ3lJJQtx4panz5Z28FcedF0tiWaMfkF0Ru7dkw3vjSJjFUvYM+ZqeLS02YNZj 1usbU6S8BoQClZYHjYYxnTI+9UH/KOq4bkA1Ra0uy4/031tWcOhapPV0NeFhzxCCFLAK v4mbEggzC8RC4WO/FTd23mGhUTd8Zt8E4CeU51IduGT5PbDb1Nl7dZunyjwZdIi1OQYT qz2g== Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AKS2vOy+v9SWtDAFBdR0+JVlENDCDGMQp0he3+yC3WQqOMkLAbjLoMGd KXNe+wtpWoG4NA== X-Received: by 10.36.69.103 with SMTP id y100mr45965ita.0.1497956767377; Tue, 20 Jun 2017 04:06:07 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 10.36.73.147 with SMTP id e19ls376197itd.1.gmail; Tue, 20 Jun 2017 04:06:06 -0700 (PDT) X-Received: by 10.36.77.209 with SMTP id l200mr1648900itb.9.1497956766449; Tue, 20 Jun 2017 04:06:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1497956766; cv=none; d=google.com; s=arc-20160816; b=NzFxxAVzgW6cMlzMZL31xufWHxX/5bx1O7/jIKUWDsoUArCqTLmwjD1fUj9tvzsV2g eb7e890arPaShmbSEyag+DlgIMtJpxO/nH3ZcxE2ivUC/upp98c93ae+Q95YRgKtuyoZ Ami/v0Uto0DubYyxMTz0qyRLdC4Bvmvqfu78CZZiMP/AQLSdq2P3px1ynWwR8oNbHO4m jMOKTC1AF3LArwoHkqZNcF0IlmMgW6GYzmuqKWmg/Abr3oWpyzuvtgyiRy6E6j6oAvox kl16BjG+zO2Io4UaUK4CIQc8Z+YLKh4A6P3Qz3Odq76zy7/K5YEqzKEutFhLlZMQBsHQ JgVQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:message-id:date:in-reply-to:subject:to:from:user-agent :references:dkim-signature:dkim-signature:arc-authentication-results; bh=kUHiObrod6jC5WkPPz3hPtTzJN5J2wN/lAnWlWDqWkI=; b=HczgTSmgoeZT0wihAxyBBEfP5fv4uaw5D8ml1aTYuDUhUkNWdZJUBZR/eaqSqryQ3x /3RDCrSVnyVeDI/FcIonYPIGaOpXlVQIWTbnU1MFDj7S3aQI9gJczPFHb0pf1S92KTeq v6bYcykTXXEnJS6BY4Bvc53qOyAkEiczyg/kIBsdo0S+wBzx+jqyVddLL39MzMHB6btx 66HnFcxpN9Z8VTooxO6+sUFT6DrSprb+m8ia5kWZIeF2dW2QyHAH4NCieI0CudIwwVIt cnhr8NrUdLNnM8zBeflz/LO/sfD5k7h0Z8rOTbm/M1opNpjbcy/2bRTGl9HWXwE2avmR itRg== ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@fastmail.fm header.b=UqG/AyE2; dkim=pass header.i=@messagingengine.com header.b=XUKkPV0y; spf=pass (google.com: domain of joostkremers-97jfqw80gc6171pxa8y+qA@public.gmane.org designates 66.111.4.27 as permitted sender) smtp.mailfrom=joostkremers-97jfqw80gc6171pxa8y+qA@public.gmane.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=fastmail.fm Original-Received: from out3-smtp.messagingengine.com (out3-smtp.messagingengine.com. [66.111.4.27]) by gmr-mx.google.com with ESMTPS id l69si781765ywe.0.2017.06.20.04.06.06 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 20 Jun 2017 04:06:06 -0700 (PDT) Received-SPF: pass (google.com: domain of joostkremers-97jfqw80gc6171pxa8y+qA@public.gmane.org designates 66.111.4.27 as permitted sender) client-ip=66.111.4.27; Original-Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id 1307F2096A for ; Tue, 20 Jun 2017 07:06:06 -0400 (EDT) Original-Received: from frontend1 ([10.202.2.160]) by compute5.internal (MEProxy); Tue, 20 Jun 2017 07:06:06 -0400 X-ME-Sender: X-Sasl-enc: kWuTiXsVFywVbyom31ayQdaUTQjGTQZ+2j47uaaQEOiH 1497956765 Original-Received: from IdeaPad.messagingengine.com (eruc066.goemobile.de [134.76.38.66]) by mail.messagingengine.com (Postfix) with ESMTPA id 862B37E0EE for ; Tue, 20 Jun 2017 07:06:05 -0400 (EDT) In-reply-to: <4548206e-ab96-45ed-8ef9-31ad97107fda-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> X-Original-Sender: joostkremers-97jfqw80gc6171pxa8y+qA@public.gmane.org X-Original-Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@fastmail.fm header.b=UqG/AyE2; dkim=pass header.i=@messagingengine.com header.b=XUKkPV0y; spf=pass (google.com: domain of joostkremers-97jfqw80gc6171pxa8y+qA@public.gmane.org designates 66.111.4.27 as permitted sender) smtp.mailfrom=joostkremers-97jfqw80gc6171pxa8y+qA@public.gmane.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=fastmail.fm 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.org gmane.text.pandoc:17841 Archived-At: On Tue, Jun 20 2017, Jacob Hasselbalch wrote: > Pandoc citeproc returns the following error when trying to parse > my master > library bibtex file: > > pandoc-citeproc.exe: "stdin" (line 350, column 2): unexpected > "m" >> expecting "c", "C", "p", "P", "s" or "S" >> CallStack (from HasCallStack): error, called at >> src\Text\CSL\Input\Bibtex.hs:113:32 in >> pandoc-citeproc-0.10.4-1dO0NIam7tLEohTuW2LNs:Text.CSL.Input.Bibtex >> pandoc.exe: Error running filer I think there was a thread on this list a while ago with the very same error, and if I remember correctly, it was due to a character in an entry key that although valid in BibTeX is not accepted by pandoc-citeproc. >> @misc{Poyry&CambridgeEconometrics2013, >> author = {{P{\"{o}}yry & Cambridge Econometrics}}, >> institution = {P{\"{o}}yry Management Consulting (UK) Ltd}, >> title = {{Macroeconomic Effects of European Shale Gas >> Production. A Report >> to the International Association of Oil and Gas Producers >> (OGP)}}, >> url = >> {http://www.iogp.org/PapersPDF/poyry_public_report_ogp__v5_0(1).pdf}, >> urldate = {2015-11-17}, >> year = {2013} And if that is correct, this entry is most likely the culprit. Remove the ampersand and try again. HTH -- Joost Kremers Life has its moments