From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/110764 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Richard Mahoney Newsgroups: gmane.comp.tex.context Subject: Fwd: Re: LMTX 2021.03.02 | cross reference to an external file | \pagereference Date: Fri, 05 Mar 2021 13:06:27 +1300 Organization: Indica et Buddhica Message-ID: <6f38394586ed4a27d0841cd6f4b95cfcc2b44ef8.camel@indica-et-buddhica.org> References: <4ac0381b7c4f516f42be51ae64e8c81ce5ea2497.camel@indica-et-buddhica.org> Reply-To: Richard Mahoney , mailing list for ConTeXt users Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1583402828644719732==" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="3827"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Evolution 3.36.5 To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Fri Mar 05 01:13:14 2021 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane-mx.org Original-Received: from zapf.boekplan.nl ([5.39.185.232] helo=zapf.ntg.nl) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lHy5i-0000tx-4G for gctc-ntg-context-518@m.gmane-mx.org; Fri, 05 Mar 2021 01:13:14 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 76126281355; Fri, 5 Mar 2021 01:12:54 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id QN6dCPQthDdy; Fri, 5 Mar 2021 01:12:53 +0100 (CET) Original-Received: from zapf.ntg.nl (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 2C4C0281359; Fri, 5 Mar 2021 01:12:53 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 2BEFF281355 for ; Fri, 5 Mar 2021 01:12:52 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 5JZUPaskrU5F for ; Fri, 5 Mar 2021 01:12:50 +0100 (CET) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=103.2.141.82; helo=e2i338.smtp2go.com; envelope-from=bt.ffchi5tp30=58e1rnmdoh13=c5cdwpmuwh@em110947.indica-et-buddhica.org; receiver= X-Greylist: delayed 200 seconds by postgrey-1.36 at zapf.ntg.nl; Fri, 05 Mar 2021 01:12:50 CET Original-Received: from e2i338.smtp2go.com (e2i338.smtp2go.com [103.2.141.82]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by zapf.ntg.nl (Postfix) with ESMTPS id 60BD1281354 for ; Fri, 5 Mar 2021 01:12:50 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=smtpcorp.com; s=a1-4; h=Feedback-ID:X-Smtpcorp-Track:Date:To:Reply-To:From: Subject:Message-ID:Sender:List-Unsubscribe; bh=vIAukWzIfgvzA2vcE7Gt79P692wHgZOAVYujRWb0CWw=; b=UL7a55BRadDcEWef9temGxEO8J lW6AUCULQCJS1LbinyWoaaiXHC4RcTkp2ycH4BcDZI9tw7OzKqnLcGCoWuc0zhcRcZyVP9OeFTBuh 8oczwPc7S/3vvvjRX9w9banCe/d+5cOKttr3aG2iUrw0jenZv55jcXj9OFxp0PgsJYPn6gpdRKMSh MujdG2J5x2tLjKo2p4NJzyN/0G/7anRfsuTxYcyp1jLssjynw01GKcBR5xNNbaU4WzDgbGHrCcd+4 8t3GUMtl8gEPnY1noJCA+63z0pKi/UY1HYNshR0sVSAJSTzbwzJPsRoghcVT60kThqcrRL26FhQL0 /pWcABxw==; DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=indica-et-buddhica.org; i=@indica-et-buddhica.org; q=dns/txt; s=s110947; t=1614903170; h=from : subject : to : message-id : date; bh=vIAukWzIfgvzA2vcE7Gt79P692wHgZOAVYujRWb0CWw=; b=PZqxK2E/npCF6kRXdrRjgj7jVe3BA4aSdZBZe9Nm2UUih5vQb94+JxjdBFr4/fwB5C0yP tBw8UADg34fj7g9iDkFz7zBJ4k79EqNTIWTQM1OiPiopCWQB7te9W3tgTBx6vud6vlpZpR8 DpSNeNkuYVB7Yk+OfcUUQAbcqvsRDXBhxDwduGYnAlF+0wNiWJD3TI18Vt1uX6856AF0nQh 3YQ6sy71MAxXSKTYtp9cU/WqiKBu9WYk4oXa/C9D1Gj0zjBo6fZ8JlbVND5S6clYfmgrWx5 P0eSvsAqD8YtnO1pEJ8dxUNNOWjyK2Rf5FTFRvXhCyf4LIOcIb+s2kEWk0zg== Original-Received: from [10.139.162.6] (helo=SmtpCorp) by smtpcorp.com with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92-S2G) (envelope-from ) id 1lHy23-TRk0cP-U7 for ntg-context@ntg.nl; Fri, 05 Mar 2021 00:09:28 +0000 Original-Received: from [10.203.96.209] (helo=ieb-01000-hp-8570w.localdomain) by smtpcorp.com with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92-S2G) (envelope-from ) id 1lHy20-NIF8bM-Am for ntg-context@ntg.nl; Fri, 05 Mar 2021 00:09:25 +0000 Original-Received: by ieb-01000-hp-8570w.localdomain (Postfix, from userid 1000) id AAEA244200B; Fri, 5 Mar 2021 13:07:57 +1300 (NZDT) X-Smtpcorp-Track: 1_Hy20NmF8PujX.Qca1QufbVrSo7 Feedback-ID: 110947m:110947aJu5aPi:110947s4mTy78pTc X-Report-Abuse: Please forward a copy of this message, including all headers, to X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.26 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl Original-Sender: "ntg-context" Xref: news.gmane.io gmane.comp.tex.context:110764 Archived-At: --===============1583402828644719732== Content-Type: multipart/alternative; boundary="=-0lK1zjBf4Ew5EdbWzmJy" --=-0lK1zjBf4Ew5EdbWzmJy Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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 Reply-To: Richard Mahoney , mailing list for ConTeXt users To: ntg-context@ntg.nl Subject: Re: [NTG-context] LMTX 2021.03.02 | cross reference to an external file | \pagereference Date: Fri, 05 Mar 2021 12:02:54 +1300 Mailer: Evolution 3.36.5=20 Organization: Indica et Buddhica X-Spam-Score: 0.0 Thanks Wolfgang, Hans kindly sent me a simple minimal. I've adjusted it to include a call to \pagereference and it works. I'm currently trying to test my project to see why my own calls to \pagereference do not result in any output, despite the fact that all the calls to the reference ids in chapters work as expected. I'm imagining at this point that it has something to do with using two master files --one for each volume-- with multiple includes (\components) for each chapter &c. -- the \pagereference code appears in a number of the components. I'll try to set up a simple example replicating the file structure I'm using and then send it through. Best, Richard --=20 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 -----Original Message----- From: Wolfgang Schuster Reply-To: mailing list for ConTeXt users To: mailing list for ConTeXt users Subject: Re: [NTG-context] LMTX 2021.03.02 | cross reference to an external file | \pagereference Date: Thu, 4 Mar 2021 22:35:46 +0100 Mailer: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 PostboxApp/7.0.47 X-Spam-Score: 0.0 Richard Mahoney schrieb am 04.03.2021=20 um 09:04: > =20 > Readers, > =20 >=20 > I'm working on a couple of volumes of papers set up and generated > separately (though within the same project). Some of the papers=20 > 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=20 > details > associated with, say, a chapter, using \about, \in, and \at. Its=20 > doesn't > seem to work though with \pagereference: no page number appears > in the PDF whatsoever. I have been following the material here: > =20 >=20 > =20 > https://wiki.contextgarden.net/References#References_to_an_external_file > =20 >=20 > I'm wondering then ... do cross references to an external file=20 > work > with \pagereference?=20 >=20 > =20 Hi Richard, I just tested \pagereference in a simple example and had no problem to=20 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 /=20 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 /=20 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 ______________________________________________________________________ _____________ --=20 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 --=-0lK1zjBf4Ew5EdbWzmJy Content-Type: text/html; charset="utf-8" Content-Transfer-Encoding: quoted-printable
Wolfgang=20[and=20Hans=20&c.],

