From: Hans Hagen <pragma@wxs.nl>
Cc: NTG-ConTeXt <ntg-context@ntg.nl>
Subject: Re: Questions about default page element postions when using letter paper size.
Date: Fri, 21 Jan 2000 09:47:57 +0100 [thread overview]
Message-ID: <3.0.6.32.20000121094757.00a3a9a0@pop.wxs.nl> (raw)
In-Reply-To: <20000120231420.B14982@vasili.rlf.org>
At 11:14 PM 1/20/2000 -0500, Thomas Porter wrote:
>My document was setup very simply:
>
>\setuppapersize[letter][letter]
>\showlayout
>
>\setuppagenumbering[state=stop]
>\setupheadertexts[Basic Linux Security][\pagenumber]
also accepted is: [pagenumber]
>\setupfootertexts[section][Piedmont Linux Users Group]
>If I changed my document to include a \setuplayout [width=middle] command,
the
>backspace stayed the same, but the \width enlarged wnough to cause the right
>margin edge to move off the page as well.
The main dimension to play with are
backspace : also called binding edge
topspace : the distance between header and top op page
width : indeed the width
height : and the height
So, start setting width to 'middle' and play a bit with backspace.
The margins are virtual, in the sense that they don't count in locating the
main body text. Their dimensions play a role in (1) line breaks and
alignments and (2) backgrounds. Margin text btw can be positioned in such a
way that there are more virtual margins. Then, there are also edges (handy
for menus) and so.
Did you read the english beta chapter on specifying the layout?
>I am trying to figure out if my use of letter as opposed to A4, which Context
>defaults to, has caused some default dimensions to be set to A4 values as
>opposed to ones better suited to Letter paper size.
By default, the layout is defined in such a way that it scaled nicely with
the paper format. Since this happend to be A4 by default, you indeed need
to set the paper size to [letter][letter].
>Just to be obsessive, here is the dump of the values produced for \showlayout
>for the fragment above:
>BTW, running context on the fragment shown above resilts in four pages of
>frames and settings, not just one!! Also, having updated pdftex
This is on purpose, since context supports single sided, double sided and
combined single/double sided output. There are some examples of this in the
big manual.
I am getting:
>
>Warning: pdfetex (file /usr/share/texmf/dvips/config/pdftex.map): invalid
entry
> for `hlcbot8rn': too big value of ExtendFont (850)
This probably means that the font is buggy.
>messages, which do not seem to be breaking anything, but I was wondering if
>they might be causing some other problems.
No. Just ignore them.
>Sorry for such a long post, but I wanted to supply enough info to be useful.
>
>I guess I am trying to avoid doing a lot of manual dimension setting in order
>to get my pages laid out in a useful default configuration.
What you can do is to put your default settings in the cont-sys.tex file.
Alternatively you can put them in a file, say 'mylayout.tex' and input that
file in cont-sys.tex saying \input mylayout.tex or \readfile{mylayout}{}{}
Maybe the best is to add the paper setting to cont-sys.tex.
Hans
-----------------------------------------------------------------
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.nl
-----------------------------------------------------------------
next prev parent reply other threads:[~2000-01-21 8:47 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-01-21 4:14 Thomas Porter
2000-01-21 8:47 ` Hans Hagen [this message]
2000-01-21 14:10 ` Ed L. Cashin
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=3.0.6.32.20000121094757.00a3a9a0@pop.wxs.nl \
--to=pragma@wxs.nl \
--cc=ntg-context@ntg.nl \
/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).