ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Marco Pessotto <melmothx@gmail.com>
To: Hans Hagen <pragma@wxs.nl>
Cc: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: imposition 2UP = empty pages
Date: Fri, 18 May 2012 18:12:32 +0200	[thread overview]
Message-ID: <87396xeadr.fsf@universe.krase.net> (raw)
In-Reply-To: <4FB67207.4010406@wxs.nl> (Hans Hagen's message of "Fri, 18 May 2012 18:00:07 +0200")

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
___________________________________________________________________________________


  reply	other threads:[~2012-05-18 16:12 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-04-20 15:58 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 [this message]
2012-05-18 17:43                 ` Henning Hraban Ramm

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87396xeadr.fsf@universe.krase.net \
    --to=melmothx@gmail.com \
    --cc=ntg-context@ntg.nl \
    --cc=pragma@wxs.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).