ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Jean-Philippe Rey <jean-philippe.rey@ecp.fr>
To: Hans Hagen <pragma@wxs.nl>
Cc: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Problem with external cross-references
Date: Sun, 4 Mar 2012 01:44:05 +0100	[thread overview]
Message-ID: <D1E38E2F-1BBE-4024-AD02-AAFE849540AD@ecp.fr> (raw)
In-Reply-To: <4F5126B6.3040602@wxs.nl>

Hello Hans,

Le 2 mars 2012 à 20:59, Hans Hagen a écrit :

> 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}[lorem].
>> \stoptext
>> 
>> % file test_crossref2
>> \usereferences[test_crossref1]
>> \starttext
>> Lorem ipsum dolor sit amet, consectetur adipiscing elit \in{Chapter}[lorem].
>> \stoptext
> 
> \useexternaldocument[xref][test_crossref1]
> 
> \starttext
>    Lorem ipsum dolor sit amet, consectetur adipiscing elit \in{Chapter}[xref::lorem].
> \stoptext

Thank you for your answer, but it doesn't work. I still get an undefined reference 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 - École Centrale Paris
jean-philippe.rey@ecp.fr          92295 Châtenay-Malabry Cedex - France



___________________________________________________________________________________
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	other threads:[~2012-03-04  0:44 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-02-25 16:47 Jean-Philippe Rey
2012-03-02 19:59 ` Hans Hagen
2012-03-04  0:44   ` Jean-Philippe Rey [this message]
2012-03-05  9:18     ` Hans Hagen
2012-03-08 17:30       ` Jean-Philippe Rey
2012-03-10 11:41         ` Hans Hagen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=D1E38E2F-1BBE-4024-AD02-AAFE849540AD@ecp.fr \
    --to=jean-philippe.rey@ecp.fr \
    --cc=ntg-context@ntg.nl \
    --cc=pragma@wxs.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).