ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* cross-references between documents in a project (using \useexternaldocument)
@ 2015-08-05 12:15 talazem
  2015-08-06 17:00 ` talazem
  0 siblings, 1 reply; 10+ messages in thread
From: talazem @ 2015-08-05 12:15 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Dear all,

I am trying to create cross references between two documents in my project. Links between the two are successfully made, but the actual page numbers are not being printed (which, for my purposes, are what I actually need, not links). Am I doing something wrong, or is this a known bug (such that I should cease my attempts)? Is \useexternaldocument the wrong command for this purpose? Minimum example files below:

% project
\project project_xref
\startproduct prd_xref
\component xref1
\component xref2
\stopproduct

% product
\startproject project_xref
\environment env_xref
\product prd_xref
\stopproject

% environment
\startenvironment env_xref
\setupinteraction
  [state=start,
   style=,
   color=blue,
   contrastcolor=,
   menu=on,
   title=Cross referencing Test File,
   author=Gerard Verhaag]
\stopenvironment

% component1 [xref1]
\project project_xref
\startcomponent xref1
\starttext
\chapter[cross]{Cross referencing}
\chapter[lorem]{Lorem}
Lorem ipsum dolor sit amet, consectetur adipiscing elit \in{Chapter}[lorem].
\stoptext
\stopcomponent

% component2 [xref2]
\project project_xref
\startcomponent xref2
\useexternaldocument[xrf][xref1]
\starttext
Lorem ipsum dolor sit amet, consectetur adipiscing elit \in{Chapter}[xrf::lorem].
\stoptext
\stopcomponent

All the best,
Talal
___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2015-09-09 11:51 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-08-05 12:15 cross-references between documents in a project (using \useexternaldocument) talazem
2015-08-06 17:00 ` talazem
2015-08-10 20:33   ` Wolfgang Schuster
2015-08-11  9:00     ` talazem
2015-08-11  9:48       ` Hans Hagen
2015-08-11  9:59         ` talazem
2015-09-08 19:04         ` Wolfgang Schuster
2015-09-08 23:43           ` Hans Hagen
2015-09-09  9:50             ` Jens Bertram
2015-09-09 11:51             ` Wolfgang Schuster

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).