From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/24386 Path: news.gmane.org!not-for-mail From: "Thomas A. Schmitz" Newsgroups: gmane.comp.tex.context Subject: Re: Small capitals for the name in m-bib Date: Fri, 16 Dec 2005 14:58:49 +0100 Message-ID: <5D28432F-906C-4C3A-A087-E966F8E32DDC@uni-bonn.de> References: <43A28DC3.5010309@nibua-r.org> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 (Apple Message framework v746.2) Content-Type: multipart/mixed; boundary="===============0658202283==" X-Trace: sea.gmane.org 1134741742 14900 80.91.229.2 (16 Dec 2005 14:02:22 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 16 Dec 2005 14:02:22 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Fri Dec 16 15:02:20 2005 Return-path: Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by ciao.gmane.org with esmtp (Exim 4.43) id 1EnG6w-0007Nz-Qh for gctc-ntg-context-518@m.gmane.org; Fri, 16 Dec 2005 14:59:02 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 61AEC12828; Fri, 16 Dec 2005 14:59:02 +0100 (CET) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 22961-03; Fri, 16 Dec 2005 14:58:58 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id C1E001278A; Fri, 16 Dec 2005 14:58:57 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 9EAF61278A for ; Fri, 16 Dec 2005 14:58:55 +0100 (CET) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 22726-08 for ; Fri, 16 Dec 2005 14:58:54 +0100 (CET) Original-Received: from uni-bonn.de (mail.uni-bonn.de [131.220.15.112]) by ronja.ntg.nl (Postfix) with ESMTP id 624E61277F for ; Fri, 16 Dec 2005 14:58:54 +0100 (CET) Original-Received: from [131.220.89.142] (HELO [131.220.89.142]) by uni-bonn.de (CommuniGate Pro SMTP 4.2.10) with ESMTP id 26525416 for ntg-context@ntg.nl; Fri, 16 Dec 2005 14:58:53 +0100 In-Reply-To: <43A28DC3.5010309@nibua-r.org> Original-To: mailing list for ConTeXt users X-Mailer: Apple Mail (2.746.2) X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.5 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl X-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:24386 Archived-At: --===============0658202283== Content-Type: multipart/alternative; boundary=Apple-Mail-1--331976577 --Apple-Mail-1--331976577 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed I'm not Taco, but this should work (it works for me): authors' names are set up by commands like \invertedautor (bibtex manual p. 3-4). You can write your own version of that. If you want the last name first, in small caps, like this "AUBIN, Renaud," you can use this version: \def\myinvertedauthor#1#2#3#4#5% {\bgroup\sc#3\egroup\bibalternative{surnamesep}% \bibdoif{#1}{#1\unskip}% \bibdoifelse{#2}{\bibalternative{vonsep}#2\unskip}{\unskip}% \bibdoifelse{#5}{\bibalternative{juniorsep}#5\unskip}{\unskip}% } Then, tell bibtex to use this command: \setuppublicationlist [artauthor=\myinvertedauthor, editor=\myinvertedauthor, author=\myinvertedauthor] Needless to say, this will only work if you use a font that actually has small caps... HTH Thomas On Dec 16, 2005, at 10:49 AM, Renaud AUBIN wrote: > > Hi all, > > Taco, surely you're the one able to answer... > > I want to have last names (and "von") of the authors in small > capitals in my bibliography. Since, I'm not m-bib expert, how to > manage the point properly ? > > Taco, I'm translating a bibli-num-fr.tex and bibl-apa-fr.tex, do > you want them when it's over ? Maybe is there some other french > people that can check it out and improve it ? > > Thanks, > > > _______________________________________________ > ntg-context mailing list > ntg-context@ntg.nl > http://www.ntg.nl/mailman/listinfo/ntg-context --Apple-Mail-1--331976577 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=ISO-8859-1 I'm not Taco, but this should = work (it works for me):

authors' names are set up = by commands like \invertedautor (bibtex manual p. 3-4). You can write = your own version of that. If you want the last name first, in small = caps, like this "AUBIN, Renaud," you can use this version:


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

Then, tell = bibtex to use this command:


\setuppublicationlist
=A0=A0 [artauthor=3D\myinvertedauthor,
=A0 =A0 = editor=3D\myinvertedauthor,
=A0 =A0 = author=3D\myinvertedauthor]

Needless to say, this will = only work if you use a font that actually has small = caps...

HTH

Thomas

On Dec 16, 2005, at 10:49 AM, Renaud AUBIN wrote:


Hi all,

Taco, surely = you're the one able to answer...

I want to have last names (and = "von") of the authors in small capitals in my bibliography. Since, I'm = not m-bib expert, how to manage the point properly ?

Taco, I'm = translating a bibli-num-fr.tex and bibl-apa-fr.tex, do you want them = when it's over ? Maybe is there some other french people that can check = it out and improve it ?

Thanks,


=
ntg-context mailing list
=

= --Apple-Mail-1--331976577-- --===============0658202283== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context --===============0658202283==--