From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/116589 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Jethro Djan via ntg-context Newsgroups: gmane.comp.tex.context Subject: Achieving different \cite styles Date: Fri, 9 Dec 2022 03:42:02 +0000 Message-ID: Reply-To: mailing list for ConTeXt users Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============3585840255954614446==" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="34126"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Jethro Djan To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Fri Dec 09 04:42:56 2022 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 1p3UHo-0008g4-EU for gctc-ntg-context-518@m.gmane-mx.org; Fri, 09 Dec 2022 04:42:56 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id A1DB636105C; Fri, 9 Dec 2022 04:42:22 +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 VzcJUPZRnsgf; Fri, 9 Dec 2022 04:42:20 +0100 (CET) Original-Received: from zapf.ntg.nl (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 86AFE36125B; Fri, 9 Dec 2022 04:42:20 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id CC371360FF0 for ; Fri, 9 Dec 2022 04:42:18 +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 4cG9kS-p2sIx for ; Fri, 9 Dec 2022 04:42:16 +0100 (CET) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=209.85.214.179; helo=mail-pl1-f179.google.com; envelope-from=jthryeboah@gmail.com; receiver= Original-Received: from mail-pl1-f179.google.com (mail-pl1-f179.google.com [209.85.214.179]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by zapf.ntg.nl (Postfix) with ESMTPS id 29FAD360FE6 for ; Fri, 9 Dec 2022 04:42:16 +0100 (CET) Original-Received: by mail-pl1-f179.google.com with SMTP id y17so3587994plp.3 for ; Thu, 08 Dec 2022 19:42:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=NmyFn4/iE/xvXMrx1C1EXQ7qV9isnVOicy7myjz3AEM=; b=kEj0lo36GGA4iaEx3g1YxkgkXKpbDCA68/kL6w6Av7mv/pmE6QUUbj/UyTZSLP0Bku 0MaM/Oxi4pbNX8XERU7OMQPKCW04wsZhO1bxKrLnf0p/H+tDcV6X9X0mAYe3roK9giSa NO5aGbXxLltEKqlfSyc66rnt7zFuTaEv8WJJ5b99f8xpNp/Aiggzjej8M/fA6lK7Fuf4 JsUsLEshTcLx0wPUf+xG26KfeETJG1KFBFQoDaLh2Vs3TtMOJREyPxVm2B/8zhABTORG 7YfrgHC5IBdQJkIZNjltTJdQ/XZF/B70QeZ6VI8lPsjM02BDFvKeJdmFrliYhzjJciTE 3VCA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=NmyFn4/iE/xvXMrx1C1EXQ7qV9isnVOicy7myjz3AEM=; b=wsTM7tRg7BaJM7u1/U25M7Xfed4wBYlciqXK7vfANuFgBEQdrpH+27lULbRn46X3IT EUXasjfpsAbl7TKFm78BKvCZuNSBNpLuksOI/aw6+V26e2ARYWN2Lri2QzCiEPQLiNMr bUzQx5UxBPAURjPRkxLNPJxT1B3q1QPq0uEWM8qeE3DWAFwquA3U4udI5HSuNAz46pJK PyJMbIQNFl9NlzOt3itLfJ6ltDG1g7WWAFzF8TSqo0alJ/EJtbcZU9fEDnJolZ6OxFPh H6pHCx2WYKEhHSdq870xL3ZZI5+BhWhFpZ9AfuZNKg1uj5HBMQA5yyGQVHk9oS7oyRRj 1U+A== X-Gm-Message-State: ANoB5pkI9lSNox+gxTtQep7lllcFIJbId60Bj0Z1U/FgvPhh1IuNntul p71PZVvED+gTxBeEVpgVyi+/RjOYX6ZHAVCD5AbWxKT/bqGeOQ== X-Google-Smtp-Source: AA0mqf7iY4D09PL0uUQqVBBk+YJ73+WGwImW8xVm4VpV1vWecEhUNFmVqNA+z1aUlFFEO0xaK6GEgZaWs9aOnoEZlqY= X-Received: by 2002:a17:90a:bd17:b0:212:dac0:ce83 with SMTP id y23-20020a17090abd1700b00212dac0ce83mr95134161pjr.223.1670557333809; Thu, 08 Dec 2022 19:42:13 -0800 (PST) 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:116589 Archived-At: --===============3585840255954614446== Content-Type: multipart/alternative; boundary="0000000000007570c605ef5cf016" --0000000000007570c605ef5cf016 Content-Type: text/plain; charset="UTF-8" Hello everyone I am interested in being able to cite in different ways. By analogy, I refer to the \texcite{}, \parencite{} and other options available with biblatex in LaTeX. How do I achieve something like \textcite{} in ConTeXt? Here is my MWE: \startbuffer[ref] @Article{wn:2017, author = {Who, Nobody and What, Everyone}, journal = {Good Journal}, title = {The Art of Being}, year = {2017}, } \stopbuffer \definebtxdataset[ref] \usebtxdataset[ref][ref.buffer] \setupbtx[ dataset=ref, ] \definebtxrendering [ref] [apa] [ dataset=ref, ] \usebtxdefinitions[apa] \starttext In \cite[wn:2017], they illustrated that it is impossible to not be them. \cite[wn:2017] said it was worth the discovery. \startsection[title={References}, number=no, incrementnumber=no] \placelistofpublications[ref][method=dataset] \stopsection \stoptext The first sentence is okay. In the second, I would like the parenthesis around the citation to come off because of the way I am citing it. Jethro --0000000000007570c605ef5cf016 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hello everyone

