From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/7154 Path: main.gmane.org!not-for-mail From: Daniel Joyce Newsgroups: gmane.comp.tex.context Subject: Re: Papersize and pdf output. Date: Thu, 7 Mar 2002 14:27:24 -0600 Sender: owner-ntg-context@let.uu.nl Message-ID: <02030714272401.04089@gaia> References: <02030710302904.28898@publish> <3C879A52.48E6BD42@salamander.com> <02030712533400.29570@publish> NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit X-Trace: main.gmane.org 1035397638 16908 80.91.224.250 (23 Oct 2002 18:27:18 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 23 Oct 2002 18:27:18 +0000 (UTC) Original-To: ntg-context@let.uu.nl In-Reply-To: <02030712533400.29570@publish> Xref: main.gmane.org gmane.comp.tex.context:7154 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:7154 On Thursday 07 March 2002 11:53 am, John Culleton wrote: > On Thursday 07 March 2002 11:50, Bill McClain wrote: > > I tried a garbage value and note that texexec runs without > > complaint and doesn't put anything in the log. > > > > -Bill > > Many Context commands will fail to complain if you feed them an > invalid parameter. This makes debugging quite difficult :-( > > My problem is not with the first parameter (S3) but the second -- > (letter). No matter what I put in the second parameter the pdf > file comes out A4. > > John Culleton It may just be your PDF viewer, not Context. On my context, the paper size commands work fine. But only Acroread seems to get the size of the page right when I view it. ( letter ). Ghostscript always uses a internal default ( A4 ) unless told otherwise when viewing any PS/EPS/PDF files. Same goes for Ghostview. So, are you using Acroread to view the final file? Also, note that \setuppapersize must always have 2 paper parameters. \setuppapersize[letter] results in a letter size page on a sheet of A4. \setuppapersize[letter][letter] gives the correct result of a letter sized page. The documentation says the second param is optional, but does not tell you the default is A4. So... 1) Use acroread to view resulting pdfs to ensure they are correct 2) Use texexec -pdf to call pdftex. This apparently takes care of a lot of work. 3) be sure you use \setuppapersize[S3][letter] Daniel