* Incompatibility bib num style / reference prefix option
@ 2008-03-15 16:27 Morgan Brassel
2008-03-17 10:08 ` Taco Hoekwater
0 siblings, 1 reply; 3+ messages in thread
From: Morgan Brassel @ 2008-03-15 16:27 UTC (permalink / raw)
To: mailing list for ConTeXt users
Hi,
I think I discovered a bug in the 'num' alternative of the bib module. It
seems to be incompatible with the prefix=+ option of referencing. The
following example gives an unknow reference:
% tex file
\usemodule[bib]
\setupbibtex[database=biblio]
\setuppublications[alternative=num]
\setuphead[chapter][prefix=+] % <<<< OK if commented
\starttext
\chapter[chap:one]{One} % <<<< OK if commented
Text \cite[test] text.
\completepublications
\stoptext
% bib file biblio.bib
@BOOK{test,
title = {T},
publisher = {P},
year = {Y},
author = {A}
}
By the way, the 'num' alternative also gives an unknow reference when
\completepublications is not present, while the default alternative is OK. Is
there a particular reason for this? Thanks.
Greetings,
Morgan
___________________________________________________________________________________
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] 3+ messages in thread
* Re: Incompatibility bib num style / reference prefix option
2008-03-15 16:27 Incompatibility bib num style / reference prefix option Morgan Brassel
@ 2008-03-17 10:08 ` Taco Hoekwater
2008-03-17 23:33 ` Morgan Brassel
0 siblings, 1 reply; 3+ messages in thread
From: Taco Hoekwater @ 2008-03-17 10:08 UTC (permalink / raw)
To: mailing list for ConTeXt users
Morgan Brassel wrote:
> Hi,
>
> I think I discovered a bug in the 'num' alternative of the bib module. It
> seems to be incompatible with the prefix=+ option of referencing.
Yes, indeed. It is doubtful that it ever will be compatible with
prefixes, it needs to do too much black magic behind the scenes.
>
> By the way, the 'num' alternative also gives an unknow reference when
> \completepublications is not present, while the default alternative is OK. Is
> there a particular reason for this? Thanks.
Yes. You are asking for the sequence number in the list of publications.
That is (by definition) undefined if there is no such list (yet).
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] 3+ messages in thread
* Re: Incompatibility bib num style / reference prefix option
2008-03-17 10:08 ` Taco Hoekwater
@ 2008-03-17 23:33 ` Morgan Brassel
0 siblings, 0 replies; 3+ messages in thread
From: Morgan Brassel @ 2008-03-17 23:33 UTC (permalink / raw)
To: mailing list for ConTeXt users
On Mon, 17 Mar 2008, Taco Hoekwater wrote:
> Morgan Brassel wrote:
>> Hi,
>>
>> I think I discovered a bug in the 'num' alternative of the bib module. It
>> seems to be incompatible with the prefix=+ option of referencing.
>
> Yes, indeed. It is doubtful that it ever will be compatible with
> prefixes, it needs to do too much black magic behind the scenes.
Hi Taco,
Thank you for the information. That's not really a problem to me, I'll
change my references to new ones.
>> By the way, the 'num' alternative also gives an unknow reference when
>> \completepublications is not present, while the default alternative is OK. Is
>> there a particular reason for this? Thanks.
>
> Yes. You are asking for the sequence number in the list of publications.
> That is (by definition) undefined if there is no such list (yet).
I see. Anyway, it seems weird to make citations in a document without
including a bibliography...
Greetings,
Morgan
___________________________________________________________________________________
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] 3+ messages in thread
end of thread, other threads:[~2008-03-17 23:33 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-03-15 16:27 Incompatibility bib num style / reference prefix option Morgan Brassel
2008-03-17 10:08 ` Taco Hoekwater
2008-03-17 23:33 ` Morgan Brassel
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).