From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/113845 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Joel via ntg-context Newsgroups: gmane.comp.tex.context Subject: Why are back-to-back \autocite commands not working in ConTeXt-SBL? Date: Fri, 24 Dec 2021 14:36:58 +0000 (UTC) Message-ID: <1841168518.669973.1640356618609@mail.yahoo.com> References: <1841168518.669973.1640356618609.ref@mail.yahoo.com> Reply-To: mailing list for ConTeXt users Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============3703185451149394651==" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="7096"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Joel To: "ntg-context@ntg.nl" Original-X-From: ntg-context-bounces@ntg.nl Fri Dec 24 15:37:31 2021 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane-mx.org Original-Received: from zapf.boekplan.nl ([5.39.185.232] helo=zapf.ntg.nl) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1n0lhJ-0001W2-EI for gctc-ntg-context-518@m.gmane-mx.org; Fri, 24 Dec 2021 15:37:29 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 0310B289084; Fri, 24 Dec 2021 15:37:07 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id RJqPDClz9BNz; Fri, 24 Dec 2021 15:37:06 +0100 (CET) Original-Received: from zapf.ntg.nl (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 01B22287467; Fri, 24 Dec 2021 15:37:06 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id E02D6288FB8 for ; Fri, 24 Dec 2021 15:37:03 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 1aQUWU-EOn4U for ; Fri, 24 Dec 2021 15:37:03 +0100 (CET) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=74.6.132.41; helo=sonic306-2.consmr.mail.bf2.yahoo.com; envelope-from=uaru99@yahoo.com; receiver= Original-Received: from sonic306-2.consmr.mail.bf2.yahoo.com (sonic306-2.consmr.mail.bf2.yahoo.com [74.6.132.41]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by zapf.ntg.nl (Postfix) with ESMTPS id 1D4F4280F9C for ; Fri, 24 Dec 2021 15:37:02 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1640356621; bh=HpcoMEHgkYcmgZeO9sMx2YfYPtzE1vcCSN20v2RG8mM=; h=Date:From:To:Subject:References:From:Subject:Reply-To; b=ghwne+oTyMP1g2R+LpUTs2s32uL3xujCDpLCN2bI0Vra6CCASbGWBPraSUWh3uHyrSIt6MuHG/qPFF6tGEeHNsdxkAB5d+Ep5cayoRteUL00IDAJNslM0UmAUES0LXuMrRH2iq0wo9VIxczGne3zJyFBbzT5CX0oTpR37W5xymBXyCo7HGF7mjgAVUHPCZLCtdz/JmOV2MKM7SKN5L+SQd2W8JGVJezvLplyqwMTbP6gAfsSjCQqpJ7gRHnEUPtbDW26D0QmnnLE1NQ2VdcV9d6kT8N2q9RUDSM5qoYb9ztUgQMFdhR3VJ/ckHpMiaSKwL6qkIef7tY6f6++WGJekA== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1640356621; bh=pmPP2TOYZ2OH7i2YBS6TzcGO3zDyL9NIsMai84xw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BPBuYb0LjH22sWFB70otY62fuh50PWqrGi7wetcoO5HfRFCmKQdvhRnrmJ4Z.piKVea7_fyS w0RfnvKUOXv9P1xC.ebu7ZItBT5kYlFIqIc7GmXMd2Ou4MJyIgxgJiILWL9iQVCDN1ig5bJy8pxV vb8ajdig3UZKill_qE59BTbi53U7fz2rLsRQJGXE6k X-Sonic-MF: Original-Received: from sonic.gate.mail.ne1.yahoo.com by sonic306.consmr.mail.bf2.yahoo.com with HTTP; Fri, 24 Dec 2021 14:37:01 +0000 X-Mailer: WebService/1.1.19498 YMailNorrin X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.26 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl Original-Sender: "ntg-context" Xref: news.gmane.io gmane.comp.tex.context:113845 Archived-At: --===============3703185451149394651== Content-Type: multipart/alternative; boundary="----=_Part_669972_373592236.1640356618605" ------=_Part_669972_373592236.1640356618605 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable I am using the ConTeXt-SBL module to handle the citations in my article. Us= ing the plain \cite[na2006] command has worked fine. But there are some situations where I want the footnote to include page num= ber details. I tried using \cite[extra=3D2][na2006], but that doesn't seem = compatible with ConTeXt-SBL. I checked the documentation, and if I understa= nd correctly, I should use the autocite command to add page numbers to my c= itation? Like this: =C2=A0=C2=A0=C2=A0 \autocite[{\loc[2]}][]{na2006} This solution works in 95% of cases, but when I need to cite another book i= mmediately after that, it throws up errors: This won't compile: =C2=A0 =C2=A0=C2=A0=C2=A0 \autocite[{\loc[2]}][]{na2006= }=C2=A0=C2=A0=C2=A0 \autocite[{\loc[2]}][]{clark1989}=C2=A0=C2=A0=C2=A0 Thi= s won't compile: =C2=A0 =C2=A0=C2=A0=C2=A0 \autocite[{\loc[2]}][]{na2006}%% =C2=A0=C2=A0 \autocite[{\loc[2]}][]{clark1989} This also won't compile: =C2=A0=C2=A0=C2=A0 \autocite[{\loc[2]}][]{na2006}\autocite[{\loc[2]}][]{cla= rk1989} After much trial and error, I found this will compile: =C2=A0 =C2=A0=C2=A0=C2=A0 \autocite[{\loc[2]}][]{na2006} =C2=A0=C2=A0=C2=A0 \autocite[{\loc[2]}][]{clark1989} The problem with this last example, is if my citations appear within the pa= ragraph, then I end up with a paragraph break in the wrong place! Here is my minimum working example, which won't compile unless I add a blan= k line between the two citations. \usemodule[publ-imp-sbl] \startbuffer [bib] @Article{na2006, title=3D{Volcanoes \word{of} New Mexico}, year=3D{2006}, journal=3D{New Mexico Earth Matters}, publisher=3D{New Mexico Bureau \word{of} Geology \word{and} Mineral Resourc= es}, volume=3D{6}, number=3D{1}, location=3D{Socorro, New Mexico} } @Book{clark1989, author =3D {Clark, William}, title =3D {Railroads \word{and} railroad towns \word{in} New Mexico}, publisher =3D {New Mexico Magazine}, year =3D {1989}, address =3D {Albuquerque, New Mexico}, isbn =3D {9780937206126} } \stopbuffer \usebtxdataset[bib.buffer] \setupbtx[dataset=3Ddefault] \usebtxdefinitions[sbl] \setupbtx[sbl] \starttext =C2=A0=C2=A0 =C2=A0\autocite[{\loc[2]}][]{na2006} =C2=A0=C2=A0 =C2=A0\autocite[{\loc[3]}][]{clark1989} =C2=A0=C2=A0 =C2=A0 =C2=A0=C2=A0=C2=A0 \startchapter[title=3DBibliography] =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 \placelistofpublications =C2=A0=C2=A0=C2=A0 \stopchapter \stoptext Is the autocite command the wrong tool for what I need? How can I place cit= ations right next to each other, but also include page number information w= ith ConTeXt-SBL? --Joel ------=_Part_669972_373592236.1640356618605 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
I am using the ConTeXt-SBL module to handle = the citations in my article. Using the plain \cite[na2006] command has work= ed fine.

