bibliography: current status, Wiki page Bibliography, [[error 2]] and bibltx
Dear ConTeXt folks, I am trying to use the module bib, but I only get [[error 2]] displayed. I am following the Wiki page Bibliography [1], which suggests the following example (adapted by me). \usemodule[bib] \usemodule[bibltx] \setupbibtex[database=sample] \setuppublications[numbering=yes] % Show reference numbers in the generated list. \starttext As \cite[hh2010b] already indicated, bibtex is a \LaTeX-centric program. \completepublications \stoptext I copied the file `sample.bib` @STRING{hh = {Hans Hagen}} @ELECTRONIC{hh2010, author = hh, year = {2010}, title = {Metafun. \CONTEXT\ mkiv}, url = {http://www.pragma-ade.nl/general/manuals/metafun-s.pdf}, } @ARTICLE{hh2010a, author = hh, title = {The Font Name Mess}, journal = {MAPS}, year = {2010}, volume = {40}, pages = {2-8}, keywords = {context}, } @ARTICLE{hh2010b, author = hh, title = {Grouping in Hybrid Environments}, journal = {MAPS}, year = {2010}, volume = {40}, pages = {67-71}, keywords = {context}, } @BOOK{Eijkhout1991, title = {\TeX\ by Topic. A \TeX nician's Reference}, publisher = {Addison-Wesley}, year = {1991}, author = {Victor Eijkhout}, address = {London}, keywords = {general}, } from the bib module to the directory. Unfortunately I only get »[[error 2]]« displayed. Please find all files attached. Regarding `bibltx` the bib manual does also contain it [2][3]. Searching the Wiki for it, it says that it was dropped in version 2006.04.06 [4]. Thanks, Paul [1] http://wiki.contextgarden.net/Bibliography [2] http://modules.contextgarden.net/bibman [3] http://dl.contextgarden.net/modules/bibmod-doc/doc/context/bib/ [4] http://wiki.contextgarden.net/Context_2006.04.06
On Fri, May 20, 2011 at 12:50 PM, Paul Menzel
Dear ConTeXt folks,
I am trying to use the module bib, but I only get [[error 2]] displayed.
I see the same result from "context bibtest". I was just trying the bib support with a fresh "minimals". At some point, I read that the bib module is no longer needed, so I tried without the \usemodule lines and got the same result. Then I replaced the \completepublications and get something better, but ref. [1] is blank: %orig: \usemodule[bib] %orig: \usemodule[bibltx] \setupbibtex[database=sample] \setuppublications[numbering=yes] % Show reference numbers in the generated list. \starttext As \cite[hh2010b] already indicated, bibtex is a \LaTeX-centric program. \placepublications[criterium=all] %orig:\completepublications \stoptext
I am following the Wiki page Bibliography [1], which suggests the following example (adapted by me).
\usemodule[bib] \usemodule[bibltx] \setupbibtex[database=sample] \setuppublications[numbering=yes] % Show reference numbers in the generated list. \starttext As \cite[hh2010b] already indicated, bibtex is a \LaTeX-centric program. \completepublications \stoptext
I copied the file `sample.bib`
@STRING{hh = {Hans Hagen}}
@ELECTRONIC{hh2010, author = hh, year = {2010}, title = {Metafun. \CONTEXT\ mkiv}, url = {http://www.pragma-ade.nl/general/manuals/metafun-s.pdf}, }
@ARTICLE{hh2010a, author = hh, title = {The Font Name Mess}, journal = {MAPS}, year = {2010}, volume = {40}, pages = {2-8}, keywords = {context}, }
@ARTICLE{hh2010b, author = hh, title = {Grouping in Hybrid Environments}, journal = {MAPS}, year = {2010}, volume = {40}, pages = {67-71}, keywords = {context}, }
@BOOK{Eijkhout1991, title = {\TeX\ by Topic. A \TeX nician's Reference}, publisher = {Addison-Wesley}, year = {1991}, author = {Victor Eijkhout}, address = {London}, keywords = {general}, }
from the bib module to the directory.
Unfortunately I only get »[[error 2]]« displayed. Please find all files attached.
Regarding `bibltx` the bib manual does also contain it [2][3]. Searching the Wiki for it, it says that it was dropped in version 2006.04.06 [4].
Thanks,
Paul
[1] http://wiki.contextgarden.net/Bibliography [2] http://modules.contextgarden.net/bibman [3] http://dl.contextgarden.net/modules/bibmod-doc/doc/context/bib/ [4] http://wiki.contextgarden.net/Context_2006.04.06
___________________________________________________________________________________ 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 ___________________________________________________________________________________
--
George N. White III
Am Freitag, den 20.05.2011, 14:04 -0300 schrieb George N. White III:
On Fri, May 20, 2011 at 12:50 PM, Paul Menzel wrote:
I am trying to use the module bib, but I only get [[error 2]] displayed.
I see the same result from "context bibtest".
I was just trying the bib support with a fresh "minimals". At some point, I read that the bib module is no longer needed, so I tried without the \usemodule lines and got the same result. Then I replaced the \completepublications and get something better, but ref. [1] is blank:
%orig: \usemodule[bib] %orig: \usemodule[bibltx] \setupbibtex[database=sample] \setuppublications[numbering=yes] % Show reference numbers in the generated list.
\starttext As \cite[hh2010b] already indicated, bibtex is a \LaTeX-centric program.
\placepublications[criterium=all] %orig:\completepublications \stoptext
Thank you very much for this hint. I am getting the same result as you. Everything works but the listing of all entries. […]
I copied the file `sample.bib`
@STRING{hh = {Hans Hagen}}
@ELECTRONIC{hh2010, author = hh, year = {2010}, title = {Metafun. \CONTEXT\ mkiv}, url = {http://www.pragma-ade.nl/general/manuals/metafun-s.pdf}, }
I am guessing that `@ELECTRONIC` is the problem.
@ARTICLE{hh2010a, author = hh, title = {The Font Name Mess}, journal = {MAPS}, year = {2010}, volume = {40}, pages = {2-8}, keywords = {context}, }
@ARTICLE{hh2010b, author = hh, title = {Grouping in Hybrid Environments}, journal = {MAPS}, year = {2010}, volume = {40}, pages = {67-71}, keywords = {context}, }
@BOOK{Eijkhout1991, title = {\TeX\ by Topic. A \TeX nician's Reference}, publisher = {Addison-Wesley}, year = {1991}, author = {Victor Eijkhout}, address = {London}, keywords = {general}, }
from the bib module to the directory.
[…] If everything is solved I will add a note to the Wiki page stating that in the current ConTeXt version no module is needed and add a link to the mailing list thread. Thanks, Paul
[1] http://wiki.contextgarden.net/Bibliography [2] http://modules.contextgarden.net/bibman [3] http://dl.contextgarden.net/modules/bibmod-doc/doc/context/bib/ [4] http://wiki.contextgarden.net/Context_2006.04.06
2011/5/21 Paul Menzel
Thank you very much for this hint. I am getting the same result as you. Everything works but the listing of all entries.
You can try "\placepublications[criterium=text]" instead of "\placepublications[criterium=all]". -- Best regards, Li Yanrui (李延瑞)
Am Sonntag, den 22.05.2011, 09:33 +0800 schrieb Li Yanrui (李延瑞):
2011/5/21 Paul Menzel
: Thank you very much for this hint. I am getting the same result as you. Everything works but the listing of all entries.
You can try "\placepublications[criterium=text]" instead of "\placepublications[criterium=all]".
Thank you for the suggestion. Since the entry `@ELECTRONIC…` is not referenced in the sample text it is now not placed in the references section. The question still remains if `@ELECTRONIC` are not allowed or if this is an error. Thanks, Paul
On 22-5-2011 6:57, Paul Menzel wrote:
The question still remains if `@ELECTRONIC` are not allowed or if this is an error.
it's more that @ELECTRONIC is not defined Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
Am 20.05.2011 19:04, schrieb George N. White III:
%orig: \usemodule[bib] %orig: \usemodule[bibltx] \setupbibtex[database=sample] \setuppublications[numbering=yes] % Show reference numbers in the generated list.
\starttext As \cite[hh2010b] already indicated, bibtex is a \LaTeX-centric program.
\placepublications[criterium=all] %orig:\completepublications \stoptext
It works. But now I got some other problems: I'd like to have the numbering in brackets, which is not case. Besides the title is a german one, but all letters except for first one, are lower-case.
Am Sonntag, den 22.05.2011, 20:06 +0200 schrieb yoraxe:
Am 20.05.2011 19:04, schrieb George N. White III:
%orig: \usemodule[bib] %orig: \usemodule[bibltx] \setupbibtex[database=sample] \setuppublications[numbering=yes] % Show reference numbers in the generated list.
\starttext As \cite[hh2010b] already indicated, bibtex is a \LaTeX-centric program.
\placepublications[criterium=all] %orig:\completepublications \stoptext
It works. But now I got some other problems:
Please always open a new thread for new problems or at least update the subject line.
I'd like to have the numbering in brackets, which is not case.
I guess you have to read up about `\setuppublications` (and report back the solution).
Besides the title is a german one, but all letters except for first one, are lower-case.
Sorry, please be more specific and refer to the respective lines. Thanks, Paul
On Sun 22 May 2011, yoraxe wrote:
Besides the title is a german one, but all letters except for first one, are lower-case.
This might help: http://www.tex.ac.uk/cgi-bin/texfaq2html?label=capbibtex Pont
On So, 2011-05-22 at 19:12 +0200, Hans Hagen wrote:
On 22-5-2011 6:57, Paul Menzel wrote:
The question still remains if `@ELECTRONIC` are not allowed or if this is an error.
it's more that @ELECTRONIC is not defined
Ok, neither does it appear in the Wikipedia article [1]. Who is responsible for updating the example BibTeX file [2] in the Minimal distribution then? Thanks, Paul [1] https://secure.wikimedia.org/wikipedia/en/wiki/BibTeX#Entry_Types [2] /tex/texmf-context/tex/context/bib/sample.bib
On 25-5-2011 3:56, Paul Menzel wrote:
On So, 2011-05-22 at 19:12 +0200, Hans Hagen wrote:
On 22-5-2011 6:57, Paul Menzel wrote:
The question still remains if `@ELECTRONIC` are not allowed or if this is an error.
it's more that @ELECTRONIC is not defined
Ok, neither does it appear in the Wikipedia article [1].
Who is responsible for updating the example BibTeX file [2] in the Minimal distribution then?
Thomas is. ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
Am Mittwoch, den 25.05.2011, 16:36 +0200 schrieb Hans Hagen:
On 25-5-2011 3:56, Paul Menzel wrote:
On So, 2011-05-22 at 19:12 +0200, Hans Hagen wrote:
On 22-5-2011 6:57, Paul Menzel wrote:
The question still remains if `@ELECTRONIC` are not allowed or if this is an error.
it's more that @ELECTRONIC is not defined
Ok, neither does it appear in the Wikipedia article [1].
Who is responsible for updating the example BibTeX file [2] in the Minimal distribution then?
Thomas is.
As far as I can see, the file is still the same in the ConTeXt beta. Christian updated the Wiki page though [1]. Could you update the file by either applying the attached patch or replacing it with the attached file? Thanks, Paul [1] http://wiki.contextgarden.net/sample_bib
participants (6)
-
George N. White III
-
Hans Hagen
-
Li Yanrui (李延瑞)
-
Paul Menzel
-
Pontus Lurcock
-
yoraxe