Re: 'editor' in @book not formatted

Jens Berger <[email protected]> Fri, 29 Nov 2002 17:48:01 +0100
Newsgroups gmane.comp.tex.bibtex.jurabib.devel
Message-ID <[email protected]>
Till Heilmann wrote:

> Jurabib doesn't format the contents of the editor field in type @book.
> I noticed it when I had an editor field that consisted of two persons.
> The entry...
>
> @BOOK{f.kafka:1969,
>   title = {{Franz Kafka. Dichter über ihre Dichtungen}},
>   author = {Franz Kafka},
>   editor = {Erich Heller and Joachim Beug},
>   year = {1969},
>   publisher = {S.~Fischer},
>   address = {München}
> }
>
> produced...
>
> KAFKA, FRANZ: Franz Kafka. Dichter über ihre Dichtungen, hrsg. v.
> Erich Heller and Joachim Beug, München: S. Fischer 1969.
>
> instead of...
>
> KAFKA, FRANZ: Franz Kafka. Dichter über ihre Dichtungen, hrsg. v.
> HELLER, ERICH/BEUG, JOACHIM, München: S. Fischer 1969.

Yes, this seems to be an forgotten function while introducing 
\jbbookedaftertitle. Please try this:

FUNCTION {book}
{ output.bibitem
   author empty$
     { editor empty$
         { "" "author and editor" output.check }
         { format.editors output.nonnull }
       if$
     }
     { editor empty$
         { format.authors output.nonnull }
         { format.authors "\jbtiafed {" format.editors * "}" *
	  output.nonnull
         }
       if$
     }
   if$
   set.after.author.sep output
   crossref missing$
     { format.btitle.vol "title" output.check }
     { format.btitle "title" output.check }
   if$
   author empty$ not editor empty$ not and
%     { "\jbedafti {\edbyname {} " editor * "," * * "} " * }
% -----------------------------------------------------------
       {
	"\jbedafti {\edbyname {} "
	editor format.editor.names * "," * * "} " *
       }
       'skip$
   if$
% -----------------------------------------------------------
   make.translators output
   format.volumetitle output
   format.edition output
   format.address.publisher.year "publisher" output.check
   new.sentence
   format.juradiss.book output
   crossref missing$
     { format.series.number output }
     { format.book.crossref output.nonnull }
   if$
   format.url output
   format.pages output
   format.totalpages output
   format.note
   format.isbn.issn output
   format.howcited output
   fin.entry.endnote
}


Jens

P.S. Please provide complete minimal example documents.
-- 
jurabib home: <http://www.jurabib.org>

Registered fli4l-User #00000167




------------------------ Yahoo! Groups Sponsor ---------------------~-->
Get 128 Bit SSL Encryption!
http://us.click.yahoo.com/CBxunD/vN2EAA/xGHJAA/EGnolB/TM
---------------------------------------------------------------------~->

To unsubscribe from this group, send an email to:
[email protected]

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/