Did you try \setuppapersize[A5][A5] ?
According to http://wiki.contextgarden.net/Reference/en/setuppapersize
second argument (the print paper size) is A4 by default.


> -----Ursprüngliche Nachricht-----
> Von: Aditya Mahajan [mailto:adit...@umich.edu]
> Gesendet: Samstag, 19. März 2011 18:59
> An: mailing list for ConTeXt users
> Betreff: Re: [NTG-context] Feature request: setuppapersize
> 
> On Mon, 10 Jan 2011, Aditya Mahajan wrote:
> 
> > On Mon, 10 Jan 2011, Hans Hagen wrote:
> >
> >> more elegant and downward compatible is this:
> >>
> >> \definepapersize
> >>  [samesized]
> >>  [ \c!width=\paperwidth,
> >>   \c!height=\paperheight]
> >>
> >> \setuppapersize
> >>  [A4][samesized]
> >>
> >> in page-lay.mkiv
> >
> > Indeed. This will also work fine.
> 
> I don't know if something changed, but this has stoopped working.
> 
> \setuppapersize[A5]
> \starttext
> \dorecurse{10}{\input knuth \endgraf}
> \stoptext
> 
> With MkII I get
> 
> $pdfinfo page-test.pdf
> Title:          page-test
> Subject:
> Keywords:
> Author:
> Creator:        ConTeXt - 2011.02.25 22:03
> Producer:       pdfTeX-1.40.11
> CreationDate:   Sat Mar 19 13:50:49 2011
> ModDate:        ConTeXt - 2011.02.25 22:03
> Tagged:         no
> Pages:          5
> Encrypted:      no
> Page size:      595.276 x 841.89 pts (A4)
> File size:      33436 bytes
> Optimized:      no
> PDF version:    1.5
> 
> With MkIV:
> 
> $pdfinfo page-test.pdf
> Title:          page-test
> Creator:        ConTeXt - 2011.02.25 22:03
> Producer:       LuaTeX-0.65.0
> CreationDate:   Sat Mar 19 13:53:29 2011
> ModDate:        Sat Mar 19 13:53:29 2011
> Tagged:         no
> Pages:          5
> Encrypted:      no
> Page size:      595.276 x 841.89 pts (A4)
> File size:      16057 bytes
> Optimized:      no
> PDF version:    1.6
> 
> Notice that the page size is still A4! Any idea why this is happening?
> (I get the right paper size with letter, A0, A1, A2, A3, but wrong paper
sizes
> with anything smaller than A4).
> 
> Aditya


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

Reply via email to