From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/42893 Path: news.gmane.org!not-for-mail From: "Thomas Bottini" <4mleth@gmail.com> Newsgroups: gmane.comp.tex.context Subject: A BibTeX problem ? Date: Thu, 31 Jul 2008 22:11:12 +0200 Message-ID: <29ee2a570807311311i76d4f00aj4c1c33ab9591cca4@mail.gmail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0441165604==" X-Trace: ger.gmane.org 1217535171 5475 80.91.229.12 (31 Jul 2008 20:12:51 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 31 Jul 2008 20:12:51 +0000 (UTC) To: ntg-context@ntg.nl Original-X-From: ntg-context-bounces@ntg.nl Thu Jul 31 22:13:40 2008 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by lo.gmane.org with esmtp (Exim 4.50) id 1KOeWn-0008Jz-HF for gctc-ntg-context-518@m.gmane.org; Thu, 31 Jul 2008 22:13:37 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id B4CB71FBF1; Thu, 31 Jul 2008 22:12:39 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 09108-02-2; Thu, 31 Jul 2008 22:11:59 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 4E4A01FC0D; Thu, 31 Jul 2008 22:11:58 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 267B11FC0D for ; Thu, 31 Jul 2008 22:11:50 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 08397-04-3 for ; Thu, 31 Jul 2008 22:11:14 +0200 (CEST) Original-Received: from mu-out-0910.google.com (mu-out-0910.google.com [209.85.134.190]) by ronja.ntg.nl (Postfix) with ESMTP id 780421FBAA for ; Thu, 31 Jul 2008 22:11:13 +0200 (CEST) Original-Received: by mu-out-0910.google.com with SMTP id w9so486473mue.4 for ; Thu, 31 Jul 2008 13:11:13 -0700 (PDT) Original-Received: by 10.103.213.19 with SMTP id p19mr4122803muq.70.1217535072855; Thu, 31 Jul 2008 13:11:12 -0700 (PDT) Original-Received: by 10.103.22.18 with HTTP; Thu, 31 Jul 2008 13:11:12 -0700 (PDT) X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.9 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl X-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:42893 Archived-At: --===============0441165604== Content-Type: multipart/alternative; boundary="----=_Part_47363_26557862.1217535072856" ------=_Part_47363_26557862.1217535072856 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Hello, I would like to use BibTeX files with ConTeXt, but I encounter a strange problem. Here is my main tex file (test.tex) : \usemodule[bib] \usemodule[bibltx] \mainlanguage[fr] \enableregime[utf] \setuppublications[alternative=apa-fr,criterium=all] \setupbibtex[database=xampl] \starttext \nocite[*] \completepublications \stoptext I have made a copy of the very famous xampl.bib in the directory which hosts test.tex. When I run "texexec test", I get six strange error messages. Here is a part of my log : system : module bib loaded (/home/amleth/context/tex/texmf-context/tex/context/bib/t-bib.tex publications : loading formatting style from bibl-apa (/home/amleth/context/tex/texmf-context/tex/context/bib/bibl-apa.tex)) system : module bibltx loaded (/home/amleth/context/tex/texmf-context/tex/context/bib/t-bibltx.tex) publications : loading formatting style from bibl-apa-fr (/home/amleth/context/tex/texmf-context/tex/context/bib/bibl-apa-fr.tex) publications : wrote a new auxiliary file test.aux (/home/amleth/context/tex/texmf-context/tex/context/base/pdfr-def.tex) publications : file test.bbl not found, waiting for bibtex systems : begin file test at line 10 {vertical mode: \tracingstats} {\tracingpages} {\tracingoutput} {\tracinglostchars} {\tracingmacros} {\tracingparagraphs} {\tracingrestores} {\showboxbreadth} {\showboxdepth} {\tracinggroups} {\tracingifs} {\tracingscantokens} {\tracingnesting} {\tracingassigns} {into \tracingassigns=2} {\errorstopmode} {\tracingonline} {changing \tracingonline=1} ! Undefined control sequence. \dogetupsometextprefix ...rrenttextprefixlanguage {#1}\ifcsname #2\currentte... \docompletepublications ...anguage \c!title {pubs} }\doifdefinedelse {\??pv d... \stoptext l.13 \stoptext ? ! Undefined control sequence. \dogetupsometextprefix ...rrenttextprefixlanguage #3\endcsname \csname #2\cu... \docompletepublications ...anguage \c!title {pubs} }\doifdefinedelse {\??pv d... \stoptext l.13 \stoptext ? ! Undefined control sequence. \currenttextprefixlanguage \defaultlanguage #1->\@EA \ifx \csname \??la #1 \c!default \endcsname \empty ... \dogetupsometextprefix ...rrenttextprefixlanguage #3\endcsname \csname #2\de... \docompletepublications ...anguage \c!title {pubs} }\doifdefinedelse {\??pv d... \stoptext l.13 \stoptext ? ! Undefined control sequence. \currenttextprefixlanguage \defaultlanguage ...faultlanguage \csname \??la #1 \c!default \endcsname \fi \dogetupsometextprefix ...rrenttextprefixlanguage #3\endcsname \csname #2\de... \docompletepublications ...anguage \c!title {pubs} }\doifdefinedelse {\??pv d... \stoptext l.13 \stoptext ? ! Missing \endcsname inserted. \@@ladefault \defaultlanguage #1->\@EA \ifx \csname \??la #1 \c!default \endcsname \empty ... \defaultlanguage ...\??la #1\c!default \endcsname \fi \dogetupsometextprefix ...rrenttextprefixlanguage #3\endcsname \csname #2\de... \docompletepublications ...anguage \c!title {pubs} }\doifdefinedelse {\??pv d... \stoptext l.13 \stoptext ? ! Missing control sequence inserted. \inaccessible { \edef { fr}References \firstofoneargument #1->#1 ...ofoneargument {\edef {fr}References} \endstrut }\xdef \localhea... \@@ko::normal ...eadtextwidth \fi \noindent \fi #2 } ... l.13 \stoptext ? I must admit that I'm completely lost... Thank you in advance for your precious help... Thomas, from Paris, France. ------=_Part_47363_26557862.1217535072856 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline
Hello,

