* sorttype for bibtex
@ 2010-10-29 6:59 Aditya Mahajan
2010-10-29 7:18 ` Taco Hoekwater
0 siblings, 1 reply; 3+ messages in thread
From: Aditya Mahajan @ 2010-10-29 6:59 UTC (permalink / raw)
To: mailing list for ConTeXt users
Hi,
IIUC, the bib module manual says that
\setuppublications[sorttype=bbl]
will print the publications in the order in which they appear in the bbl
file. However, one needs
\setupbibtex[sorttype=bbl]
\setuppublications[sorttype=bbl]
to get that behavior (took forever to debug). Minimal example:
\setupbibtex[sorttype=bbl]
\setuppublications[sorttype=bbl]
\unprotect
\show\@@pbsorttype
\protect
%\tracingall
\starttext
\unprotect
\show\@@pbsorttype
\protect
\stoptext
(Try commenting on the of the \setup.... lines)
Aditya
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: sorttype for bibtex
2010-10-29 6:59 sorttype for bibtex Aditya Mahajan
@ 2010-10-29 7:18 ` Taco Hoekwater
2010-10-29 7:51 ` Aditya Mahajan
0 siblings, 1 reply; 3+ messages in thread
From: Taco Hoekwater @ 2010-10-29 7:18 UTC (permalink / raw)
To: mailing list for ConTeXt users
On 10/29/2010 08:59 AM, Aditya Mahajan wrote:
> Hi,
>
> IIUC, the bib module manual says that
>
> \setuppublications[sorttype=bbl]
>
> will print the publications in the order in which they appear in the bbl
> file. However, one needs
That sentence is technically correct. It would be wrong if
it said: "... in which they appear in the *bib* file".
Best wishes,
Taco
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: sorttype for bibtex
2010-10-29 7:18 ` Taco Hoekwater
@ 2010-10-29 7:51 ` Aditya Mahajan
0 siblings, 0 replies; 3+ messages in thread
From: Aditya Mahajan @ 2010-10-29 7:51 UTC (permalink / raw)
To: Taco Hoekwater; +Cc: mailing list for ConTeXt users
On Fri, 29 Oct 2010, Taco Hoekwater wrote:
> On 10/29/2010 08:59 AM, Aditya Mahajan wrote:
>> Hi,
>>
>> IIUC, the bib module manual says that
>>
>> \setuppublications[sorttype=bbl]
>>
>> will print the publications in the order in which they appear in the bbl
>> file. However, one needs
>
> That sentence is technically correct. It would be wrong if
> it said: "... in which they appear in the *bib* file".
Yes, it took me a long time to figure that out.
I realized that the previous example was wrong. A better example is this:
\setuppublications[alternative=apa,sorttype=bbl]
does not work because bxml-apa.mkiv is loaded at \starttext and it resets
the sorttype. Maybe we need a publicationalternative command
\definepublicationalternative[myalternative][apa]
%inherits all values from apa
\setuppublications[myalternative][sortype=bbl]
% change the value of sort type
\setuppublications[alternative=myalternative]
Aditya
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2010-10-29 7:51 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-10-29 6:59 sorttype for bibtex Aditya Mahajan
2010-10-29 7:18 ` Taco Hoekwater
2010-10-29 7:51 ` Aditya Mahajan
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).