[NTG-context] APA 7 and https

2023-12-14 Thread Oliver Marugg
Hi 

I am quite new with ConTeXt, coming from LaTeX. I really like it and it is sooo 
fast;-). I am currently preparing the framework for the typeset of a research 
paper with a bibtex bibliography and current apa7 citations. 

How to achieve a change the url in bibliographies DOI from doi: to 
https://doi.org/  in the list of publications and change the url path in PDF 
from http: to https:// as recommended in APA7?

Any hints?

Many thanks,

Oliver___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / 
https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive  : https://github.com/contextgarden/context
wiki : https://wiki.contextgarden.net
___


[NTG-context] APA

2019-05-16 Thread Dmitry Starostin
I am guessing the parameter for square brackets:

btx:apa:delim:brackets?
btx:apa:brackets?
___
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
___


Re: [NTG-context] APA Bibliographic refs. | Hyphenated first names | Lower case first letter of Title

2017-05-22 Thread Richard Mahoney | Indica et Buddhica
On Mon, 22 May 2017 09:09:58 +0200
Alan Braslau  wrote:

> On Mon, 22 May 2017 11:41:57 +1200
> Richard Mahoney | Indica et Buddhica  wrote:
> 
> > 2.) And for the initial letter of the title, SGam.po.pa not
> > sGgam.po.pa:
> > 
> > @Book{guenther:sgam,
> >   title ="{s}{G}am.{p}o.{p}a, The Jewel Ornament of
> >   Liberation\,: {D}am.\-{c}hos {y}id.{b}žin.{g}yi
> >   {n}or.{b}u {t}har.{p}a {r}in.{p}o {c}he'i {r}gyan
> >   {ž}es.{b}ya.{b}a {t}heg.{p}a {c}hen.\-{p}o'{i}
> >   {l}am.{r}im.{g}yi {b}śad.{p}a",
> >   publisher ="Rider \& Co.",
> >   shorttitle =   "{s}{G}am.{p}o.{p}a",
> >   year = 1970,
> >   key =  "guenther:70a",
> >   address =  "London",
> >   author =   "H. V. Guenther",
> > }
> > 
> > 
> > I've also tried surrounding the hyphenated names, and their
> > initials, with curly brackets, though without success.
> 
> The "bibtex" practice of "protecting" using surrounding braces does
> not have any effect here. We take fields literally. However, there is
> the setup:
> 
> \setupbtx
>   [apa:list:title]
>   [command=\Word]
> 
> that you can change, setting command=, for example.

Thank you for suggesting this Alan. I've `corrected' the rendering --
SGam.po.pa to sGam.po.pa -- with this:

\setupbtx[apa:list:title:book][command=]
 
 
> As to the spurious space in a hyphenated name, this is a bug that
> needs to be parsed at the lua level (no space following a hyphen)
> that I have asked Hans to look into fixing.

Good to know. Thanks.


Best, Richard




--
  Richard Mahoney | INDICA ET BUDDHICA
 Littledene  Bay Road  Oxford  New Zealand
T: +64-3-312-1699 | www.indica-et-buddhica.org
___
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
___

Re: [NTG-context] APA Bibliographic refs. | Hyphenated first names | Lower case first letter of Title

2017-05-22 Thread Alan Braslau
On Mon, 22 May 2017 11:41:57 +1200
Richard Mahoney | Indica et Buddhica  wrote:

> 2.) And for the initial letter of the title, SGam.po.pa not
> sGgam.po.pa:
> 
> @Book{guenther:sgam,
>   title =  "{s}{G}am.{p}o.{p}a, The Jewel Ornament of
>   Liberation\,: {D}am.\-{c}hos {y}id.{b}žin.{g}yi
>   {n}or.{b}u {t}har.{p}a {r}in.{p}o {c}he'i {r}gyan
>   {ž}es.{b}ya.{b}a {t}heg.{p}a {c}hen.\-{p}o'{i}
>   {l}am.{r}im.{g}yi {b}śad.{p}a",
>   publisher =  "Rider \& Co.",
>   shorttitle = "{s}{G}am.{p}o.{p}a",
>   year =   1970,
>   key ="guenther:70a",
>   address ="London",
>   author = "H. V. Guenther",
> }
> 
> 
> I've also tried surrounding the hyphenated names, and their initials,
> with curly brackets, though without success.

The "bibtex" practice of "protecting" using surrounding braces does not
have any effect here. We take fields literally. However, there is the
setup:

\setupbtx
  [apa:list:title]
  [command=\Word]

that you can change, setting command=, for example.



