ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Re: the meaning of cutspace
       [not found] <mailman.467.1258396019.22155.ntg-context@ntg.nl>
@ 2009-11-16 20:35 ` Vyatcheslav Yatskovsky
  2009-11-16 20:48   ` Aditya Mahajan
  2009-11-16 21:23 ` Vyatcheslav Yatskovsky
  1 sibling, 1 reply; 17+ messages in thread
From: Vyatcheslav Yatskovsky @ 2009-11-16 20:35 UTC (permalink / raw)
  To: ntg-context

Hello,
> Don't use both backspace and cutspace at the same time.

 From http://wiki.contextgarden.net/Layout:

backspace 	\backspace <javascript:show_command('backspace')> 	from left 
rim of paper to left rim of main text area


cutspace 	\cutspace <javascript:show_command('cutspace')> 	from right 
rim of paper to right rim of main text area


Either the description is wrong, or... the thoughts stop here :))

Regards,
Vyatcheslav
___________________________________________________________________________________
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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


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

* Re: the meaning of cutspace
  2009-11-16 20:35 ` the meaning of cutspace Vyatcheslav Yatskovsky
@ 2009-11-16 20:48   ` Aditya Mahajan
  2009-11-16 21:29     ` Wolfgang Schuster
  0 siblings, 1 reply; 17+ messages in thread
From: Aditya Mahajan @ 2009-11-16 20:48 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On Mon, 16 Nov 2009, Vyatcheslav Yatskovsky wrote:

> Hello,
>> Don't use both backspace and cutspace at the same time.
>
> From http://wiki.contextgarden.net/Layout:
>
> backspace 	\backspace <javascript:show_command('backspace')> 	from 
> left rim of paper to left rim of main text area
>
>
> cutspace 	\cutspace <javascript:show_command('cutspace')> 	from 
> right rim of paper to right rim of main text area
>
>
> Either the description is wrong, or... the thoughts stop here :))

\setuplayout[backspace=1.5cm, cutspace=5cm, width=middle]
\setuppagenumbering[alternative=doublesided]
\showframe
\starttext
\showlayout
\stoptext


I am using big space so that it is easy to see the difference.

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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


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

* Re: the meaning of cutspace
       [not found] <mailman.467.1258396019.22155.ntg-context@ntg.nl>
  2009-11-16 20:35 ` the meaning of cutspace Vyatcheslav Yatskovsky
@ 2009-11-16 21:23 ` Vyatcheslav Yatskovsky
  2009-11-16 21:59   ` Taco Hoekwater
  1 sibling, 1 reply; 17+ messages in thread
From: Vyatcheslav Yatskovsky @ 2009-11-16 21:23 UTC (permalink / raw)
  To: ntg-context

Hello Luigi,
> I'm not sure, but what about
> width=middle?
>    

Yes! It works!
I don't understand it; it's like another magic trick )

\setuppapersize [A5][A5]

\setuplayout[topspace=2cm, header=0cm, footer=0.6cm, bottomspace=2cm, 
height=fit,

backspace=1.5cm, cutspace=2cm,

width=middle]


@Taco: what's wrong with it then?

Regards,
Vyatcheslav


___________________________________________________________________________________
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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


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

* Re: the meaning of cutspace
  2009-11-16 20:48   ` Aditya Mahajan
@ 2009-11-16 21:29     ` Wolfgang Schuster
  2009-11-16 22:39       ` Wolfgang Schuster
  0 siblings, 1 reply; 17+ messages in thread
From: Wolfgang Schuster @ 2009-11-16 21:29 UTC (permalink / raw)
  To: mailing list for ConTeXt users


Am 16.11.2009 um 21:48 schrieb Aditya Mahajan:

> \setuplayout[backspace=1.5cm, cutspace=5cm, width=middle]
> \setuppagenumbering[alternative=doublesided]
> \showframe
> \starttext
> \showlayout
> \stoptext
> 
> I am using big space so that it is easy to see the difference.

Another old example from me but i wonder if the output from your example is correct,
when i set 'width=middle' i expect the same margin on both sides (i.e. the backspace
setting) and the cutspace value is ignored.

\definelayout[1][backspace=4cm,width=12cm]
\definelayout[2][backspace=5cm,cutspace=7cm,width=fit]
\definelayout[3][backspace=3cm,width=middle]

\showframe

\starttext

