From: John Culleton <john@wexfordpress.com>
Subject: Re: Papersize and pdf output.
Date: Thu, 7 Mar 2002 15:28:38 -0500 [thread overview]
Message-ID: <02030715283803.29570@publish> (raw)
In-Reply-To: <02030714272401.04089@gaia>
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
next prev parent reply other threads:[~2002-03-07 20:28 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
2002-03-07 20:28 ` John Culleton [this message]
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=02030715283803.29570@publish \
--to=john@wexfordpress.com \
/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).