From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/17807 Path: news.gmane.org!.POSTED!not-for-mail From: Lyndon Drake Newsgroups: gmane.text.pandoc Subject: LaTeX and citation inside a footnote Date: Sat, 10 Jun 2017 01:03:25 -0700 (PDT) Message-ID: <9bbfc142-2a0a-4f4d-b79f-0a6a103e654e@googlegroups.com> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_1817_1500793619.1497081805377" X-Trace: blaine.gmane.org 1497081806 28101 195.159.176.226 (10 Jun 2017 08:03:26 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 10 Jun 2017 08:03:26 +0000 (UTC) To: pandoc-discuss Original-X-From: pandoc-discuss+bncBCJKJO4E2ICRBTWP53EQKGQECHATECI-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Sat Jun 10 10:03:22 2017 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane.org Original-Received: from mail-qt0-f185.google.com ([209.85.216.185]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dJbMf-00075K-Jq for gtp-pandoc-discuss@m.gmane.org; Sat, 10 Jun 2017 10:03:21 +0200 Original-Received: by mail-qt0-f185.google.com with SMTP id s33sf5371788qtg.1 for ; Sat, 10 Jun 2017 01:03:27 -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 :x-spam-checked-in-group:list-post:list-help:list-archive :list-subscribe:list-unsubscribe; bh=SDOWlIMG2nK5B55jLpzKb0JNThFT6ncF0AZX5Qjz+F8=; b=RNwbGkxQa1r7zwM2QN4VY+5hZuPaekvwED9fDccGrm73GpJhoAoBwiuMYuEpMySspy A9h7tCiyjIlf9xbykdHPVID4fc2saNI43mqrFHSvQRo1OPPvAGKxaWsH4o4MG6iV+W98 yM5Qe2aGZvZb6REiv90ltJShyNIVNAl2O9IT3KpshyXegkNbFrm+yl1Yys437S74ueJ+ 21RN+aVLyczP9/lop+ydJPZGVcUdfTcdUYff5WALfgQ1848/g1Jde/9MpMfoRr9WRMZr N1q1FtrbmP33g+MvbEwN1PgaJDGfpbZ8k5MCi8t3PWzjfVgruKCbqFuJ3oNJ2fTEpBaP FUJw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=arotau-com.20150623.gappssmtp.com; s=20150623; h=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=SDOWlIMG2nK5B55jLpzKb0JNThFT6ncF0AZX5Qjz+F8=; b=NDXPg3LHKmDWTsFVqv+4mspAJdzDxDsH9zLGKfcg39H38YCACIryo365YR39vXsSOE 11lX53aqBlS20HFkK+wuqaKpuF8gc/Nhxq6d4Y7xD+B5aOsaYVXXVOFBwbrf0rlgm3S6 OKAqCtB2EJPFui+yjKIVclGbHRbsIQEQ+7fFeELI3SFTS4mS7eo7SIbg2YODiLyFck1n fxny1RpBThacedtBQGKhDSQKivViUFJnHuY3Xoww7AFOAJ6GS3BaUc0HdGAX/52ECHHL y9BTaOOO239iYOru4/yHXu64AOV4nbED4O5vz7e0OD73TarM0WfHlg88DVRjkJyOvzn4 7AXg== 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=SDOWlIMG2nK5B55jLpzKb0JNThFT6ncF0AZX5Qjz+F8=; b=IGH98NBsP+gBXsK9De6ORFKyARtN3RTELsq3SCIZ9reqOiOgJYx/T8HXcsu2nJEoAL WBXnFIjDU/+xiXlaURSrOttICnyL9xc/9qFO/SfXbeowRLIIIpcV8mDHIsQJGQtZ1fTK 2Ur6ez1ATBILR2kc35d0YCFr2Y/H3bZbvLutI5irnD/wUc+32wivWHWnd2HmYDp8I8sZ k39NgcvxlId6wd/n/Pt0BfgUTQ3z8FIyodE0YQxxsEKaABfKs/uBdS6PUqbd13sGAoyn OJjEQJaEJGUH9DDoN3XveM5AugiRMK4TyUebI03RlXwm43ImqqOFFODim1hIdGZrFFI2 pKQA== Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AODbwcAYmowO5OYjrPVbcumcvCyzyBaxiDZjmv08XM5WwVob7N/4QNQg +ClraWPUIffjxA== X-Received: by 10.157.43.142 with SMTP id u14mr1073646ota.3.1497081806726; Sat, 10 Jun 2017 01:03:26 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 10.157.68.232 with SMTP id p40ls11003432otg.25.gmail; Sat, 10 Jun 2017 01:03:25 -0700 (PDT) X-Received: by 10.157.24.54 with SMTP id b51mr973051ote.14.1497081805895; Sat, 10 Jun 2017 01:03:25 -0700 (PDT) X-Original-Sender: lyndon-S8RYeTzMgQ3QT0dZR+AlfA@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:17807 Archived-At: ------=_Part_1817_1500793619.1497081805377 Content-Type: multipart/alternative; boundary="----=_Part_1818_568575944.1497081805377" ------=_Part_1818_568575944.1497081805377 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi, I realised that the question of \cite has come up before, but I have a case= =20 that's quite common in my field and wondered what the best solution is.=20 When writing with the SBL style guide, it's not uncommon to want to=20 generate a footnote like this one: 5. Carl D. Gross, =E2=80=9CIs There Any Interest in Nehemiah 5,=E2=80=9D Sc= and.=20 J.OldTestam. 11 (1997): 270=E2=80=9378, doi:10.1080/ 09018329708585120. Fen= sham=20 translates as =E2=80=9CEveryone of you imposes a burden (loan) on his broth= er,=E2=80=9D but=20 gives no philological commentary on this, perhaps because he reads the=20 whole episode as being primarily about slavery rather than debt (Fensham,= =20 The Books of Ezra and Nehemiah, 192). Because footnotes are so common, this approach to summarising a=20 parenthetical issue is also very common. In author-date citation styles=20 (which I used to use for other work) you'd get the citation in the main=20 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=20 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=20 (Gross, "Is there=E2=80=A6" =E2=80=A6), which also seems the best option = =E2=80=94 it parallels=20 what one wants with \autocite in a non-footnote paragraph. Is there any chance of altering the syntax slightly to allow other options= =20 in the conversion to LaTeX? What I'd really like is the ability to generate= =20 \cite{}, which would also be useful in other cases (e.g. one is writing a= =20 sentence in footnote text such as "For a bibliography, see Fensham, blah=20 bah, 1982." where one does not want \parencite{}). Or if anyone can suggest a workaround I'm open to ideas. Best, Lyndon --=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/9bbfc142-2a0a-4f4d-b79f-0a6a103e654e%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. ------=_Part_1818_568575944.1497081805377 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi,

