From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/22483 Path: news.gmane.org!not-for-mail From: Taco Hoekwater Newsgroups: gmane.comp.tex.context Subject: Re: [BIB] Extra space before surname Date: Tue, 13 Sep 2005 17:51:44 +0200 Message-ID: <4326F590.50402@elvenkind.com> References: <1174519054.20050913143712@iol.it> <4326D465.7030508@elvenkind.com> <635890617.20050913161036@iol.it> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1126626851 14870 80.91.229.2 (13 Sep 2005 15:54:11 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 13 Sep 2005 15:54:11 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Tue Sep 13 17:54:02 2005 Return-path: Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by ciao.gmane.org with esmtp (Exim 4.43) id 1EFD4b-0007SV-V1 for gctc-ntg-context-518@m.gmane.org; Tue, 13 Sep 2005 17:51:54 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id B8ECD127F3; Tue, 13 Sep 2005 17:51:53 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 27894-09-4; Tue, 13 Sep 2005 17:51:49 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 020A11282C; Tue, 13 Sep 2005 17:51:48 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 13EF51282C for ; Tue, 13 Sep 2005 17:51:48 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 27894-09-3 for ; Tue, 13 Sep 2005 17:51:47 +0200 (CEST) Original-Received: from glenfiddich.elvenkind.com (elvenknd.xs4all.nl [213.84.171.68]) by ronja.ntg.nl (Postfix) with ESMTP id 3E5F0127F3 for ; Tue, 13 Sep 2005 17:51:47 +0200 (CEST) Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by glenfiddich.elvenkind.com (Postfix) with ESMTP id 098B1181F5 for ; Tue, 13 Sep 2005 17:51:47 +0200 (CEST) Original-Received: from glenfiddich.elvenkind.com ([127.0.0.1]) by localhost (glenfiddich.elvenkind.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 01112-08 for ; Tue, 13 Sep 2005 17:51:45 +0200 (CEST) Original-Received: from [10.10.0.6] (glenlivet.elvenkind.com [10.10.0.6]) by glenfiddich.elvenkind.com (Postfix) with ESMTP id 6E4E0151AC for ; Tue, 13 Sep 2005 17:51:45 +0200 (CEST) User-Agent: Mozilla Thunderbird 1.0 (X11/20041206) X-Accept-Language: en-us, en Original-To: mailing list for ConTeXt users In-Reply-To: <635890617.20050913161036@iol.it> X-Virus-Scanned: by amavisd-new at elvenkind.net X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.5 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl X-Spam-Checker-Version: SpamAssassin 3.0.3 (2005-04-27) on smtp.ntg.nl X-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:22483 Archived-At: Giuseppe Bilotta wrote: > Tuesday, September 13, 2005 Taco Hoekwater wrote: > > > > >>Giuseppe Bilotta wrote: >> >>>Hello, >>> >>>I just noticed that there is an extra space before the >>>surname if there is no "von" part. > > >>Sounds like a familiar bug. Please try this (and let me >>know if it works or not): > > >> \usemodule[bib] >> % >> % next 3 lines hopefully fix a bug >> % >> \let\bibdoif \doifnotemptyvalue >> \let\bibdoifnot \doifemptyvalue >> \def\bibdoifelse#1#2#3{\doifemptyvalueelse{#1}{#3}{#2}} > > > Looks like something else is needed: Yeah, that's wrong all right. :-( How is this? \def\invertedshortauthor#1#2#3#4#5% {\doifnotempty{#2}{#2\bibalternative\c!vonsep}% #3\bibalternative\c!surnamesep \doifnotempty{#5}{#5\bibalternative\c!juniorsep}% \doifnotempty{#4}{#4\unskip}} (we slowly are getting to the point where it is easier on you to send me the actual document and a list of errors in t-bib :)) Taco