\dorecurse{3}
  {\starttabulate
   \NC backspace \EQ \PtToCm\backspace \NC\NR
   \NC textwidth \EQ \PtToCm\textwidth \NC\NR
   \NC cutspace  \EQ \PtToCm\cutspace  \NC\NR
   \stoptabulate
   \page}

\stoptext

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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


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

* Re: the meaning of cutspace
  2009-11-16 21:23 ` Vyatcheslav Yatskovsky
@ 2009-11-16 21:59   ` Taco Hoekwater
  0 siblings, 0 replies; 17+ messages in thread
From: Taco Hoekwater @ 2009-11-16 21:59 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Vyatcheslav Yatskovsky wrote:
> Hello Luigi,
>> I'm not sure, but what about
>> width=middle?
>>    
> 
> Yes! It works!
> I don't understand it; it's like another magic trick )
> 
> \setuppapersize [A5][A5]
> 
> \setuplayout[topspace=2cm, header=0cm, footer=0.6cm, bottomspace=2cm, 
> height=fit,
> 
> backspace=1.5cm, cutspace=2cm,
> 
> width=middle]
> 
> 
> @Taco: what's wrong with it then?

Never mind, I was confused (never use width=middle myself)

Best wishes,
Taco
___________________________________________________________________________________
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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


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

* Re: the meaning of cutspace
  2009-11-16 21:29     ` Wolfgang Schuster
@ 2009-11-16 22:39       ` Wolfgang Schuster
  2009-11-17 10:40         ` Peter Münster
  0 siblings, 1 reply; 17+ messages in thread
From: Wolfgang Schuster @ 2009-11-16 22:39 UTC (permalink / raw)
  To: mailing list for ConTeXt users


Am 16.11.2009 um 22:29 schrieb Wolfgang Schuster:

> 
> Am 16.11.2009 um 21:48 schrieb Aditya Mahajan:
> 
>> \setuplayout[backspace=1.5cm, cutspace=5cm, width=middle]
>> \setuppagenumbering[alternative=doublesided]
>> \showframe
>> \starttext
>> \showlayout
>> \stoptext
>> 
>> I am using big space so that it is easy to see the difference.
> 
> Another old example from me but i wonder if the output from your example is correct,
> when i set 'width=middle' i expect the same margin on both sides (i.e. the backspace
> setting) and the cutspace value is ignored.

After reading the source 'width=middle' make sense, when both backspace and cutspace
are set the width of the textarea is 'paperwidth - backspace - cutspace' but when
cutspace is set to 0pt the textarea is 'paperwidth - 2*backspace'.

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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


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

* Re: the meaning of cutspace
  2009-11-16 22:39       ` Wolfgang Schuster
@ 2009-11-17 10:40         ` Peter Münster
  2009-11-17 11:59           ` Wolfgang Schuster
  0 siblings, 1 reply; 17+ messages in thread
From: Peter Münster @ 2009-11-17 10:40 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On Mon, 16 Nov 2009, Wolfgang Schuster wrote:

> After reading the source 'width=middle' make sense, when both backspace
> and cutspace
> are set the width of the textarea is 'paperwidth - backspace - cutspace'
> but when
> cutspace is set to 0pt the textarea is 'paperwidth - 2*backspace'.

Hello Wolfgang,

I'm sorry, I still don't understand...  When width=middle adjusts the width
to "paperwidth - backspace - cutspace", what should width=fit then do?
What does "middle" mean, in the middle of *what*?

I suggest, that specifying backspace + cutspace + width=middle should
output an error or warning, and backspace + cutspace + width=fit should do
it right...

Cheers, Peter

-- 
Contact information: http://pmrb.free.fr/contact/


___________________________________________________________________________________
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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


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