As to the spurious space in a hyphenated name, this is a bug that needs
to be parsed at the lua level (no space following a hyphen) that I have
asked Hans to look into fixing.

Alan
___
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
___

[NTG-context] APA Bibliographic refs. | Hyphenated first names | Lower case first letter of Title

2017-05-21 Thread Richard Mahoney | Indica et Buddhica
Dear list,

I have been cleaning up the following proof-of-concept edition set with
ConTeXt ver: 2017.05.15 21:48 MKIV beta:

http://indica-et-buddhica.org/siksasamuccaya-progresse-bodhisattva-concept.pdf


On the whole I'm very pleased but I'm noticing something odd with the
APA typesetting. This can be seen on concept:226 & 229. Here is my set
up followed by the BibTeX refs.:

% Bibliographic referencing

\usebtxdataset[thesis-clean-k-final.bib]

\setupbtx[default:cite][alternative=num]

\setupbtx[apa:cite][alternative=authoryear,compress=yes]

\usebtxdefinitions[apa]

\definebtxrendering[apa][specification=apa,sorttype=authoryear,numbering=no]

\setupbtxlist[apa][alternative=paragraph,width=325pt,maxwidth=325pt,distance=.5em,margin=3em,align={hz,hanging}]



1.) For Hans-Georg and Jens-Uwe I'm getting H. -G. & J. -U. not H.-G. &
J.-U.:

@Book{gadamer:truth,
  author =   "Hans-Georg Gadamer",
  title ="Truth and Method",
  publisher ="Seabury Press",
  shorttitle =   "Truth",
  year = 1975,
  address =  "New York",
  key =  "gadamer:75",
}

@InCollection{klaus:einige,
  author =   "K. Klaus",
  title ="Einige {t}extkritische {u}nd {e}xegetische
  {B}emerkungen {z}u {Ś}ānti\-devas “{Ś}ikṣāsamuccaya”
  (Kapitel {XII} {u}nd {XIII})",
  booktitle ="Bauddhaviyāsudhākaraḥ\,: Studies in Honour of
Heinz Bec\-hert on the Occasion of His 65th Birthday",
  shorttitle =   "\,‘{Ś}ikṣāsamuccaya’\,",
  key =  "klaus:97a",
  pages ="397--406",
  publisher ="Indica et Tibetica",
  year = 1997,
  editor =   "P. Kieffer-Pülz and Jens-Uwe Hartmann",
  volume =   30,
  address =  "Swisttal-Odendorf",
}


2.) And for the initial letter of the title, SGam.po.pa not sGgam.po.pa:

@Book{guenther:sgam,
  title ="{s}{G}am.{p}o.{p}a, The Jewel Ornament of
  Liberation\,: {D}am.\-{c}hos {y}id.{b}žin.{g}yi
  {n}or.{b}u {t}har.{p}a {r}in.{p}o {c}he'i {r}gyan
  {ž}es.{b}ya.{b}a {t}heg.{p}a {c}hen.\-{p}o'{i}
  {l}am.{r}im.{g}yi {b}śad.{p}a",
  publisher ="Rider \& Co.",
  shorttitle =   "{s}{G}am.{p}o.{p}a",
  year = 1970,
  key =  "guenther:70a",
  address =  "London",
  author =   "H. V. Guenther",
}


I've also tried surrounding the hyphenated names, and their initials,
with curly brackets, though without success.

Does anyone know how I might be able to correct this?


Best, Richard




--
  Richard Mahoney | INDICA ET BUDDHICA
 Littledene  Bay Road  Oxford  New Zealand
T: +64-3-312-1699 | www.indica-et-buddhica.org
___
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
___

Re: [NTG-context] APA formatting and reference questions

2016-08-24 Thread Alan BRASLAU
On Wed, 24 Aug 2016 17:43:03 -0600
Todd DeVries  wrote:

> In this excerpt, the following APA style formatting
> errors occur:
> 
> 1. The first reference is cited as “Hartley, M.T. (2013).” There is
> usually a space separating these initials. Between the M. and T. in
> this reference.

Yes, there should be spaces between initials. There were spaces before,
and I will see why they disappeared and fix it.


> 2. The word “and” is appearing in both parenthetical and in-text
> citations. When a reference is completely within parentheses, the last
> author should be separated by the & (Ampersand) character.

Yes, authoryears should use "and" and authoryear should use "&". I'll
fix it.

However, the APA style goes even further:

"Precede the final name in a multiple-author citation in running text by
the word and. In parenthetical material, in tables and captions, and in
the reference list, join the names by an ampersand (&)"

How far should we go in dealing with tables and captions???


