ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: "Philipp A." <flying-sheep@web.de>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Customizing \cite alternatives
Date: Thu, 20 Feb 2020 14:16:14 +0100	[thread overview]
Message-ID: <CAN8d9gkdWM1S79rNg9z164XHwmLPVN0T2vz4+4juajMQET-yRw@mail.gmail.com> (raw)
In-Reply-To: <04aaaa7b-cde1-a732-2eeb-995adb6c861b@uni-bonn.de>


[-- Attachment #1.1: Type: text/plain, Size: 2675 bytes --]

Makes sense, seems like no default is defined anymore, so it won’t render
without using a style.
I use apa, and the attached screenshot shows my problem.

\startbuffer[testbib]
@Article{testone,
  author={Testperson, A. B.},
  title={Thing with one author},
  year={2001},
}
@Article{testtwo,
  author={Testperson, A. B. and Friendperson, C.},
  title={Thing with two authors},
  year={2002},
}
@Article{testmany,
  author={Ah and Bee and Cee and Dee and Ee and Eff and Gee},
  title={Thing with two authors},
  year={2002},
}
\stopbuffer

\definebtxdataset[main]
\usebtxdataset[main][testbib.buffer]
\setupbtx[dataset=main] % make cite use this
\setupbtx[default:cite][alternative=authoryear] % cite style
\usebtxdefinitions[apa] % load and activate list rendering
\definebtxrendering[main][apa][dataset=main, pagestate=start]

\starttext
\cite[authoryear][testone] \cite[authoryear][testtwo]
\cite[authoryear][testmany]

\cite[authoryears][testone] \cite[authoryears][testtwo]
\cite[authoryears][testmany]

\subject{bib}

\placebtxrendering[main][method=global]
\stoptext

Am Mi., 19. Feb. 2020 um 16:35 Uhr schrieb Thomas A. Schmitz <
thomas.schmitz@uni-bonn.de>:

> It is difficult to answer your question because we don't know which
> specifications you use for your citations. You will have to provide a
> minimal example that allows us to see what you're doing.
>
> Thomas
>
> On 2/17/20 6:26 PM, Philipp A. wrote:
> > Hi List,
> >
> > I want the comma gone from “et al.” citations, and modify the cite
> > alternatives:
> >
> >   * [authoryear]: (Surname, et al., 2018) → (Surname et al., 2018)
> >   * [authoryears]: Surname, et al. (2018) → Surname et al. (2018)
> >
> > Also I’d like to configure how many names are the maximum before all
> > except the first are replaced by “et al.”
> > i.e. \setupcitething[maxauthors=3]: (One, Two, Three, & Four, 2018) →
> > (One et al., 2018)
> >
> > How can I do this? I didn’t find anything in the publications manual:
> > http://pragma-ade.nl/general/manuals/mkiv-publications.pdf
> >
> > Best, Philipp
>
> ___________________________________________________________________________________
> 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
>
> ___________________________________________________________________________________
>

[-- Attachment #1.2: Type: text/html, Size: 3852 bytes --]

[-- Attachment #2: Screenshot_20200220_141434.png --]
[-- Type: image/png, Size: 52517 bytes --]

[-- Attachment #3: Type: text/plain, Size: 493 bytes --]

___________________________________________________________________________________
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
___________________________________________________________________________________

  reply	other threads:[~2020-02-20 13:16 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-02-17 17:26 Philipp A.
2020-02-19 15:30 ` Thomas A. Schmitz
2020-02-20 13:16   ` Philipp A. [this message]
2020-02-20 15:07     ` Thomas A. Schmitz
2020-02-22 16:02       ` Philipp A.
2020-02-24 14:41         ` Chapters, sections, usw Jean-Pierre Delange
2020-02-24 16:07           ` Wolfgang Schuster
2020-02-24 17:28             ` Jean-Pierre Delange

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAN8d9gkdWM1S79rNg9z164XHwmLPVN0T2vz4+4juajMQET-yRw@mail.gmail.com \
    --to=flying-sheep@web.de \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).