I want to use a bibtex database but get from \cite[key] only some reference like "(Xxxxxxxxxxx, 0000)". I gues I am doing something wrong. My setup comes from the instructions in the document bibmod-doc and there are both a syllabus.bib and a syllabus.bbl file present (and syllabus.aux is made by tex'ing): \usemodule[bib] \setupbibtex[database=syllabus] \setuppublications[numbering=yes] What details am I missing? yours sincerely, dr. H. van der Meer
That example worked. So the system should be ok. I will have to dig a litle deeper in my bibtex database, I am afrraid. Thanks for the example. yours sincerely, dr. H. van der Meer On Jan 12, 2006, at 19:10, Taco Hoekwater wrote:
Hans van der Meer wrote:
\usemodule[bib] \setupbibtex[database=syllabus] \setuppublications[numbering=yes]
Should have worked, AFAICT. Please try the attached minimal file. You should run:
texexec mini bibtex mini texexec mini
Cheers, taco
@ARTICLE{key, author = {Mien de Muis}, title = {Kaas, een overzicht}, journal = {Muizenissen}, year = 2005 }_______________________________________________ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Although the setup below works, there is still another problem when the project setup is more involved. The problem can now be described as follows: \project setup with \products in subdirectories, no problem in finding environments higher up when texexec-ing. Setup of bibtext database is done with \setupbibtex[literature] . Directory structure is: project/ (containing \project-file, literature.bib and literature.bbl) project/xyz (containing xyz \product-file) Running job xyz.tex within project/xyz, produces xyz.aux, which is useless for bibtex; therefore I tried to use the bbl file directly and thought to find this in coding: \usepublications[literature] instead of \setupbibtex[literature] putting this in an \environment at the \project level. However, texexec-ing xyz in its subdirectory again does not find literature.bbl, the log file says: publications : file literature.bbl not found, don't forget to run bibtex But, it does find the bibtex database literature.bbl when I put the \product files in the same directory as the \product; correctly saying: publications : loading database from literature.bbl It looks as if the bib-module does not look higher up in the directory hierarchy as is done for other elements in an \environment. I would expect that from the project structure, being the main benefit of this structuring. Is this really a problem in the bib-module or am I overseeing something. yours sincerely, dr. H. van der Meer On Jan 12, 2006, at 19:10, Taco Hoekwater wrote:
Hans van der Meer wrote:
\usemodule[bib] \setupbibtex[database=syllabus] \setuppublications[numbering=yes]
Should have worked, AFAICT. Please try the attached minimal file. You should run:
texexec mini bibtex mini texexec mini
Hi, Hans van der Meer wrote:
It looks as if the bib-module does not look higher up in the directory hierarchy as is done for other elements in an \environment. I would expect that from the project structure, being the main benefit of this structuring.
Is this really a problem in the bib-module or am I overseeing something.
It really is a problem in the module. This improved definition of \dousepublications should fix it: \def\dousepublications#1% {\readfile{#1.bbl} % not \readsysfile {\showmessage{bib}{4}{#1.bbl}} {\showmessage{bib}{2}{#1.bbl}}} You should put it somewhere after \usemodule, but before \usepublications. Thanks for the bug report! Cheers, Taco
So it really is a bug. Makes my day! It is not that often one stumbles onto a bug. After all these years ConTeXt seems pretty robust to me. And thanks for quickly providing the fix. yours sincerely, dr. H. van der Meer On Jan 13, 2006, at 13:07, Taco Hoekwater wrote:
Hi,
Hans van der Meer wrote:
It looks as if the bib-module does not look higher up in the directory hierarchy as is done for other elements in an \environment. I would expect that from the project structure, being the main benefit of this structuring. Is this really a problem in the bib-module or am I overseeing something.
It really is a problem in the module. This improved definition of \dousepublications should fix it:
\def\dousepublications#1% {\readfile{#1.bbl} % not \readsysfile {\showmessage{bib}{4}{#1.bbl}} {\showmessage{bib}{2}{#1.bbl}}}
You should put it somewhere after \usemodule, but before \usepublications. Thanks for the bug report!
Cheers, Taco
_______________________________________________ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
I just have updated my ConTeXt system (*) to the new one, and now I get
this error:
...
ConTeXt ver: 2005.12.19 fmt: 2006.1.9 int: english mes: english
language : language en is active
Jilani Khaldi wrote:
I just have updated my ConTeXt system (*) to the new one, and now I get this error: ... ConTeXt ver: 2005.12.19 fmt: 2006.1.9 int: english mes: english
language : language en is active
system : cont-new loaded (C:\texmf\tex\context\base\cont-new.tex FatalError : Your format does not match the base files!
FormatVersion : 2005.12.19 FilesVersion : 2006.01.12 10:38 ... Why did this happen? However, I deleted the file "cont-new.tex" and copied the one from la last distribution (06.0.1.2006) and now it works.
well, now you really have a messed up system -) you get this message and abortion when your format is not matching your base files, so instead of deleting the new cont-new.tex, you have to make a format i added this feature in order to prevent such problems -) FatalError : Your format does not match the base files! is the problem Hans
Jilani Khaldi wrote:
I just have updated my ConTeXt system (*) to the new one, and now I get this error: ... ConTeXt ver: 2005.12.19 fmt: 2006.1.9 int: english mes: english
language : language en is active
system : cont-new loaded (C:\texmf\tex\context\base\cont-new.tex FatalError : Your format does not match the base files!
FormatVersion : 2005.12.19 FilesVersion : 2006.01.12 10:38 ... Why did this happen?
I love it when things work out. The following is straight from my announcement: New features since 2006.01.09: * ConTeXt now does a runtime vs. format version check. If they do not match, the run is aborted. You were still running the old format from 19 december, which is why the new cont-new.tex refused to process your file.
However, I deleted the file "cont-new.tex" and copied the one from la last distribution (06.0.1.2006) and now it works.
No, the update still doesn't work. You only made the error go away. You have to unpack the new zip again (to recover the cont-new) and run texexec --make to start using the new version. Cheers, Taco
participants (4)
-
Hans Hagen
-
Hans van der Meer
-
Jilani Khaldi
-
Taco Hoekwater