From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/28863 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Jeffrey T Newsgroups: gmane.text.pandoc Subject: Re: LaTeX footnote citations parentheses Date: Tue, 20 Jul 2021 10:44:14 -0700 (PDT) Message-ID: References: <26bec817-c8b4-4d63-ad5d-436aa281c0d7n@googlegroups.com> <7c5a2709-9b84-40b4-a77e-bd3dc5acb50cn@googlegroups.com> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_948_433687299.1626803054982" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="19905"; mail-complaints-to="usenet@ciao.gmane.io" To: pandoc-discuss Original-X-From: pandoc-discuss+bncBCTKDNPE2AFBB4EW3SDQMGQEQQGYL6A-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Tue Jul 20 19:44:19 2021 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-ot1-f56.google.com ([209.85.210.56]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1m5tn0-0004xP-W1 for gtp-pandoc-discuss@m.gmane-mx.org; Tue, 20 Jul 2021 19:44:19 +0200 Original-Received: by mail-ot1-f56.google.com with SMTP id f15-20020a056830204fb02904d2c9963aa2sf328218otp.19 for ; Tue, 20 Jul 2021 10:44:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20161025; h=sender:date:from:to:message-id:in-reply-to:references:subject :mime-version:x-original-sender:reply-to:precedence:mailing-list :list-id:list-post:list-help:list-archive:list-subscribe :list-unsubscribe; bh=Cl5A9RGArpk0XFFpg/fvuJqp6b+1caa4IQ3RoG+w+8k=; b=ZGUmP66nYabJhNJw+CyMlFHT3NNY3uPo6m1savfXn/F7dDfqsi7xkf+7WR/8/dkioL en1rqS0QCfjm2PtSuHkt1VISANWjeFa3/YpBnt7dqkRpRElztgKbxIa0RgWp7nTSPKWO HgdL7wJiZKxgYqoetzVNyZebemNEWCcm2JwYN1L4YpZIIVOdwFE9vJTycMzz7df2ahQe TGJvaVRHxnuJ1ICb3aumTBDu/sPy85mYtffBBbUg+fiuLu9s+xsKyLsz3CUCHl/+zRgt y+VbVl6Zf6nimtx3tbVcISLtoy7dVXRSa1dYlDxg2dzWwkZ7A5l5j3mdwakFeEsSYwwz EIXQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:message-id:in-reply-to:references:subject:mime-version :x-original-sender:reply-to:precedence:mailing-list:list-id :list-post:list-help:list-archive:list-subscribe:list-unsubscribe; bh=Cl5A9RGArpk0XFFpg/fvuJqp6b+1caa4IQ3RoG+w+8k=; b=Np5WvyTbW4okf66u7u7yCYKJhDpeAiYmOu68mK77Wnlfmk8EJEG0VU1pUBMgjlR/YE /wsr7hwthavhrOtY2T9dplOO0zy1idTFicgytadFbtLENTQpkzTL/03vV4nXmGVRWoqu s4+dgUx7nz1XE3DKfzNL6lA/9ZupC9oGmtaCpfotmGVkyrKDhLpOuw9hPIILmKo3ETWY 6uiQDW+IFhFH8HBhSbajryzLIKCOjg/SljmdDteaImM+gyAaDPIBCDETkiD3D4yMr8q8 jKjMOSKAZO1TYSgEk25z4Nj40p866gl6A+b4Cl5xmMEbRwfQ6FuSBo0LAolsrAv3zjj3 VK+Q== 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:in-reply-to :references: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=Cl5A9RGArpk0XFFpg/fvuJqp6b+1caa4IQ3RoG+w+8k=; b=Jc23g9ab4vRcKY+a4zzd+eiF8x764qfKY0XRR3o6J1bn302HXVOD7VAZ5xcK+AkYFp Njuzg6Qo2PzYuCHnLoLFLG0crmZgWusrHl6lS6XUmyWb+0qQRo8YAuuSjOfl0zdv8kGU N0sRH4P9m8aEKuepuPz0E4kq8aJcKb4CU7rh48j4iPpkBi2Jr+bSPmPXpjHzppGShxKq etVXUlBTyEtx8MWV09GuJr8LJjI+B18FKWxT4E6FzwomwJk1kSqD98dzVXJGBfcsavqP DtTRzcaxLX/wqEQ4xG9O+vJpzYnnK908R2gIkhFxCyaNJslwFJkfgb97w3Q+PIv+Q8++ VkCw== Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AOAM530PqEu9xpvqq7mm1YSH2TwF9IfVGcCxH48s3MeyNHz/qAf5ADK0 CTO+ycfk+K8s+ywtp18FG9g= X-Google-Smtp-Source: ABdhPJxU+oU2awcsZM+3rmj7fg+BNMl3plQtpjjSH5MyFyDdHL0c6J/nXvKBj+9aytIESShoo/eplQ== X-Received: by 2002:a05:6808:1312:: with SMTP id y18mr21785221oiv.82.1626803057414; Tue, 20 Jul 2021 10:44:17 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a05:6808:bd6:: with SMTP id o22ls10485234oik.1.gmail; Tue, 20 Jul 2021 10:44:16 -0700 (PDT) X-Received: by 2002:a05:6808:13c5:: with SMTP id d5mr22051964oiw.164.1626803055804; Tue, 20 Jul 2021 10:44:15 -0700 (PDT) In-Reply-To: X-Original-Sender: JeffTreistman-Re5JQEeQqe8AvxtiuMwx3w@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.io gmane.text.pandoc:28863 Archived-At: ------=_Part_948_433687299.1626803054982 Content-Type: multipart/alternative; boundary="----=_Part_949_1200110923.1626803054982" ------=_Part_949_1200110923.1626803054982 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi John,=20 Thank you for the reply!=20 I've been trying to get Bastien's Lua filter to work again and think I may= =20 have discovered the issue... Since the filter had always worked until=20 recently, I suspected the problem may have something to do with a Pandoc=20 update. So I uninstalled the most recent version of Pandoc and re-installed= =20 version 2.13. This appears to have fixed the issue and everything is=20 working as intended! Not sure why the newer releases are incompatible or=20 causing issues? Regardless, I saved the installation package for 2.13 for= =20 future use! That said, it sounds like the best method of using Pandoc is with markdown? On Tuesday, July 20, 2021 at 12:19:43 PM UTC-4 John MacFarlane wrote: > > I guess what you want is for an autocite in a footnote not to > include the surrounding parentheses. > > There's actually no CSL setting that says "omit parentheses." > We can have a normal citation (which may have parentheses if > that's what the style dictates) or an author-in-text citation > (which will typically have parentheses around everything but > the author name). > > So we may not be able to do better here, given the impedance > mismatch between biblatex and CSL... > > Jeffrey T writes: > > > Hi Bastien, > > > > I'm working on converting a manuscript for a revise and submit.=20 > > Unfortunately I've suddenly encountered a new error with the Pandoc=20 > script=20 > > / filter which appears to be isolated to citations that appear in a=20 > > footnote but *without* any preceding text. I've attached a minimal=20 > working=20 > > example. Note the third citation in the example appears to be the=20 > culprit.=20 > > Indeed, by adding any arbitrary character in front of \autocite command= =20 > > contained within a footnote the conversion seems to work as intended.= =20 > > > > Any suggestions? Is this new error perhaps related to a newer release o= f=20 > > Pandoc? As always, your expertise and help is greatly appreciated! > > > > On Wednesday, May 19, 2021 at 3:55:21 AM UTC-4 Bastien Dumont wrote: > > > >> Unless you modify it in order to produce nuclear bombs, do as you wish= ! > >> However, I must warn you that I adapted it to work with the use case > >> that you provided only: there are no checks that would prevent it to r= un > >> into errors if other conditions are met. Ensure that you stick to \cit= e > >> in footnotes and \autocite in the body text, or modify the script > >> accordingly. > >> > >> Le Tuesday 18 May 2021 =C3=A0 07:21:54PM, Jeffrey T a =C3=A9crit : > >> >=20 > >> > Hi Bastien, > >> >=20 > >> > Thank you very much! This script with Pandoc is an absolute game=20 > changer=20 > >> in > >> > terms of my workflow! Do you mind if I share your script with others= ? > >> >=20 > >> > Again, thank you! > >> > On Sunday, May 16, 2021 at 12:54:24 PM UTC-4 Bastien Dumont wrote: > >> >=20 > >> > You're welcome, I already had done much of the work for myself, so I= =20 > am > >> > happy if > >> > it could be useful for others as well. > >> >=20 > >> > I had'nt anticipat=C4=95d that you would also use \autocite in the b= ody. I > >> > restricted > >> > the scope of the filter to the footnotes, so you should not have=20 > errors > >> > anymore > >> > provided that all your use cases are documented in the text file. I > >> > supposed that > >> > you don't want the output of \autocite to be changed. Please try the= =20 > file > >> > attached. > >> >=20 > >> > Le Saturday 15 May 2021 =C3=A0 08:34:22PM, Jeffrey T a =C3=A9crit : > >> > > Hi Bastien, > >> > > > >> > > Oh my, thank you very much for taking the time to assist! I=20 > downloaded > >> > your Lua > >> > > filter (I didn't realize that filters were possible with Pandoc!)= =20 > and > >> > included > >> > > it in my Pandoc command: > >> > > > >> > > pandoc --citeproc --lua-filter=3Dremove-parentheses-from-cite.lua= =20 > >> Test.tex > >> > > --bibliography=3Dtestref.bib --csl=3D > >> > > chicago-fullnote-bibliography-short-title-subsequent.csl -o=20 > test.docx > >> > > > >> > > It worked perfectly for the \cite commands contained within=20 > \footnote. > >> > > Unfortunately the remainder of my book manuscript uses \autocite f= or > >> > references > >> > > outside of footnotes. When \autocite is included, I received an=20 > error > >> > message: > >> > > "bad argument #1 to 'gsub' (string expected, got nil)" > >> > > > >> > > If helpful, I've attached the test .tex file I'm using? Your=20 > assistance > >> > is much > >> > > appreciated! > >> > > > >> > > > >> > > On Saturday, May 15, 2021 at 6:05:21 PM UTC-4 Bastien Dumont wrote= : > >> > > > >> > > I had a similar problem that I resolved with the attached Lua filt= er > >> > > (slightly > >> > > modified to adapt it to your needs). I hope that it will work for= =20 > you. > >> > > Simply > >> > > call it after --citeproc. > >> > > > >> > > Note that it will throw an error if you have \cite commands outsid= e > >> > > footnotes. > >> > > If that it the case, please let me know. > >> > > > >> > > Le Saturday 15 May 2021 =C3=A0 12:13:37PM, Jeffrey T a =C3=A9crit = : > >> > > > > >> > > > Hi all, > >> > > > I'm new to the group and Pandoc and would greatly appreciate you= r > >> > > assistance. > >> > > > I'm attempting to convert my LaTeX book manuscript into a Word= =20 > doc=20 > >> for > >> > my > >> > > > editor. Using a test .tex file, I have successfully converted th= e=20 > >> file > >> > > using > >> > > > the following command in Mac Terminal : > >> > > > pandoc --citeproc Test.tex --bibliography=3Dtestref.bib --csl=3D > >> > > > chicago-fullnote-bibliography-short-title-subsequent.csl -o=20 > test.docx > >> > > > It works wonderfully, however, the only issue concerns the \cite > >> > > contained > >> > > > within \footnote. In particular, the resulting citation is now= =20 > placed > >> > > within > >> > > > parentheses which my editor has asked me to remove. Is there som= e=20 > >> sort > >> > of > >> > > > solution to my dilemma? Given the length of the book I fear it= =20 > will=20 > >> be > >> > > quite > >> > > > tedious to find/remove the offending parentheses manually. > >> > > > Thank you in advance! > >> > > > > >> > > > -- > >> > > > You received this message because you are subscribed to the Goog= le > >> > Groups > >> > > > "pandoc-discuss" group. > >> > > > To unsubscribe from this group and stop receiving emails from it= ,=20 > >> send > >> > an > >> > > email > >> > > > to pandoc-discus...-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > >> > > > To view this discussion on the web visit=20 > >> https://groups.google.com/d/ > >> > > msgid/ > >> > > > pandoc-discuss/f4c18da4-6145-4f93-8779-fe2bd2816c38n% > >> 40googlegroups.com > >> > . > >> > > > >> > > > >> > > -- > >> > > You received this message because you are subscribed to the Google= =20 > >> Groups > >> > > "pandoc-discuss" group. > >> > > To unsubscribe from this group and stop receiving emails from it,= =20 > send=20 > >> an > >> > email > >> > > to pandoc-discus...-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > >> > > To view this discussion on the web visit=20 > https://groups.google.com/d/ > >> > msgid/ > >> > > pandoc-discuss/26bec817-c8b4-4d63-ad5d-436aa281c0d7n% > >> 40googlegroups.com. > >> >=20 > >> >=20 > >> >=20 > >> > -- > >> > You received this message because you are subscribed to the Google= =20 > Groups > >> > "pandoc-discuss" group. > >> > To unsubscribe from this group and stop receiving emails from it,=20 > send=20 > >> an email > >> > to pandoc-discus...-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > >> > To view this discussion on the web visit=20 > >> https://groups.google.com/d/msgid/ > >> > pandoc-discuss/f787dab5-f3ce-41cf-815c-21f24727b781n% > 40googlegroups.com. > >> > >> > > > > --=20 > > You received this message because you are subscribed to the Google=20 > Groups "pandoc-discuss" group. > > To unsubscribe from this group and stop receiving emails from it, send= =20 > an email to pandoc-discus...-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > > To view this discussion on the web visit=20 > https://groups.google.com/d/msgid/pandoc-discuss/7c5a2709-9b84-40b4-a77e-= bd3dc5acb50cn%40googlegroups.com > . > > \documentclass{article} > > > > \usepackage{markdown}=20 > > \usepackage{biblatex-chicago} > > > > \usepackage{filecontents}% to embed the file `myreferences.bib` in your= =20 > `.tex` file > > > > \begin{filecontents}{testref.bib} > > @article{Doe, > > author =3D {John Doe}, > > journal =3D {Sample Journal}, > > number =3D {1}, > > pages =3D {1-20}, > > title =3D {This is a sample title of the Pandoc reference}, > > volume =3D {14}, > > year =3D {2022}} > >=20 > > @article{Smith, > > author =3D {Sally Smith}, > > journal =3D {Journal of Something}, > > number =3D {4}, > > pages =3D {69-90}, > > title =3D {The title would normally goes here}, > > volume =3D {02}, > > year =3D {1992}} > > \end{filecontents} > > > > \addbibresource{testref.bib} > > > > \begin{document} > > > > Here is a standard citation using autocite.\autocite[1]{Doe} > > > > Here is a citation contained within a footnote.\footnote{See=20 > \autocite[6]{Smith}.} > > > > Here is a citation contained within a footnote but without any precedin= g=20 > text before the citation.\footnote{\autocite[10]{Doe}. See also=20 > \autocite{Smith}.} > > > > > > \end{document} > --=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 view this discussion on the web visit https://groups.google.com/d/msgid/= pandoc-discuss/daaa9fdd-787c-4a51-bde0-c307396fd835n%40googlegroups.com. ------=_Part_949_1200110923.1626803054982 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi John, 

