From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/106372 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: "Philipp A." Newsgroups: gmane.comp.tex.context Subject: Re: Customizing \cite alternatives Date: Sat, 22 Feb 2020 17:02:28 +0100 Message-ID: References: <04aaaa7b-cde1-a732-2eeb-995adb6c861b@uni-bonn.de> <107a6588-e3dc-86a4-8409-e2be3c47c747@uni-bonn.de> Reply-To: mailing list for ConTeXt users Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============2055987688260433269==" Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="105487"; mail-complaints-to="usenet@ciao.gmane.io" To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sat Feb 22 17:03:14 2020 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 1j5XFK-000RLs-Re for gctc-ntg-context-518@m.gmane-mx.org; Sat, 22 Feb 2020 17:03:14 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id D7689181FFB; Sat, 22 Feb 2020 17:02:52 +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 TRXqXc9QGYdg; Sat, 22 Feb 2020 17:02:46 +0100 (CET) Original-Received: from zapf.ntg.nl (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id D1ADD181E26; Sat, 22 Feb 2020 17:02:46 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 23BEA181E26 for ; Sat, 22 Feb 2020 17:02:46 +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 Xbxla1ILIPrJ for ; Sat, 22 Feb 2020 17:02:41 +0100 (CET) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=209.85.210.46; helo=mail-ot1-f46.google.com; envelope-from=trueflyingsheep@gmail.com; receiver= Original-Received: from mail-ot1-f46.google.com (mail-ot1-f46.google.com [209.85.210.46]) (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 2D4E6181E19 for ; Sat, 22 Feb 2020 17:02:41 +0100 (CET) Original-Received: by mail-ot1-f46.google.com with SMTP id r16so4909707otd.2 for ; Sat, 22 Feb 2020 08:02:41 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=YzFlIOOsVxB9o7cl8IHF1QPOtX9ub30n0vHTu8bTGeA=; b=tBMKerExNZekPIyjGKokoXMVQhFiwetdBhtCp2t/x+myG88GTTps/Qx08Yh+ScGfZi SMrYlghThMKN0MpErYCdAB5EChKg5PXJHg3+4cTX5ffYqcN/C/k0TFidU3eo3isBYjWC n40lvWSHBqgAmq5RFFQKJe7pkLsfv2IolKrbTS0IGczyrlPxekh0x5F16/eye0M8Sqtc NzFQO+qsjHGpgDnjjLrK608JsL5OTM0fXIXBgwmfUN3Ga4CiN8501fKazxaDCOSfs+vz MABn201ULK2Fp/vIsVXdMcPHys6NcSbFIa/vCDquNV209OLR+xprbAW3UrWixoNQCj// 7XxA== X-Gm-Message-State: APjAAAVwh5BU0YtzojgspkwF43Pfp+VA5aMwcw6GFhfQBgvn4wnjSXkx fMAoP9/Te8AlDJcfkJK+Jp06K1+0XLe1f9q39eSlwsUOkXY= X-Google-Smtp-Source: APXvYqwlQcoJFs29f6wVJill8jyhuc53aLBa0LZZKAl4FAjMKMnKCIQFDwJNZgt2z69GTLPvn76AeVCEoj6qw5jty0g= X-Received: by 2002:a05:6830:1353:: with SMTP id r19mr34164323otq.288.1582387359244; Sat, 22 Feb 2020 08:02:39 -0800 (PST) In-Reply-To: <107a6588-e3dc-86a4-8409-e2be3c47c747@uni-bonn.de> 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:106372 Archived-At: --===============2055987688260433269== Content-Type: multipart/alternative; boundary="00000000000071e495059f2c4448" --00000000000071e495059f2c4448 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Thank you for the pointer to the options! - =E2=80=9Cotherstext=E2=80=9D works, yay! (when inserted after =E2=80=9C\u= sebtxdefinitions[apa]=E2=80=9D) - =E2=80=9Cetallimit=E2=80=9D (not =E2=80=9Cetaldisplay=E2=80=9D) is the op= tion for the max number of authors before they=E2=80=99re replaced by =E2=80=9Cet al=E2=80=9D. (=E2=80= =9Cetaldisplay=E2=80=9D controls how many authors go before =E2=80=9Cet al=E2=80=9D if the list is truncated) I think I=E2=80=99ll add a more complete example to the wiki, all of this i= s pretty complex due to being sensitive to order and overrides and so on. Best, Philipp Am Do., 20. Feb. 2020 um 16:11 Uhr schrieb Thomas A. Schmitz < thomas.schmitz@uni-bonn.de>: > On 20.02.20 14:16, Philipp A. wrote: > > Makes sense, seems like no default is defined anymore, so it won=E2=80= =99t > > render without using a style. > > I use apa, and the attached screenshot shows my problem. > > If you use APA, you have to set up the APA cite options. The manual is a > bit on the short side here, but all the options are mentioned. If you > want to change the way et al. is displayed (for APA, the default is > \btxcomma\btxlabeltext{others}), you can do this: > > \setupbtx [apa:cite] [otherstext=3D{ et al.}] > > The number of authors displayed is defined by the key etaldisplay, so > you would do this: > > \setupbtx [apa:cite] [etaldisplay=3D4] > > Thomas > > _________________________________________________________________________= __________ > If your question is of interest to others as well, please add an entry to > the Wiki! > > maillist : ntg-context@ntg.nl / > http://www.ntg.nl/mailman/listinfo/ntg-context > webpage : http://www.pragma-ade.nl / http://context.aanhet.net > archive : https://bitbucket.org/phg/context-mirror/commits/ > wiki : http://contextgarden.net > > _________________________________________________________________________= __________ > --00000000000071e495059f2c4448 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Thank you for the pointer to the options!

