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
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
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
___________________________________________________________________________________
On 20.02.20 14:16, Philipp A. wrote:
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.
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={ et al.}] The number of authors displayed is defined by the key etaldisplay, so you would do this: \setupbtx [apa:cite] [etaldisplay=4] Thomas
Thank you for the pointer to the options! - “otherstext” works, yay! (when inserted after “\usebtxdefinitions[apa]”) - “etallimit” (not “etaldisplay”) is the option for the max number of authors before they’re replaced by “et al”. (“etaldisplay” controls how many authors go before “et al” if the list is truncated) I think I’ll add a more complete example to the wiki, all of this is 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’t 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={ et al.}]
The number of authors displayed is defined by the key etaldisplay, so you would do this:
\setupbtx [apa:cite] [etaldisplay=4]
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
___________________________________________________________________________________
Hello List, Coming back after monthes to a complex work in progress with ConTeXt, I am afraid to need help with this apparently easy-to-manage question of printed titles. My document has a TOC, where one can read chapters, sections, and subsections of the document. But, I can't achieve to print chapter titles. Thank you in advance for your help. JP See below the MWE : % \showframe %\showgrid \setuplanguage[fr][patterns={fr,agr}] \mainlanguage[fr] \setuppagenumbering[alternative=doublesided, location={header, inmargin}] \setupbodyfontenvironment[default][em=italic] \definefontfamily [mainface] [serif] [GaramondNo8][sc=NewG8 Regular SC] \setupbodyfont[mainface] \setupindenting[1.5em] \setupindenting[medium,yes] \setupwhitespace[medium] \setupinterlinespace[line=3.2ex] % Définition des têtes et pieds de page \setuphead[title][chapter] \setupheader[style={\sc}] \setupfooter[style={\itxx}] \setupheadertexts[ Cours de Philosophie][][][{\getmarking[section]}] \setupfootertexts[][][][© J.-P. Delange, 2018-2020 — Texte composé avec ConTeXt - Reproduction soumise à autorisation.] \setupsymbolset[text] \starttext \startchapter[title ={Introduction}] \startsection[title={Préambule}] \startsubsection[title={À qui s'adresse ce cours ?}] Ce {\em cours} de philosophie s'adresse d'abord aux élèves de classe de terminale des Lycées, motivés par le massif intimidant d'interrogations et de réflexions que la tradition européenne désigne par {\em philosophie} ; il s'adresse autant aux étudiants spécialisés qu'aux personnes de tout âge, qui souhaitent appréhender ces questionnements et tirer au clair autant que possible ce qui est le propre de l'{\em interrogation} philosophique. L'exercice de la réflexion {\em philosophique} est en effet assez singulier, car si la plupart des gens cherchent des réponses dans l'urgence à leurs questions, ils ne se prêtent pas volontiers à l'examen approfondi des raisons qui conduisent à leur questionnement\footnote{L'analyse de la spécificité de l'interrogation philosophique sera développée plus bas.}. Aussi les {\em questionnements} et les {\em interrogations} dont la nature philosophique n'apparaît pas toujours, tendent à être mises de côté pour les raisons indiquées : l'urgence, mais aussi une certaine routine intellectuelle font que, plutôt que de nous engager sur un chemin difficile et raboteux, nous cherchons plutôt à éprouver la satisfaction rapide qu'apportent les réponses simples et définitives\footnote{Cf. Platon, {\em République}, 365c : \quote{ Je dois donc tracer à l'entour de moi, pour servir de façade et de décor, une image de vertu, et traîner derrière moi le renard subtil et astucieux du très sage Archiloque ?}.}. De même que l'on écrit souvent le livre qu'on aimerait lire, les développements qui forment cet ouvrage ont pour titre “Cours de philosophie” et non pas “{\em Manuel} de philosophie”, car il s'agit ici plutôt d'{\em initier} le lecteur à quelques problèmes philosophiques centraux au moyen d'un discours aussi {\em unifié} et {\em articulé} que possible, à partir de quelques questions basiques. Un manuel pourrait développer les mêmes matières, en mettant en avant les textes des Auteurs à la mode et en exposant le programme selon les notions regroupées par tête de chapitre. Les éditeurs de manuels scolaires découpent ainsi les programmes officiels de l'enseignement de philosophie pour les classes de Terminale selon une forme et une régularité quasi métronomiques, de telle sorte qu'on est en droit de se demander, au vu de la profusion de ces manuels, en quoi ils diffèrent les uns des autres. Cette différence se tient bien souvent dans la ventilation des chapitres et au choix arbitraire des textes, dont il faut se demander en quoi ils sont fondamentaux. Cependant, si un \quote{cours de philosophie} est développé par un professeur de philosophie, celui-ci ne saurait se borner — s'il est attentif à sa mission et à ses prérogatives — à diffuser une sorte de {\em compendium} dans lequel il exposerait devant les élèves ces têtes de chapitres dans l'ordre exposé par les programmes officiels de philosophie de l'Éducation Nationale. \stopsubsection \stopsection \stopchapter \stoptext
On Mon, 24 Feb 2020 15:41:45 +0100
Jean-Pierre Delange
Hello List,
Coming back after monthes to a complex work in progress with ConTeXt, I am afraid to need help with this apparently easy-to-manage question of printed titles.
My document has a TOC, where one can read chapters, sections, and subsections of the document. But, I can't achieve to print chapter titles.
You have a space at the end of the title-key which becomes part of the key. Instead of passing the text to the key "title" you pass it to "title ", remove the space and the text will appear in the PDF. \startchapter[title ={Introduction}] ^^^ Wolfgang
Thank you very much, Wolfgang ! I use to usually scrutinize this kind of coding error, but ... Le 24/02/2020 à 17:07, Wolfgang Schuster a écrit :
On Mon, 24 Feb 2020 15:41:45 +0100 Jean-Pierre Delange
wrote: Hello List,
Coming back after monthes to a complex work in progress with ConTeXt, I am afraid to need help with this apparently easy-to-manage question of printed titles.
My document has a TOC, where one can read chapters, sections, and subsections of the document. But, I can't achieve to print chapter titles. You have a space at the end of the title-key which becomes part of the key.
Instead of passing the text to the key "title" you pass it to "title ", remove the space and the text will appear in the PDF.
\startchapter[title ={Introduction}] ^^^
Wolfgang ___________________________________________________________________________________ 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 ___________________________________________________________________________________
participants (4)
-
Jean-Pierre Delange
-
Philipp A.
-
Thomas A. Schmitz
-
Wolfgang Schuster