Re: [NTG-context] ntg-context Digest, Vol 103, Issue 95

2013-01-31 Thread Wolfgang Schuster

Am 31.01.2013 um 19:40 schrieb H. Özoguz :

> Hi Wolfgang, thank you.
> 
> Am 31.01.2013 17:48, schrieb ntg-context-requ...@ntg.nl:
>> \setupbackgrounds[page][frame=on,frameoffset=10mm]
>> 
>> \setuppapersize[A4][A3]
>> 
>> \setuplayout[location=middle]
>> 
>> \starttext
>> \input knuth
>> \stoptext
> This does not work in my setting. I integrated you code in my setting, as 
> follows, but this does not work, what did I forget?

In your example the paper has the same size as the page but you try draw a 
frame which is larger than the page. The question is where you expect the frame 
to appear.

>> Did you read my answer for your question in the other thread?
> 
> Of course I did, but I unterstood, that your code adds only 1.5cm, maybe it 
> was easy to change and I oversaw that?
> For record: It was
> 
> \setuppapersize[MyBook][oversized]
> 
> I need variable oversizing (and mostly 3mm for printing and cutting)


\definepapersize[sheet]   [width=162mm,height=225mm]
\definepapersize[bigsheet][width=\dimexpr\paperwidth+6mm\relax,height=\dimexpr\paperheight+6mm\relax]

\setuppapersize[sheet][bigsheet]

\setupbackgrounds[page][frame=on,frameoffset=0mm]

\setuplayout
  [location=middle,
   topspace=17.4mm,
   header=1.1cm,
   footer=1.4cm,
   bottomspace=26mm,
   width=middle,
   cutspace=20mm,
   backspace=22.2mm,
   height=fit,
   grid=yes,
  %setups=mypenalties,
   ]

\starttext
\input knuth
\stoptext

BTW: Can you do something about the bad formatting of the examples from your 
mail client which adds a lot of empty lines.

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
___


Re: [NTG-context] ntg-context Digest, Vol 103, Issue 95

2013-01-31 Thread H. Özoguz

Hi Wolfgang, thank you.

Am 31.01.2013 17:48, schrieb ntg-context-requ...@ntg.nl:

\setupbackgrounds[page][frame=on,frameoffset=10mm]

\setuppapersize[A4][A3]

\setuplayout[location=middle]

\starttext
\input knuth
\stoptext
This does not work in my setting. I integrated you code in my setting, 
as follows, but this does not work, what did I forget?


\definepapersize[sheet][width=162mm,height=225mm]

\setuppapersize[sheet]

\setupbackgrounds[page][frame=on,frameoffset=10mm]

\setuplayout[location=middle,

topspace=17.4mm,

header=1.1cm,

footer=1.4cm,

bottomspace=26mm,

width=middle,

cutspace=20mm,

backspace=22.2mm,

height=fit,

grid=yes,

% setups= mypenalties

]

\starttext

\input knuth

\stoptext


Did you read my answer for your question in the other thread?


Of course I did, but I unterstood, that your code adds only 1.5cm, maybe 
it was easy to change and I oversaw that?

For record: It was

\setuppapersize[MyBook][oversized]

I need variable oversizing (and mostly 3mm for printing and cutting)

Best regards,
Huseyin
___
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
___