[NTG-context] cross-references between documents in a project (using \useexternaldocument)

talazem at fastmail.fm talazem at fastmail.fm
Wed Aug 5 14:15:20 CEST 2015

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

% product
\startproject project_xref
\environment env_xref
\product prd_xref

% environment
\startenvironment env_xref
   title=Cross referencing Test File,
   author=Gerard Verhaag]

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

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

All the best,

More information about the ntg-context mailing list