39 lines
1.3 KiB
TeX
39 lines
1.3 KiB
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 }]
|
|
% interaction in de lijst lijkt stuk te zijn? Dus ik zet het uit
|
|
\setupbtx[apa:list][interaction=stop]
|
|
\setupbtxrendering[pagestate=start] % print pagina nummers
|
|
\setupbtxlist[apa][margin=1.75em]
|
|
|
|
|
|
% The dblp database ignores Pauls nice a-breve and s-comma
|
|
\btxremapauthor [Paul Fiterau{-}Brostean] [Paul Fiterău-Broștean]
|
|
|
|
% The \l does not work well, but unicode is fine
|
|
\btxremapauthor [Michal Szynwelski] [Michał Szynwelski]
|
|
\btxremapauthor [Slawomir Lasota] [Sławomir Lasota]
|
|
\btxremapauthor [Eryk Kopczynski] [Eryk Kopczyński]
|
|
\btxremapauthor [Mikolaj Bojanczyk] [Mikołaj Bojańczyk]
|
|
\btxremapauthor [Szymon Torunczyk] [Szymon Toruńczyk]
|
|
|
|
% We use the short version, as he does himself
|
|
\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)
|
|
\def\citeurl[#1]{\cite[alternative=url,left=,right=][#1]} % url
|
|
|
|
\stopenvironment
|