* Re: the meaning of cutspace
  2009-11-17 10:40         ` Peter Münster
@ 2009-11-17 11:59           ` Wolfgang Schuster
  2009-11-17 12:52             ` luigi scarso
  0 siblings, 1 reply; 17+ messages in thread
From: Wolfgang Schuster @ 2009-11-17 11:59 UTC (permalink / raw)
  To: mailing list for ConTeXt users


Am 17.11.2009 um 11:40 schrieb Peter Münster:

> I'm sorry, I still don't understand...  When width=middle adjusts the width
> to "paperwidth - backspace - cutspace", what should width=fit then do?
> What does "middle" mean, in the middle of *what*?
> 
> I suggest, that specifying backspace + cutspace + width=middle should
> output an error or warning, and backspace + cutspace + width=fit should do
> it right...

The first thing context does is to check the value of width:
(the width of the textarea is stored in \makeupwidth, not \textwidth)

1. width=middle

if cutspace=0pt then cutspace=backspace endif

makeupwidth = paperwidth - backspace - cutspace


2. width=fit

when i look at the source i don't know if anyone want this setting because
very complicated and the calculation is

makeupwidth = paperwidth - (backspace - leftmargin - leftmargindistance - leftedge - ...) - (cutspace - rightmargin - ...)


3. width=<dimen>

makeupwidth = <dimen>


Example:

\definelayout[1][backspace=4cm,width=12cm]
\definelayout[2][backspace=5cm,cutspace=7cm,width=middle]
\definelayout[3][backspace=3cm,cutspace=0pt,width=middle]
\definelayout[4][backspace=4cm,width=fit]
\definelayout[5][backspace=4cm,leftmargin=3cm,width=fit]
\definelayout[6][backspace=4cm,leftmargin=4cm,width=fit]
\definelayout[7][backspace=4cm,leftmargin=2cm,width=fit]
\definelayout[8][backspace=4cm,leftmargin=2cm,rightmargin=3cm,width=fit]
\definelayout[9][backspace=4cm,leftmargin=2cm,rightmargin=4cm,width=fit]
\definelayout[10][backspace=4cm,leftmargin=2cm,rightmargin=2cm,width=fit]

\showframe

\starttext

\dorecurse{10}
  {\starttabulate
   \NC backspace \EQ \PtToCm\backspace \NC\NR
   \NC textwidth \EQ \PtToCm\textwidth \NC\NR
   \NC cutspace  \EQ \PtToCm\cutspace  \NC\NR
   \stoptabulate
   \page}

\stoptext

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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


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

* Re: the meaning of cutspace
  2009-11-17 11:59           ` Wolfgang Schuster
@ 2009-11-17 12:52             ` luigi scarso
  2009-11-17 12:54               ` Taco Hoekwater
  0 siblings, 1 reply; 17+ messages in thread
From: luigi scarso @ 2009-11-17 12:52 UTC (permalink / raw)
  To: mailing list for ConTeXt users

> The first thing context does is to check the value of width:
> (the width of the textarea is stored in \makeupwidth, not \textwidth)
>
> 1. width=middle
>
> if cutspace=0pt then cutspace=backspace endif
>
> makeupwidth = paperwidth - backspace - cutspace
>
>
> 2. width=fit
>
> when i look at the source i don't know if anyone want this setting because
> very complicated and the calculation is
>
> makeupwidth = paperwidth - (backspace - leftmargin - leftmargindistance - leftedge - ...) - (cutspace - rightmargin - ...)
>
>
> 3. width=<dimen>
>
> makeupwidth = <dimen>
>
>
> Example:
>
> \definelayout[1][backspace=4cm,width=12cm]
> \definelayout[2][backspace=5cm,cutspace=7cm,width=middle]
> \definelayout[3][backspace=3cm,cutspace=0pt,width=middle]
> \definelayout[4][backspace=4cm,width=fit]
> \definelayout[5][backspace=4cm,leftmargin=3cm,width=fit]
> \definelayout[6][backspace=4cm,leftmargin=4cm,width=fit]
> \definelayout[7][backspace=4cm,leftmargin=2cm,width=fit]
> \definelayout[8][backspace=4cm,leftmargin=2cm,rightmargin=3cm,width=fit]
> \definelayout[9][backspace=4cm,leftmargin=2cm,rightmargin=4cm,width=fit]
> \definelayout[10][backspace=4cm,leftmargin=2cm,rightmargin=2cm,width=fit]
>
> \showframe
>
> \starttext
>
> \dorecurse{10}
>  {\starttabulate
>   \NC backspace \EQ \PtToCm\backspace \NC\NR
>   \NC textwidth \EQ \PtToCm\textwidth \NC\NR
>   \NC cutspace  \EQ \PtToCm\cutspace  \NC\NR
>   \stoptabulate
>   \page}
>
> \stoptext
>
> Wolfgang

to  wikify ... where ?

-- 
luigi
___________________________________________________________________________________
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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

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

* Re: the meaning of cutspace
  2009-11-17 12:52             ` luigi scarso
@ 2009-11-17 12:54               ` Taco Hoekwater
  2009-11-17 12:58                 ` luigi scarso
  2009-11-17 23:00                 ` luigi scarso
  0 siblings, 2 replies; 17+ messages in thread
From: Taco Hoekwater @ 2009-11-17 12:54 UTC (permalink / raw)
  To: mailing list for ConTeXt users