I'm= =20attaching=20a=20minimal(ish)=20example=20of=20a=20project=20structure=20= with
a=20call=20to=20\pagereference.=20One=20can=20see=20from=20t= he=20output=20of=20master000.tex
that=20the=20cross=20references= =20to=20an=20external=20file=20all=20work,=20*apart*=20from
the= =20call=20to=20\pagereference.=20(This=20is=20the=20same=20issue=20that=20I= =20am=20having=20with
my=20two=20volume=20proceedings.)

I'd=20be=20grateful=20for=20suggestions.


Best,=20Richard


%=20testproject.tex=20--=20LMTX=202021.03.02

\s= tartproject=20testproject

\product=20testproduct00= 0

\product=20testproduct001

\stopproject



%=20= master000.tex=20--=20LMTX=202021.03.02

\startprodu= ct=20testproduct000

\project=20testproject

\startbodymatter

\component=20bo= o.tex

\stopbodymatter

\st= opproduct


%=20master001.tex=20--=20= LMTX=202021.03.02

\startproduct=20testproduct001

\project=20testproject

\st= artbodymatter

\component=20foo.tex

<= /div>
\stopbodymatter

\stopproduct
<= br>


%=20boo.tex=20--=20LMTX=202021.= 03.02

\startcomponent=20boo