- = =E2=80=9Cotherstext=E2=80=9D works, yay! (when inserted after =E2=80=9C\use= btxdefinitions[apa]=E2=80=9D)
- =E2=80=9Cetallimit=E2=80=9D (= not =E2=80=9Cetaldisplay=E2=80=9D) is the option for the max number of auth= ors before they=E2=80=99re replaced by =E2=80=9Cet al=E2=80=9D. (=E2=80=9Ce= taldisplay=E2=80=9D controls how many authors go before =E2=80=9Cet al=E2= =80=9D if the list is truncated)

I think I=E2=80= =99ll add a more complete example to the wiki, all of this is pretty comple= x due to being sensitive to order and overrides and so on.
=
Best, Philipp

Am Do., 20. Feb. 2020 um 16:11=C2=A0Uhr s= chrieb Thomas A. Schmitz <= thomas.schmitz@uni-bonn.de>:
On 20.02.20 14:16, Philipp A. wrote:
> Makes sense, seems like no default is defined anymore, so it won=E2=80= =99t
> render without using a style.
> I use apa, and the attached screenshot shows my problem.

If you use APA, you have to set up the APA cite options. The manual is a bit on the short side here, but all the options are mentioned. If you
want to change the way et al. is displayed (for APA, the default is
\btxcomma\btxlabeltext{others}), you can do this:

\setupbtx [apa:cite] [otherstext=3D{ et al.}]

The number of authors displayed is defined by the key etaldisplay, so
you would do this:

\setupbtx [apa:cite] [etaldisplay=3D4]

Thomas
___________________________________________________________________________= ________
If your question is of interest to others as well, please add an entry to t= he Wiki!

maillist : ntg-cont= ext@ntg.nl / http://www.ntg.nl/mailman/listinfo/nt= g-context
webpage=C2=A0 : http://www.pragma-ade.nl / http://context.aanhet.net=
archive=C2=A0 : https://bitbucket.org/phg/context-m= irror/commits/
wiki=C2=A0 =C2=A0 =C2=A0: http://contextgarden.net
___________________________________________________________________________= ________
--00000000000071e495059f2c4448-- --===============2055987688260433269== 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== --===============2055987688260433269==--