From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/99330 Path: news.gmane.org!.POSTED!not-for-mail From: Fabrice Couvreur Newsgroups: gmane.comp.tex.context Subject: Re: Page printed upside down Date: Mon, 16 Oct 2017 20:53:07 +0200 Message-ID: References: <32db286f-ae0c-0c40-bbae-860021f97ce1@gmx.es> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============4287427570114281525==" X-Trace: blaine.gmane.org 1508180026 17768 195.159.176.226 (16 Oct 2017 18:53:46 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 16 Oct 2017 18:53:46 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Mon Oct 16 20:53:41 2017 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from zapf.boekplan.nl ([5.39.185.232] helo=zapf.ntg.nl) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e4AW6-0003LB-18 for gctc-ntg-context-518@m.gmane.org; Mon, 16 Oct 2017 20:53:34 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 55ED21021302; Mon, 16 Oct 2017 20:53:23 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id rOd8u_gkx8hV; Mon, 16 Oct 2017 20:53:22 +0200 (CEST) Original-Received: from zapf.ntg.nl (localhost [IPv6:::1]) by zapf.ntg.nl (Postfix) with ESMTP id 9970B10212F8; Mon, 16 Oct 2017 20:53:22 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 0283F1021289 for ; Mon, 16 Oct 2017 20:53:21 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id XiY3KdI8HrRI for ; Mon, 16 Oct 2017 20:53:19 +0200 (CEST) Original-Received: from mail-wm0-f50.google.com (mail-wm0-f50.google.com [74.125.82.50]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by zapf.ntg.nl (Postfix) with ESMTPS id E09ED102127B for ; Mon, 16 Oct 2017 20:53:09 +0200 (CEST) Original-Received: by mail-wm0-f50.google.com with SMTP id k4so5953588wmc.1 for ; Mon, 16 Oct 2017 11:53:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=rjT5/zimxnjoHKORbkTVxRJvdEyVQO1Y++tJi44f2VM=; b=DxQdUHp8w7/8xD6oPInAlr3rB0LBo2cWgF6EhF/guSgAh7AbtlF+1yzWZjPv479hyz qEgH8N70ssJghpn0WXq/zVZSB7Hu0GmjeIBcJsv38TBOMcdIRb+DMnIDY9i0jbHy2d0E JXOPTieXd4klpPKTSxpEI9yOoe/mpIQEbLqs2mD/GvXAkWqVHVNTKD5JhsKvdj4L8yBs IYhieWkcGI6yAdWuhcdrTZsm2RMnpDPvR+L1XyCJH9s7Vi/TJr4CHlTKyRn1SPu/sjW6 g5xHMIUIPQQtoyN4l5hbLCX542tqqt5iTAKwZZGU1zLnpKpqt26GXe01DCmt9a6LWSId RS0Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=rjT5/zimxnjoHKORbkTVxRJvdEyVQO1Y++tJi44f2VM=; b=tu/+dov1dKAph+1DutglWUgTahBTt+WtCjulbTDb4anHRE5dWTs02XkgZBgLofAA3b I4rRl7NSoZzGYUtN+ZK+HHZLaAIwwrcR2o7Ch3NIlSYTz7Y6sCkTpONGFJ3Vnr/6/eAU dSPGNfIoBtCfwzJDwv8tlaMX5ALM78V2WTvRsV1HNfFbodIHfzH8cW6aQUD2lHubWZHI CVhTSqsFtl0IxaRLd/Gh+riBdtSBCaEo0fZLi9S57rM4yjk6v+lW/279sBYGxjaTsers xfyIbsZclfuuTdkvoVDlqRbiZaNkEelVKiyA9OIef8IJvf1MXVflh5swb2tqaMeEz8UN GgCw== X-Gm-Message-State: AMCzsaWPWmpoibjJoYrsbxas14pyxSZA3jPwARVryM0fsCkns3aWfVg2 bGT3NbMJb8+dvlArDotPF59eGJOzYapq6UxDjt/W7Q== X-Google-Smtp-Source: AOwi7QDpi1tdRSTnzx4BwSvi753FEt9EyE1gt/oGnDFKXLgSeRwkHvxQIjsaA5XM0U9WbbonKDB+LNrAXXINfgrt5mE= X-Received: by 10.80.226.74 with SMTP id o10mr14140227edl.290.1508179988372; Mon, 16 Oct 2017 11:53:08 -0700 (PDT) Original-Received: by 10.80.173.74 with HTTP; Mon, 16 Oct 2017 11:53:07 -0700 (PDT) In-Reply-To: <32db286f-ae0c-0c40-bbae-860021f97ce1@gmx.es> X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.16 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl Original-Sender: "ntg-context" Xref: news.gmane.org gmane.comp.tex.context:99330 Archived-At: --===============4287427570114281525== Content-Type: multipart/alternative; boundary="f403043e165c76e19a055bae8405" --f403043e165c76e19a055bae8405 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi Pablo, I'm not sure I understand but I'll test tomorrow in high school. With the file below, using what you offer, will the dimensions of my page be respected ? \setuplayout [header=3D\zeropoint, headerdistance=3D\lineheight, backspace=3D2cm, width=3Dmiddle, topspace=3D\dimexpr 2cm-\headerheight-\headerdistance\relax, footer=3D\lineheight, height=3Dmiddle] \setupinteractionscreen[option=3Dlandscape] \setuppagenumbering[alternative=3D,location=3D] \definemixedcolumns [MyColumns] [ n=3D2, separator=3Drule, rulecolor=3D, balance=3Dyes, ] \setupalign[verytolerant,stretch,hanging] \starttext \startMyColumns \startformula \startmathalignment[n=3D2,align=3D{left,left}] \NC P_1 + P_2 + \dots + P_{12} \NC =3D 400 + 400\times 1,05 + 400\times 1,05^2 + \dots + 400 \times 1,05^{11}\NR \NC \NC =3D 400\times (1 + 1,05 + 1,05^2 + \dots + 1,05^{11})\NR \NC \NC =3D 400\times \frac{1-1,05^{12}}{1-1,05}\approx 6\,367.\NR \stopmathalignment \stopformula \dorecurse{6}{\input knuth} \stopMyColumns \stoptext 2017-10-16 19:35 GMT+02:00 Pablo Rodriguez : > On 10/16/2017 05:59 PM, Fabrice Couvreur wrote: > > Hello, > > I have printed this document and the page on the back is printed upside > down > > in fact you have to turn the page to read it. > > How to correct this ? > > Thank you > > Fabrice > > > > \setuppapersize[A4,landscape] > > Hi Fabrice, > > [the command above is the only relevant one, lanscape page orientation.] > > If you use a recent version of Acrobat, you may use: > > \setupinteractionscreen[option=3Dlandscape] > > This will automatically print it in the right way. In that case, you > don=E2=80=99t have to select anything in Acrobat, the program will read i= t from > the PDF document itself. > > If you use another viewer, select flip long edge of the paper. > > Just in case 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 > ____________________________________________________________ > _______________________ --f403043e165c76e19a055bae8405 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi Pablo,
I'm not s= ure I understand but I'll test tomorrow in high school.
With the file below, using what you offer, will the dimen= sions of my page be respected ?

