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

Reply via email to