\project=20testproject

\product=20testproduct00= 0

\useexternaldocument[m001][master001][Test=20Pro= duct,=20Vol.~{\sc=20ii}]

\chapter[oeps]{oeps}

test=20\from[m001],=20\in{Ch.~}[m001::one],=20\at{page= }[m001::one]=20{[}test=20page=20one{]}

test=20\fro= m[m001],=20\in{Ch.~}[m001::one],=20\at{page}[m001::page-reference]=20{[}tes= t=20{\bf=20pagereference}{]}

test=20\from[m001],= =20\in{Ch.~}[m001::two],=20\at{page}[m001::two]=20{[}test=20page=20two{]}

\stopcomponent

=

%=20foo.tex=20--=20LMTX=202021.03.02

\startcomponent=20foo

\project=20= testproject

\product=20testproduct001
\chapter[one]{one}

\pagereference[pag= e-reference]foo

\chapter[two]{two}

<= /div>
foo

\stopcomponent
=




=
--=20
T=20+6433121699  M<= /b>=20+64210640216  E=20rmahoney@indica-et-buddhica.org
<= b>IM=20https://t.me/rmahoney&nb= sp; W=20https://i= ndica-et-buddhica.org/

Ind= ica=20et=20Buddhica  Littledene  Bay=20Road &n= bsp;Oxford  NZ

------= --=20Forwarded=20Message=20--------
From:=20Richard=20Maho= ney=20<rmahoney@indica-et-buddhica.org>
Reply-To= :=20Richard=20Mahoney=20<rmahoney@indica-et-buddhica.org>= ,=20mailing=20list=20for=20ConTeXt=20users=20<ntg-context@nt= g.nl>
To:=20ntg-context@ntg.nl
Subject:=20Re:=20[NTG-context]=20L= MTX=202021.03.02=20|=20cross=20reference=20to=20an=20external=20file=20|=20= \pagereference
Date:=20Fri,=2005=20Mar=202021=2012:02:54= =20+1300
Mailer:=20Evolution=203.36.5=20
Organiz= ation:=20Indica=20et=20Buddhica
X-Spam-Score:=200.0
Thanks=20Wolfgang,

Hans=20kindly=20sent=20me=20a=20simple=20minimal.=20I've=20adjusted=20it= =20to=20include=20a=20call
to=20\pagereference=20and=20it=20works= .=20I'm=20currently=20trying=20to=20test=20my=20project
to=20see= =20why=20my=20own=20calls=20to=20\pagereference=20do=20not=20result=20in=20= any=20output,
despite=20the=20fact=20that=20all=20the=20calls=20t= o=20the=20reference=20ids=20in=20chapters=20work
as=20expected.= =20I'm=20imagining=20at=20this=20point=20that=20it=20has=20something=20to= =20do=20with
using=20two=20master=20files=20--one=20for=20each=20= volume--=20with=20multiple=20includes
(\components)=20for=20each= =20chapter=20&c.=20--=20the=20\pagereference=20code=20appears
in=20a=20number=20of=20the=20components.

I'll=20t= ry=20to=20set=20up=20a=20simple=20example=20replicating=20the=20file=20stru= cture=20I'm=20using
and=20then=20send=20it=20through.
<= br>

Best,=20Richard


<= /div>

--=20

T=20+64= 33121699  M=20+64210640216  E=20rmahoney@indica-et-buddhica.org=
IM=20htt= ps://t.me/rmahoney  W=20https://indica-et-buddhica.org/
Indica=20et=20Buddhica  Littledene = ; Bay=20Road  Oxford  NZ
<= div>
-----Original=20Message-----
From:=20Wo= lfgang=20Schuster=20<wolfgang.schuster.lists@gmail.com>
Reply-To:=20mailing=20list=20for=20ConTeXt=20users=20<ntg-context@ntg.nl>
To:=20mailing=20list= =20for=20ConTeXt=20users=20<ntg-context@ntg.nl>
=
Subject:=20Re:=20[NTG-context]=20LMTX=202021.03.02=20|=20cross= =20reference=20to=20an=20external=20file=20|=20\pagereference
= Date:=20Thu,=204=20Mar=202021=2022:35:46=20+0100
Mailer:=20Mozilla/5.0=20(Windows=20NT=2010.0;=20WOW64;=20rv:52.0)=20Gecko/201001= 01 =20PostboxApp/7.0.47
X-Spam-Score:=200.0

