From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/18287 Path: news.gmane.org!.POSTED!not-for-mail From: John MACFARLANE Newsgroups: gmane.text.pandoc Subject: Re: pandoc-citeproc weirdness: how to @cite in YAML? Date: Wed, 11 Oct 2017 08:48:42 -0700 Message-ID: <20171011154842.GA40031@protagoras> References: 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"; format=flowed X-Trace: blaine.gmane.org 1507736928 13336 195.159.176.226 (11 Oct 2017 15:48:48 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 11 Oct 2017 15:48:48 +0000 (UTC) User-Agent: Mutt/1.9.1 (2017-09-22) To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-X-From: pandoc-discuss+bncBCJZJHG45QDBBU727DHAKGQE55IPVFA-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Wed Oct 11 17:48:41 2017 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane.org Original-Received: from mail-io0-f183.google.com ([209.85.223.183]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e2JFF-0001HU-Cy for gtp-pandoc-discuss@m.gmane.org; Wed, 11 Oct 2017 17:48:29 +0200 Original-Received: by mail-io0-f183.google.com with SMTP id n137sf1727965iod.20 for ; Wed, 11 Oct 2017 08:48:37 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1507736916; cv=pass; d=google.com; s=arc-20160816; b=wkXNpehu4acVQbIINRpACHPbtkH2cs2muy99fRxChlpbzerIjqnIz7NTmgrUxF1Iok jnp84vLrdyQDR7ldO0PkV2cHL/lJ7c/NdsHc+0DJKmXxHd36TnP2ozFl0FgLGd1bWciG sSsumaBjwn0imN1GuUSwekXWahAl7ev6+aFiFuXcVuu/rlK9KbyGyzSgtwU1mUKK6oLw 2PH+EIiALQSs/xgRnFYXgWo6MVnzJ39N+LnO3XaTQmoiEI+4J2zUdp4+teJdeyrcmUzH YZueiaweXx+U9KHILsOJrl0J9OO0xnPOAP6AgZlc2bk0DXLY9NXpIhVBwIRBKaA8nTSm cXIg== 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:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:to :date:from:arc-authentication-results:arc-message-signature:sender :dkim-signature:arc-authentication-results; bh=Dt2l8XdZYCIF2LXvxqDifamBBWZmiHMQ1J+CYcRI9Ic=; b=uXDW3VI1jfsH/YqNSl0TyrIE327go5bU15aQ4lMcCfxfhFRfTIO4ntZ51j+NH6X1fT CDPLqL8Z1nTguKuGRcITlmz81GdGFuOdQXO0ebIumDBAgxa6d15U3XxCpIlAHHWR0k6h zB+Lo/JeOGlfBO2hufI1HGPihwjTrKSpSW/zBJgdqEdYROjuNlZ5jownD9nnAP/rVzNi neTpBnrENzvrJIyQewexAWkSZNRt6wS7bsdB1dD47ZkfGpjpYZgadF1gAwQWLXv9Us2x KafqYo0g77W0qyMjuYz7W5SVuJ3fxeJHBtboBvMFGRmG9QlVthrzI51oEhOd9JtVm8Y0 ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@berkeley-edu.20150623.gappssmtp.com header.s=20150623 header.b=y4zzGhpU; spf=pass (google.com: domain of jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org designates 2607:f8b0:400e:c00::22f as permitted sender) smtp.mailfrom=jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20161025; h=sender:from:date:to:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent: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=Dt2l8XdZYCIF2LXvxqDifamBBWZmiHMQ1J+CYcRI9Ic=; b=eqoqGtrOwEfVZKHrWJo5DoHlXtjH/+6HT6j4UspUduMuajcLeu3/Jplxf8BcvohtWG TEDFajExHDQsKGnZUjZS/pfJfMpVoUBAg4bm9LuXwrgL0grYHAl12KMPAvN7jpJkoiAX htUgyrwsURGYcPIQhyGiSq5Dmw36BSm5OLPZyi4h7DkY/HJdxBuFcnUpOmMyd3VF6mzN biprO7tH5GqJNXz1jLsuZoZc1Cki+3YoA9caZQFAO6KyomL83TbDMvosKRVPC1r+zaHZ M1eGcDIwW/ekxLK++GSCdMH84pUL/hTkyTOUtw4ymPRUX/p8yBFTjbdbGUjZNBiuhljg lCYA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=sender:x-gm-message-state:from:date:to:subject:message-id :references:mime-version:content-disposition:in-reply-to:user-agent :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=Dt2l8XdZYCIF2LXvxqDifamBBWZmiHMQ1J+CYcRI9Ic=; b=bXrAMa12joiXS+yaEIRao2hkbIiYCZUpdJrIt8i6MOEqfkzdV/oOjPJAFmK2+lRtrJ IZilG1ObvaEIdUmRoYa8l4K/iI2GgBUj3fY701UMn4Z+VjBnPsa1k4CtXG/NR+8RIJuu 4ECkNDzxFyl6pHPoWOnDWk3DJUhIfaoozPVey2OnhGETE+VLtsQr75m9Jt+VnqpH5qD7 VzbpSRbDWJRaQnxfBKkdARRWoO5b+RLi/hd9J+OByNhOXrNzZLmE8YIUxfBlX6NmXY3t IHLcrfujGgyeUbrpXsJR1Xuid6cAJhPTRxQll7my+oa6Xu31jbwZxBCRReXrOjD2eYk9 Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AMCzsaWeqethkFj04Mnr/gyalhCUsGAhEfJWDz+3Gq8DIWpd0GzU3uFu MSzMSbjReKCILboDxH68BSQ= X-Google-Smtp-Source: AOwi7QCrJZhiJFgs38r1Ce7baEMSC0RNXyjYecK6Ywm1AjzcVrW4wUDD8rUEtKc/7FkwqRZFXQLChQ== X-Received: by 10.36.77.17 with SMTP id l17mr9523itb.7.1507736916695; Wed, 11 Oct 2017 08:48:36 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 10.101.85.142 with SMTP id j14ls436001pgs.3.gmail; Wed, 11 Oct 2017 08:48:35 -0700 (PDT) X-Received: by 10.99.121.71 with SMTP id u68mr348975pgc.93.1507736915586; Wed, 11 Oct 2017 08:48:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1507736915; cv=none; d=google.com; s=arc-20160816; b=pBx8qEzK1Yj29y1UCqOzH3jn588ERpsVQrSyXEYmC/OntQgjPV5/KKCluTcfITNYN+ tySyS557nMHV7zBW3tOdE9JZkWU/2vZTgqnzddCwZBOwslfK7mvFp5g6if5JOuSXjDz/ RqT62uGzrxReEbPsXbYTwC19/Fmr58/rpEHkjDHXk+iJZzLe2Z71Rp61Y+4w71kErzed tgcZfdWiWa7nXAKv7L0JDqy89b8Fr+LUYQbsmMsLsyOqT+GBbREd8pCwvQb8kMa8Y7W2 NMqnnMfS6lx8O5AarqnpTXsJNrMvPnzgBnLW4lanXVrcI7DYTOioftTB4zaeqW8yuaBQ c0Yg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=user-agent:in-reply-to:content-disposition:mime-version:references :message-id:subject:to:date:from:dkim-signature :arc-authentication-results; bh=w9+EuLBMJm/h1Z6HNTIMQx0+lyYJjssYHaj2O2b15Sw=; b=M1RCuXBUS5qFFb+iPOYRRVzbN15DGnq0eQr09bTsH4NQQBRubrZvYO4ZZyxu753Rk0 1pOKoAoYe/bmwo/I6euwVsFh6DfjOFaa+2Q5wuHfgBoWMOUkH5t7hmUSJ51MY+d7263d H8FNs8oYsnzbibn8e8I0fsJn2mdTDAfeti/vK/8/jr4q+No1HCmyhNGSVASQd/Spds2K tfTw31NPYyG9hKBuoAQCXH5jAE+efoG+3sHNmwjc7EH2M86rfwxKSos19DsaHCF/9Ubn 26Rcp1htwFDJEBNLtZNx3JWAUpyRkSSWPvjgpNKUX3N0rue1i3SsoZkUwNFbhiQBa4VT E2UA== ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@berkeley-edu.20150623.gappssmtp.com header.s=20150623 header.b=y4zzGhpU; spf=pass (google.com: domain of jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org designates 2607:f8b0:400e:c00::22f as permitted sender) smtp.mailfrom=jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org Original-Received: from mail-pf0-x22f.google.com (mail-pf0-x22f.google.com. [2607:f8b0:400e:c00::22f]) by gmr-mx.google.com with ESMTPS id l80si1605151pfg.25.2017.10.11.08.48.35 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 11 Oct 2017 08:48:35 -0700 (PDT) Received-SPF: pass (google.com: domain of jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org designates 2607:f8b0:400e:c00::22f as permitted sender) client-ip=2607:f8b0:400e:c00::22f; Original-Received: by mail-pf0-x22f.google.com with SMTP id p87so1310150pfj.3 for ; Wed, 11 Oct 2017 08:48:35 -0700 (PDT) X-Received: by 10.84.236.5 with SMTP id q5mr10347plk.265.1507736914778; Wed, 11 Oct 2017 08:48:34 -0700 (PDT) Original-Received: from johnmacfarlane.net (li55-134.members.linode.com. [74.82.3.134]) by smtp.gmail.com with ESMTPSA id z65sm19844793pgb.50.2017.10.11.08.48.32 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 11 Oct 2017 08:48:32 -0700 (PDT) Original-Received: by johnmacfarlane.net (Postfix, from userid 1000) id 5A399A1ED; Wed, 11 Oct 2017 11:48:21 -0400 (EDT) Content-Disposition: inline In-Reply-To: X-PGP-Key: http://johnmacfarlane.net/jgm.asc X-Original-Sender: jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org X-Original-Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@berkeley-edu.20150623.gappssmtp.com header.s=20150623 header.b=y4zzGhpU; spf=pass (google.com: domain of jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org designates 2607:f8b0:400e:c00::22f as permitted sender) smtp.mailfrom=jgm-TVLZxgkOlNX2fBVCVOL8/A@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:18287 Archived-At: No, there's no way to have citations in the abstract resolved by pandoc-citeproc. Pandoc-citeproc reads the references from the metadata before modifying the AST. Backslash-escaping these should just give you literal strings -- what do you get instead? +++ Joseph Reagle [Oct 11 17 11:36 ]: >I have a bibliographic entry as follows > >``` >- id: Groth2015edh > type: post-weblog > genre: Web log message > abstract: "Argument for risk and privilege by way of @LevineRubinstein2013siw; @BlackEtal2015ort" > author: > - family: "Groth" > given: "Aimee" > container-title: "Quartz" > custom2: "field-notes-2016-cat.mm" > issued: > year: 2015 > month: 07 > day: 17 > keyword: "privilege" > title: "Entrepreneurs don't have a special gene for risk---they come from families with money" > URL: "http://qz.com/455109/entrepreneurs-dont-have-a-special-gene-for-risk-they-come-from-families-with-money/" > accessed: > year: 2016 > month: 04 > day: 23 >``` > >The @Cites cause all sort of weirdness including references for non-existent citations in the prose. >If I escape them with a backslash (\@BlackEtal2015ort), that causes other brokenness. >If I remove `@` I am good, but is there a way to keep them and have it work? > >-- >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 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/c8ad42a2-8e0f-cdb0-47b5-e61be52e4059%40reagle.org. >For more options, visit https://groups.google.com/d/optout.