# [NTG-context] bibliography basics

Hagmann Jörg joerg.hagmann at unibas.ch
Thu May 5 16:34:31 CEST 2011

Hi Taco and Thomas,

Thank you very much for both the explanations and the solution.

Jörg

On May 5, 2011, at 4:25 PM, Thomas A. Schmitz wrote:

>
> On May 5, 2011, at 2:24 PM, Hagmann Jörg wrote:
>
>> Hi Taco,
>>
>> Thanks, but my problem is not sorting, it is the appearance of the references in the list of references.
>>
>> When using "\setuppublications[alternative=num,criterium=text,sorttype=cite]", I get the sequence "first name-surname- etc." no matter what I say in "setuppublicationlist[author=...]".
>>
>> When using "\setuppublications[alternative=apa,sorttype=bbl]" , I get "surname-initials-etc." no matter what I say in "setuppublicationlist[author=...]".
>>
>> How can I control the publicationlist? Probably something trivial.
>>
>> Thanks, Jörg
>
> Have you seen the examples on p. 4-5 of the documentation of Taco's module? I don't have time to look at your examples, I can just give you code snippets from what I use, and it works:
>
> \def\myinvertedauthor#1#2#3#4#5%
>   {#3\bibalternative{surnamesep}%
>    \bibdoif{#4}{#4\unskip}%
>    \bibdoifelse{#2}{\bibalternative{vonsep}#2\unskip}{\unskip}%
>    \bibdoifelse{#5}{\bibalternative{juniorsep}#5\unskip}{\unskip}%
> }
>
> \setuppublicationlist
>   [width=24pt,
>    artauthor=\myinvertedauthor,
>    editor=\myinvertedauthor,
>    author=\myinvertedauthor]
>
> HTH
>
> Thomas
> ___________________________________________________________________________________
> If your question is of interest to others as well, please add an entry to the Wiki!
>
> maillist : ntg-context at 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
> ___________________________________________________________________________________