ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Beta problem with arranging XY
@ 2015-07-09  8:04 Taco Hoekwater
  2015-07-09 11:23 ` Hans Hagen
  0 siblings, 1 reply; 4+ messages in thread
From: Taco Hoekwater @ 2015-07-09  8:04 UTC (permalink / raw)
  To: mailing list for ConTeXt users

[-- Attachment #1: Type: text/plain, Size: 393 bytes --]

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

[-- Attachment #2: test-labels.pdf --]
[-- Type: application/pdf, Size: 7583 bytes --]

[-- Attachment #3: test-labels.tex --]
[-- Type: application/octet-stream, Size: 788 bytes --]


\showframe

\definepapersize
    [Label]
    [height=50.8mm,width=70mm]

\setuppapersize[Label][A4,portrait]

\setuppaper
    [topspace=0mm,
     backspace=0mm,
     dx=0mm,
     dy=0mm,
     nx=3,
     ny=5,
     margin=0,
     header=20mm,
     footer=0mm
     width=210mm,
     height=254mm]

\setuplayout
     [topspace=0mm,
      backspace=10mm,
      margin=5mm,
      width=60mm,
      height=50.8mm,
      header=0mm,
      footer=0mm]

\setupbodyfont[modern,12pt]
\setuparranging[XY]

\definelayer
    [Label]
    [width=\paperwidth,height=\paperheight]

\starttext
\dorecurse
 {15}
 {\setlayer
   [Label]
   [preset=leftbottom,
    location={right,top},
    y=-10mm,x=0mm]
   {[Adr\recurselevel]}
  \startstandardmakeup
    \placelayer[Label]
  \stopstandardmakeup }
\stoptext

[-- Attachment #4: Type: text/plain, Size: 485 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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

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

end of thread, other threads:[~2015-07-09 13:51 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-07-09  8:04 Beta problem with arranging XY Taco Hoekwater
2015-07-09 11:23 ` Hans Hagen
2015-07-09 12:21   ` Taco Hoekwater
2015-07-09 13:51     ` Hans Hagen

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