[NTG-context] Fwd: Re: LMTX 2021.03.02 | cross reference to an external file | \pagereference

2021-03-04 Thread Richard Mahoney
Wolfgang [and Hans ],

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 
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  -- 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 rmaho...@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 
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 : 

Re: [NTG-context] LMTX 2021.03.02 | cross reference to an external file | \pagereference

2021-03-04 Thread Richard Mahoney
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  -- 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 
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 
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 rmaho...@indica-et-buddhica.org
IM https://t.me/rmahoney  W https://indica-et-buddhica.org/


Indica et Buddhica  Littledene  Bay Road  Oxford  NZ
___
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
___


Re: [NTG-context] LMTX 2021.03.02 | cross reference to an external file | \pagereference

2021-03-04 Thread Wolfgang Schuster

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
___


Re: [NTG-context] Log overful boxes

2021-03-04 Thread Hans Hagen

On 3/4/2021 12:32 PM, denis.ma...@ub.unibe.ch wrote:

Thanks, that's helpful. Is there a way to collect these pieces of information 
and print them at the end together with rest of the processing information. I'm 
thinking of something like:

mkiv lua stats  > 2 overful boxes, 3 underful boxes

or:

warning > 2 overful boxes, 3 underful boxes

What do you think?

only when you document it on the wiki 

pack quality>
pack quality> 4 entries added to the log file : overfull=1 | underfull=3
pack quality>

in the log:

pack quality> start

pack quality> oeps.tex [ - 0010] : overfull  hbox : m
pack quality> oeps.tex [ - 0011] : underfull hbox : m
pack quality> oeps.tex [ - 0012] : underfull hbox : mm
pack quality> oeps.tex [ - 0013] : underfull hbox : mmm

pack quality> stop

using the already available mechanism:

\enabletrackers[builders.hpack.quality]
\enabletrackers[builders.hpack.overflow]

\starttext
\hbox to 0em {m}
\hbox to 1em {m}
\hbox to 2em {mm}
\hbox to 3em {mmm}
\hbox to 3em {m m m}
\stoptext

(so not much code needed; lmtx only)

Hans

-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
   tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-
___
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
___


[NTG-context] LMTX 2021.03.02 | cross reference to an external file | \pagereference

2021-03-04 Thread 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? 


Best, Richard




-- 
T +6433121699  M +64210640216  E rmaho...@indica-et-buddhica.org
IM https://t.me/rmahoney  W https://indica-et-buddhica.org/


Indica et Buddhica  Littledene  Bay Road  Oxford  NZ
___
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
___


Re: [NTG-context] Log overful boxes

2021-03-04 Thread denis.maier
Thanks, that's helpful. Is there a way to collect these pieces of information 
and print them at the end together with rest of the processing information. I'm 
thinking of something like:

mkiv lua stats  > 2 overful boxes, 3 underful boxes

or:

warning > 2 overful boxes, 3 underful boxes

What do you think?

Best,
Denis



> -Ursprüngliche Nachricht-
> Von: Hans Hagen 
> Gesendet: Mittwoch, 3. März 2021 17:42
> An: Maier, Denis Christian (UB) ; mailing list for
> ConTeXt users 
> Betreff: Re: [NTG-context] Log overful boxes
> 
> On 2/28/2021 6:46 PM, denis.ma...@ub.unibe.ch wrote:
> > How can you add information about underfulor overful boxes to the log?
> Ideally both vboxes and hboxes.
> \starttext
>  \hbox to 10cm {abc}
>  \hbox to  0cm {abc}
> \stoptext
> 
> gives me (in lmtx) this in th elog
> 
> Underfull \hbox (badness 1) detected at line 8
> <2: lmroman12-regular @ 12.0pt> abc
> 
> \hbox[normal][16=1,17=1], width 284.52756, height 8.32343, depth 0.11993,
> direction l2r .\list ..\glyph[32768][16=1,17=1], language (n=1,l=2,r=3),
> hyphenationmode 63, options 128 , font <2: lmroman12-regular @ 12.0pt>,
> glyph U+61 a ..\glyph[32768][16=1,17=1], language (n=1,l=2,r=3),
> hyphenationmode 63, options 128 , font <2: lmroman12-regular @ 12.0pt>,
> glyph U+62 b ..\kern[font], amount 0.32382 ..\glyph[32768][16=1,17=1],
> language (n=1,l=2,r=3), hyphenationmode 63, options 128 , font <2:
> lmroman12-regular @ 12.0pt>, glyph U+63 c
> 
> 
> Overfull \hbox (17.94214pt too wide) detected at line 9
> <2: lmroman12-regular @ 12.0pt> abc
> 
> \hbox[normal][16=1,17=1], height 8.32343, depth 0.11993, direction l2r .\list
> ..\glyph[32768][16=1,17=1], language (n=1,l=2,r=3), hyphenationmode 63,
> options 128 , font <2: lmroman12-regular @ 12.0pt>, glyph U+61 a
> ..\glyph[32768][16=1,17=1], language (n=1,l=2,r=3), hyphenationmode 63,
> options 128 , font <2: lmroman12-regular @ 12.0pt>, glyph U+62 b
> ..\kern[font], amount 0.32382 ..\glyph[32768][16=1,17=1], language
> (n=1,l=2,r=3), hyphenationmode 63, options 128 , font <2: lmroman12-
> regular @ 12.0pt>, glyph U+63 c
> 
> and on the console just:
> 
> Underfull \hbox (badness 1) detected at line 8
> <2: lmroman12-regular @ 12.0pt> abc
> 
> Overfull \hbox (17.94214pt too wide) detected at line 9
> <2: lmroman12-regular @ 12.0pt> abc
> 
> but you can get details on the console with
> 
>\tracingonline = 1
> 
> which is no fun with for instance
> 
> \starttext
>  \bgroup
>  \tracingonline1
>  \hbox to 0cm {\input tufte }
>  \egroup
> \stoptext
> 
> but anyhow shows you a bit how tex sees it.
> 
> Hans
> 
> -
>Hans Hagen | PRAGMA ADE
>Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
> tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
> -
___
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
___