Re: [NTG-context] arranging pages

2015-05-24 Thread Meer, H. van der
That is it! The difference between 2UP and 2SIDE had escaped me. Thanks.

Hans van der Meer




On 24 May 2015, at 12:15, Otared Kavian 
mailto:ota...@gmail.com>> wrote:

Hi again,

Sorry I didn’t notice that you used

\setuparranging[2UP]

Actually what you want to do may be:

 begin arranging-up-or-side.tex
\setuppapersize[A5][A4,landscape]
\setuplayout[location=middle]
\setuparranging[2SIDE]
%\setuparranging[2UP]  <—— Compare with the above
\setuppagenumbering[alternative={singlesided,doublesided}]

\starttext
\dorecurse{20}{\input knuth\par}
\stoptext
 begin arranging-up-or-side.tex

Best regards: OK

On 24 May 2015, at 11:24, Meer, H. van der 
mailto:h.vanderm...@uva.nl>> wrote:

Trying to put 2 pages in A5 format besides one another on an A4 page like this:

--
| |  |
| |  |
| |  |
|1|  2   |
| |  |
| |  |
--

but using:

\setuppapersize[A5][A4,landscape]
\setuparranging[2UP]

I get this instead:

--  --
| |  |  | |  |
| |  |  | |  |
| |  |  | |  |
| | 1|  |2|  |
| |  |  | |  |
| |  |  | |  |
| |  |  | |  |
--  --

What I am doing wrong?

Hans van der Meer




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

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

___
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] arranging pages

2015-05-24 Thread dr. Hans van der Meer
Neither of these suggestions makes any difference. Not the solution therefore.


Hans van der Meer




> On 24 May 2015, at 12:07, Otared Kavian  wrote:
> 
> Hi,
> 
> Maybe you need to say also:
> 
>   \setuppagenumbering[alternative={singlesided,doublesided}]
> 
> or just
>   \setuppagenumbering[alternative={singlesided}]
> 
> Best regards: OK
> 
>> On 24 May 2015, at 11:24, Meer, H. van der > > wrote:
>> 
>> Trying to put 2 pages in A5 format besides one another on an A4 page like 
>> this:
>> 
>> --
>> | |  |
>> | |  |
>> | |  |
>> |1|  2   |
>> | |  |
>> | |  |
>> --
>> 
>> but using:
>> 
>> \setuppapersize[A5][A4,landscape]
>> \setuparranging[2UP]
>> 
>> I get this instead:
>> 
>> --  --
>> | |  |  | |  |  
>> | |  |  | |  |  
>> | |  |  | |  |  
>> | | 1|  |2|  |  
>> | |  |  | |  |  
>> | |  |  | |  |  
>> | |  |  | |  |  
>> --  --
>> 
>> What I am doing wrong?
>> 
>> Hans van der Meer
>> 
>> 
>> 
>> 
>> ___
>> 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 
>> ___
> 
> ___
> 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
> ___

___
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] arranging pages

2015-05-24 Thread Otared Kavian
Hi again,

Sorry I didn’t notice that you used

\setuparranging[2UP] 

Actually what you want to do may be:

 begin arranging-up-or-side.tex
\setuppapersize[A5][A4,landscape]
\setuplayout[location=middle]
\setuparranging[2SIDE]
%\setuparranging[2UP]  <—— Compare with the above
\setuppagenumbering[alternative={singlesided,doublesided}]

\starttext
\dorecurse{20}{\input knuth\par}
\stoptext
 begin arranging-up-or-side.tex

Best regards: OK

> On 24 May 2015, at 11:24, Meer, H. van der  wrote:
> 
> Trying to put 2 pages in A5 format besides one another on an A4 page like 
> this:
> 
> --
> | |  |
> | |  |
> | |  |
> |1|  2   |
> | |  |
> | |  |
> --
> 
> but using:
> 
> \setuppapersize[A5][A4,landscape]
> \setuparranging[2UP]
> 
> I get this instead:
> 
> --  --
> | |  |  | |  |  
> | |  |  | |  |  
> | |  |  | |  |  
> | | 1|  |2|  |  
> | |  |  | |  |  
> | |  |  | |  |  
> | |  |  | |  |  
> --  --
> 
> What I am doing wrong?
> 
> Hans van der Meer
> 
> 
> 
> 
> ___
> 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
> ___

___
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] arranging pages

2015-05-24 Thread Otared Kavian
Hi,