I would like to use BibTeX files with ConTeXt, but I encounter a strange problem.

Here is my main tex file (test.tex) :

\usemodule[bib]
\usemodule[bibltx]

\mainlanguage[fr]
\enableregime[utf]

\setuppublications[alternative=apa-fr,criterium=all]
\setupbibtex[database=xampl]

\starttext
\nocite[*]
\completepublications
\stoptext

I have made a copy of the very famous xampl.bib in the directory which hosts test.tex.

When I run "texexec test", I get six strange error messages. Here is a part of my log :


system          : module bib loaded
(/home/amleth/context/tex/texmf-context/tex/context/bib/t-bib.tex
publications    : loading formatting style from bibl-apa
(/home/amleth/context/tex/texmf-context/tex/context/bib/bibl-apa.tex))
system          : module bibltx loaded
(/home/amleth/context/tex/texmf-context/tex/context/bib/t-bibltx.tex)
publications    : loading formatting style from bibl-apa-fr
(/home/amleth/context/tex/texmf-context/tex/context/bib/bibl-apa-fr.tex)
publications    : wrote a new auxiliary file test.aux
(/home/amleth/context/tex/texmf-context/tex/context/base/pdfr-def.tex)
publications    : file test.bbl not found, waiting for bibtex
systems         : begin file test at line 10
{vertical mode: \tracingstats}
{\tracingpages}
{\tracingoutput}
{\tracinglostchars}
{\tracingmacros}
{\tracingparagraphs}
{\tracingrestores}
{\showboxbreadth}
{\showboxdepth}
{\tracinggroups}
{\tracingifs}
{\tracingscantokens}
{\tracingnesting}
{\tracingassigns}
{into \tracingassigns=2}
{\errorstopmode}

{\tracingonline}
{changing \tracingonline=1}
! Undefined control sequence.
\dogetupsometextprefix ...rrenttextprefixlanguage
                                                  {#1}\ifcsname #2\currentte...

\docompletepublications ...anguage \c!title {pubs}
                                                  }\doifdefinedelse {\??pv d...
<to be read again>
                   \stoptext
l.13 \stoptext

?
! Undefined control sequence.
\dogetupsometextprefix ...rrenttextprefixlanguage
                                                  #3\endcsname \csname #2\cu...

\docompletepublications ...anguage \c!title {pubs}
                                                  }\doifdefinedelse {\??pv d...
<to be read again>
                   \stoptext
l.13 \stoptext

?
! Undefined control sequence.
<argument> \currenttextprefixlanguage

\defaultlanguage #1->\@EA \ifx \csname \??la #1
                                               \c!default \endcsname \empty ...

\dogetupsometextprefix ...rrenttextprefixlanguage
                                                  #3\endcsname \csname #2\de...

\docompletepublications ...anguage \c!title {pubs}
                                                  }\doifdefinedelse {\??pv d...
<to be read again>
                   \stoptext
l.13 \stoptext

?
! Undefined control sequence.
<argument> \currenttextprefixlanguage

\defaultlanguage ...faultlanguage \csname \??la #1
                                                  \c!default \endcsname \fi
\dogetupsometextprefix ...rrenttextprefixlanguage
                                                  #3\endcsname \csname #2\de...

\docompletepublications ...anguage \c!title {pubs}
                                                  }\doifdefinedelse {\??pv d...
<to be read again>
                   \stoptext
l.13 \stoptext

?
! Missing \endcsname inserted.
<to be read again>
                   \@@ladefault
\defaultlanguage #1->\@EA \ifx \csname \??la #1
                                               \c!default \endcsname \empty ...

\defaultlanguage ...\??la #1\c!default \endcsname
                                                  \fi
\dogetupsometextprefix ...rrenttextprefixlanguage
                                                  #3\endcsname \csname #2\de...

\docompletepublications ...anguage \c!title {pubs}
                                                  }\doifdefinedelse {\??pv d...
<to be read again>
                   \stoptext
l.13 \stoptext

?
! Missing control sequence inserted.
<inserted text>
                \inaccessible
<to be read again>
                   {
<argument> \edef {
                  fr}References
\firstofoneargument #1->#1

<argument> ...ofoneargument {\edef {fr}References}
                                                  \endstrut }\xdef \localhea...

\@@ko::normal ...eadtextwidth \fi \noindent \fi #2
                                                  }
...
l.13 \stoptext

?



I must admit that I'm completely lost...
Thank you in advance for your precious help...


Thomas, from Paris, France.
------=_Part_47363_26557862.1217535072856-- --===============0441165604== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ___________________________________________________________________________________ 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 ___________________________________________________________________________________ --===============0441165604==--