Thank you for the reply! 
=
I've been trying to get Bastien's Lua filter to work again a= nd think I may have discovered the issue... Since the filter had always wor= ked until recently, I suspected the problem may have something to do with a= Pandoc update. So I uninstalled the most recent version of Pandoc and re-i= nstalled version 2.13. This appears to have fixed the issue and everything = is working as intended! Not sure why the newer releases are incompatible or= causing issues? Regardless, I saved the installation package for 2.13 for = future use!

That said, it sounds like the best met= hod of using Pandoc is with markdown?

On Tuesday, July 20, 2021 at 12:1= 9:43 PM UTC-4 John MacFarlane wrote:

I guess what you want is for an autocite in a footnote not to
include the surrounding parentheses.

There's actually no CSL setting that says "omit parentheses.&q= uot;
We can have a normal citation (which may have parentheses if
that's what the style dictates) or an author-in-text citation
(which will typically have parentheses around everything but
the author name).

So we may not be able to do better here, given the impedance
mismatch between biblatex and CSL...

Jeffrey T <jefftr...@gmai= l.com> writes:

> Hi Bastien,
>
> I'm working on converting a manuscript for a revise and submit= .=20
> Unfortunately I've suddenly encountered a new error with the P= andoc script=20
> / filter which appears to be isolated to citations that appear in = a=20
> footnote but *without* any preceding text. I've attached a min= imal working=20
> example. Note the third citation in the example appears to be the = culprit.=20
> Indeed, by adding any arbitrary character in front of \autocite co= mmand=20
> contained within a footnote the conversion seems to work as intend= ed.=20
>
> Any suggestions? Is this new error perhaps related to a newer rele= ase of=20
> Pandoc? As always, your expertise and help is greatly appreciated!
>
> On Wednesday, May 19, 2021 at 3:55:21 AM UTC-4 Bastien Dumont wrot= e:
>
>> Unless you modify it in order to produce nuclear bombs, do as = you wish!
>> However, I must warn you that I adapted it to work with the us= e case
>> that you provided only: there are no checks that would prevent= it to run
>> into errors if other conditions are met. Ensure that you stick= to \cite
>> in footnotes and \autocite in the body text, or modify the scr= ipt
>> accordingly.
>>
>> Le Tuesday 18 May 2021 =C3=A0 07:21:54PM, Jeffrey T a =C3=A9cr= it :
>> >=20
>> > Hi Bastien,
>> >=20
>> > Thank you very much! This script with Pandoc is an absolu= te game changer=20
>> in
>> > terms of my workflow! Do you mind if I share your script = with others?
>> >=20
>> > Again, thank you!
>> > On Sunday, May 16, 2021 at 12:54:24 PM UTC-4 Bastien Dumo= nt wrote:
>> >=20
>> > You're welcome, I already had done much of the work f= or myself, so I am
>> > happy if
>> > it could be useful for others as well.
>> >=20
>> > I had'nt anticipat=C4=95d that you would also use \au= tocite in the body. I
>> > restricted
>> > the scope of the filter to the footnotes, so you should n= ot have errors
>> > anymore
>> > provided that all your use cases are documented in the te= xt file. I
>> > supposed that
>> > you don't want the output of \autocite to be changed.= Please try the file
>> > attached.
>> >=20
>> > Le Saturday 15 May 2021 =C3=A0 08:34:22PM, Jeffrey T a = =C3=A9crit :
>> > > Hi Bastien,
>> > >
>> > > Oh my, thank you very much for taking the time to as= sist! I downloaded
>> > your Lua
>> > > filter (I didn't realize that filters were possi= ble with Pandoc!) and
>> > included
>> > > it in my Pandoc command:
>> > >
>> > > pandoc --citeproc --lua-filter=3Dremove-parentheses-= from-cite.lua=20
>> Test.tex
>> > > --bibliography=3Dtestref.bib --csl=3D
>> > > chicago-fullnote-bibliography-short-title-subsequent= .csl -o test.docx
>> > >
>> > > It worked perfectly for the \cite commands contained= within \footnote.
>> > > Unfortunately the remainder of my book manuscript us= es \autocite for
>> > references
>> > > outside of footnotes. When \autocite is included, I = received an error
>> > message:
>> > > "bad argument #1 to 'gsub' (string expe= cted, got nil)"
>> > >
>> > > If helpful, I've attached the test .tex file I&#= 39;m using? Your assistance
>> > is much
>> > > appreciated!
>> > >
>> > >
>> > > On Saturday, May 15, 2021 at 6:05:21 PM UTC-4 Bastie= n Dumont wrote:
>> > >
>> > > I had a similar problem that I resolved with the att= ached Lua filter
>> > > (slightly
>> > > modified to adapt it to your needs). I hope that it = will work for you.
>> > > Simply
>> > > call it after --citeproc.
>> > >
>> > > Note that it will throw an error if you have \cite c= ommands outside
>> > > footnotes.
>> > > If that it the case, please let me know.
>> > >
>> > > Le Saturday 15 May 2021 =C3=A0 12:13:37PM, Jeffrey T= a =C3=A9crit :
>> > > >
>> > > > Hi all,
>> > > > I'm new to the group and Pandoc and would g= reatly appreciate your
>> > > assistance.
>> > > > I'm attempting to convert my LaTeX book man= uscript into a Word doc=20
>> for
>> > my
>> > > > editor. Using a test .tex file, I have successf= ully converted the=20
>> file
>> > > using
>> > > > the following command in Mac Terminal :
>> > > > pandoc --citeproc Test.tex --bibliography=3Dtes= tref.bib --csl=3D
>> > > > chicago-fullnote-bibliography-short-title-subse= quent.csl -o test.docx
>> > > > It works wonderfully, however, the only issue c= oncerns the \cite
>> > > contained
>> > > > within \footnote. In particular, the resulting = citation is now placed
>> > > within
>> > > > parentheses which my editor has asked me to rem= ove. Is there some=20
>> sort
>> > of
>> > > > solution to my dilemma? Given the length of the= book I fear it will=20
>> be
>> > > quite
>> > > > tedious to find/remove the offending parenthese= s manually.
>> > > > Thank you in advance!
>> > > >
>> > > > --
>> > > > You received this message because you are subsc= ribed to the Google
>> > Groups
>> > > > "pandoc-discuss" group.
>> > > > To unsubscribe from this group and stop receivi= ng emails from it,=20
>> send
>> > an
>> > > email
>> > > > to p= andoc-discus...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
>> > > > To view this discussion on the web visit=20
>> https://groups.google.c= om/d/
>> > > msgid/
>> > > > pandoc-discuss/f4c18da4-6145-4f93-8779-fe2bd281= 6c38n%
>> 40googlegroups.com
>> > .
>> > >
>> > >
>> > > --
>> > > You received this message because you are subscribed= to the Google=20
>> Groups
>> > > "pandoc-discuss" group.
>> > > To unsubscribe from this group and stop receiving em= ails from it, send=20
>> an
>> > email
>> > > to pandoc= -discus...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
>> > > To view this discussion on the web visit https://groups.google.com/d/
>> > msgid/
>> > > pandoc-discuss/26bec817-c8b4-4d63-ad5d-436aa281c0d7n= %
>> 40googlegroups.com.
>> >=20
>> >=20
>> >=20
>> > --
>> > You received this message because you are subscribed to t= he Google Groups
>> > "pandoc-discuss" group.
>> > To unsubscribe from this group and stop receiving emails = from it, send=20
>> an email
>> > to pandoc-disc= us...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
>> > To view this discussion on the web visit=20
>> https://g= roups.google.com/d/msgid/
>> > pandoc-discuss/f787dab5-f3ce-41cf-815c-21f24727b781n%40googlegroups.com.
>>
>>
>
> --=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 email to pandoc-discus..= .@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/7c5a= 2709-9b84-40b4-a77e-bd3dc5acb50cn%40googlegroups.com.
> \documentclass{article}
>
> \usepackage{markdown}=20
> \usepackage{biblatex-chicago}
>
> \usepackage{filecontents}% to embed the file `myreferences.bib` in= your `.tex` file
>
> \begin{filecontents}{testref.bib}
> @article{Doe,
> author =3D {John Doe},
> journal =3D {Sample Journal},
> number =3D {1},
> pages =3D {1-20},
> title =3D {This is a sample title of the Pandoc reference},
> volume =3D {14},
> year =3D {2022}}
> =09
> @article{Smith,
> author =3D {Sally Smith},
> journal =3D {Journal of Something},
> number =3D {4},
> pages =3D {69-90},
> title =3D {The title would normally goes here},
> volume =3D {02},
> year =3D {1992}}
> \end{filecontents}
>
> \addbibresource{testref.bib}
>
> \begin{document}
>
> Here is a standard citation using autocite.\autocite[1]{Doe}
>
> Here is a citation contained within a footnote.\footnote{See \auto= cite[6]{Smith}.}
>
> Here is a citation contained within a footnote but without any pre= ceding text before the citation.\footnote{\autocite[10]{Doe}. See also \aut= ocite{Smith}.}
>
>
> \end{document}

--
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 view this discussion on the web visit https://groups.google.com/d= /msgid/pandoc-discuss/daaa9fdd-787c-4a51-bde0-c307396fd835n%40googlegroups.= com.
------=_Part_949_1200110923.1626803054982-- ------=_Part_948_433687299.1626803054982--