ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Daniel Joyce <daniel.a.joyce@worldnet.att.net>
Subject: Re: Papersize and pdf output.
Date: Thu, 7 Mar 2002 14:27:24 -0600	[thread overview]
Message-ID: <02030714272401.04089@gaia> (raw)
In-Reply-To: <02030712533400.29570@publish>

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


  parent reply	other threads:[~2002-03-07 20:27 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-03-07 15:30 John Culleton
2002-03-07 16:50 ` Bill McClain
2002-03-07 17:53   ` John Culleton
2002-03-07 18:21     ` John Culleton
2002-03-07 20:27     ` Daniel Joyce [this message]
2002-03-07 20:28       ` John Culleton
2002-03-07 21:41         ` Hans Hagen
2002-03-08 14:17           ` John Culleton
2002-03-11  0:07             ` Hans Hagen
2002-03-11 20:30               ` John Culleton
2002-03-11 20:34                 ` John Culleton
2002-03-11 19:20             ` Henning Hraban Ramm
2002-03-07 21:44       ` Hans Hagen
2002-03-07 21:58   ` 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=02030714272401.04089@gaia \
    --to=daniel.a.joyce@worldnet.att.net \
    /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).