\setuplayout
=C2=A0=C2=A0 [header= =3D\zeropoint,
=C2=A0=C2=A0=C2=A0 headerdistance=3D\lineheight,
=C2= =A0=C2=A0=C2=A0 backspace=3D2cm,
=C2=A0=C2=A0=C2=A0 width=3Dmiddle,
= =C2=A0=C2=A0=C2=A0 topspace=3D\dimexpr 2cm-\headerheight-\headerdistance\re= lax,
=C2=A0=C2=A0=C2=A0 footer=3D\lineheight,
=C2=A0=C2=A0=C2=A0 heig= ht=3Dmiddle]

\setupinteractionscreen[option=3Dlandscape]=C2=A0=C2=A0=

\setuppagenumbering[alternative=3D,location=3D]

\definemixe= dcolumns
=C2=A0 [MyColumns]
=C2=A0 [
=C2=A0=C2=A0=C2=A0 n=3D2,
= =C2=A0=C2=A0=C2=A0 separator=3Drule,
=C2=A0=C2=A0=C2=A0 rulecolor=3D,=C2=A0=C2=A0=C2=A0 balance=3Dyes,
=C2=A0 ]

\setupalign[verytoler= ant,stretch,hanging]

\starttext
\startMyColumns
\startformula<= br>=C2=A0=C2=A0=C2=A0 \startmathalignment[n=3D2,align=3D{left,left}]=C2=A0 =
=C2=A0=C2=A0=C2=A0 \NC P_1 + P_2 + \dots + P_{12} \NC =3D 400 + 400\tim= es 1,05 + 400\times 1,05^2 + \dots + 400 \times 1,05^{11}\NR
=C2=A0=C2= =A0=C2=A0 \NC=C2=A0 \NC =3D 400\times (1 + 1,05 + 1,05^2 + \dots + 1,05^{11= })\NR
=C2=A0=C2=A0=C2=A0 \NC=C2=A0 \NC =3D 400\times \frac{1-1,05^{12}}{= 1-1,05}\approx 6\,367.\NR
=C2=A0=C2=A0=C2=A0 \stopmathalignment=C2=A0 =C2=A0 \stopformula=C2=A0
\dorecurse{6}{\input knuth}
\stopMyColum= ns
\stoptext


