From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/18294 Path: news.gmane.org!.POSTED!not-for-mail From: Joseph Reagle Newsgroups: gmane.text.pandoc Subject: Re: pandoc-citeproc weirdness: how to @cite in YAML? Date: Thu, 12 Oct 2017 10:05:06 -0400 Message-ID: <08999bdc-b933-96b0-56fd-a9c54434cfbb@reagle.org> References: <20171011154842.GA40031@protagoras> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1507817119 29368 195.159.176.226 (12 Oct 2017 14:05:19 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 12 Oct 2017 14:05:19 +0000 (UTC) User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:52.0) Gecko/20100101 Thunderbird/52.3.0 To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org, John MACFARLANE Original-X-From: pandoc-discuss+bncBD65ZAVVYEKRBFHN7XHAKGQEKMR3PNA-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Thu Oct 12 16:05:02 2017 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane.org Original-Received: from mail-wm0-f58.google.com ([74.125.82.58]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e2e6f-0005Yd-7M for gtp-pandoc-discuss@m.gmane.org; Thu, 12 Oct 2017 16:05:01 +0200 Original-Received: by mail-wm0-f58.google.com with SMTP id v127sf3256876wma.3 for ; Thu, 12 Oct 2017 07:05:09 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1507817109; cv=pass; d=google.com; s=arc-20160816; b=kYM89O2rv8rHunD0PdHOtdiDszo8dnvevQcJBObGpsU5GLsvF7i4Rp6hisxCg1sJ+l lmRXM+znfpfc2L+LGxgtbmyD9tpj0fdJXT0803JFdf7CYYhgvRdjVqsSXKjNuKQmAHYa 6icbAUSTqQpAVvYKQVMu8jksidC8AfSHWqI1hJKOrZ4Mi39vgHiyJiNV4NqLWu027E/3 R29V+Pg5noZRjTHOAxePBxicuuao63iP4SwV0RYumESUHQVQQKbY7P0SQhgr88m9J7MB wwmme835/9NwWlUyO4QJY3Un7GV+TdUYLlgIhVZajCfTZUweM/COdpN9rFgEutlLxZW9 tJ9g== 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:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:to:subject:arc-authentication-results :arc-message-signature:sender:dkim-signature :arc-authentication-results; bh=ridTCiC/7NxhnlBkTwSAFPfz3HkzLjmt6NBz9W6Giy4=; b=thDchgII8LNa0wrGhfY1q2rByyVHaKq7BVgGeIyz0lF24yi5v6KxV76YNXqv83y9zK nwictuIKtbhDClejeinvyWA0rLpHcUeZVtzh1t5jGEea/4S6alSQJVD+61EKO3A2Xc/I jg5AjSSDCLDN2o8GyJeBY0ys60vG0NeRENVSJJL2zfB6msvHvXd5TGSROvN9vI/iQ0ZG TB5SRmSWAIirPGK66juxIKMyErEp3/dgeR5AVVNfI46X3zWyOt94zr6YcZRpNJ1zfQOW cYD06i6CglIEXuU73c/zd8F9xqrZUBgEtW/vU1KsT/DIZ ARC-Authentication-Results: i=2; gmr-mx.google.com; spf=neutral (google.com: 31.170.123.134 is neither permitted nor denied by best guess record for domain of joseph.2011-T1oY19WcHSwdnm+yROfE0A@public.gmane.org) smtp.mailfrom=joseph.2011-T1oY19WcHSwdnm+yROfE0A@public.gmane.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20161025; h=sender:subject:to:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding :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=ridTCiC/7NxhnlBkTwSAFPfz3HkzLjmt6NBz9W6Giy4=; b=PV12BFGebhMUSX6NbdQRWhnp38R6iCdFgICuXRoB04Y1tfofBvzdPlziBfC9KfpYoi BPwnFimDZ4P7Q0zfNVbHKNihuBDVWYzcCSjdRvGjRR33k+IyYJEo2pQNynvQlC5XMnDv QdgZ2QgHUMuWt30AJ82Krj6pv1UPOhaxLwbRw9SqO8vPBnhe9xFw9cnDWlD/KhLbgO0q BEN20N9U2MwJxjEyJahjWITZQE+BeKw8UVPQRMJXN7ku2SWIUveOZHcECg213eTS2uzQ KXHLLonUrmGyTyLl37A0VQb6GJTVR3Tl4fLt26SfChhbhb7FqP3tGYb17A538xnMc6KU U9eQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=sender:x-gm-message-state:subject:to:references:from:message-id :date:user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding: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=ridTCiC/7NxhnlBkTwSAFPfz3HkzLjmt6NBz9W6Giy4=; b=kQfB+fpCM4PRSpVJKDiPdBxFaaz9A3LaV8YUI32lve3Cyu+OJrWc/L4PXmW29Uo3Je 2pkEfauPxl6irVurOZ0rBJVD5opP0dDEnYMQT5Bro1eMByaZ/MmR7Bh4k6xE2biIbZSR HwC5eXnmR6oyI6Lr4ao8LWU/PNy6PCy/1srrH1eRR5EN8jem7SpKGhybfeLYaepmjtNy jpOJmUIZYpj9oN8K+JGDMqDEohxSF6ZCBtHxRCw5HGh2lG4QkKNgTwJ2A1xNYN7SXZfd tP+9kgkrcnHVN2NRibd9EpE5ICXKoURU8lY3 Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AMCzsaXXDaQVom2SFUtnW0UBQ2cQuy4+G5Z7Yms7Cug2nIeuSpOQJrA1 kJR9c2pKqYy4g3JXKhhkDog= X-Google-Smtp-Source: AOwi7QBwJA1x0WZ5PvVl2IOb9RTTBieX9MB+o0fQ2GKE3ok4WZdk3F5M+H6/Q4/15JOJm9mmWvQiyA== X-Received: by 10.28.199.202 with SMTP id x193mr26969wmf.1.1507817108984; Thu, 12 Oct 2017 07:05:08 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 10.223.182.5 with SMTP id f5ls1008028wre.8.gmail; Thu, 12 Oct 2017 07:05:08 -0700 (PDT) X-Received: by 10.28.8.12 with SMTP id 12mr247450wmi.31.1507817108175; Thu, 12 Oct 2017 07:05:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1507817108; cv=none; d=google.com; s=arc-20160816; b=yoYbcYUfKQs8fptAtFp8OLb1o4N7Vk9vAVjLmFM6jyOIPCQKWFOJr8vlY/z9xA7Q1o gWPvl25FCUGopRk2XVrsezaV0lPcFCEEF8V1jk6MIQU4V8GoVD7KwPKg/nX4viRqY9XF jcpr9pVOGl7PD3EFpf+IKOLuc4eFnYEDBazVF5uxVo2IOv4k1aUfOmLWF2XHVxvc52bI XCLC5Rd2W2e2mES70POpqu9JRh10muhboVG+AlzTlrVesyEpieJttYM9K9UEJdGVwaWH 0Wir7PpYP2p9Bzn/0CBeD1kyrJTJyks8JccD7urc+UrN9qh6JEq5yu/f6btEtTXWUnGI HaWw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:content-language:in-reply-to:mime-version :user-agent:date:message-id:from:references:to:subject :arc-authentication-results; bh=5aesTeouGZXAH1S63/acYylC/zr7r/+PdaKy/4/txqY=; b=a2n4qpPOJuMz7FLH+hiWQTx8owTQW4pk82Q645+chOYXbAw+xUFnwGojFYGMuVog6k J7Ox1e/ZP0lZZ3l8NCe3xsHcruyzWyU0isSUpjrZTKbkKiRpfcTKwT3xpp/hRBzHopLb rHzo7Op3Viv/0spaYe9Nb/aBDivr/s/meuRz4eqpxVoB+77WAdgPVYMcPzsJKMSJVeUp /2mlqke2cZql5tVims9L52w2Iib1BEdgFWgXIF9Pw2EyJqgi0BEfp9t1w/4XPFNjzhJj /ojod09wqduNZI/7sKADWlfWeQS1W+dPuDedZwM81iyQgep09jLsEBzY39nXhM8GoeSh OrWA== ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=neutral (google.com: 31.170.123.134 is neither permitted nor denied by best guess record for domain of joseph.2011-T1oY19WcHSwdnm+yROfE0A@public.gmane.org) smtp.mailfrom=joseph.2011-T1oY19WcHSwdnm+yROfE0A@public.gmane.org Original-Received: from smtp.webfaction.com (mail6.webfaction.com. [31.170.123.134]) by gmr-mx.google.com with ESMTPS id m62si11021wmi.1.2017.10.12.07.05.08 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 12 Oct 2017 07:05:08 -0700 (PDT) Received-SPF: neutral (google.com: 31.170.123.134 is neither permitted nor denied by best guess record for domain of joseph.2011-T1oY19WcHSwdnm+yROfE0A@public.gmane.org) client-ip=31.170.123.134; Original-Received: from [192.168.0.50] (c-73-149-23-48.hsd1.ma.comcast.net [73.149.23.48]) by smtp.webfaction.com (Postfix) with ESMTPSA id D34666043B7AD; Thu, 12 Oct 2017 14:05:00 +0000 (UTC) In-Reply-To: <20171011154842.GA40031@protagoras> Content-Language: en-US X-Original-Sender: joseph.2011-T1oY19WcHSwdnm+yROfE0A@public.gmane.org X-Original-Authentication-Results: gmr-mx.google.com; spf=neutral (google.com: 31.170.123.134 is neither permitted nor denied by best guess record for domain of joseph.2011-T1oY19WcHSwdnm+yROfE0A@public.gmane.org) smtp.mailfrom=joseph.2011-T1oY19WcHSwdnm+yROfE0A@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.org gmane.text.pandoc:18294 Archived-At: On 10/11/17 11:48 AM, John MACFARLANE wrote: > No, there's no way to have citations in the abstract > resolved by pandoc-citeproc. I don't want them resolved but ignored. They create phantom citations in a = document that cites @Groth2015edh. (I get references to them in the bibliog= raphy even though the prose never cites them). >=C2=A0 Pandoc-citeproc reads > the references from the metadata before modifying the > AST.=C2=A0 Backslash-escaping these should just give you > literal strings -- what do you get instead? I'm not sure what this means, but when I backslash those keys in my source = YAML I get this build error and none of my cites are found: ``` /usr/local/bin/pandoc -f markdown+mmd_title_block+yaml_metadata_block+impli= cit_header_references+superscript+subscript+tex_math_dollars+autolink_bare_= uris -w html -s --smart --tab-stop 4 --email-obfuscation=3Dreferences -c ht= tp://reagle.org/joseph/2003/papers.css -o /Users/reagle/joseph/2016/lh/09-c= onclusion.html --mathjax --csl=3Dchicago-fullnote-bibliography.csl --filter= pandoc-citeproc /Users/reagle/joseph/2016/lh/09-conclusion-2.md /Users/rea= gle/joseph/2016/lh/09-conclusion.yaml [pandoc warning] Could not parse YAML header: found unknown escape characte= r "source" (line 416, column 56) pandoc-citeproc: reference Ferriss20155mr not found pandoc-citeproc: reference Magnezi2016fys not found pandoc-citeproc: reference Theisen-Jones2017mfo not found pandoc-citeproc: reference Altucher2013hba not found pandoc-citeproc: reference Altucher2016hmb not found pandoc-citeproc: reference Williams2016wsh not found pandoc-citeproc: reference Altucher2011hbs not found pandoc-citeproc: reference Altucher2014lil not found pandoc-citeproc: reference Altucher2013hba not found pandoc-citeproc: reference Buchheit2009apk not found pandoc-citeproc: reference LevineRubinstein2013siw not found pandoc-citeproc: reference BlackEtal2015ort not found pandoc-citeproc: reference Groth2015edh not found pandoc-citeproc: reference Dziura2013wlh not found pandoc-citeproc: reference Levy2001hhc not found pandoc-citeproc: reference Connection1996nhe not found ``` --=20 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 e= mail to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To post to this group, send email to pandoc-discuss-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To view this discussion on the web visit https://groups.google.com/d/msgid/= pandoc-discuss/08999bdc-b933-96b0-56fd-a9c54434cfbb%40reagle.org. For more options, visit https://groups.google.com/d/optout.