ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* References formatting (m-bib related problems)
@ 2006-03-31 20:15 Renaud AUBIN
  2006-03-31 22:48 ` Renaud AUBIN
  0 siblings, 1 reply; 6+ messages in thread
From: Renaud AUBIN @ 2006-03-31 20:15 UTC (permalink / raw)



[-- Attachment #1.1: Type: text/plain, Size: 1487 bytes --]


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





[-- Attachment #1.2: Type: text/html, Size: 1977 bytes --]

[-- Attachment #2: Type: text/plain, Size: 139 bytes --]

_______________________________________________
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2006-04-01 19:09 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-03-31 20:15 References formatting (m-bib related problems) Renaud AUBIN
2006-03-31 22:48 ` Renaud AUBIN
2006-04-01  6:35   ` Taco Hoekwater
2006-04-01 14:26     ` Renaud AUBIN
2006-04-01 17:39       ` Taco Hoekwater
2006-04-01 19:09         ` Renaud AUBIN

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).