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

Attachment: bibtest.pdf
Description: Adobe PDF document

\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
@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},
}

Attachment: signature.asc
Description: This is a digitally signed message part

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

Reply via email to