Re: [NTG-context] Biblography list does not show numbers

2009-12-06 Thread Otared Kavian
On 6 déc. 2009, at 08:53, Taco Hoekwater wrote:
 […] ConTeXt has never had a very strong presence in the exact sciences.

Hi Taco and all,

In order to change this, and in order to use more easily the t-bib module, can 
you please tell us how to put the cited references in square bracket in the 
typest output, something like:
 see T. Hoekwater [2]...
when in the source file one says 
... see T. Hoekwater \cite[THoekwater]...

Since I am strongly willling to switch to ConTeXt for writing and submitting my 
maths papers, there are two other questions which I couldn't fix:
1) in the output of the minimal example below one sees two dots after the title 
of the Galileo reference; and the number of page of the Hoekwater reference 
appears as « .14p. » instead of « 14 p. »
2) the other question is that how the reference list can be in the alphabetical 
order? (Assuming that the publications are defined within the source file)

Thanks in advance.
Best regards: OK

### begin example-biblio.tex
\usemodule[bib] 

\startbuffer[bibexample]

\startpublication[
k=Galileo,
t=book,
a=Galilei]
   \author{First Name}[G. ]{}{Galilei}
   \title{Discorso sul flusso e il reflusso del mare}
   \pubyear{1616}
\stoppublication


\startpublication[
k=THoekwater,
t=manual,
a=Hoekwater,
y=2006,
s=TH2006,
n=1,
u=http://contextgarden.net/Bibliography]
\author{Taco}[T.]{}{Hoekwater}
\title{\CONTEXT\ Publication Module, The user documententation}
\pubyear{2006}
\note{In case you didn't know: this is the main manual wriiten on bib-module.}
\pages{14}
\stoppublication

\stopbuffer

\getbuffer[bibexample]

\setuppublications[numbering=yes]
\setupcite[num,left={[},right={]}]

\section{Introduction}

This is an example of article with bibliography, using the bibliography module 
(\type{t-bib.tex}) which takes care of references to publications and the 
typesetting of publication lists in  \CONTEXT. For more information see 
T.~Hoekwater~\cite[THoekwater].
If Galileo Galilei knew about this, the book  \cite[Galileo] would have been 
written differently.

\completepublications[criterirum=all]

\stoptext
### end example-biblio.tex___
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
___


Re: [NTG-context] Biblography list does not show numbers

2009-12-06 Thread Taco Hoekwater

Otared Kavian wrote:

On 6 déc. 2009, at 08:53, Taco Hoekwater wrote:

[…] ConTeXt has never had a very strong presence in the exact sciences.


Hi Taco and all,

In order to change this, and in order to use more easily the t-bib module, can 
you please tell us how to put the cited references in square bracket in the 
typest output, something like:
 see T. Hoekwater [2]...
when in the source file one says 
	... see T. Hoekwater \cite[THoekwater]...


\setuppublications[alternative=num]

See also the bibliography manual:

  http://modules.contextgarden.net/bibman

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
___


Re: [NTG-context] Biblography list does not show numbers

2009-12-06 Thread Otared Kavian
Many thanks, Taco.

Best regards: OK

On 6 déc. 2009, at 10:15, Taco Hoekwater wrote:

 Otared Kavian wrote:
 On 6 déc. 2009, at 08:53, Taco Hoekwater wrote:
 […] ConTeXt has never had a very strong presence in the exact sciences.
 Hi Taco and all,
 In order to change this, and in order to use more easily the t-bib module, 
 can you please tell us how to put the cited references in square bracket in 
 the typest output, something like:
   see T. Hoekwater [2]...
 when in the source file one says ... see T. Hoekwater 
 \cite[THoekwater]...
 
 \setuppublications[alternative=num]
 
 See also the bibliography manual:
 
  http://modules.contextgarden.net/bibman
 
 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
 ___

%%
Otared Kavian
Département de Mathématiques
Université de Versailles Saint-Quentin
Bâtiment Fermat
45 aveue des Etats Unis
78035 Versailles cedex

Téléphone: +33 1 39 25 46 42
Secrétariat: +33 1 39 25 46 44 
Secrétariat: +33 1 39 25 46 46

e-mail: otared.kav...@math.uvsq.fr



___
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
___


Re: [NTG-context] Biblography list does not show numbers

2009-12-06 Thread Matthijs Kooijman
Hi Taco,

 I have assumed that ConTeXt has more authors that need APA like
 citations than bracketed numbers. ConTeXt has never had a very
 strong presence in the exact sciences.

If that's the case, then the \cite command does the wrong thing by default,
since it generates references as bracketed numbers. My complaint was not one
of default style, but of inconsistency: \cite uses bracketed numbers, while
the list of references just uses author names and years (which I now
understand to be APA style.

This also means that this is a MkIV problem, my example did generate (author,
year) style references with MkII.

Gr.

Matthijs


signature.asc
Description: Digital signature
___
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
___


Re: [NTG-context] Biblography list does not show numbers

2009-12-06 Thread Taco Hoekwater

Matthijs Kooijman wrote:

Hi Taco,


I have assumed that ConTeXt has more authors that need APA like
citations than bracketed numbers. ConTeXt has never had a very
strong presence in the exact sciences.


If that's the case, then the \cite command does the wrong thing by default,
since it generates references as bracketed numbers. My complaint was not one
of default style, but of inconsistency: \cite uses bracketed numbers, while
the list of references just uses author names and years (which I now
understand to be APA style.

This also means that this is a MkIV problem, my example did generate (author,
year) style references with MkII.


Yes. MkII is right.

___
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
___


[NTG-context] Biblography list does not show numbers

2009-12-05 Thread Matthijs Kooijman
Hey all,

I'm trying to use a bibliography, but it seems no numbers are show in the
biblography that is generated. The following example:

Test.tex:
=
\usemodule[bib]
\setupbibtex[database=Test] 
 
\starttext 
\section{foo}
Blaa \cite[foo] Bar 
\completepublications
\stoptext

Test.bib:
==
@article{foo,
 author = {Bar},
 title = {Foo},
 year = {2009},
}

generates the following text:

  1 foo

Blaa [1] Bar

  1 References

Bar (2009). Foo. .

So, the citation gets a number as it should, is referenced by the number, but
the list of references does not list that number. This makes the bibliography
pretty useless :-) This also happens with MkII (though the reference doesn't
get a number, but uses the author name and year: (Bar, 2009).

Am I missing something, or is this a bug?

On a related note, if I remove the \section, no reference will be generated.
This is probably not a problem in real documents, though.

Gr.

Matthijs


signature.asc
Description: Digital signature
___
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
___


Re: [NTG-context] Biblography list does not show numbers

2009-12-05 Thread Matthijs Kooijman
 I'm trying to use a bibliography, but it seems no numbers are show in the
 biblography that is generated. The following example:
Ah, using

 \setuppublications[numbering=yes] 

solves this. Any reason this is not the default?

I'll put this on the wiki (and stress the completeness of the manual over the
wiki page).

Gr.

Matthijs


signature.asc
Description: Digital signature
___
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
___


Re: [NTG-context] Biblography list does not show numbers

2009-12-05 Thread Taco Hoekwater

Matthijs Kooijman wrote:

I'm trying to use a bibliography, but it seems no numbers are show in the
biblography that is generated. The following example:

Ah, using

 \setuppublications[numbering=yes] 


solves this. Any reason this is not the default?


I have assumed that ConTeXt has more authors that need APA like
citations than bracketed numbers. ConTeXt has never had a very
strong presence in the exact sciences.

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
___