ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Henri Menke <henrimenke@gmail.com>
To: ntg-context@ntg.nl
Subject: Re: Why is the page off?
Date: Mon, 3 Jul 2017 21:00:15 +1200	[thread overview]
Message-ID: <5c81c6a3-f0d8-9810-f8be-cbd5fc4a7da3@gmail.com> (raw)
In-Reply-To: <00e6bf37-6e14-62ee-e333-24e28c914c6c@wxs.nl>

On 07/03/2017 07:09 PM, Hans Hagen wrote:
> On 7/3/2017 8:42 AM, Henri Menke wrote:
>> On Mon, 2017-07-03 at 01:48 -0400, Aditya Mahajan wrote:
>>> On Sun, 2 Jul 2017, Henri Menke wrote:
>>>
>>>> Why is the page shifted?  Reproducible in TL2017 and latest beta.  See
>>>> also attached.  MWE is below.
>>>
>>> Why do you think that the page is shifted? Or are you asking why does the
>>> default layout set the left margin width to be larger than the backspace?
>>
>> How about this?  By default text in the margin can run off the page.  Also the whole layout is
>> symmetric (margin widths, margin distances) but shifted to the left.  This looks like a bug to me.
>>   Furthermore it doesn't make sense to have a non-centred text block for onesided typesetting.
> 
> theyt run off the page but are aligned to the text side so that permits a bit more tolerance against wrapping to soon

I see.  Would it be possible to add another layout to page-lay.mkiv?  I guess a good name is "fit" because it fits all margins on the page.

\definelayout
  [\v!fit]
  [\v!middle]
  [\c!backspace=\dimexpr\layoutparameter\c!leftmargin+\layoutparameter\c!leftmargindistance\relax,
   \c!cutspace=\dimexpr\layoutparameter\c!rightmargin+\layoutparameter\c!rightmargindistance\relax]

> 
>>
>> \setuppapersize[A5][A4,landscape]
>> \setuppaper[nx=2]
>> \setuparranging[XY]
>>
>> \showframe
>>
>> \starttext
>> Foo\page Bar\inleft{Foobarb}
>> \stoptext
>>
>>>
>>> Aditya
>>> ___________________________________________________________________________________
>>> If your question is of interest to others as well, please add an entry to the Wiki!
>>>
>>> maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
>>> webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
>>> archive  : https://bitbucket.org/phg/context-mirror/commits/
>>> wiki     : http://contextgarden.net
>>> ___________________________________________________________________________________
>>>
>>>
>>> ___________________________________________________________________________________
>>> If your question is of interest to others as well, please add an entry to the Wiki!
>>>
>>> maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
>>> webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
>>> archive  : https://bitbucket.org/phg/context-mirror/commits/
>>> wiki     : http://contextgarden.net
>>> ___________________________________________________________________________________
> 
> 

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

      reply	other threads:[~2017-07-03  9:00 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-07-02  3:17 Henri Menke
2017-07-03  5:48 ` Aditya Mahajan
2017-07-03  6:42   ` Henri Menke
2017-07-03  7:03     ` Henri Menke
2017-07-03  7:09     ` Hans Hagen
2017-07-03  9:00       ` Henri Menke [this message]

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=5c81c6a3-f0d8-9810-f8be-cbd5fc4a7da3@gmail.com \
    --to=henrimenke@gmail.com \
    --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).