[NTG-context] Beta problem with arranging XY

2015-07-09 Thread Taco Hoekwater
Hi,

It seems that the latest betas have a problem with the XY arrangement and/or 
\setuppaper. 

The attached file used to run fine, but lately all the placements are off (the 
address labels should be roughly centered on the A4 page). 

I am not sure how long ago this started going wrong, sorry (I often use a 
context installation from 2012 instead of the beta).

Best wishes,
Taco


test-labels.pdf
Description: Adobe PDF document


test-labels.tex
Description: Binary data
___
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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

Re: [NTG-context] Beta problem with arranging XY

2015-07-09 Thread Hans Hagen

On 7/9/2015 10:04 AM, Taco Hoekwater wrote:

Hi,

It seems that the latest betas have a problem with the XY arrangement and/or 
\setuppaper.

The attached file used to run fine, but lately all the placements are off (the 
address labels should be roughly centered on the A4 page).

I am not sure how long ago this started going wrong, sorry (I often use a 
context installation from 2012 instead of the beta).


probably a fixed bad default at some point, just add:

\setuplayout[location=middle]

-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
 | 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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

Re: [NTG-context] Beta problem with arranging XY

2015-07-09 Thread Taco Hoekwater

 On 09 Jul 2015, at 13:23, Hans Hagen pra...@wxs.nl wrote:
 
 \setuplayout[location=middle]

That fixes the global placement indeed, great.

But it does not solve the problem that address number 1 appears in label number 
4 (and 13 to 15 are off the bottom of the page).

Best wishes,
Taco
___
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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

Re: [NTG-context] Beta problem with arranging XY

2015-07-09 Thread Hans Hagen

On 7/9/2015 2:21 PM, Taco Hoekwater wrote:



On 09 Jul 2015, at 13:23, Hans Hagen pra...@wxs.nl wrote:

\setuplayout[location=middle]


That fixes the global placement indeed, great.

But it does not solve the problem that address number 1 appears in label number 
4 (and 13 to 15 are off the bottom of the page).


you probably run into some vss etc issues here

when you have a layer with dimensions, you can be use \tightlayer for 
placement


also, offsets have a different sign depending on the corner, so y=10mm 
for leftbottom means go up (afaik this has always been so)


\dorecurse
 {30}
 {\setlayer
   [Label]
   [preset=leftbottom,
y=10mm,x=0mm]
   {\the\paperheight/\the\paperwidth}
  \startstandardmakeup
\tightlayer[Label]
  \stopstandardmakeup }


-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
 | 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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___