I am interested in being= able to cite in different ways. By analogy, I refer to the \texcite{}, \pa= rencite{} and other options available with biblatex in LaTeX. How do I achi= eve something like \textcite{} in ConTeXt? Here is my MWE:

\startbuffer[ref]

@Article{wn:2017,
=C2=A0 author =C2=A0= =3D {Who, Nobody and What, Everyone},
=C2=A0 journal =3D {Good Journal},=
=C2=A0 title =C2=A0 =3D {The Art of Being},
=C2=A0 year =C2=A0 =C2= =A0=3D {2017},
}

\stopbuffer

\definebtxdataset[ref]
\us= ebtxdataset[ref][ref.buffer]
\setupbtx[
=C2=A0 dataset=3Dref,
]\definebtxrendering
=C2=A0 [ref]
=C2=A0 [apa]
=C2=A0 [
=C2=A0 = =C2=A0 =C2=A0 dataset=3Dref,
=C2=A0 ]
\usebtxdefinitions[apa]

= \starttext

In \cite[wn:2017], they illustrated that it is impossible= to not be them. \cite[wn:2017] said it was worth the discovery.

\s= tartsection[title=3D{References}, number=3Dno, incrementnumber=3Dno]
=C2= =A0 =C2=A0 \placelistofpublications[ref][method=3Ddataset]
\stopsection<= br>
\stoptext

The first sentence is okay. I= n the second, I would like the parenthesis around the citation to come off = because of the way I am citing it.=C2=A0

Jethro
--0000000000007570c605ef5cf016-- --===============3585840255954614446== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX18KSWYgeW91ciBxdWVzdGlvbiBpcyBvZiBpbnRlcmVz dCB0byBvdGhlcnMgYXMgd2VsbCwgcGxlYXNlIGFkZCBhbiBlbnRyeSB0byB0aGUgV2lraSEKCm1h aWxsaXN0IDogbnRnLWNvbnRleHRAbnRnLm5sIC8gaHR0cHM6Ly93d3cubnRnLm5sL21haWxtYW4v bGlzdGluZm8vbnRnLWNvbnRleHQKd2VicGFnZSAgOiBodHRwczovL3d3dy5wcmFnbWEtYWRlLm5s IC8gaHR0cDovL2NvbnRleHQuYWFuaGV0Lm5ldAphcmNoaXZlICA6IGh0dHBzOi8vYml0YnVja2V0 Lm9yZy9waGcvY29udGV4dC1taXJyb3IvY29tbWl0cy8Kd2lraSAgICAgOiBodHRwczovL2NvbnRl eHRnYXJkZW4ubmV0Cl9fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fCg== --===============3585840255954614446==--