ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Why is the page off?
@ 2017-07-02  3:17 Henri Menke
  2017-07-03  5:48 ` Aditya Mahajan
  0 siblings, 1 reply; 6+ messages in thread
From: Henri Menke @ 2017-07-02  3:17 UTC (permalink / raw)
  To: ntg-context

[-- Attachment #1: Type: text/plain, Size: 173 bytes --]

Dear list,

Why is the page shifted?  Reproducible in TL2017 and latest beta.  See also attached.  MWE is below.

Cheers, Henri

---

\showframe

\starttext
Foo
\stoptext

[-- Attachment #2: test.pdf --]
[-- Type: application/pdf, Size: 5082 bytes --]

[-- Attachment #3: Type: text/plain, Size: 492 bytes --]

___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Why is the page off?
  2017-07-02  3:17 Why is the page off? Henri Menke
@ 2017-07-03  5:48 ` Aditya Mahajan
  2017-07-03  6:42   ` Henri Menke
  0 siblings, 1 reply; 6+ messages in thread
From: Aditya Mahajan @ 2017-07-03  5:48 UTC (permalink / raw)
  To: mailing list for ConTeXt users

[-- Attachment #1: Type: TEXT/PLAIN, Size: 314 bytes --]

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?

Aditya

[-- Attachment #2: Type: text/plain, Size: 492 bytes --]

___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Why is the page off?
  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
  0 siblings, 2 replies; 6+ messages in thread
From: Henri Menke @ 2017-07-03  6:42 UTC (permalink / raw)
  To: ntg-context

[-- Attachment #1: Type: text/plain, Size: 1332 bytes --]

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.


\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
> ___________________________________________________________________________________

[-- Attachment #2: test.pdf --]
[-- Type: application/pdf, Size: 7727 bytes --]

[-- Attachment #3: Type: text/plain, Size: 492 bytes --]

___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Why is the page off?
  2017-07-03  6:42   ` Henri Menke
@ 2017-07-03  7:03     ` Henri Menke
  2017-07-03  7:09     ` Hans Hagen
  1 sibling, 0 replies; 6+ messages in thread
From: Henri Menke @ 2017-07-03  7:03 UTC (permalink / raw)
  To: ntg-context

On Mon, 2017-07-03 at 18:42 +1200, 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?

Just found this in "page-lay.mkiv"

%D The default dimensions are quite old and will not change.
%D The funny fractions were introduced when we went from fixed
%D dimensions to relative ones. Since \CONTEXT\ is a dutch
%D package, the dimensions are based on the metric system. The
%D asymmetrical layout is kind of handy for short
%D quick||and||dirty stapled documents.

> 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.
> 
> 
> \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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Why is the page off?
  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
  1 sibling, 1 reply; 6+ messages in thread
From: Hans Hagen @ 2017-07-03  7:09 UTC (permalink / raw)
  To: ntg-context

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

> 
> \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
>> ___________________________________________________________________________________


-- 

-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
        tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Why is the page off?
  2017-07-03  7:09     ` Hans Hagen
@ 2017-07-03  9:00       ` Henri Menke
  0 siblings, 0 replies; 6+ messages in thread
From: Henri Menke @ 2017-07-03  9:00 UTC (permalink / raw)
  To: ntg-context

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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2017-07-03  9:00 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-07-02  3:17 Why is the page off? 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 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).