Richard=20Mahoney=20schrieb=20am=2004.03.2021=20 um=2009:04:
=20=20 =20=20
Readers,
=20=20

=20=20
I'm=20working=20on=20a=20couple=20of=20volumes=20of=20papers=20s= et=20up=20and=20generated
=20=20
separately=20(though=20within=20the=20same=20project).=20Some=20= of=20the=20papers=20 in
=20=20
the=20second=20volume=20make=20cross=20references=20to=20papers= =20in=20the=20first.
=20=20
Now=20this=20is=20working=20well=20so=20long=20as=20the=20refere= nce=20is=20to=20the=20 details
=20=20
associated=20with,=20say,=20a=20chapter,=20using=20\about,=20\in= ,=20and=20\at.=20Its=20 doesn't
=20=20
seem=20to=20work=20though=20with=20\pagereference:=20no=20page= =20number=20appears
=20=20
in=20the=20PDF=20whatsoever.=20I=20have=20 been=20following= =20the=20material=20here:
=20=20

=20=20
https://wiki.contextgarde= n.net/References#References_to_an_external_file
=20=20

=20=20
I'm=20wondering=20then=20...=20do=20cross=20references=20to=20an= =20external=20file=20 work
=20=20
with=20\pagereference?=20
=20=20

Hi=20Richard,

I=20just=20tested=20\pagereference=20in=20a=20simple=20example=20and=20had= =20no=20problem=20to=20 get
the=20page=20numbers=20from=20the=20other=20document.=20Without=20a=20minim= al=20example
there=20is=20no=20way=20to=20tell=20what's=20missing=20in=20your=20document= .

Wolfgang

______________________________________________________________________=
_____________
If=20your=20question=20is=20of=20interest=20to=20ot=
hers=20as=20well,=20please=20add=20an=20entry=20to=20the=20Wiki!

<= pre>maillist=20:=20
ntg-c=
ontext@ntg.nl
=20/=20
http://www.ntg.nl/mailman/listinfo/ntg-cont=
ext

webpage=20=20:=20
http://www.pragma-ade.nl
=20/=20
http://context.aanhet.net

=
archive=20=20:=20
https://bitbucket.org/phg/context-mirror/commits/
wiki=20=20=20=20=20:=20
http://contextgarden.net

___________________=
________________________________________________________________
______________________________________________________________________=
_____________
If=20your=20question=20is=20of=20interest=20to=20ot=
hers=20as=20well,=20please=20add=20an=20entry=20to=20the=20Wiki!
=

maillist=20:=20
ntg-context@ntg.nl
=20/=20
http://www.ntg.nl/mailman/listin=
fo/ntg-context

webpage=20=20:=20
http://www.pragma-ade.nl
=
=20/=20
http://context.aa=
nhet.net

archive=20=20:=20
https://bitbucket.or=
g/phg/context-mirror/commits/

wiki=20=20=20=20=
=20:=20
http://contextgard=
en.net

_______________________________________=
____________________________________________
--=-0lK1zjBf4Ew5EdbWzmJy-- --===============1583402828644719732== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX18KSWYgeW91ciBxdWVzdGlvbiBpcyBvZiBpbnRlcmVz dCB0byBvdGhlcnMgYXMgd2VsbCwgcGxlYXNlIGFkZCBhbiBlbnRyeSB0byB0aGUgV2lraSEKCm1h aWxsaXN0IDogbnRnLWNvbnRleHRAbnRnLm5sIC8gaHR0cDovL3d3dy5udGcubmwvbWFpbG1hbi9s aXN0aW5mby9udGctY29udGV4dAp3ZWJwYWdlICA6IGh0dHA6Ly93d3cucHJhZ21hLWFkZS5ubCAv IGh0dHA6Ly9jb250ZXh0LmFhbmhldC5uZXQKYXJjaGl2ZSAgOiBodHRwczovL2JpdGJ1Y2tldC5v cmcvcGhnL2NvbnRleHQtbWlycm9yL2NvbW1pdHMvCndpa2kgICAgIDogaHR0cDovL2NvbnRleHRn YXJkZW4ubmV0Cl9fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fCg== --===============1583402828644719732==--