[NTG-context] Bibliography: only surname in small caps

Joshua Krämer joshua.kraemer at gmail.com
Mon Jun 30 21:24:32 CEST 2014


On 2014-06-30, 16:24, Thomas A. Schmitz wrote:

> You would define your own command. Something like
> 
> \def\myinvertedauthor#1#2#3#4#5%
>     {{\sc #3}%
>     \bibdoif{#1}{\bibalternative{surnamesep}#4\unskip}%
>     \bibdoifelse{#2}{\bibalternative{vonsep}#2\unskip}{\unskip}%
>     \bibdoifelse{#5}{\bibalternative{juniorsep}#5\unskip}{\unskip}%
> }

Thanks for your answer, Thomas.  This is how I've done it now:


\unprotect\def\myinvertedshortauthor#1#2#3#4#5%
  {\bibdoif{#2}{#2\bibalternative\c!vonsep}%
   {\smallcaps #3}%
   \bibdoif{#5}{\bibalternative\c!juniorsep#5}%
   \bibdoif{#4}{\bibalternative\c!surnamesep#4\unskip}}
\protect

\setuppublicationlist [artauthor=\myinvertedshortauthor,
author=\myinvertedshortauthor, editor=\myinvertedshortauthor]


It works perfectly.

I'm looking forward to the new bibliography system, but on the other
hand, I'm glad I can stick with the old system for this project,
because everything else is already set up as needed.

Kind regards,
Joshua




More information about the ntg-context mailing list