ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Pablo Rodriguez <oinos@gmx.es>
To: ntg-context@ntg.nl
Subject: Re: Page printed upside down
Date: Wed, 18 Oct 2017 18:44:56 +0200	[thread overview]
Message-ID: <30973ae1-91f6-4318-acbe-a54d1cd7de99@gmx.es> (raw)
In-Reply-To: <CACyK-epzf3upvKf_pDdwGoqTSZac=+6Mroq_+ndDSDKw1V1DPw@mail.gmail.com>

On 10/18/2017 06:00 PM, Fabrice Couvreur wrote:
> Hi,
> With this
> 
> \setuppapersize[A4,landscape]
> \setupinteractionscreen[option=landscape]
> 
> I get a double-sided page that I can read without having to return the
> page on the back. But I wish I could fold the sheet to have a booklet.
> 
> Difficult to explain without showing. Is it possible ?

Hi Fabrice,

for a booklet I would recommend imposition.

1. Generate the document in the standard way (no landscape).

2. Impose it using the following code:

    \setuppapersize [A5][A4,landscape]
    \setupexternalfigures[interaction=all]
    \enabledirectives[references.border]
    \setuparranging [2UP]
    \setuplayout
      [backspace=0pt,
        topspace=0pt,
           width=middle,
          height=middle,
        location=middle,
          header=0pt,
          footer=0pt]
    \setupinteraction[state=start]
    \setupinteractionscreen[option={landscape, fixed, paper}]
    \starttext
    \insertpages[document.pdf][width=0pt]
    \stoptext

A sample for document would be:

    \setupbodyfont[600pt]
    \starttext
    \dorecurse{4}{\startstandardmakeup[style={\bf\ss}, align=center]
        \recurselevel
    \stopstandardmakeup}
    \stoptext

Althought the paper size from the document is A4, imposition handles it
as A5, so it works fine.

BTW, page order in the final booklet is different (you may see it
yourself :-)).

I hope it helps,

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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

  reply	other threads:[~2017-10-18 16:44 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-10-16 15:59 Fabrice Couvreur
2017-10-16 17:35 ` Pablo Rodriguez
2017-10-16 18:53   ` Fabrice Couvreur
2017-10-18  7:05     ` Fabrice Couvreur
2017-10-18 16:00       ` Fabrice Couvreur
2017-10-18 16:44         ` Pablo Rodriguez [this message]
2017-10-21 21:45           ` Fabrice Couvreur
2017-10-22  7:48             ` Pablo Rodriguez
2017-10-23 10:34               ` Fabrice Couvreur
2017-10-23 15:22                 ` Pablo Rodriguez
2017-10-24  9:48                   ` Fabrice Couvreur
2017-10-18 16:26       ` Pablo Rodriguez

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=30973ae1-91f6-4318-acbe-a54d1cd7de99@gmx.es \
    --to=oinos@gmx.es \
    --cc=ntg-context@ntg.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).