ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* What is "cutspace" and "bottomspace"?
@ 2020-11-05 10:16 Sylvain Hubert
  2020-11-05 15:08 ` Pablo Rodriguez
  0 siblings, 1 reply; 4+ messages in thread
From: Sylvain Hubert @ 2020-11-05 10:16 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 455 bytes --]

Dear List,

according to https://wiki.contextgarden.net/Command/setuplayout ,
"cutspace" and "bottomspace" are the counterparts of "backspace" and
"topspace", and "If cutspace is set to 0, it is taken to be equal to the
backspace". But in fact, the following document stays the same no matter
what value is given to cutspace.

\setuplayout[cutspace=0.01cm]
\starttext x  \showframe \stoptext

Has anyone actually used these two parameters?

Best,
Sylvain

[-- Attachment #1.2: Type: text/html, Size: 717 bytes --]

[-- Attachment #2: Type: text/plain, Size: 493 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] 4+ messages in thread

* Re: What is "cutspace" and "bottomspace"?
  2020-11-05 10:16 What is "cutspace" and "bottomspace"? Sylvain Hubert
@ 2020-11-05 15:08 ` Pablo Rodriguez
  2020-11-05 15:11   ` Wolfgang Schuster
  0 siblings, 1 reply; 4+ messages in thread
From: Pablo Rodriguez @ 2020-11-05 15:08 UTC (permalink / raw)
  To: ntg-context

On 11/5/20 11:16 AM, Sylvain Hubert wrote:
> Dear List,
>
> according to https://wiki.contextgarden.net/Command/setuplayout ,
> "cutspace" and "bottomspace" are the counterparts of "backspace" and
> "topspace", and "If cutspace is set to 0, it is taken to be equal to the
> backspace". But in fact, the following document stays the same no matter
> what value is given to cutspace.
>
> \setuplayout[cutspace=0.01cm]
> \starttext x  \showframe \stoptext
>
> Has anyone actually used these two parameters?

Hi Sylvain,

\setuplayout[width=fit, cutspace=0.01cm] does the trick.

Just in case it helps,

Pablo
--
http://www.ousia.tk
___________________________________________________________________________________
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] 4+ messages in thread

* Re: What is "cutspace" and "bottomspace"?
  2020-11-05 15:08 ` Pablo Rodriguez
@ 2020-11-05 15:11   ` Wolfgang Schuster
  2020-11-05 16:10     ` Pablo Rodriguez
  0 siblings, 1 reply; 4+ messages in thread
From: Wolfgang Schuster @ 2020-11-05 15:11 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: Pablo Rodriguez

Pablo Rodriguez schrieb am 05.11.2020 um 16:08:
> On 11/5/20 11:16 AM, Sylvain Hubert wrote:
>> Dear List,
>>
>> according to https://wiki.contextgarden.net/Command/setuplayout ,
>> "cutspace" and "bottomspace" are the counterparts of "backspace" and
>> "topspace", and "If cutspace is set to 0, it is taken to be equal to the
>> backspace". But in fact, the following document stays the same no matter
>> what value is given to cutspace.
>>
>> \setuplayout[cutspace=0.01cm]
>> \starttext x  \showframe \stoptext
>>
>> Has anyone actually used these two parameters?
> 
> Hi Sylvain,
> 
> \setuplayout[width=fit, cutspace=0.01cm] does the trick.

Use "width=middle".

Wolfgang
___________________________________________________________________________________
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] 4+ messages in thread

* Re: What is "cutspace" and "bottomspace"?
  2020-11-05 15:11   ` Wolfgang Schuster
@ 2020-11-05 16:10     ` Pablo Rodriguez
  0 siblings, 0 replies; 4+ messages in thread
From: Pablo Rodriguez @ 2020-11-05 16:10 UTC (permalink / raw)
  To: ntg-context

On 11/5/20 4:11 PM, Wolfgang Schuster wrote:
> Pablo Rodriguez schrieb am 05.11.2020 um 16:08:
>> [...]
>>
>> \setuplayout[width=fit, cutspace=0.01cm] does the trick.
>
> Use "width=middle".

Many thanks for your reply, Wolfgang.

I found something weird here.

Compare the four options:

  %~ \setuplayout[width=middle, backspace=0.001mm]
  %~ \setuplayout[width=fit, backspace=0.001mm]
  %~ \setuplayout[width=middle, cutspace=0.001mm]
  %~ \setuplayout[width=fit, cutspace=0.001mm]
  \starttext \showframe \showsetups \stoptext

Each of the options gives a different result.

I thought the same might happen with topspace and bottomSpace. I’m
afraid this is also different:

  %~ \setuplayout[height=middle, topspace=0.001mm]
  %~ \setuplayout[height=fit, topspace=0.001mm]
  %~ \setuplayout[height=middle, bottomspace=0.001mm]
  %~ \setuplayout[height=fit, bottomspace=0.001mm]
  \starttext \showframe \showsetups \stoptext

I wonder whether there might be a bug here.

Many thanks for your help,

Pablo
--
http://www.ousia.tk
___________________________________________________________________________________
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] 4+ messages in thread

end of thread, other threads:[~2020-11-05 16:10 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-11-05 10:16 What is "cutspace" and "bottomspace"? Sylvain Hubert
2020-11-05 15:08 ` Pablo Rodriguez
2020-11-05 15:11   ` Wolfgang Schuster
2020-11-05 16:10     ` Pablo Rodriguez

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).