Maybe you need to say also:

\setuppagenumbering[alternative={singlesided,doublesided}]

or just
\setuppagenumbering[alternative={singlesided}]

Best regards: OK

> On 24 May 2015, at 11:24, Meer, H. van der  wrote:
> 
> Trying to put 2 pages in A5 format besides one another on an A4 page like 
> this:
> 
> --
> | |  |
> | |  |
> | |  |
> |1|  2   |
> | |  |
> | |  |
> --
> 
> but using:
> 
> \setuppapersize[A5][A4,landscape]
> \setuparranging[2UP]
> 
> I get this instead:
> 
> --  --
> | |  |  | |  |  
> | |  |  | |  |  
> | |  |  | |  |  
> | | 1|  |2|  |  
> | |  |  | |  |  
> | |  |  | |  |  
> | |  |  | |  |  
> --  --
> 
> What I am doing wrong?
> 
> Hans van der Meer
> 
> 
> 
> 
> ___
> 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
> ___

___
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] arranging pages

2015-05-24 Thread Meer, H. van der
Trying to put 2 pages in A5 format besides one another on an A4 page like this:

--
| |  |
| |  |
| |  |
|1|  2   |
| |  |
| |  |
--

but using:

\setuppapersize[A5][A4,landscape]
\setuparranging[2UP]

I get this instead:

--  --
| |  |  | |  |
| |  |  | |  |
| |  |  | |  |
| | 1|  |2|  |
| |  |  | |  |
| |  |  | |  |
| |  |  | |  |
--  --

What I am doing wrong?

Hans van der Meer




___
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] Arranging pages ...

2011-03-28 Thread Willi Egger
Hi Hans,

thanks for testing. So we know that on the Mac there is a trouble with 
arranging pages.

Kind regards

Willi 
On 28 Mar 2011, at 11:33, Hans van der Meer wrote:

> I get the same pdf here with:
> ConTeXt  ver: 2011.03.28 01:03 MKIV  fmt: 2011.3.28  int: english/english
> 
> Hans van der Meer
> 
> On 28 mrt 2011, at 11:27, Willi Egger wrote:
> 
>> Hi all,
>> 
>> I got a trouble with arranging pages.
>> While this gives me the desired result with Context 2011-02-14 MKIV I get 
>> weird output with context 2011-03-27 MKIV.
>> 
>> Could someone test the attached file?
>> 
>> Kind regards 
>> 
>> Willi
>> 
>> ___
>> 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
>> ___
> 
> ___
> 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
> ___

___
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] Arranging pages ...

2011-03-28 Thread Hans van der Meer
I get the same pdf here with:
ConTeXt  ver: 2011.03.28 01:03 MKIV  fmt: 2011.3.28  int: english/english

Hans van der Meer

On 28 mrt 2011, at 11:27, Willi Egger wrote:

> Hi all,
> 
> I got a trouble with arranging pages.
> While this gives me the desired result with Context 2011-02-14 MKIV I get 
> weird output with context 2011-03-27 MKIV.
> 
> Could someone test the attached file?
> 
> Kind regards 
> 
> Willi
> 
> ___
> 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
> ___

___
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] Arranging pages ...

2011-03-28 Thread Willi Egger
Hi all,

I got a trouble with arranging pages.
While this gives me the desired result with Context 2011-02-14 MKIV I get weird 
output with context 2011-03-27 MKIV.

Could someone test the attached file?

Kind regards 

Willi



test-inslag.pdf
Description: Adobe PDF document


test-inslag.tex
Description: Binary data
___
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] Arranging pages

2006-04-25 Thread Willi Egger
What you can do is e.g. the following:

\definepapersize[Card][width=14.85cm,height=21cm]
\setuppapersize[Card][A4,landscape]

\setuplayout
[topspace=1cm,
backspace=1cm,
margin=0pt,
header=0pt,
footer=0pt,
height=19cm,
width=12.5cm]

\setuppaper[nx=2,ny=1]
\setuparranging[XY]

\starttext
Contents of A
Contents of B
\stoptext

Kind regards Willi

Renaud AUBIN wrote:

