Wolfgang [and Hans &c.],
I'm attaching a minimal(ish) example of a project structure with
a call to \pagereference. One can see from the output of master000.tex
that the cross references to an external file all work, *apart* from
the call to \pagereference. (This is the same issue that I am having
with
my two volume proceedings.)
I'd be grateful for suggestions.
Best, Richard
% testproject.tex -- LMTX 2021.03.02
\startproject testproject
\product testproduct000
\product testproduct001
\stopproject
% master000.tex -- LMTX 2021.03.02
\startproduct testproduct000
\project testproject
\startbodymatter
\component boo.tex
\stopbodymatter
\stopproduct
% master001.tex -- LMTX 2021.03.02
\startproduct testproduct001
\project testproject
\startbodymatter
\component foo.tex
\stopbodymatter
\stopproduct
% boo.tex -- LMTX 2021.03.02
\startcomponent boo
\project testproject
\product testproduct000
\useexternaldocument[m001][master001][Test Product, Vol.~{\sc ii}]
\chapter[oeps]{oeps}
test \from[m001], \in{Ch.~}[m001::one], \at{page}[m001::one] {[}test
page one{]}
test \from[m001], \in{Ch.~}[m001::one], \at{page}[m001::page-
reference] {[}test {\bf pagereference}{]}
test \from[m001], \in{Ch.~}[m001::two], \at{page}[m001::two] {[}test
page two{]}
\stopcomponent
% foo.tex -- LMTX 2021.03.02
\startcomponent foo
\project testproject
\product testproduct001
\chapter[one]{one}
\pagereference[page-reference]foo
\chapter[two]{two}
foo
\stopcomponent
-------- Forwarded Message --------
From: Richard Mahoney
Readers,
I'm working on a couple of volumes of papers set up and generated separately (though within the same project). Some of the papers in the second volume make cross references to papers in the first. Now this is working well so long as the reference is to the details associated with, say, a chapter, using \about, \in, and \at. Its doesn't seem to work though with \pagereference: no page number appears in the PDF whatsoever. I have been following the material here:
https://wiki.contextgarden.net/References#References_to_an_external_file
I'm wondering then ... do cross references to an external file work with \pagereference?
Hi Richard, I just tested \pagereference in a simple example and had no problem to get the page numbers from the other document. Without a minimal example there is no way to tell what's missing in your document. Wolfgang ______________________________________________________________________ _____________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://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ______________________________________________________________________ _____________ ______________________________________________________________________ _____________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://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ______________________________________________________________________ _____________ -- T +6433121699 M +64210640216 E rmahoney@indica-et-buddhica.org IM https://t.me/rmahoney W https://indica-et-buddhica.org/ Indica et Buddhica Littledene Bay Road Oxford NZ