[NTG-context] [BIB] Extra space before surname

Taco Hoekwater taco at elvenkind.com
Tue Sep 13 17:51:44 CEST 2005



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





More information about the ntg-context mailing list