luigi scarso wrote:
> 
> to  wikify ... where ?

  http://wiki.contextgarden.net/Layout ?

Best wishes,
Taco



___________________________________________________________________________________
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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


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

* Re: the meaning of cutspace
  2009-11-17 12:54               ` Taco Hoekwater
@ 2009-11-17 12:58                 ` luigi scarso
  2009-11-17 23:00                 ` luigi scarso
  1 sibling, 0 replies; 17+ messages in thread
From: luigi scarso @ 2009-11-17 12:58 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On Tue, Nov 17, 2009 at 1:54 PM, Taco Hoekwater <taco@elvenkind.com> wrote:
>
>  http://wiki.contextgarden.net/Layout ?

OK, I will wait until this evening and  then I will do it .


-- 
luigi
___________________________________________________________________________________
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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

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

* Re: the meaning of cutspace
  2009-11-17 12:54               ` Taco Hoekwater
  2009-11-17 12:58                 ` luigi scarso
@ 2009-11-17 23:00                 ` luigi scarso
  1 sibling, 0 replies; 17+ messages in thread
From: luigi scarso @ 2009-11-17 23:00 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On Tue, Nov 17, 2009 at 1:54 PM, Taco Hoekwater <taco@elvenkind.com> wrote:
>
>
> luigi scarso wrote:
>>
>> to  wikify ... where ?
>
>  http://wiki.contextgarden.net/Layout ?
done


-- 
luigi
___________________________________________________________________________________
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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

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

* Re: the meaning of cutspace
  2009-11-16 18:44   ` Peter Münster
@ 2009-11-16 18:56     ` Peter Münster
  0 siblings, 0 replies; 17+ messages in thread
From: Peter Münster @ 2009-11-16 18:56 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On Mon, 16 Nov 2009, Peter Münster wrote:

> Working example:
> 
> \setuplayout[leftmargin=1cm, rightmargin=1.5cm,
>   leftmargindistance=2mm, rightmargindistance=2mm,
>   backspace=1.5cm, cutspace=2cm, width=fit]

I'm sorry, Taco is right. There is indeed a problem here...

Instead of "cutspace=2cm, width=fit" you could write
"width=\dimexpr \paperwidth - 35mm \relax".

Cheers, Peter

-- 
Contact information: http://pmrb.free.fr/contact/


___________________________________________________________________________________
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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

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

* Re: the meaning of cutspace
  2009-11-16 17:14 ` Vyatcheslav Yatskovsky
  2009-11-16 17:28   ` luigi scarso
@ 2009-11-16 18:44   ` Peter Münster
  2009-11-16 18:56     ` Peter Münster
  1 sibling, 1 reply; 17+ messages in thread
From: Peter Münster @ 2009-11-16 18:44 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On Mon, 16 Nov 2009, Vyatcheslav Yatskovsky wrote:

> I need to set up 1.5cm/2cm page borders.
> 
> Backspace in layout setup gives me expected result (distance from page to the
> text). According to the wiki, cutspace should do the same for opposite side of
> the page, but it doesnt. So, I cannot get the meaning of cutspace.
> 
> \setuplayout[topspace=2cm, header=0cm, footer=0.6cm, bottomspace=2cm,
> height=fit,
> %leftmargin=1.5cm, rightmargin=2cm,
> backspace=1.5cm, cutspace=2cm, width=fit]

Hello Vyatcheslav,

You must be sure, that leftmargin + leftmargindistance <= backspace
and rightmargin + rightmargindistance <= cutspace.

Working example:

\setuplayout[leftmargin=1cm, rightmargin=1.5cm,
  leftmargindistance=2mm, rightmargindistance=2mm,
  backspace=1.5cm, cutspace=2cm, width=fit]

Cheers, Peter

-- 
Contact information: http://pmrb.free.fr/contact/


___________________________________________________________________________________
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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


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

* Re: the meaning of cutspace
  2009-11-16 17:28   ` luigi scarso
@ 2009-11-16 18:26     ` Taco Hoekwater
  0 siblings, 0 replies; 17+ messages in thread
From: Taco Hoekwater @ 2009-11-16 18:26 UTC (permalink / raw)
  To: mailing list for ConTeXt users

