From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/87926 Path: news.gmane.org!not-for-mail From: Joshua =?UTF-8?B?S3LDpG1lcg==?= Newsgroups: gmane.comp.tex.context Subject: Re: Bibliography: only surname in small caps Date: Mon, 30 Jun 2014 21:24:32 +0200 Message-ID: <20140630212432.79cab509@medea1.site> References: <20140630150851.1ae82db7@medea1.site> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1404156328 31031 80.91.229.3 (30 Jun 2014 19:25:28 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 30 Jun 2014 19:25:28 +0000 (UTC) To: ntg-context-wvrSQK3plZs@public.gmane.org Original-X-From: ntg-context-bounces-wvrSQK3plZs@public.gmane.org Mon Jun 30 21:25:24 2014 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([5.39.185.229]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1X1hCc-0004Hd-9y for gctc-ntg-context-518@m.gmane.org; Mon, 30 Jun 2014 21:25:22 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id F280110290 for ; Mon, 30 Jun 2014 21:25:21 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id xHRqP7cBZv1x for ; Mon, 30 Jun 2014 21:25:21 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 031AA10222 for ; Mon, 30 Jun 2014 21:25:14 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 560D2101E6 for ; Mon, 30 Jun 2014 21:25:10 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id A8TinHwPbJiP for ; Mon, 30 Jun 2014 21:25:05 +0200 (CEST) Original-Received: from filter4-ams.mf.surf.net (filter4-ams.mf.surf.net [192.87.102.72]) by balder.ntg.nl (Postfix) with ESMTP id D4BEE101E3 for ; Mon, 30 Jun 2014 21:25:00 +0200 (CEST) Original-Received: from plane.gmane.org (plane.gmane.org [80.91.229.3]) by filter4-ams.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id s5UJoqU9023437 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NOT) for ; Mon, 30 Jun 2014 21:50:53 +0200 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1X1hCF-000483-AF for ntg-context-wvrSQK3plZs@public.gmane.org; Mon, 30 Jun 2014 21:24:59 +0200 Original-Received: from hsi-kbw-046-005-000-010.hsi8.kabel-badenwuerttemberg.de ([46.5.0.10]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 30 Jun 2014 21:24:59 +0200 Original-Received: from joshua.kraemer by hsi-kbw-046-005-000-010.hsi8.kabel-badenwuerttemberg.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 30 Jun 2014 21:24:59 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 34 Original-X-Complaints-To: usenet-dbVV3NMTNubNLxjTenLetw@public.gmane.org X-Gmane-NNTP-Posting-Host: hsi-kbw-046-005-000-010.hsi8.kabel-badenwuerttemberg.de X-Newsreader: Claws Mail 3.9.2 (GTK+ 2.24.22; i586-suse-linux-gnu) X-Archive: encrypt X-Bayes-Prob: 0.0001 (Score 0, tokens from: ntg-context-wvrSQK3plZs@public.gmane.org, base:default, @@RPTN) X-CanIt-Geo: ip=80.91.229.3; country=NO; latitude=62.0000; longitude=10.0000; http://maps.google.com/maps?q=62.0000,10.0000&z=6 X-CanItPRO-Stream: uu:ntg-context-wvrSQK3plZs@public.gmane.org (inherits from uu:default, base:default) X-Canit-Stats-ID: 01MkHORov - 376a61535918 - 20140630 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.72 X-BeenThere: ntg-context-wvrSQK3plZs@public.gmane.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces-wvrSQK3plZs@public.gmane.org Original-Sender: ntg-context-bounces-wvrSQK3plZs@public.gmane.org Xref: news.gmane.org gmane.comp.tex.context:87926 Archived-At: 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 ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context-wvrSQK3plZs@public.gmane.org / 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 ___________________________________________________________________________________