ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Robert Blackstone <blackstone.robert@gmail.com>
To: "ntg-context@ntg.nl" <ntg-context@ntg.nl>
Subject: Bibliography, replacing repeated authorname by a dash
Date: Fri, 6 Sep 2013 19:18:29 +0200	[thread overview]
Message-ID: <E7E7ED0B-AB05-4A1F-8C7A-8F9711459F59@gmail.com> (raw)

Dear List,
I'm typesetting a PhD thesis. The university has strict and not quite standard specifications for the Bibliography and one of these is that if an author's name is only given with its first entry and  must be replaced by a dash in the following entries.

Is there anybody on this list who can give me a method worthy of ConTeXt? (I've no experience with Lua myself.)

I did find a hack, i.e. replacing in the .bbl-file the author's last name by "\hl[4]" (and omitting his initial) the second time, as shown in the minimal example. But that requires modifying the .bbl-file manually, a task which I'd rather avoid, but will do if necessary.

Thanks in advance for any advice.

Best regards,
Robert Blackstone

 %<-----------------------ME----------------------------------------------------------
\setuppublications[alternative=apa,sorttype=bbl]
\setuphead[chapter][number=no]

\starttext 
\chapter{References}

\setuppublicationlist[samplesize=,totalnumber=2]

\startpublication[k=Agazzari:1607ek,t=book,
a={{Agazzari}},y=1607,
n=347,s=Aga07]
\author[]{Agostino}[A.]{}{Agazzari}
\pubyear{1607}
\title{Del suonare sopra il basso con tutti stromenti \& uso loro nel conserto}
\city{Siena}
\pubname{Domenico Falcini}
\stoppublication

\startpublication[k=Agazzari:1608fk,t=book,
a={{Agazzari}},y=1608,
n=118,s=Aga08]
\author[]{Agostino}[]{}{\hl[4]}
\pubyear{1608}
\title{Bassus ad Organum \& Musica instrumenta}
\city{Venice}
\pubname{Amadinus}
\stoppublication

\nocite[Agazzari:1607ek]
\nocite[Agazzari:1608fk]

\placepublications[criterium=cite]

\stoptext 
%-----------------------------------------------------------------------------------

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


                 reply	other threads:[~2013-09-06 17:18 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=E7E7ED0B-AB05-4A1F-8C7A-8F9711459F59@gmail.com \
    --to=blackstone.robert@gmail.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).