I realised that the question of \ci= te has come up before, but I have a case that's quite common in my fiel= d and wondered what the best solution is. When writing with the SBL style g= uide, 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/ 09018329708585120. Fensham translates as =E2=80=9CEveryone of you im= poses a burden (loan) on his brother,=E2=80=9D but gives no philological co= mmentary on this, perhaps because he reads the whole episode as being prima= rily about slavery rather than debt (Fensham, The Books of Ezra and Nehemia= h, 192).

Because footnotes are so common, this= approach to summarising a parenthetical issue is also very common. In auth= or-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 ca= n 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 SB= L style is set as:

Gross ("Is there=E2=80=A6&= quot; =E2=80=A6)

Which is what \textcite is suppos= ed 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.

<= div>Is there any chance of altering the syntax slightly to allow other opti= ons 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 wr= iting a sentence in footnote text such as "For a bibliography, see Fen= sham, blah bah, 1982." where one does not want \parencite{}).

Or if anyone can suggest a workaround I'm open to idea= s.

Best,
Lyndon

--
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 post to this group, send email to pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To view this discussion on the web visit https://groups.google.com/d/= msgid/pandoc-discuss/9bbfc142-2a0a-4f4d-b79f-0a6a103e654e%40googlegroups.co= m.
For more options, visit http= s://groups.google.com/d/optout.
------=_Part_1818_568575944.1497081805377-- ------=_Part_1817_1500793619.1497081805377--