ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: "Thomas A. Schmitz" <thomas.schmitz@uni-bonn.de>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Bibliography: only surname in small caps
Date: Mon, 30 Jun 2014 16:24:10 +0200	[thread overview]
Message-ID: <F64842A3-AB9A-4CE1-9612-3CE9F948A064@uni-bonn.de> (raw)
In-Reply-To: <20140630150851.1ae82db7@medea1.site>


On 30 Jun 2014, at 15:08, Joshua Krämer <joshua.kraemer@gmail.com> wrote:

> Dear list,
> 
> I would like to have in a bibliography only surnames in small
> capitals, like this:
> 
> MÜLLER, B. and SCHNEIDER A.
> 
> (Müller and Schneider appear in small caps, but everything else
> like "and" is still in the default typeface.)
> 
> At the moment, I'm using the old bibliography system.  I am a bit
> overwhelmed by the new system, because I would have to setup everything
> from the beginning, as I have setup my layouts with
> \setuppublicationlayout.
> 
> Now my questions are:
> 
> Is it possible to achieve what I want (SC surnames) with the old and the
> new system?

Yes, in principle.

> 
> If I would do it with the old system, am I right that I would have to
> redefine \normalauthor or define my own author command?

You would define your own command. Something like

\def\myinvertedauthor#1#2#3#4#5%
    {{\sc #3}%
    \bibdoif{#1}{\bibalternative{surnamesep}#4\unskip}%
    \bibdoifelse{#2}{\bibalternative{vonsep}#2\unskip}{\unskip}%
    \bibdoifelse{#5}{\bibalternative{juniorsep}#5\unskip}{\unskip}%
}


> How could it be done with the new system?  I've tried to understand the
> file "publ-imp-apa.mkvi", but there's only an "author" value, and I
> don't understand how to access the name components (first name, last
> name etc.).

The interface isn’t finished yet, so you’ll have to wait a bit. But this is a good occasion to remind Hans that formatting needs for bibliographies can vary widely, so we need as much configurability as possible.

Thomas
___________________________________________________________________________________
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:[~2014-06-30 14:24 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-06-30 13:08 Joshua Krämer
2014-06-30 14:24 ` Thomas A. Schmitz [this message]
2014-06-30 19:24   ` Joshua Krämer
2014-07-01  0:39   ` Hans Hagen
     [not found] <mailman.340.1404142408.2240.ntg-context@ntg.nl>
2014-06-30 17:36 ` Robert Blackstone
2014-06-30 19:34   ` Joshua Krämer

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=F64842A3-AB9A-4CE1-9612-3CE9F948A064@uni-bonn.de \
    --to=thomas.schmitz@uni-bonn.de \
    --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).