> Hi all,
>
> I'm working on my wedding's "Menu" with ConTeXt (I have started 
> ConTeXt and metafun when making my wedding invitations ;) and already 
> succeed to produce nice booklets)
> Considering two pages A and B, I would obtain:
> AB on the same page
> with setuparranging I obtain
> 0A
> B0
> with 0 an empty page
> I have "succeeded" (is it really a success !!!) to obtain
> 00
> AB
> using \page[even] and \page[yes]
> (I have to precise here that we would not to print a "booklet" for 
> practical reasons)
> It's ok if I use --pages=2
>
> but
>
> I feel frustating because I feel that it could be really simple to do 
> what I wanted, i.e.:
> AB !!!
>
> I know that it could be done with overlay but I assume that there is a 
> much simplier solution to this simple problem...
>
> Cheers
>
> Renaud
>
>
>
>___
>ntg-context mailing list
>ntg-context@ntg.nl
>http://www.ntg.nl/mailman/listinfo/ntg-context
>  
>
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] Arranging pages

2006-04-25 Thread Renaud AUBIN




Hi all,

I'm working on my wedding's "Menu" with ConTeXt (I have started ConTeXt
and metafun when making my wedding invitations ;) and already succeed
to produce nice booklets)
Considering two pages A and B, I would obtain:
AB on the same page
with setuparranging I obtain
0A
B0
with 0 an empty page
I have "succeeded" (is it really a success !!!) to obtain
00
AB
using \page[even] and \page[yes]
(I have to precise here that we would not to print a "booklet" for
practical reasons)
It's ok if I use --pages=2

but

I feel frustating because I feel that it could be really simple to do
what I wanted, i.e.:
AB !!!

I know that it could be done with overlay but I assume that there is a
much simplier solution to this simple problem...

Cheers

Renaud



___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] arranging pages with transpparency color

2004-06-30 Thread Hans Hagen
Vit Zyka wrote:
Hi Hans and others,
there is a problem with arranging pages with transparency color. See 
code:
--
\setuppapersize[A5,landscape][A4]
\setuparranging[2TOPSIDE]

\setupcolors[state=start]
\definecolor[tcBlack][s=0, t=.5, a=normal]
\starttext
  \switchtobodyfont[20pt]
  \dorecurse{1}{Page \color[tcBlack]{\recurselevel}\page}%
  \dorecurse{4}{Page \recurselevel\page}%
\stoptext

Acroread (win 6.0.1) is complaining on the resulting PDF obtaining by
  texexec --arrange
The message from AR is:
  There was an error reading a page. There was a problem processing a
  document(14).
From a previous version of AR I obtained more informative message:
  Could not find extended graphic state name Tr1
Necessary conditions:
1) transparent color on at least one page
2) arranging pages on sheets
3) number of pages exceeds one sheet
Observation:
If do not use switch --arrange and compile the file two times the 
error does not occure. (But the result is not correct due to missing 
table of content etc.)
It seems to me the problem is with managing transparen resources from 
sheet to sheet.

The problem is that object numbers are different between the normal and 
the arranged run.  So, in this case you can best define a separate job 
for imposition:

\setuppapersize[A5,landscape][A4]
\setuparranging[2TOPSIDE]
\setuplayout[page]
\starttext
\insertpages[test.pdf][width=0pt]
\stoptext
Solutions are:
(1) split utility file into document and backend part (take some work)
(2) use forward refs (possible in latest pdftex, but i wait with using 
that till i can be sure that teh new versions are around)

and for the moment:
(3) define a separate job
Hans
-
 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
-
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] arranging pages with transpparency color

2004-06-30 Thread Vit Zyka
Hi Hans and others,
there is a problem with arranging pages with transparency color. See code:
--
\setuppapersize[A5,landscape][A4]
\setuparranging[2TOPSIDE]
\setupcolors[state=start]
\definecolor[tcBlack][s=0, t=.5, a=normal]
\starttext
  \switchtobodyfont[20pt]
  \dorecurse{1}{Page \color[tcBlack]{\recurselevel}\page}%
  \dorecurse{4}{Page \recurselevel\page}%
\stoptext

Acroread (win 6.0.1) is complaining on the resulting PDF obtaining by
  texexec --arrange
The message from AR is:
  There was an error reading a page. There was a problem processing a
  document(14).
From a previous version of AR I obtained more informative message:
  Could not find extended graphic state name Tr1
Necessary conditions:
1) transparent color on at least one page
2) arranging pages on sheets
3) number of pages exceeds one sheet
Observation:
If do not use switch --arrange and compile the file two times the error 
does not occure. (But the result is not correct due to missing table of 
content etc.)
It seems to me the problem is with managing transparen resources from 
sheet to sheet.

Vit Zyka
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context