Re: [NTG-context] imposition 2UP = empty pages

2012-05-18 Thread Marco Pessotto
Henning Hraban Ramm hra...@fiee.net writes:

 Am 2012-04-23 um 20:10 schrieb Henning Hraban Ramm:

 Am 2012-04-20 um 17:58 schrieb Henning Hraban Ramm:

 Hi there,

 like in January (see mail by Mari), the latest beta produces only
 empty pages with 2UP imposition schema; others work (tested 2SIDE
 and 2DOWN).


 PING
 Any news on that? Today's beta still is buggy.
 Unfortunately I need 2UP imposition urgently.

 Greetlings, Hraban

 PING
 still the same with latest beta.


Version 2011.11.29 23:11 works. I think you can get it on the git
repository. There was a thread recently about how to fetch it from
there.


-- 
Marco

___
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] imposition 2UP = empty pages

2012-05-18 Thread Henning Hraban Ramm
2012/5/18 Marco Pessotto melmo...@gmail.com:
 Version 2011.11.29 23:11 works. I think you can get it on the git
 repository. There was a thread recently about how to fetch it from
 there.

Yes, e.g. my thread. I'm working with such an old version for the
project where I can’t live without 2UP imposition. But there are other
problems with that, and I really don’t like to switch ConTeXt versions
all the time.
The 2UP can’t be that hard to fix, can it? Other imposition schemes still work.

Greetlings, Hraban
___
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] imposition 2UP = empty pages

2012-05-18 Thread Marco Pessotto
Henning Hraban Ramm hra...@fiee.net writes:

 2012/5/18 Marco Pessotto melmo...@gmail.com:
 Version 2011.11.29 23:11 works. I think you can get it on the git
 repository. There was a thread recently about how to fetch it from
 there.

 Yes, e.g. my thread. I'm working with such an old version for the
 project where I can’t live without 2UP imposition. But there are other
 problems with that, and I really don’t like to switch ConTeXt versions
 all the time.  The 2UP can’t be that hard to fix, can it? Other
 imposition schemes still work.

Even if I think that the imposition schemas are a wonderful ConTeXt
feature, I don't believe that helps (actually, I'm pretty sure it
doesn't) repeating that you need the now-broken feature.

Anyway, for simple 2UP scheme, if you need it badly and urgently, you
may want to try pdfjam (which uses LaTeX under the hood, I used it for a
while) or the psutils, with a pdf - ps - pdf trip (psbook), (both are
shipped with ConTeXt, I used them for a while and were really fine) or
even write your own imposer which uses ConTeXt under the hood. I wrote
and rewrote mine a couple of times (because I need a dinamically
determinated signature) and it's not that difficult. [1]

Best wishes

[1] 
https://gitorious.org/amuse-wiki/amuse-wiki/blobs/master/Text-Muse/lib/Text/Muse/Compile.pm

-- 
Marco
___
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] imposition 2UP = empty pages

2012-05-18 Thread Hans Hagen

On 18-5-2012 15:06, Marco Pessotto wrote:

Henning Hraban Rammhra...@fiee.net  writes:


2012/5/18 Marco Pessottomelmo...@gmail.com:

Version 2011.11.29 23:11 works. I think you can get it on the git
repository. There was a thread recently about how to fetch it from
there.


Yes, e.g. my thread. I'm working with such an old version for the
project where I can’t live without 2UP imposition. But there are other
problems with that, and I really don’t like to switch ConTeXt versions
all the time.  The 2UP can’t be that hard to fix, can it? Other
imposition schemes still work.


Even if I think that the imposition schemas are a wonderful ConTeXt
feature, I don't believe that helps (actually, I'm pretty sure it
doesn't) repeating that you need the now-broken feature.


is there a simple test file

Hans


-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
 | www.pragma-pod.nl
-
___
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] imposition 2UP = empty pages

2012-05-18 Thread Marco Pessotto
Hans Hagen pra...@wxs.nl writes:

 is there a simple test file


Sure:

%% start
\setuppapersize[A5][A4,landscape]
\setuparranging[2UP]
\setuppagenumbering[alternative=doublesided]

\starttext

\dorecurse{20}{
  \input knuth
}

\stoptext
% stop

This produces 6 white pages with the latest beta (while output correctly 
with 2011.11.29 23:11).

Best wishes


-- 
Marco
___
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] imposition 2UP = empty pages

2012-05-18 Thread Hans Hagen

On 18-5-2012 16:59, Marco Pessotto wrote:

Hans Hagenpra...@wxs.nl  writes:


is there a simple test file



Sure:

%% start
\setuppapersize[A5][A4,landscape]
\setuparranging[2UP]
\setuppagenumbering[alternative=doublesided]

\starttext

\dorecurse{20}{
   \input knuth
}

\stoptext
% stop

This produces 6 white pages with the latest beta (while output correctly
with 2011.11.29 23:11).


quick hack that you can put in cont-new.mkiv

\def\handlearrangedpageTWOUP
  {\splitoffarrangedpagesTWO
   \ifconditional\arrangedswapstate
 \global\setbox\arrangedpageA\hbox
   {\box\arrangedpageA
\box\arrangedpageB}%
 \setfalse\arrangedswapstate
   \else
 \global\setbox\arrangedpageA\hbox
   {\box\arrangedpageB
\box\arrangedpageA}%
 \settrue\arrangedswapstate
   \fi
   \ht\arrangedpageA\paperheight
   \global\setbox\arrangedpageB\box\scratchbox}




