[NTG-context] Still confused about \setuplayout

Hans Hagen pragma at wxs.nl
Wed Aug 27 14:41:13 CEST 2008


Alan Stone wrote:
> Going back to my example (see below)...
> 
> Same observations, same questions.
> 
> Alan
> 
> \setuppapersize[S6][S6]
> 
> \setuplayout[topheight=15pt,
>     headerheight=15pt,
>     footerheight=15pt,
>     bottomheight=15pt,

top,header,footer,bottom etc no height/width appended

>     leftedgewidth=0pt,
>     leftmarginwidth=0pt,
>     rightmarginwidth=0pt,
>     rightedgewidth=180pt]
> 
> \showframe
> \showsetups
> 
> \starttext
> testing
> \stoptext
> 
> 
> On Wed, Aug 27, 2008 at 1:27 PM, Hans Hagen <pragma at wxs.nl> wrote:
> 
>> Alan Stone wrote:
>>> On Tue, Aug 26, 2008 at 11:17 AM, Aditya Mahajan <adityam at umich.edu>
>> wrote:
>>>> Where did you see topheight, headerheight, footerheight, and
>> bottomheight?
>>>> Perhaps you wanted
>>>>
>>>> \setuppapersize[S6][S6]
>>>>
>>>> \showframe
>>>> \showsetups
>> move the previous line
>>
>>>> \setuplayout[topspace=15pt,
>>>>   header=15pt,
>>>>   height=middle,
>>>>   footer=15pt,
>>>>   bottomspace=15pt,
>>>>   backspace=0pt,
>>>>   width=middle,
>>>>   cutspace=180pt]
>>>>
>>>> \starttext
>> to here
>>
>>>> testing
>>>> \stoptext
>>>>
>>>> Aditya
>>>>
>>> Although this isn't what I want, you'll notice none of the \showsetups
>>> output values correspond to the \setuplayout settings.
>>>
>>> What's missing to make this work ?
>>>
>>> Best,
>>> Alan
> 
> 
> ------------------------------------------------------------------------
> 
> ___________________________________________________________________________________
> If your question is of interest to others as well, please add an entry to the Wiki!
> 
> maillist : ntg-context at ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
> webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
> archive  : https://foundry.supelec.fr/projects/contextrev/
> wiki     : http://contextgarden.net
> ___________________________________________________________________________________


-- 

-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
      tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
                                              | www.pragma-pod.nl
-----------------------------------------------------------------


More information about the ntg-context mailing list