2017-10-16 19:35 GMT+02:00 Pablo Rodriguez = <oin= os@gmx.es>:
On 10/16/2017 05:59 PM, Fabrice Couvreur wrote:
> Hello,
> I have printed this document and the page on the back is printed upsid= e down
> in fact you have to turn the page to read it.
> How to correct this ?
> Thank you
> Fabrice
>
> \setuppapersize[A4,landscape]

Hi Fabrice,

[the command above is the only relevant one, lanscape page orientation.]
If you use a recent version of Acrobat, you may use:

=C2=A0 =C2=A0\setupinteractionscreen[option=3Dlandscape]

This will automatically print it in the right way. In that case, you
don=E2=80=99t have to select anything in Acrobat, the program will read it = from
the PDF document itself.

If you use another viewer, select flip long edge of the paper.

Just in case it helps,

Pablo
--
http:/= /www.ousia.tk
_________________________________________________________________= __________________
If your question is of interest to others as well, please add an entry to t= he Wiki!

maillist : ntg-context@ntg.nl / <= a href=3D"http://www.ntg.nl/mailman/listinfo/ntg-context" rel=3D"noreferrer= " target=3D"_blank">http://www.ntg.nl/mailman/listinfo/ntg-context=
webpage=C2=A0 : http://www.pragma-ade.nl / http://context.aanhet.net=
archive=C2=A0 : https://bitbucket.org/phg/cont= ext-mirror/commits/
wiki=C2=A0 =C2=A0 =C2=A0: http://contextgarden.net
_________________________________________________________________= __________________

--f403043e165c76e19a055bae8405-- --===============4287427570114281525== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX18KSWYgeW91ciBxdWVzdGlvbiBpcyBvZiBpbnRlcmVz dCB0byBvdGhlcnMgYXMgd2VsbCwgcGxlYXNlIGFkZCBhbiBlbnRyeSB0byB0aGUgV2lraSEKCm1h aWxsaXN0IDogbnRnLWNvbnRleHRAbnRnLm5sIC8gaHR0cDovL3d3dy5udGcubmwvbWFpbG1hbi9s aXN0aW5mby9udGctY29udGV4dAp3ZWJwYWdlICA6IGh0dHA6Ly93d3cucHJhZ21hLWFkZS5ubCAv IGh0dHA6Ly9jb250ZXh0LmFhbmhldC5uZXQKYXJjaGl2ZSAgOiBodHRwczovL2JpdGJ1Y2tldC5v cmcvcGhnL2NvbnRleHQtbWlycm9yL2NvbW1pdHMvCndpa2kgICAgIDogaHR0cDovL2NvbnRleHRn YXJkZW4ubmV0Cl9fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f --===============4287427570114281525==--