From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/2948 Path: main.gmane.org!not-for-mail From: Hans Hagen Newsgroups: gmane.comp.tex.context Subject: Re: global cross file refs Date: Wed, 11 Oct 2000 10:38:02 +0200 Sender: owner-ntg-context@let.uu.nl Message-ID: <3.0.6.32.20001011103802.019c4c90@pop.wxs.nl> References: <3.0.6.32.20001010183637.008ceb50@pop.wxs.nl> NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" X-Trace: main.gmane.org 1035393719 13034 80.91.224.250 (23 Oct 2002 17:21:59 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 23 Oct 2002 17:21:59 +0000 (UTC) Cc: ntg-context@ntg.nl Original-To: Berend de Boer In-Reply-To: <39E37B3A.1AFF9E2F@pobox.com> Xref: main.gmane.org gmane.comp.tex.context:2948 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:2948 At 10:25 PM 10/10/00 +0200, Berend de Boer wrote: >Hans Hagen wrote: > >> the next release will have an option \setupreferencing[global=yes] which >> permits you to omit the somefile:: prefix, but of course at the cost of >> conflicting refs in multiple loaded files. Nevertheless, sometimes this >> feature canbe handy. > >I've used \useexternaldocument heavily, so this is handy. > >Is it possible to limit what is global? I.e. I seldom need figures or >chapters, but often I refer to class definitions, or data models. So a >kind of selective global, perhaps based on prefix or something like >that. Local and prefixed things have a higher priority anyway. I will implement a more advanced prefix mechanism [nested] some day soon, since in etex the penalty is not that high as in normal tex. Btw, if you say \setuphead[chapter][prefix=+] you get auto prefixing, and when you say \chapter[someref]{...} the someref becomes the prefix, which can safe you some troubles. Hans ------------------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com -------------------------------------------------------------------------