> 3. The last reference has 3 authors and should be written as Koch et
> al (2014) instead, it replicates the entire list of authors previously
> cited.

Formally:

"Invert all authors’ names; give surnames and initials for up to and
including seven authors (e.g., Author, A. A., Author, B. B., & Author,
C. C.). When authors number eight or more, include the first six
authors’ names, then insert three ellipsis points, and add the last
author’s name (see Chapter 7, Example 2). In text, follow the citation
guidelines in section 6.12."

"6.12
When a work has two authors, cite both names every time the reference
occurs in text. When a work has three, four, or five authors, cite all
authors the first time the reference occurs; in subsequent citations,
include only the surname of the first author followed by et al. (not
italicized and with a period after al) and the year if it is the first
citation of the reference within a paragraph."

So, indeed, the second citation should have Koch et al., but...
Hans and I discussed this. It is a particularity of the APA style and
can get really tricky to program if we are to respect the following
part of section 6.12:

"Exception: If two references of more than three surnames with the same
year shorten to the same form (e.g., both Ireys, Chernoff, DeVet, &
Kim, 2001, and Ireys, Chernoff, Stein, DeVet, & Silver, 2001, shorten
to Ireys et al., 2001), cite the surnames of the first authors and of
as many of the subsequent authors as necessary to distinguish the two
references, followed by a comma and et al."

It becomes messy:

"When a work has six or more authors, cite only the surname of the first
author followed by et al. (not italicized and with a period after al)
and the year for the first and subsequent citations. (See section 6.27
and Example 2 in Chapter 7 for how to cite works with more than six
authors in the reference list.) If two references with six or more
authors shorten to the same form, cite the surnames of the first
authors and of as many of the subsequent authors as necessary to
distinguish the two references, followed by a comma and et al."

So we set the etallimit to 5 and etaldisplay to 1 in citations and
etallimit to 7 and etaldisplay to 6 in the bibligraphy list. If, by
poor chance two references shorten to the same form, than you are out
of luck for now!

Alan

___
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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

[NTG-context] APA formatting and reference questions

2016-08-24 Thread Todd DeVries
Hello,

I would like to use ConTeXt foracademic writing this year and am just
scratching the surface of its capabilities. My first run at producing
a document in APA format resulted in several questions. Below is
abrief sample. In this excerpt, the following APA style formatting
errors occur:

1. The first reference is cited as “Hartley, M.T. (2013).” There is
usually a space separating these initials. Between the M. and T. in
this reference.

2. The word “and” is appearing in both parenthetical and in-text
citations. When a reference is completely within parentheses, the last
author should be separated by the & (Ampersand) character.

3. The last reference has 3 authors and should be written as Koch et
al (2014) instead, it replicates the entire list of authors previously
cited.

I must be missing something obvious in my settings. What changes to
this sample need to be made to correct these formatting citation errors?

Thank you in advance for any assistance or references to places in
documentation where I can learn to correct these issues.

Todd


%%% Begin Sample %%%


\showsetup
\startbuffer[review]
@article{hartley2013,
author = {Michael T. Hartley},
title = {Investigating the Relationship of Resilience to Academic Persistence 
in College Students With Mental Health Issues},
journal = {Rehabilitation Counseling Bulletin}
volume = {56},
number = {4},
pages = {240-250},
year = {2013},
doi = {10.1177/0034355213480527},
}
@article{koch2014,
  Author =   {Lynn C. Koch and Ketevan Mamiseishvili and Kristin
Higgins},
  Title ={Persistence to degree completion: A profile of
Students with psychiatric disabilities in higher education.},
  ISSN = {1052-2263},
  Journal = {Journal of Vocational Rehabilitation},
   Number =  1,
  Pages ={73 - 82},
volume = 40,
year =   2014,
}
@article{mutanga2015,
author = {Oliver Mutanga and Melanie Walker},
  title ={Towards a Disability-inclusive Higher Education
Policy through the Capabilities Approach},
  journal = {Journal of Human Development and Capabilities},
  volume =   16,
  number =   4,
  pages ={501-517},
  year = 2015,
  doi =  {10.1080/19452829.2015.1101410},
  }
\stopbuffer
\usebtxdataset[review.buffer]
\usebtxdefinitions[apa]
\starttext

Barriers to success often arise from overt discrimination, while
others grow out of differences in the ability of the student, the
psychosocial nature of disability, and the educational technologies
used in the classroom \cite[mutanga2015, hartley2013].

Most students report a learning or psychiatric disability
\cite[koch2014].

Data from longitudinal measures such as the NLTS2 can be used to
compare groups of students over time.
\cite[alternative=authoryears][koch2014] relate that
understanding why students drop out of college is extensively
researched.