But there are some situations where I want the f= ootnote to include page number details. I tried using \cite[extra=3D2][na20= 06], but that doesn't seem compatible with ConTeXt-SBL. I checked the docum= entation, and if I understand correctly, I should use the autocite command = to add page numbers to my citation? Like this:

 =    \autocite[{\loc[2]}][]{na2006}

This solution works in 95% of cases, but when I need to = cite another book immediately after that, it throws up errors:
=


This won't compile:
  =
  = ;  \autocite[{\loc[2]}][]{na2006}
 = ;   \autocite[{\loc[2]}][]{clark1989}
   
This won't compile:
 
   = ; \autocite[{\loc[2]}][]{na2006}%
%
=
  = \autocite[{\loc[2]}][]{clark1989}

This also won't compile:

&= nbsp;   \autocite[{\loc[2]}][]{na2006}\autocit= e[{\loc[2]}][]{clark1989}

After much trial and error, I found this= will compile:
<= /span>
 
    \autocite[{\loc[2]}][]{na2006}<= /span>

  = ;  \autocite[{\loc[2]}][]{clark1989}

The problem with this last example, is if my citations appear wi= thin the paragraph, then I end up with a paragraph break in the wrong place= !
<= span>
Here is my minimum working example, which won't compile= unless I add a blank line between the two citations.

\usemodule[publ-imp-sbl]
\startbuffer= [bib]

@Article{na2006,
title=3D{Volcanoes \word{of} New Mexico},=
year=3D{2006},
journal=3D{New Mexico Earth Matters},
publisher=3D= {New Mexico Bureau \word{of} Geology \word{and} Mineral Resources},
volu= me=3D{6},
number=3D{1},
location=3D{Socorro, New Mexico}
}

= @Book{clark1989,
author =3D {Clark, William},
title =3D {Railroads \w= ord{and} railroad towns \word{in} New Mexico},
publisher =3D {New Mexico= Magazine},
year =3D {1989},
address =3D {Albuquerque, New Mexico},isbn =3D {9780937206126}
}

\stopbuffer

\usebtxdataset[bi= b.buffer]

\setupbtx[dataset=3Ddefault]
\usebtxdefinitions[sbl]\setupbtx[sbl]

\starttext

    \autocite[{\loc= [2]}][]{na2006}
    \autocite[{\loc[3]}][]{clark1989}
=
    
    \startchapter[title=3DBibliog= raphy]
        \placelistofpublicatio= ns
    \stopchapter

\stoptext

=
Is the autocite command the wrong to= ol for what I need? How can I place citations right next to each other, but= also include page number information with ConTeXt-SBL?

-= -Joel

------=_Part_669972_373592236.1640356618605-- --===============3703185451149394651== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX18KSWYgeW91ciBxdWVzdGlvbiBpcyBvZiBpbnRlcmVz dCB0byBvdGhlcnMgYXMgd2VsbCwgcGxlYXNlIGFkZCBhbiBlbnRyeSB0byB0aGUgV2lraSEKCm1h aWxsaXN0IDogbnRnLWNvbnRleHRAbnRnLm5sIC8gaHR0cDovL3d3dy5udGcubmwvbWFpbG1hbi9s aXN0aW5mby9udGctY29udGV4dAp3ZWJwYWdlICA6IGh0dHA6Ly93d3cucHJhZ21hLWFkZS5ubCAv IGh0dHA6Ly9jb250ZXh0LmFhbmhldC5uZXQKYXJjaGl2ZSAgOiBodHRwczovL2JpdGJ1Y2tldC5v cmcvcGhnL2NvbnRleHQtbWlycm9yL2NvbW1pdHMvCndpa2kgICAgIDogaHR0cDovL2NvbnRleHRn YXJkZW4ubmV0Cl9fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fCg== --===============3703185451149394651==--