Background
Similar to this question, I'd like for BibTeX references such as @collection
, @incollection
, @phdthesis
, and others to be written in much the same way is @article
and @book
references.
Minimum Working Example
This example has a bibliographic database and a ConTeXt file.
Bibliography
Saved as db.bib
:
% Encoding: UTF-8
@collection{CPC_It,
editor = {Trezzini, Francesco and Fornara, Stefano and Cocchi, Bruno and Bernasconi, Giorgio A. and {Verda Chiocchetti}, Francesca},
booktitle = {Commentario pratico al Codice di diritto processuale civile svizzero},
booksubtitle = {Volume I Parte prima: Disposizioni generali (Art. 1-196) },
location = {Pregassona},
date = {2017},
}
@incollection{IT_CPC85,
author = {Trezzini, Francesco},
title = {art. 85 CPC},
crossref = {CPC_It},
}
@collection{CR_CPC,
editor = {Bohnet, François and Haldy, Jacques and Jeandin, Nicolas and Schweizer, Philippe and Tappy, Denis},
booktitle = {Code de procédure civile commenté},
date = {2011},
location = {Bâle},
}
@incollection{CR_CPC85,
author = {Bohnet, François},
title = {art. 85 CPC},
date = {2011},
location = {Bâle},
label = {Commentaire},
crossref = {CR_CPC},
}
ConTeXt
\def\textrm{\rm}
\usebtxdataset[impacts][db.bib]
\definebtxrendering[impacts][apa][
dataset=impacts,
numbering=yes,
sorttype=index,
]
\starttext
\startbackmatter
\startchapter[title=Bibliography]
\placelistofpublications[impacts][method=dataset]
\stopchapter
\stopbackmatter
\stoptext
Actual Output
The actual output resembles:
Expected Output
The expected output would resemble:
Question
How do you code references such as @incollection
that may not be recognized by ConTeXt in its AMA style such that they appear similar to the other references (not a data dump)?
Environment
$ context --version
mtx-context | current version: 2019.06.11 19:20