ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* last-name only in bib
@ 2005-10-11  1:21 Idris Samawi Hamid
  2005-10-11  6:36 ` Taco Hoekwater
  0 siblings, 1 reply; 2+ messages in thread
From: Idris Samawi Hamid @ 2005-10-11  1:21 UTC (permalink / raw)


Dear Taco,

I need a last-name only option for a few but not all authors, such that no 
comma comes after the last name; rather it goes straight to the year e.g., it 
appears in the actual bibliography as

==============================================
McDermott (1976). The Theology of Shaykh Mufid
==============================================

Right now I get (with spurious comma)

==============================================
McDermott, (1976). The Theology of Shaykh Mufid
==============================================

Sometime authors give me bib's where the first name of the author is 
unknown...

Best
Idris

============================
Professor Idris Samawi Hamid
Department of Philosophy
Colorado State University
Fort Collins, CO 80523

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: last-name only in bib
  2005-10-11  1:21 last-name only in bib Idris Samawi Hamid
@ 2005-10-11  6:36 ` Taco Hoekwater
  0 siblings, 0 replies; 2+ messages in thread
From: Taco Hoekwater @ 2005-10-11  6:36 UTC (permalink / raw)


Idris Samawi Hamid wrote:
> Dear Taco,
> 
> I need a last-name only option for a few but not all authors, such that no 
> comma comes after the last name; rather it goes straight to the year e.g., it 
> appears in the actual bibliography as
> 
> ==============================================
> McDermott (1976). The Theology of Shaykh Mufid
> ==============================================
> 
> Right now I get (with spurious comma)
> 
> ==============================================
> McDermott, (1976). The Theology of Shaykh Mufid
> ==============================================
> 
> Sometime authors give me bib's where the first name of the author is 
> unknown...

This is bit of a blind gamble, but you can try this definition
instead of the default one:

   % #1 = firstname, #2 = von, #3 = surname, #4 = inits, #5 = junior
   \def\invertedshortauthor#1#2#3#4#5%
     {\bibdoif{#2}{#2 }%
      #3%
      \bibdoif{#5}{ #5}%
      \bibdoif{#4}{, #4\unskip}}%

Cheers, Taco


> Best
> Idris
> 
> ============================
> Professor Idris Samawi Hamid
> Department of Philosophy
> Colorado State University
> Fort Collins, CO 80523
> 
> _______________________________________________
> ntg-context mailing list
> ntg-context@ntg.nl
> http://www.ntg.nl/mailman/listinfo/ntg-context

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2005-10-11  6:36 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-10-11  1:21 last-name only in bib Idris Samawi Hamid
2005-10-11  6:36 ` Taco Hoekwater

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).