29 lines
1,004 B
TeX
29 lines
1,004 B
TeX
\startenvironment bib
|
|
|
|
% https://wiki.contextgarden.net/Question_marks_in_bibliography_entries
|
|
\def\gobblestop#1#2{#1}
|
|
\def\killstop{%
|
|
\aftergroup\gobblestop
|
|
}
|
|
|
|
\usebtxdefinitions[apa]
|
|
\usebtxdataset[../biblio.bib]
|
|
\usebtxdataset[../biblio-eigen.bib]
|
|
\usebtxdataset[../biblio-web.bib]
|
|
|
|
\setupbtx[apa:cite][etallimit=2,separator:4={ and }]
|
|
|
|
% The dblp database ignores Pauls nice a-breve and s-comma
|
|
\btxremapauthor [Paul Fiterau{-}Brostean] [Paul Fiterău-Broștean]
|
|
\btxremapauthor [Michal Szynwelski] [Micha\l{} Szynwelski]
|
|
\btxremapauthor [Slawomir Lasota] [S\l{}awomir Lasota]
|
|
\btxremapauthor [Eryk Kopczynski] [Eryk Kopczy\'nski]
|
|
\btxremapauthor [Adenilso da Silva Simão] [Adenilso Simão]
|
|
|
|
\def\citenp[#1]{\cite[left=,right=][#1]} % Bla and Foo, 2015
|
|
\def\citet[#1]{\cite[authoryears][#1]} % Bla and Foo (2015)
|
|
\def\citep[#1]{\cite[authoryear][#1]} % (Bla and Foo, 2015)
|
|
|
|
%\cite[lefttext={See },righttext={ p.\nbsp yy}][book] -> (See Bla, Foo & Baz, 2015, p. yy)
|
|
|
|
\stopenvironment
|