luigi scarso wrote:
> On Mon, Nov 16, 2009 at 6:14 PM, Vyatcheslav Yatskovsky
> <yatskovsky@gmail.com> wrote:
>> Hello,
>>
>> I need to set up 1.5cm/2cm page borders.
>>
>> Backspace in layout setup gives me expected result (distance from page to
>> the text). According to the wiki, cutspace should do the same for opposite
>> side of the page, but it doesnt. So, I cannot get the meaning of cutspace.
>>
>> \setuplayout[topspace=2cm, header=0cm, footer=0.6cm, bottomspace=2cm,
>> height=fit,
>>
>> %leftmargin=1.5cm, rightmargin=2cm,
>>
>> backspace=1.5cm, cutspace=2cm, width=fit]

Don't use both backspace and cutspace at the same time.

Best wishes,
Taco
___________________________________________________________________________________
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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


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

* Re: the meaning of cutspace
  2009-11-16 17:14 ` Vyatcheslav Yatskovsky
@ 2009-11-16 17:28   ` luigi scarso
  2009-11-16 18:26     ` Taco Hoekwater
  2009-11-16 18:44   ` Peter Münster
  1 sibling, 1 reply; 17+ messages in thread
From: luigi scarso @ 2009-11-16 17:28 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On Mon, Nov 16, 2009 at 6:14 PM, Vyatcheslav Yatskovsky
<yatskovsky@gmail.com> wrote:
> Hello,
>
> I need to set up 1.5cm/2cm page borders.
>
> Backspace in layout setup gives me expected result (distance from page to
> the text). According to the wiki, cutspace should do the same for opposite
> side of the page, but it doesnt. So, I cannot get the meaning of cutspace.
>
> \setuplayout[topspace=2cm, header=0cm, footer=0.6cm, bottomspace=2cm,
> height=fit,
>
> %leftmargin=1.5cm, rightmargin=2cm,
>
> backspace=1.5cm, cutspace=2cm, width=fit]
>
> \setuppagenumbering[location={footer,middle}, alternative=doublesided,
> style=\tfx]
>
> \showlayout\showsetups\showframe
>
> \bye
I'm not sure, but what about
width=middle
?

-- 
luigi
___________________________________________________________________________________
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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


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

* the meaning of cutspace
       [not found] <mailman.465.1258380900.22155.ntg-context@ntg.nl>
@ 2009-11-16 17:14 ` Vyatcheslav Yatskovsky
  2009-11-16 17:28   ` luigi scarso
  2009-11-16 18:44   ` Peter Münster
  0 siblings, 2 replies; 17+ messages in thread
From: Vyatcheslav Yatskovsky @ 2009-11-16 17:14 UTC (permalink / raw)
  To: ntg-context

Hello,

I need to set up 1.5cm/2cm page borders.

Backspace in layout setup gives me expected result (distance from page 
to the text). According to the wiki, cutspace should do the same for 
opposite side of the page, but it doesnt. So, I cannot get the meaning 
of cutspace.

\setuplayout[topspace=2cm, header=0cm, footer=0.6cm, bottomspace=2cm, 
height=fit,

%leftmargin=1.5cm, rightmargin=2cm,

backspace=1.5cm, cutspace=2cm, width=fit]

\setuppagenumbering[location={footer,middle}, alternative=doublesided, 
style=\tfx]

\showlayout\showsetups\showframe

\bye


Regards,
Vyatcheslav
___________________________________________________________________________________
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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


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

end of thread, other threads:[~2009-11-17 23:00 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <mailman.467.1258396019.22155.ntg-context@ntg.nl>
2009-11-16 20:35 ` the meaning of cutspace Vyatcheslav Yatskovsky
2009-11-16 20:48   ` Aditya Mahajan
2009-11-16 21:29     ` Wolfgang Schuster
2009-11-16 22:39       ` Wolfgang Schuster
2009-11-17 10:40         ` Peter Münster
2009-11-17 11:59           ` Wolfgang Schuster
2009-11-17 12:52             ` luigi scarso
2009-11-17 12:54               ` Taco Hoekwater
2009-11-17 12:58                 ` luigi scarso
2009-11-17 23:00                 ` luigi scarso
2009-11-16 21:23 ` Vyatcheslav Yatskovsky
2009-11-16 21:59   ` Taco Hoekwater
     [not found] <mailman.465.1258380900.22155.ntg-context@ntg.nl>
2009-11-16 17:14 ` Vyatcheslav Yatskovsky
2009-11-16 17:28   ` luigi scarso
2009-11-16 18:26     ` Taco Hoekwater
2009-11-16 18:44   ` Peter Münster
2009-11-16 18:56     ` Peter Münster

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