ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Taco Hoekwater <taco@elvenkind.com>
Subject: Re: last-name only in bib
Date: Tue, 11 Oct 2005 08:36:40 +0200	[thread overview]
Message-ID: <434B5D78.3000309@elvenkind.com> (raw)
In-Reply-To: <436FE567@webmail.colostate.edu>

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

      reply	other threads:[~2005-10-11  6:36 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-10-11  1:21 Idris Samawi Hamid
2005-10-11  6:36 ` Taco Hoekwater [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=434B5D78.3000309@elvenkind.com \
    --to=taco@elvenkind.com \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).