Dear all, I'd like use bibtex support. It's my first time in ConTeXt I took a look at the wiki: http://wiki.contextgarden.net/Bibliography but cannot understand exactly. 1. I created a bibTest.bib file containing: ______________ %% Created for Andrea Valle at 2007-10-02 17:37:21 +0200 %% Saved with string encoding Western (ASCII) @article{trezegol, Author = {Trezeguet, David}, Date-Added = {2007-10-02 17:32:32 +0200}, Date-Modified = {2007-10-02 17:37:19 +0200}, Journal = {Soccer International Journal}, Title = {How to score}, Year = {2007}} ______________ 2. I created in the same folder a bibTest.tex file with this: \usemodule[bib] \usemodule[bibltx] \setupbibtex[database=xampl] \starttext As \cite[trezegol] already indicated, bibtex is a \LaTeX-centric program. \completepublications \stoptext 3. I compiled following the three steps indicated by the wiki texexec --once bibTest bibtex bibTest texexec bibTest Following the example, I have not indicated explicitly in the tex file the name of the biblio file. I guest it is implied by the tex file name (or not?) In any case, I'm having this as a ref (Xxxxxxxxxx, 0000) plus a new page with Reference intuitively empty. What am I missing? Thanks a lot -a- -------------------------------------------------- Andrea Valle -------------------------------------------------- CIRMA - DAMS Università degli Studi di Torino --> http://www.cirma.unito.it/andrea/ --> andrea.valle@unito.it -------------------------------------------------- I did this interview where I just mentioned that I read Foucault. Who doesn't in university, right? I was in this strip club giving this guy a lap dance and all he wanted to do was to discuss Foucault with me. Well, I can stand naked and do my little dance, or I can discuss Foucault, but not at the same time; too much information. (Annabel Chong)
Following the example, I have not indicated explicitly in the tex file the name of the biblio file. I guest it is implied by the tex file name (or not?)
It's not. Look at the output by texexec: it tries to open xampl.bib. Just replace it with the actual name of the bib file. There would be no real point in making the name of the bib file depend on the name of the ConTeXt file you process: the aim of bib files is to hold a database of all your references so that you could share it between all your documents; you could even have a huge list of all the books you would ever refer to. So of course you can split them into different categories but it does not really make sense to have one bib file for each ConTeXt document. Arthur
Thanks Arthur. No words needed. I totally agree with you. It's that I was confused by the xampl.bib. I didn't understand it was just an example file (oh well, I should have suspected, indeed...). Best -a- On 2 Oct 2007, at 18:42, Arthur Reutenauer wrote:
Following the example, I have not indicated explicitly in the tex file the name of the biblio file. I guest it is implied by the tex file name (or not?)
It's not. Look at the output by texexec: it tries to open xampl.bib. Just replace it with the actual name of the bib file.
There would be no real point in making the name of the bib file depend on the name of the ConTeXt file you process: the aim of bib files is to hold a database of all your references so that you could share it between all your documents; you could even have a huge list of all the books you would ever refer to. So of course you can split them into different categories but it does not really make sense to have one bib file for each ConTeXt document.
Arthur ______________________________________________________________________ _____________ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ______________________________________________________________________ _____________
-------------------------------------------------- Andrea Valle -------------------------------------------------- CIRMA - DAMS Università degli Studi di Torino --> http://www.cirma.unito.it/andrea/ --> andrea.valle@unito.it -------------------------------------------------- I did this interview where I just mentioned that I read Foucault. Who doesn't in university, right? I was in this strip club giving this guy a lap dance and all he wanted to do was to discuss Foucault with me. Well, I can stand naked and do my little dance, or I can discuss Foucault, but not at the same time; too much information. (Annabel Chong)
participants (2)
-
Andrea Valle
-
Arthur Reutenauer