-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
 | www.pragma-pod.nl
-
___
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] imposition 2UP = empty pages

2012-05-18 Thread Marco Pessotto
Hans Hagen pra...@wxs.nl writes:

 quick hack that you can put in cont-new.mkiv

 \def\handlearrangedpageTWOUP
   {\splitoffarrangedpagesTWO
\ifconditional\arrangedswapstate
  \global\setbox\arrangedpageA\hbox
{\box\arrangedpageA
 \box\arrangedpageB}%
  \setfalse\arrangedswapstate
\else
  \global\setbox\arrangedpageA\hbox
{\box\arrangedpageB
 \box\arrangedpageA}%
  \settrue\arrangedswapstate
\fi
\ht\arrangedpageA\paperheight
\global\setbox\arrangedpageB\box\scratchbox}

Tested and works like a charm. Thanks!

-- 
Marco
___
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] imposition 2UP = empty pages

2012-05-18 Thread Henning Hraban Ramm

Am 2012-05-18 um 18:00 schrieb Hans Hagen:


quick hack that you can put in cont-new.mkiv



Works for me, too.
Thank you very much!


Greetlings, Hraban
---
http://www.fiee.net/texnique/
http://wiki.contextgarden.net
https://www.cacert.org (I'm an assurer)

___
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] imposition 2UP = empty pages

2012-05-17 Thread Henning Hraban Ramm

Am 2012-04-23 um 20:10 schrieb Henning Hraban Ramm:


Am 2012-04-20 um 17:58 schrieb Henning Hraban Ramm:


Hi there,

like in January (see mail by Mari), the latest beta produces only  
empty pages with 2UP imposition schema; others work (tested 2SIDE  
and 2DOWN).


e.g.

\setuppapersize [A5][A4,landscape]
\setuppagenumbering [alternative=doublesided,location=footer]
\setuplayout [margin=0pt,width=fit]
\setupbackgrounds [text][text] 
[background=screen,backgroundscreen=0.7]

\setupcolors [state=start]
\setuplayout [location=middle,marking=on]
\setuparranging [2UP] %[2*2*4,doublesided]

\startbuffer[Fakepage]
\strut
\blank[force]
\midaligned{2UP}
\vfill
\midaligned{This is page \recurselevel}
\vfill
\stopbuffer

\setupheadertexts[\CONTEXT]

\starttext

\dorecurse{16}{\getbuffer[Fakepage]\page}

\stoptext





Greetlings, Hraban
---
http://www.fiee.net/texnique/
http://wiki.contextgarden.net
https://www.cacert.org (I'm an assurer)



PING
Any news on that? Today's beta still is buggy.
Unfortunately I need 2UP imposition urgently.


Greetlings, Hraban


PING
still the same with latest beta.

Additionally: Is it possible to define a distance between imposed pages?
If I have bleeding images, they bleed into other pages.

Greetlings, Hraban


___
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] imposition 2UP = empty pages

2012-04-23 Thread Henning Hraban Ramm


Am 2012-04-20 um 17:58 schrieb Henning Hraban Ramm:


Hi there,

like in January (see mail by Mari), the latest beta produces only  
empty pages with 2UP imposition schema; others work (tested 2SIDE  
and 2DOWN).


e.g.

\setuppapersize [A5][A4,landscape]
\setuppagenumbering [alternative=doublesided,location=footer]
\setuplayout [margin=0pt,width=fit]
\setupbackgrounds [text][text][background=screen,backgroundscreen=0.7]
\setupcolors [state=start]
\setuplayout [location=middle,marking=on]
\setuparranging [2UP] %[2*2*4,doublesided]

\startbuffer[Fakepage]
\strut
\blank[force]
\midaligned{2UP}
\vfill
\midaligned{This is page \recurselevel}
\vfill
\stopbuffer

\setupheadertexts[\CONTEXT]

\starttext

\dorecurse{16}{\getbuffer[Fakepage]\page}

\stoptext





Greetlings, Hraban
---
http://www.fiee.net/texnique/
http://wiki.contextgarden.net
https://www.cacert.org (I'm an assurer)



PING
Any news on that? Today's beta still is buggy.
Unfortunately I need 2UP imposition urgently.


Greetlings, Hraban
___
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] imposition 2UP = empty pages

2012-04-20 Thread Henning Hraban Ramm

Hi there,

like in January (see mail by Mari), the latest beta produces only  
empty pages with 2UP imposition schema; others work (tested 2SIDE and  
2DOWN).


e.g.

\setuppapersize [A5][A4,landscape]
\setuppagenumbering [alternative=doublesided,location=footer]
\setuplayout [margin=0pt,width=fit]
\setupbackgrounds [text][text][background=screen,backgroundscreen=0.7]
\setupcolors [state=start]
\setuplayout [location=middle,marking=on]
\setuparranging [2UP] %[2*2*4,doublesided]

\startbuffer[Fakepage]
\strut
\blank[force]
\midaligned{2UP}
\vfill
\midaligned{This is page \recurselevel}
\vfill
\stopbuffer

\setupheadertexts[\CONTEXT]

\starttext

\dorecurse{16}{\getbuffer[Fakepage]\page}

\stoptext





Greetlings, Hraban
---
http://www.fiee.net/texnique/
http://wiki.contextgarden.net
https://www.cacert.org (I'm an assurer)

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