ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* imposition 2UP = empty pages
@ 2012-04-20 15:58 Henning Hraban Ramm
  2012-04-23 18:10 ` Henning Hraban Ramm
  0 siblings, 1 reply; 11+ messages in thread
From: Henning Hraban Ramm @ 2012-04-20 15:58 UTC (permalink / raw)
  To: mailing ConTeXt users list for

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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: imposition 2UP = empty pages
  2012-04-20 15:58 imposition 2UP = empty pages Henning Hraban Ramm
@ 2012-04-23 18:10 ` Henning Hraban Ramm
  2012-05-16 20:57   ` Henning Hraban Ramm
  0 siblings, 1 reply; 11+ messages in thread
From: Henning Hraban Ramm @ 2012-04-23 18:10 UTC (permalink / raw)
  To: mailing list for ConTeXt users


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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: imposition 2UP = empty pages
  2012-04-23 18:10 ` Henning Hraban Ramm
@ 2012-05-16 20:57   ` Henning Hraban Ramm
  2012-05-18  7:41     ` Marco Pessotto
  0 siblings, 1 reply; 11+ messages in thread
From: Henning Hraban Ramm @ 2012-05-16 20:57 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: imposition 2UP = empty pages
  2012-05-16 20:57   ` Henning Hraban Ramm
@ 2012-05-18  7:41     ` Marco Pessotto
  2012-05-18  8:16       ` Henning Hraban Ramm
  0 siblings, 1 reply; 11+ messages in thread
From: Marco Pessotto @ 2012-05-18  7:41 UTC (permalink / raw)
  To: ntg-context

Henning Hraban Ramm <hraban@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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: imposition 2UP = empty pages
  2012-05-18  7:41     ` Marco Pessotto
@ 2012-05-18  8:16       ` Henning Hraban Ramm
  2012-05-18 13:06         ` Marco Pessotto
  0 siblings, 1 reply; 11+ messages in thread
From: Henning Hraban Ramm @ 2012-05-18  8:16 UTC (permalink / raw)
  To: mailing list for ConTeXt users

2012/5/18 Marco Pessotto <melmothx@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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: imposition 2UP = empty pages
  2012-05-18  8:16       ` Henning Hraban Ramm
@ 2012-05-18 13:06         ` Marco Pessotto
  2012-05-18 14:50           ` Hans Hagen
  0 siblings, 1 reply; 11+ messages in thread
From: Marco Pessotto @ 2012-05-18 13:06 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Henning Hraban Ramm <hraban@fiee.net> writes:

> 2012/5/18 Marco Pessotto <melmothx@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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: imposition 2UP = empty pages
  2012-05-18 13:06         ` Marco Pessotto
@ 2012-05-18 14:50           ` Hans Hagen
  2012-05-18 14:59             ` Marco Pessotto
  0 siblings, 1 reply; 11+ messages in thread
From: Hans Hagen @ 2012-05-18 14:50 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: Marco Pessotto

On 18-5-2012 15:06, Marco Pessotto wrote:
> Henning Hraban Ramm<hraban@fiee.net>  writes:
>
>> 2012/5/18 Marco Pessotto<melmothx@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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: imposition 2UP = empty pages
  2012-05-18 14:50           ` Hans Hagen
@ 2012-05-18 14:59             ` Marco Pessotto
  2012-05-18 16:00               ` Hans Hagen
  0 siblings, 1 reply; 11+ messages in thread
From: Marco Pessotto @ 2012-05-18 14:59 UTC (permalink / raw)
  To: Hans Hagen; +Cc: mailing list for ConTeXt users

Hans Hagen <pragma@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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: imposition 2UP = empty pages
  2012-05-18 14:59             ` Marco Pessotto
@ 2012-05-18 16:00               ` Hans Hagen
  2012-05-18 16:12                 ` Marco Pessotto
  2012-05-18 17:43                 ` Henning Hraban Ramm
  0 siblings, 2 replies; 11+ messages in thread
From: Hans Hagen @ 2012-05-18 16:00 UTC (permalink / raw)
  To: Marco Pessotto; +Cc: mailing list for ConTeXt users

On 18-5-2012 16:59, Marco Pessotto wrote:
> Hans Hagen<pragma@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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: imposition 2UP = empty pages
  2012-05-18 16:00               ` Hans Hagen
@ 2012-05-18 16:12                 ` Marco Pessotto
  2012-05-18 17:43                 ` Henning Hraban Ramm
  1 sibling, 0 replies; 11+ messages in thread
From: Marco Pessotto @ 2012-05-18 16:12 UTC (permalink / raw)
  To: Hans Hagen; +Cc: mailing list for ConTeXt users

Hans Hagen <pragma@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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: imposition 2UP = empty pages
  2012-05-18 16:00               ` Hans Hagen
  2012-05-18 16:12                 ` Marco Pessotto
@ 2012-05-18 17:43                 ` Henning Hraban Ramm
  1 sibling, 0 replies; 11+ messages in thread
From: Henning Hraban Ramm @ 2012-05-18 17:43 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2012-05-18 17:43 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-04-20 15:58 imposition 2UP = empty pages Henning Hraban Ramm
2012-04-23 18:10 ` Henning Hraban Ramm
2012-05-16 20:57   ` Henning Hraban Ramm
2012-05-18  7:41     ` Marco Pessotto
2012-05-18  8:16       ` Henning Hraban Ramm
2012-05-18 13:06         ` Marco Pessotto
2012-05-18 14:50           ` Hans Hagen
2012-05-18 14:59             ` Marco Pessotto
2012-05-18 16:00               ` Hans Hagen
2012-05-18 16:12                 ` Marco Pessotto
2012-05-18 17:43                 ` Henning Hraban Ramm

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).