ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* LMTX 2021.03.02 | cross reference to an external file | \pagereference
@ 2021-03-04  8:04 Richard Mahoney
  2021-03-04 21:35 ` Wolfgang Schuster
  0 siblings, 1 reply; 4+ messages in thread
From: Richard Mahoney @ 2021-03-04  8:04 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 874 bytes --]

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? 


Best, Richard




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

[-- Attachment #1.2: Type: text/html, Size: 1753 bytes --]

[-- Attachment #2: Type: text/plain, Size: 493 bytes --]

___________________________________________________________________________________
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
___________________________________________________________________________________

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

* Re: LMTX 2021.03.02 | cross reference to an external file | \pagereference
  2021-03-04  8:04 LMTX 2021.03.02 | cross reference to an external file | \pagereference Richard Mahoney
@ 2021-03-04 21:35 ` Wolfgang Schuster
  2021-03-04 23:02   ` Richard Mahoney
  0 siblings, 1 reply; 4+ messages in thread
From: Wolfgang Schuster @ 2021-03-04 21:35 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 940 bytes --]

Richard Mahoney schrieb am 04.03.2021 um 09:04:
> 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


[-- Attachment #1.2: Type: text/html, Size: 1682 bytes --]

[-- Attachment #2: Type: text/plain, Size: 493 bytes --]

___________________________________________________________________________________
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
___________________________________________________________________________________

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

* Re: LMTX 2021.03.02 | cross reference to an external file | \pagereference
  2021-03-04 21:35 ` Wolfgang Schuster
@ 2021-03-04 23:02   ` Richard Mahoney
  2021-03-05  0:06     ` Fwd: " Richard Mahoney
  0 siblings, 1 reply; 4+ messages in thread
From: Richard Mahoney @ 2021-03-04 23:02 UTC (permalink / raw)
  To: ntg-context


[-- Attachment #1.1: Type: text/plain, Size: 2928 bytes --]

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




-----Original Message-----
From: Wolfgang Schuster <wolfgang.schuster.lists@gmail.com>
Reply-To: mailing list for ConTeXt users <ntg-context@ntg.nl>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
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 
um 09:04:

>   
>   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
______________________________________________________________________
_____________
-- 
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

[-- Attachment #1.2: Type: text/html, Size: 5260 bytes --]

[-- Attachment #2: Type: text/plain, Size: 493 bytes --]

___________________________________________________________________________________
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
___________________________________________________________________________________

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

* Fwd: Re: LMTX 2021.03.02 | cross reference to an external file | \pagereference
  2021-03-04 23:02   ` Richard Mahoney
@ 2021-03-05  0:06     ` Richard Mahoney
  0 siblings, 0 replies; 4+ messages in thread
From: Richard Mahoney @ 2021-03-05  0:06 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 5695 bytes --]

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 <rmahoney@indica-et-buddhica.org>
Reply-To: Richard Mahoney <rmahoney@indica-et-buddhica.org>, mailing
list for ConTeXt users <ntg-context@ntg.nl>
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 
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



-- 
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 <wolfgang.schuster.lists@gmail.com>
Reply-To: mailing list for ConTeXt users <ntg-context@ntg.nl>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
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 
um 09:04:

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

[-- Attachment #1.2: Type: text/html, Size: 10652 bytes --]

[-- Attachment #2: Type: text/plain, Size: 493 bytes --]

___________________________________________________________________________________
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
___________________________________________________________________________________

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

end of thread, other threads:[~2021-03-05  0:06 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-04  8:04 LMTX 2021.03.02 | cross reference to an external file | \pagereference Richard Mahoney
2021-03-04 21:35 ` Wolfgang Schuster
2021-03-04 23:02   ` Richard Mahoney
2021-03-05  0:06     ` Fwd: " Richard Mahoney

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