From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/26695 Path: news.gmane.org!not-for-mail From: Renaud AUBIN Newsgroups: gmane.comp.tex.context Subject: References formatting (m-bib related problems) Date: Fri, 31 Mar 2006 22:15:27 +0200 Message-ID: <442D8DDF.7030001@nibua-r.org> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0899273520==" X-Trace: sea.gmane.org 1143836103 391 80.91.229.2 (31 Mar 2006 20:15:03 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 31 Mar 2006 20:15:03 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Fri Mar 31 22:15:01 2006 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org 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 1FPQ14-0001Ex-C1 for gctc-ntg-context-518@m.gmane.org; Fri, 31 Mar 2006 22:14:42 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id D1AF5127A3; Fri, 31 Mar 2006 22:14:41 +0200 (CEST) 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 11416-04; Fri, 31 Mar 2006 22:14:37 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id E1C1212792; Fri, 31 Mar 2006 22:14:36 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id ADDCC12792 for ; Fri, 31 Mar 2006 22:14:35 +0200 (CEST) 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 11815-01 for ; Fri, 31 Mar 2006 22:14:34 +0200 (CEST) Original-Received: from 26.mail-out.ovh.net (26.mail-out.ovh.net [213.186.42.179]) by ronja.ntg.nl (Postfix) with SMTP id 8BDE91277C for ; Fri, 31 Mar 2006 22:14:34 +0200 (CEST) Original-Received: (qmail 14976 invoked by uid 503); 31 Mar 2006 20:14:45 -0000 Original-Received: (QMFILT: 1.0); 31 Mar 2006 20:14:45 -0000 Original-Received: from b7.ovh.net (HELO mail154.ha.ovh.net) (213.186.33.57) by 26.mail-out.ovh.net with SMTP; 31 Mar 2006 20:14:45 -0000 Original-Received: from b0.ovh.net (HELO queue-out) (213.186.33.50) by b0.ovh.net with SMTP; 31 Mar 2006 20:14:05 -0000 Original-Received: from mail154.ha.ovh.net (10.0.50.154) by mail154.ha.ovh.net with SMTP; 31 Mar 2006 20:14:04 -0000 Original-Received: from b0.ovh.net (HELO queue-pre) (213.186.33.50) by b0.ovh.net with SMTP; 31 Mar 2006 20:14:03 -0000 Original-Received: from d213-103-110-141.cust.tele2.fr (HELO ?192.168.78.10?) (aubin@nibua-r.org@213.103.110.141) by ns0.ovh.net with SMTP; 31 Mar 2006 20:14:03 -0000 User-Agent: Mozilla Thunderbird 1.0.7 (X11/20051017) X-Accept-Language: fr, en Original-To: ConTeXt Mailing List X-Ovh-Remote: 213.103.110.141 (d213-103-110-141.cust.tele2.fr) X-Ovh-Local: 213.186.33.20 (ns0.ovh.net) X-Spam-Check: fait|type 1&3|0.5|H 0.5 X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.7 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:26695 Archived-At: This is a multi-part message in MIME format. --===============0899273520== Content-Type: multipart/alternative; boundary="------------030107030408060707010309" This is a multi-part message in MIME format. --------------030107030408060707010309 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Hi all, At first, I use m-bib-beta-20060208.zip. Up to now, I used: \setupbibtex[database=biblio,sort=author] \setuppublications[alternative=num-fr,sorttype=bbl,numbering=yes] %% In order to format Names with small capitals: \def\mynormalauthor#1#2#3#4#5% {\bibdoif{#1}{#1\bibalternative{firstnamesep}}% \bibdoif{#2}{#2\bibalternative{vonsep}}% \bgroup\sc#3\egroup\bibalternative{surnamesep}\unskip \bibdoif{#5}{#5\unskip}} \setuppublicationlist [artauthor=\mynormalauthor, editor=\mynormalauthor, author=\mynormalauthor] Everything works fine, but now I would use apa-fr and I have some problems. After discussing this topic with Taco on #context, I have tried the following code: % \cite[name00] should return [Name, 2000] \unprotect\def\mybibcommand#1{\expanded{\cite[\@@pbk]}~~} \protect \setupbibtex[database=biblio,sort=author] \setuppublications[alternative=apa,sorttype=bbl,numbercommand=\mybibcommand, numbering=yes,autohang=yes] \setupcite[authoryears][left={[},right={]}] So, just forget to format the authors with normalauthor & small capitals.... It's ok for the cite command but labels of the references listing is wrong (each label are the same and correspond in fact to the last entry ! )... Any idea ??? Add to this the fact that I don't like the formatting of the year -> (1999). Since I like the formatting applied with num-fr, how to reproduce it with apa-fr. (I have tested apa and apa-fr and it gives same results in either) Cheers, Renaud --------------030107030408060707010309 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit
Hi all,


At first, I use m-bib-beta-20060208.zip. Up to now, I used:

\setupbibtex[database=biblio,sort=author]
\setuppublications[alternative=num-fr,sorttype=bbl,numbering=yes]

%% In order to format Names with small capitals:
\def\mynormalauthor#1#2#3#4#5%
{\bibdoif{#1}{#1\bibalternative{firstnamesep}}%
\bibdoif{#2}{#2\bibalternative{vonsep}}%
\bgroup\sc#3\egroup\bibalternative{surnamesep}\unskip
\bibdoif{#5}{#5\unskip}}

\setuppublicationlist
  [artauthor=\mynormalauthor,
   editor=\mynormalauthor,
   author=\mynormalauthor]


Everything works fine, but now I would use apa-fr and I have some problems. After discussing this topic with Taco on #context, I have tried the following code:
% \cite[name00] should return [Name, 2000]
\unprotect\def\mybibcommand#1{\expanded{\cite[\@@pbk]}~~} \protect
\setupbibtex[database=biblio,sort=author]
\setuppublications[alternative=apa,sorttype=bbl,numbercommand=\mybibcommand, numbering=yes,autohang=yes]

\setupcite[authoryears][left={[},right={]}]

So, just forget to format the authors with normalauthor & small capitals.... It's ok for the cite command but labels of the references listing is wrong (each label are the same and correspond in fact to the last entry ! )... Any idea ???

Add to this the fact that I don't like the formatting of the year -> (1999). Since I like the formatting applied with num-fr, how to reproduce it with apa-fr.
(I have tested apa and apa-fr and it gives same results in either)

Cheers,

Renaud




--------------030107030408060707010309-- --===============0899273520== 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 --===============0899273520==--