ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Biblography list does not show numbers
@ 2009-12-05 19:04 Matthijs Kooijman
  2009-12-05 19:19 ` Matthijs Kooijman
  0 siblings, 1 reply; 8+ messages in thread
From: Matthijs Kooijman @ 2009-12-05 19:04 UTC (permalink / raw)
  To: Mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 1055 bytes --]

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

[-- Attachment #1.2: Digital signature --]
[-- Type: application/pgp-signature, Size: 197 bytes --]

[-- Attachment #2: Type: text/plain, Size: 486 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  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Biblography list does not show numbers
  2009-12-05 19:04 Biblography list does not show numbers Matthijs Kooijman
@ 2009-12-05 19:19 ` Matthijs Kooijman
  2009-12-06  7:53   ` Taco Hoekwater
  0 siblings, 1 reply; 8+ messages in thread
From: Matthijs Kooijman @ 2009-12-05 19:19 UTC (permalink / raw)
  To: Mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 349 bytes --]

> 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

[-- Attachment #1.2: Digital signature --]
[-- Type: application/pgp-signature, Size: 197 bytes --]

[-- Attachment #2: Type: text/plain, Size: 486 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  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Biblography list does not show numbers
  2009-12-05 19:19 ` Matthijs Kooijman
@ 2009-12-06  7:53   ` Taco Hoekwater
  2009-12-06  8:53     ` Otared Kavian
  2009-12-06 10:28     ` Matthijs Kooijman
  0 siblings, 2 replies; 8+ messages in thread
From: Taco Hoekwater @ 2009-12-06  7:53 UTC (permalink / raw)
  To: Mailing list for ConTeXt users

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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Biblography list does not show numbers
  2009-12-06  7:53   ` Taco Hoekwater
@ 2009-12-06  8:53     ` Otared Kavian
  2009-12-06  9:15       ` Taco Hoekwater
  2009-12-06 10:28     ` Matthijs Kooijman
  1 sibling, 1 reply; 8+ messages in thread
From: Otared Kavian @ 2009-12-06  8:53 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 2212 bytes --]

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

[-- Attachment #1.2: Type: text/html, Size: 3885 bytes --]

[-- Attachment #2: Type: text/plain, Size: 486 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  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Biblography list does not show numbers
  2009-12-06  8:53     ` Otared Kavian
@ 2009-12-06  9:15       ` Taco Hoekwater
  2009-12-06 10:21         ` Otared Kavian
  0 siblings, 1 reply; 8+ messages in thread
From: Taco Hoekwater @ 2009-12-06  9:15 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Biblography list does not show numbers
  2009-12-06  9:15       ` Taco Hoekwater
@ 2009-12-06 10:21         ` Otared Kavian
  0 siblings, 0 replies; 8+ messages in thread
From: Otared Kavian @ 2009-12-06 10:21 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 1555 bytes --]

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.Kavian@math.uvsq.fr




[-- Attachment #1.2: Type: text/html, Size: 3390 bytes --]

[-- Attachment #2: Type: text/plain, Size: 486 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  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Biblography list does not show numbers
  2009-12-06  7:53   ` Taco Hoekwater
  2009-12-06  8:53     ` Otared Kavian
@ 2009-12-06 10:28     ` Matthijs Kooijman
  2009-12-06 11:22       ` Taco Hoekwater
  1 sibling, 1 reply; 8+ messages in thread
From: Matthijs Kooijman @ 2009-12-06 10:28 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 639 bytes --]

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

[-- Attachment #1.2: Digital signature --]
[-- Type: application/pgp-signature, Size: 197 bytes --]

[-- Attachment #2: Type: text/plain, Size: 486 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  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Biblography list does not show numbers
  2009-12-06 10:28     ` Matthijs Kooijman
@ 2009-12-06 11:22       ` Taco Hoekwater
  0 siblings, 0 replies; 8+ messages in thread
From: Taco Hoekwater @ 2009-12-06 11:22 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2009-12-06 11:22 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-12-05 19:04 Biblography list does not show numbers Matthijs Kooijman
2009-12-05 19:19 ` Matthijs Kooijman
2009-12-06  7:53   ` Taco Hoekwater
2009-12-06  8:53     ` Otared Kavian
2009-12-06  9:15       ` Taco Hoekwater
2009-12-06 10:21         ` Otared Kavian
2009-12-06 10:28     ` Matthijs Kooijman
2009-12-06 11:22       ` Taco Hoekwater

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).