* \setupbibtex[sort=author]
@ 2008-08-14 16:30 Michael Green
2008-08-14 16:59 ` \setupbibtex[sort=author] Taco Hoekwater
0 siblings, 1 reply; 5+ messages in thread
From: Michael Green @ 2008-08-14 16:30 UTC (permalink / raw)
To: ntg-context
I would like to have a list of references sorted alphabetically by
author surnames.
My environment file has \setupbibtex[sort=author] and
\setuppublications[sorttype=bbl]
As I understand it, the \setupbibtex instruction is supposed to
influence the .aux file. Specifically, the .aux file is supposed to
include this line: \bibstyle{cont-au}. Then, bibtex will read the aux
file and produce a .bbl file that is sorted alphabetically. Then
ConTeXt's bib module will read the .bbl file and follow the sorting
it finds in that file.
However, after each ConTeXt run this line in the .aux file is set as
\bibstyle{cont-no}. This happens in both Mk IV and Mk II, ConTeXt
ver: 2008.08.05 18:47
I can change the relevant line in the aux file by hand, from \bibstyle
{cont-no} to \bibstyle{cont-au}. This gives me the desired result
when the file was processed by ConTeXt. The reference list is sorted
alphabetically.
In fact, subsequent ConTeXt runs using Mk IV (but not Mk II) produce
an alphabetically sorted reference list, despite the changed line in
the .aux file, provided bibtex is not run in the meantime. (Mk II
runs it automatically but Mk IV doesn't ... I think)
But this is not a fully stable situation. Suppose the bib file
changes. Then I would run bibtex again. And then the alphabetical
sorting is undone. Or, it was when I tested it.
I don't know if this is a bug, a misunderstanding on my part, or a
feature to be added later. If my memory is correct, this is not the
way that Mk II used to behave. But in any event, It would be great to
know of a more automatic way of handling this if one is available.
Thank you!
Michael
___________________________________________________________________________________
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 : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: \setupbibtex[sort=author]
2008-08-14 16:30 \setupbibtex[sort=author] Michael Green
@ 2008-08-14 16:59 ` Taco Hoekwater
0 siblings, 0 replies; 5+ messages in thread
From: Taco Hoekwater @ 2008-08-14 16:59 UTC (permalink / raw)
To: mailing list for ConTeXt users
Michael Green wrote:
> I would like to have a list of references sorted alphabetically by
> author surnames.
>
> My environment file has \setupbibtex[sort=author] and
> \setuppublications[sorttype=bbl]
You probably have two \setupbibtex commands then, and that is
currently not allowed.
The \setupbibtex command with the database= line wins, and if that
one doesn't have a sort=, the default cont-no.bst will be used.
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 : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: \setupbibtex[sort=author]
@ 2008-08-15 2:14 Michael Green
0 siblings, 0 replies; 5+ messages in thread
From: Michael Green @ 2008-08-15 2:14 UTC (permalink / raw)
To: ntg-context
Taco Hoekwater wrote:
>> Michael Green wrote:
>>
>> That is exactly right: I did have two \setupbibtex commands. Thanks!
>>
>
> it is good to know that my glass orb is still working :-)
It WAS a little spooky.
mjg
___________________________________________________________________________________
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 : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: \setupbibtex[sort=author]
2008-08-14 17:15 \setupbibtex[sort=author] Michael Green
@ 2008-08-14 17:20 ` Taco Hoekwater
0 siblings, 0 replies; 5+ messages in thread
From: Taco Hoekwater @ 2008-08-14 17:20 UTC (permalink / raw)
To: mailing list for ConTeXt users
Michael Green wrote:
> Taco Hoekwater wrote:
>> Michael Green wrote:
>> > I would like to have a list of references sorted alphabetically by
>> > author surnames.
>> >
>> > My environment file has \setupbibtex[sort=author] and
>> > \setuppublications[sorttype=bbl]
>>
>> You probably have two \setupbibtex commands then, and that is
>> currently not allowed.
>>
>> The \setupbibtex command with the database= line wins, and if that
>> one doesn't have a sort=, the default cont-no.bst will be used.
>>
>> Best wishes,
>> Taco
>
> That is exactly right: I did have two \setupbibtex commands. Thanks!
it is good to know that my glass orb is still working :-)
___________________________________________________________________________________
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 : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: \setupbibtex[sort=author]
@ 2008-08-14 17:15 Michael Green
2008-08-14 17:20 ` \setupbibtex[sort=author] Taco Hoekwater
0 siblings, 1 reply; 5+ messages in thread
From: Michael Green @ 2008-08-14 17:15 UTC (permalink / raw)
To: ntg-context
[-- Attachment #1.1: Type: text/plain, Size: 563 bytes --]
Taco Hoekwater wrote:
> Michael Green wrote:
> > I would like to have a list of references sorted alphabetically by
> > author surnames.
> >
> > My environment file has \setupbibtex[sort=author] and
> > \setuppublications[sorttype=bbl]
>
> You probably have two \setupbibtex commands then, and that is
> currently not allowed.
>
> The \setupbibtex command with the database= line wins, and if that
> one doesn't have a sort=, the default cont-no.bst will be used.
>
> Best wishes,
> Taco
That is exactly right: I did have two \setupbibtex commands. Thanks!
mjg
[-- Attachment #1.2: Type: text/html, Size: 3905 bytes --]
[-- Attachment #2: Type: text/plain, Size: 487 bytes --]
___________________________________________________________________________________
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 : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2008-08-15 2:14 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-08-14 16:30 \setupbibtex[sort=author] Michael Green
2008-08-14 16:59 ` \setupbibtex[sort=author] Taco Hoekwater
2008-08-14 17:15 \setupbibtex[sort=author] Michael Green
2008-08-14 17:20 ` \setupbibtex[sort=author] Taco Hoekwater
2008-08-15 2:14 \setupbibtex[sort=author] Michael Green
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).