From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/17819 Path: news.gmane.org!.POSTED!not-for-mail From: John MacFarlane Newsgroups: gmane.text.pandoc Subject: Re: LaTeX and citation inside a footnote Date: Sun, 11 Jun 2017 21:41:22 +0200 Message-ID: <20170611194122.GB14604@Johns-MBP.home> References: <9bbfc142-2a0a-4f4d-b79f-0a6a103e654e@googlegroups.com> <20170611082654.GA95963@Johns-MBP.home> <977df2ef-6b75-41e9-9511-48a746184a45@googlegroups.com> 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 Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1497210096 26028 195.159.176.226 (11 Jun 2017 19:41:36 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 11 Jun 2017 19:41:36 +0000 (UTC) User-Agent: Mutt/1.6.2 (2016-07-01) To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-X-From: pandoc-discuss+bncBCJZJHG45QDBB4FZ63EQKGQEDRTQF5A-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Sun Jun 11 21:41:32 2017 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane.org Original-Received: from mail-pg0-f62.google.com ([74.125.83.62]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dK8jr-0006R0-KN for gtp-pandoc-discuss@m.gmane.org; Sun, 11 Jun 2017 21:41:31 +0200 Original-Received: by mail-pg0-f62.google.com with SMTP id f185sf8036176pgc.0 for ; Sun, 11 Jun 2017 12:41:37 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1497210096; cv=pass; d=google.com; s=arc-20160816; b=KxUlt7T4mA3whVUKNrBMKymhlX3WJ9M7iJwp6t1U3wZTALEG7iIMXEzcRwkjIO9FI1 KAMwdzi5WHihsMba7M2mKD+xEaUD7uRtq7lGcX+JNLJD5uTBYrWOakO8IN+aZo+9KEC4 73PD3GLEdjpx9zJWjzZRG7AWZTjaq9bfCxfaEmYsk8Bavo4IYbiCRQNiXIIbFzRHJGc7 7ymmAR/n9sy92sJRQWJpKW0WwInpijzT/YP0dGdbNjZ+vGfH4WGii3s/XheI0vudr+/U 7kpD5lGWhj0YMFm2OSchs4P6ZjjNygV0QxOfbO0fdXzPOZi86ssmPKivrzKDFPZ4Pwsx nkGA== 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-transfer-encoding:content-disposition:mime-version :references:message-id:subject:to:date:from :arc-authentication-results:arc-message-signature:sender :dkim-signature:arc-authentication-results; bh=dXGyeK3Gwtk1tDQhVUJXUugstr8UWLyYvuFHa64P/dQ=; b=NlLWyEMaM3rgzFuLivB88QIwCja5CvtBPeypTH+AxVOxWnF66nyyv5/EW6N29TYQ9q FbiiJT7iu8Xud8wva+348gNBukwn+wCLwAIFpiHqppcmEx3lne+o1BsqunZZl8YbpPRF LCafhzzR7/9VG3fPp20xWed6sa+KSTwoqQV2StwOr3JXL8XeH3FqSz0/MbCRxl+ulgDV Hdbu4nx3yrRhsGN1uch0hIan/FmjuF7lPZYTqd2wyk4C3o1HXgi3peEcEwRNjA09piS4 FP+/K64TZsHfNajYLjJOxAK38LskOl1iHo9izeGFmq ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@berkeley-edu.20150623.gappssmtp.com; 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:content-transfer-encoding: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=dXGyeK3Gwtk1tDQhVUJXUugstr8UWLyYvuFHa64P/dQ=; b=h1v26BsnqCwyTX6nVN1wj0MDLjXsfwS4+woL/Eww5JRn9NfLEziV0iKXIN6LF0sXnI dYQyLJM8M6xYTuwiYNpM6NYcBQZuwwL8vGMIU0Xl8FQUCcpez8XrVo+vOQX+/JIRoqPX ZXrie/U1lOcqOeczaxM5PPT056JWlJu4IhV279/THDdFyFVHFWyK52WKcj/AF48BYLT4 nrUVq/4ESc9FO6pZwXea91wRT8Ju8qN3mL0a0Ien0SMOs53RQgK3SmkB1XU4mZcXHzV8 RHuZQq7rjg45+CXdUAuEfCKY0oyKKl4mCovjX+heX2C8t+AsksvsF+vyQJzVBweZ 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 :content-transfer-encoding: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=dXGyeK3Gwtk1tDQhVUJXUugstr8UWLyYvuFHa64P/dQ=; b=hF6b3Wvy22mycjM4+LrhLIbR2hUUwGoQxu7Q2kwxvRqmIZmkh/mXlpKg9MuxOFnR5g VjNXFlfkhdQVeLP488aXSycgM2JisFyeJtYKJ8B3f2NHycT66mNGvH7lGMjoisSfuBV9 +LAPle1l7rK/TW6B6pYO721Q/AS9KXwve/1nDGcfOXQ41HPJR8yNBGmI4B2NCnymXtVN YqkfPUapwo9inCis9cJmYYvOsLWP1lYxRaISgsrlbL/JY5EfLsMWF9yYEK1WHkQefra7 NbY5jJFAPboozYbBTC+eVuzu9erL77cI0 Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AODbwcCy1szpexzeWQCRA6r9lryqe+nB3l9e0/G0BPcyJmnuTzykZ9WZ M3b72U3zhP/zKQ== X-Received: by 10.157.15.157 with SMTP id d29mr1222959otd.11.1497210096739; Sun, 11 Jun 2017 12:41:36 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 10.157.54.68 with SMTP id w62ls13786282otb.36.gmail; Sun, 11 Jun 2017 12:41:36 -0700 (PDT) X-Received: by 10.159.60.133 with SMTP id s5mr13423958uai.11.1497210096229; Sun, 11 Jun 2017 12:41:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1497210096; cv=none; d=google.com; s=arc-20160816; b=ES39lkqI36clMFEakolPTbGw+BTA+AYsOwDMUSJjJ5OK70+UwCVhj+H/HM1aTVZWS+ acPGVx6BQYkStj5RPUFz15Ofq3P46CI9kSik3zFW8l9nkhTnQu4hL+NzYGb909uOmT9f kfKWrLOsZLYdInRTO3ubgNY4KLB1RKH+C6Muwg+Uau5Dr98PjyK10BBReLg/CwIrB6AE UwCTzs4Gd8KnLMx/R+FeNrQsAjLR871ThmBmrp8Bd+AF5IlzAoGjGpbHk6NonNnnqvh6 cUfuy6+NvkWrnHuug3wuB5O8KcCw8f8RteYrXUxOndvDHCwhvPc18so2p0jfk/Zwt874 ammA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=user-agent:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:to :date:from:dkim-signature:arc-authentication-results; bh=w6refhWrrJi+aEk6OQOh63PEFO2BKAq3OguZcOiV1fM=; b=M4RG7w7iDcb712yj07/j//FafHp0nXSODYcV+jr9zNB9XxFahOyCnS1y/1K4xONjPp XEgLfRRkpGXjhyaMS7yU9lR8XqFlXSjQJxgc+5eVZUMacLw1PI+JDMPc2Wc/yjqfWQlB KoJYc3RUULFQYrb1tZcoECS5MryDh+u2cLFIbYtCj6hflQgQd/XH4M015YVBqUfnh6ay BoAroRur4w3ANelWbpR6zm8L8LcijjW0Vin6BWInYY/T2Ts3EqlPMDrlISrf0kVVraut 5O4nFfdfjs2+AmdI1pmtv0QnOTlChl29U9YAclhCI/xqiu4GHjuhPm0w55kLNxY4r8Tn MbxQ== ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@berkeley-edu.20150623.gappssmtp.com; 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 w25si1644255pfj.5.2017.06.11.12.41.36 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 11 Jun 2017 12:41:36 -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 15so16732254pfc.1 for ; Sun, 11 Jun 2017 12:41:36 -0700 (PDT) X-Received: by 10.98.12.19 with SMTP id u19mr45503804pfi.47.1497210095736; Sun, 11 Jun 2017 12:41:35 -0700 (PDT) Original-Received: from johnmacfarlane.net (li55-134.members.linode.com. [74.82.3.134]) by smtp.gmail.com with ESMTPSA id c14sm13963393pfk.42.2017.06.11.12.41.34 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 11 Jun 2017 12:41:35 -0700 (PDT) Original-Received: by johnmacfarlane.net (Postfix, from userid 1000) id 639CDA2A1; Sun, 11 Jun 2017 15:41:24 -0400 (EDT) Content-Disposition: inline In-Reply-To: <977df2ef-6b75-41e9-9511-48a746184a45-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> 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; 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:17819 Archived-At: It sounds too special-purpose to think about modifying pandoc. Remember, the primary purpose of the citation syntax is to support pandoc-citeproc, not to generate LaTeX/bibtex citations. BibLaTeX is very expressive, and there's no way we'll ever match that. But maybe you could explain better the difference between \cite and \autocite in this context? +++ Lyndon Drake [Jun 11 17 06:26 ]: > Yes, that would work, but what I need is \cite{} as the first one, > followed by \autocite{}. What Pandoc gives is \textcite{}=E2=80=A6 \aut= ocite{}. > That produces a different result in SBL (or any Chicago-based footnote) > BibLaTeX style. At the moment, as far as I can tell, there's no way to > get Pandoc to generate a \cite{} command, which is what I need. > For some BibLaTeX the choice between \textcite{} and \autocite{} is > sufficient to cover most use cases. But for the SBL style, it's very > difficult to write without access to at least \cite{} as well, and I'm > wondering whether you'd consider adding some syntax to allow \cite{} to > be called. > Does that make more sense? > On Sunday, June 11, 2017 at 9:27:11 AM UTC+1, John MacFarlane wrote: > > I'm not sure I follow exactly. But if you want two > \autocites, rather than a \textcite and an \autocite, > can't you just do this? > ^[[@Gross:1997]. Fensham blah blah [@Fensham:1982]] > +++ Lyndon Drake [Jun 10 17 01:03 ]: > > Hi, > > I realised that the question of \cite has come up before, but I > have a > > case that's quite common in my field and wondered what the best > > solution is. When writing with the SBL style guide, it's not > uncommon > > to want to generate a footnote like this one: > > 5. Carl D. Gross, =E2=80=9CIs There Any Interest in Nehemiah 5,= =E2=80=9D Scand. > > J.OldTestam. 11 (1997): 270=E2=80=9378, doi:10.1080/ 090183297085= 85120. > Fensham > > translates as =E2=80=9CEveryone of you imposes a burden (loan) on= his > brother,=E2=80=9D > > but gives no philological commentary on this, perhaps because he > reads > > the whole episode as being primarily about slavery rather than > debt > > (Fensham, The Books of Ezra and Nehemiah, 192). > > Because footnotes are so common, this approach to summarising a > > parenthetical issue is also very common. In author-date citation > styles > > (which I used to use for other work) you'd get the citation in > the main > > paragraph body, and then a separate footnote, and hence no > problems. > > In LaTeX, the desired result can be generated by > > \cite{Gross:1997}. Fensham blah blah > \autocite[192]{Fensham1982}. > > I don't know how to get the same effect from Pandoc. The problem > is > > that the following: > > ^[@Gross:1997. Fensham blah blah [@Fensham:1982]] > > turns the first into \textcite{}, which in the SBL style is set > as: > > Gross ("Is there=E2=80=A6" =E2=80=A6) > > Which is what \textcite is supposed to do. \autocite{} produces > instead > > (Gross, "Is there=E2=80=A6" =E2=80=A6), which also seems the best= option =E2=80=94 it > parallels > > what one wants with \autocite in a non-footnote paragraph. > > Is there any chance of altering the syntax slightly to allow > other > > options in the conversion to LaTeX? What I'd really like is the > ability > > to generate \cite{}, which would also be useful in other cases > (e.g. > > one is writing a sentence in footnote text such as "For a > bibliography, > > see Fensham, blah bah, 1982." where one does not want > \parencite{}). > > Or if anyone can suggest a workaround I'm open to ideas. > > Best, > > Lyndon > > > > -- > > 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 [1][1]pandoc-discus...-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > > To post to this group, send email to > > [2][2]pandoc-...-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > > To view this discussion on the web visit > > [3][3]https://groups.google.com/d/msgid/pandoc-discuss/ > 9bbfc142-2a0a-4f4d- > > b79f-0a6a103e654e%[4]40googlegroups.com. > > For more options, visit [4][5]https://groups.google.com/ > d/optout. > > > >References > > > > 1. mailto:[6]pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org > > 2. mailto:[7]pandoc-...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org > > 3. [8]https://groups.google.com/d/msgid/pandoc-discuss/9bbfc142- > 2a0a-4f4d-b79f-0a6a103e654e-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org?utm_medium=3D > email&utm_source=3Dfooter > > 4. [9]https://groups.google.com/d/optout > > -- > 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 [10]pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To post to this group, send email to > [11]pandoc-discuss-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To view this discussion on the web visit > [12]https://groups.google.com/d/msgid/pandoc-discuss/977df2ef-6b75-41e9 > -9511-48a746184a45%40googlegroups.com. > For more options, visit [13]https://groups.google.com/d/optout. > >References > > 1. javascript:/ > 2. javascript:/ > 3. https://groups.google.com/d/msgid/pandoc-discuss/9bbfc142-2a0a-4f4d- > 4. http://40googlegroups.com/ > 5. https://groups.google.com/d/optout > 6. javascript:/ > 7. javascript:/ > 8. https://groups.google.com/d/msgid/pandoc-discuss/9bbfc142-2a0a-4f4d-= b79f-0a6a103e654e-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org?utm_medium=3Demail&utm_source=3Dfooter > 9. https://groups.google.com/d/optout > 10. mailto:pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org > 11. mailto:pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org > 12. https://groups.google.com/d/msgid/pandoc-discuss/977df2ef-6b75-41e9-= 9511-48a746184a45-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org?utm_medium=3Demail&utm_source=3Dfooter > 13. https://groups.google.com/d/optout --=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/20170611194122.GB14604%40Johns-MBP.home. For more options, visit https://groups.google.com/d/optout.