\subject{References}
\placelistofpublications
\stoptext

%%% End Sample %%%
-- 

Todd DeVries
Phone: (208) 847-5996
Fax: (208) 757-6668
More information: http://equaltext.com/aboutme.html
___
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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

[NTG-context] apa like bibliography: entries not indexed correctly

2012-11-07 Thread Andreas Mang
Dear all,

I am experiencing problems with the bibliography. My bibliographystyle is apa 
like. In the minimal example given below the maybe year is not set up 
correctly. That is I would expect to have

(Firstauthor et al., 2012a,2011,2012b)

but I get

(Firstauthor et al., 2012,2011,2012). 

It took me some time to reproduce this error. My description of the error is 
probably quite difficult to follow. I hope the example is more intuitive:

The reason for this problem to occur is that the entries in the bbl file are 
probably processed according to the alphabetic order of the last name of the 
authors. If one refers to an author publishing several articles in a single 
year (in my example 2012) and there is an additional publication that is 
published in another year (in my example 2011), the ordering is essentially 
determined by the first letter of the last name of the second author (if it was 
a different second author, otherwise third author and so on). 

If the letter of the second author in the publication published in the year in 
which there was only a single publication (in my example 2011) happens to be 
inbetween the letter of the second author on the two publications published in 
the year in which there have been two publications (in my example the 
publications in 2012), the publication (in my example 2011) will appear 
inbetween those that appeared in the same year (in my example 2012). This 
results in the maybeyear to be screwed up.


The listing will be

Firstauthor et al., 2012

Firstauthor et al., 2011

Firstauthor et al. 2012


instead of

Firstauthor et al., 2012a

Firstauthor et al., 2011

Firstauthor et al., 2012b

Cheers,
Andreas


2012.11.06 09:56 MKIV  fmt: 2012.11.7  int: english/english

\setuppublications[
alternative=apa-de,
sorttype=bbl
]
\setuppublicationlist[]

%bibtex support
\setupbibtex[database={references-example},sort=author]
%\setupbibtex[database={references},sort=author]


 MINIMAL EXAMPLE  
\starttext
\cite[Firstauthor:2012b,Firstauthor:2011a,Firstauthor:2012a]

\placepublications[criterium=text]

\stoptext
 MINIMAL EXAMPLE  


references-example.bib
Description: references-example.bib


___
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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

[NTG-context] Apa-fr

2008-11-27 Thread Jean Magnan de Bornier
Hi all (mostly Taco),

Using bibl-apa-fr.tex for bibliography, I encountered a chapter on line 111
which should (I think) be changed to Chapitre (I did that on a file at
home and it works well); my context is TL2008 so if the file has been modified
since september I have not seen that yet.

cheers,
-- 
Jean
___
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://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Apa-fr

2008-11-27 Thread Taco Hoekwater


Jean Magnan de Bornier wrote:
 Le 27 novembre à 13:34:11 Taco Hoekwater [EMAIL PROTECTED] écrit notamment:
 
 | Jean Magnan de Bornier wrote:
 |  Hi all (mostly Taco),
 |  
 |  Using bibl-apa-fr.tex for bibliography, I encountered a chapter on line 
 111
 |  which should (I think) be changed to Chapitre (I did that on a file at
 |  home and it works well); my context is TL2008 so if the file has been 
 modified
 |  since september I have not seen that yet.
 | Chapitre with capital?
 
 No, it is after a comma (sorry I was confused this morning)

I uploaded a new version to modules.contextgarden.net, thanks
for the report.

Best wishes,
Taco
___
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://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Apa-fr

2008-11-27 Thread Jean Magnan de Bornier
Le 27 novembre à 15:45:13 Taco Hoekwater [EMAIL PROTECTED] écrit notamment:

| Jean Magnan de Bornier wrote:
|  Le 27 novembre à 13:34:11 Taco Hoekwater [EMAIL PROTECTED] écrit 
notamment:
|  
|  | Jean Magnan de Bornier wrote:
|  |  Hi all (mostly Taco),
|  |  
|  |  Using bibl-apa-fr.tex for bibliography, I encountered a chapter on 
line 111
|  |  which should (I think) be changed to Chapitre (I did that on a file at
|  |  home and it works well); my context is TL2008 so if the file has been 
modified
|  |  since september I have not seen that yet.
|  | Chapitre with capital?
|  
|  No, it is after a comma (sorry I was confused this morning)

| I uploaded a new version to modules.contextgarden.net, thanks
| for the report.
Thanks,
-- 
Jean
___
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://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___