ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: "C." <metan0r@gmx.de>
To: "'mailing list for ConTeXt users'" <ntg-context@ntg.nl>
Subject: Re: Feature request: setuppapersize
Date: Sun, 20 Mar 2011 22:49:46 +0100	[thread overview]
Message-ID: <003801cbe748$bb211480$31633d80$@gmx.de> (raw)
In-Reply-To: <alpine.LNX.2.01.1103191352090.15446@ybpnyubfg.ybpnyqbznva>

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:adityam@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	other threads:[~2011-03-20 21:49 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-01-08 23:45 Aditya Mahajan
2011-01-10 13:29 ` Hans Hagen
2011-01-10 14:04   ` Peter Münster
2011-01-10 14:26     ` Hans Hagen
2011-01-10 15:20       ` Peter Münster
2011-01-10 15:51         ` Hans Hagen
2011-01-10 16:07           ` Peter Münster
2011-01-10 18:02   ` Aditya Mahajan
2011-03-19 17:59     ` Aditya Mahajan
2011-03-20 21:49       ` C. [this message]
2011-03-20 23:43         ` Aditya Mahajan
2011-03-21 11:47           ` C.
2011-03-21 16:08           ` Wolfgang Schuster
2011-03-21 16:46             ` Aditya Mahajan
2011-03-22 13:28             ` Hans Hagen
2011-03-22 15:59               ` Aditya Mahajan
2011-03-22 16:10                 ` Cecil Westerhof
2011-05-22 18:33                 ` Aditya Mahajan
2011-03-21  7:26       ` Otared Kavian
2011-01-22 16:34   ` Aditya Mahajan
2011-01-23 19:16     ` Hans Hagen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='003801cbe748$bb211480$31633d80$@gmx.de' \
    --to=metan0r@gmx.de \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).