From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/7155 Path: main.gmane.org!not-for-mail From: John Culleton Newsgroups: gmane.comp.tex.context Subject: Re: Papersize and pdf output. Date: Thu, 7 Mar 2002 15:28:38 -0500 Sender: owner-ntg-context@let.uu.nl Message-ID: <02030715283803.29570@publish> References: <02030710302904.28898@publish> <02030712533400.29570@publish> <02030714272401.04089@gaia> Reply-To: john@wexfordpress.com 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 1035397639 16925 80.91.224.250 (23 Oct 2002 18:27:19 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 23 Oct 2002 18:27:19 +0000 (UTC) Original-To: Daniel Joyce , ntg-context@let.uu.nl In-Reply-To: <02030714272401.04089@gaia> Xref: main.gmane.org gmane.comp.tex.context:7155 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:7155 On Thursday 07 March 2002 15:27, Daniel Joyce wrote: > 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 It was the texexec -pdf command that was needed. Now it works. I am going to make a notebook of little hints for Context. This is the first entry :-) John Culleton