Re: [NTG-context] Incompatibility bib num style / reference prefix option

2008-03-17 Thread Taco Hoekwater


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
___


Re: [NTG-context] Incompatibility bib num style / reference prefix option

2008-03-17 Thread Morgan Brassel


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
___


[NTG-context] Incompatibility bib num style / reference prefix option

2008-03-15 Thread Morgan Brassel
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
___