From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/74848 Path: news.gmane.org!not-for-mail From: Jean-Philippe Rey Newsgroups: gmane.comp.tex.context Subject: Re: Problem with external cross-references Date: Sun, 4 Mar 2012 01:44:05 +0100 Message-ID: References: <8FC5E853-84AD-43B5-85B2-DCEDC7ACBEFB@ecp.fr> <4F5126B6.3040602@wxs.nl> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (Apple Message framework v1084) Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1330821872 12393 80.91.229.3 (4 Mar 2012 00:44:32 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 4 Mar 2012 00:44:32 +0000 (UTC) Cc: mailing list for ConTeXt users To: Hans Hagen Original-X-From: ntg-context-bounces@ntg.nl Sun Mar 04 01:44:32 2012 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1S3zYt-0003t8-JH for gctc-ntg-context-518@m.gmane.org; Sun, 04 Mar 2012 01:44:31 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id B1376CB284; Sun, 4 Mar 2012 01:44:30 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id p4fCG6DQZanz; Sun, 4 Mar 2012 01:44:28 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id D4C8DCB281; Sun, 4 Mar 2012 01:44:27 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 3902DCB281 for ; Sun, 4 Mar 2012 01:44:26 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id BiaZNgu33yc9 for ; Sun, 4 Mar 2012 01:44:14 +0100 (CET) Original-Received: from filter3-til.mf.surf.net (filter3-til.mf.surf.net [194.171.167.219]) by balder.ntg.nl (Postfix) with ESMTP id 2CD20CB259 for ; Sun, 4 Mar 2012 01:44:14 +0100 (CET) Original-Received: from jaguar.ecp.fr (jaguar.ecp.fr [138.195.33.9]) by filter3-til.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id q240i6nA030626 for ; Sun, 4 Mar 2012 01:44:13 +0100 Original-Received: from [192.168.1.95] (166.176.119.80.rev.sfr.net [80.119.176.166]) by jaguar.ecp.fr (Postfix) with ESMTP id F27E46800C; Sun, 4 Mar 2012 01:44:05 +0100 (CET) In-Reply-To: <4F5126B6.3040602@wxs.nl> X-Mailer: Apple Mail (2.1084) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=138.195.33.9; country=FR; region=A8; city=Chatenay-malabry; latitude=48.7667; longitude=2.2667; http://maps.google.com/maps?q=48.7667,2.2667&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0UGFcI6IJ - 7a9e56b137bf - 20120304 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.219 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.12 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 Xref: news.gmane.org gmane.comp.tex.context:74848 Archived-At: Hello Hans, Le 2 mars 2012 =E0 20:59, Hans Hagen a =E9crit : > On 25-2-2012 17:47, Jean-Philippe Rey wrote: >> Hello everybody, >> = >> I'm trying to use external cross-references between two files but I can'= t make it work with MkIV. I am using ConTeXt current >> = >> ConTeXt ver: 2011.05.18 18:04 MKIV fmt: 2011.7.31 int: english/english >> = >> = >> With MkII, the following minimal example works perfectly well : >> = >> % file test_crossref1 >> \starttext >> \chapter[lorem]{Lorem} >> Lorem ipsum dolor sit amet, consectetur adipiscing elit \in{Chapter}[lor= em]. >> \stoptext >> = >> % file test_crossref2 >> \usereferences[test_crossref1] >> \starttext >> Lorem ipsum dolor sit amet, consectetur adipiscing elit \in{Chapter}[lor= em]. >> \stoptext > = > \useexternaldocument[xref][test_crossref1] > = > \starttext > Lorem ipsum dolor sit amet, consectetur adipiscing elit \in{Chapter}[x= ref::lorem]. > \stoptext Thank you for your answer, but it doesn't work. I still get an undefined re= ference and the following lines in the log file references > references from document 'test_crossref1' are not exported references > unknown reference [][xref::lorem] -- = Jean-Philippe Rey Professeur - =C9cole Centrale Paris jean-philippe.rey@ecp.fr 92295 Ch=E2tenay-Malabry Cedex - France ___________________________________________________________________________= ________ If your question is of interest to others as well, please add an entry to t= he Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-cont= ext webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________= ________