Re: [NTG-context] options for \setuppapersize

2014-06-15 Thread Pablo Rodriguez
On 06/15/2014 09:03 PM, Wolfgang Schuster wrote:
>>
>> I’m trying to explain the options of \setuppapersize in a book, but I’m
>> not sure they work.
>> [...]
>> Do they work as expected or am I doing something wrong?
> 
> You have to set the right values for the paper with the second
> argument when you use rotation and mirroring.

Many thanks for your reply, Wolfgang.

Now I understand how it works.

> The negative keyword doesn’t work for me, I even tried a minimal
> example with the internal function but got no result.

Many thanks for confirming it.


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


Re: [NTG-context] options for \setuppapersize

2014-06-15 Thread Wolfgang Schuster

Am 15.06.2014 um 20:19 schrieb Pablo Rodriguez :

> Dear list,
> 
> I’m trying to explain the options of \setuppapersize in a book, but I’m
> not sure they work.
> 
> With latest beta from 2014.06.15 15:54, this is the results I get with a
> minimal document such as:
> 
>\setuppapersize[A5]
>\starttext
>\input zapf
>\stoptext
> 
> I cannot make the options mirrored, rotated, 90, 180, 270 and negative work.
> 
> Do they work as expected or am I doing something wrong?

You have to set the right values for the paper with the second argument when 
you use rotation and mirroring.

\setuppapersize[A5,90][A5,landscape]
%\setuppapersize[A5,180][A5]
%\setuppapersize[A5,270][A5,landscape]
%\setuppapersize[A5,mirrored][A5]
%\setuppapersize[A5,rotated][A5,landscape]
%\setuppapersize[A5,negative]

\starttext
\input zapf
\stoptext

The negative keyword doesn’t work for me, I even tried a minimal example with 
the internal function but got no result.

\setuppapersize[A6]

\starttext

\setbox\scratchbox\hbox{\framed[background=color,backgroundcolor=blue,foregroundcolor=red]{Blue
 test?}}

\negatecolorbox\scratchbox

\box\scratchbox

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


[NTG-context] options for \setuppapersize

2014-06-15 Thread Pablo Rodriguez
Dear list,

I’m trying to explain the options of \setuppapersize in a book, but I’m
not sure they work.

With latest beta from 2014.06.15 15:54, this is the results I get with a
minimal document such as:

\setuppapersize[A5]
\starttext
\input zapf
\stoptext

I cannot make the options mirrored, rotated, 90, 180, 270 and negative work.

Do they work as expected or am I doing something wrong?

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