From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/112398 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Jeroen via ntg-context Newsgroups: gmane.comp.tex.context Subject: Rotating pages Date: Sat, 7 Aug 2021 13:56:06 +0200 Message-ID: Reply-To: mailing list for ConTeXt users Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============4647011544708582179==" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="12947"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Jeroen To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sat Aug 07 13:56:48 2021 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane-mx.org Original-Received: from zapf.boekplan.nl ([5.39.185.232] helo=zapf.ntg.nl) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mCKwa-0003D9-2C for gctc-ntg-context-518@m.gmane-mx.org; Sat, 07 Aug 2021 13:56:48 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id B733F28656F; Sat, 7 Aug 2021 13:56: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 RroyVd9Unal6; Sat, 7 Aug 2021 13:56:19 +0200 (CEST) Original-Received: from zapf.ntg.nl (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id AD1EB286568; Sat, 7 Aug 2021 13:56:19 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 2A073286566 for ; Sat, 7 Aug 2021 13:56:18 +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 itrgPOExLtUA for ; Sat, 7 Aug 2021 13:56:17 +0200 (CEST) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=209.85.166.53; helo=mail-io1-f53.google.com; envelope-from=contextntg@gmail.com; receiver= Original-Received: from mail-io1-f53.google.com (mail-io1-f53.google.com [209.85.166.53]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by zapf.ntg.nl (Postfix) with ESMTPS id 78D3A286558 for ; Sat, 7 Aug 2021 13:56:17 +0200 (CEST) Original-Received: by mail-io1-f53.google.com with SMTP id 188so15813424ioa.8 for ; Sat, 07 Aug 2021 04:56:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=IqmZ3b4HoiSxnuFG2l0mOjFPRU2OxbsRAhFQGu6ngpk=; b=H4fesFjGklIqvlYk1ovxuRM9+pA5tbCrOpNrAMhrz08X9895IEfOlrmKAbgAtsse5r ZkCKQh9hJrBaWD38ps1KllQ0FKE1jfnYwdqMbxNenn8a857cUraC1Pd2X7wK8f2/ci2/ hvZJp4HujNziyDzZGRF/PiEQqsDT16F4ndxkht2VyUX3mIm+AcEeXo/cbR2yeXl9dCO4 183gJa2dq+9DlVsm8BdVkHey0P/H2wclM7U8VHY3peoK2JvqoiQEmTOTB79gjrXNT+/g tyr2paEKxbS84ftPQK9OH/3qqsOopo445OUCHvIInots3UHOY2eGG2m6AwGaGaHbwHCV 0KLw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=IqmZ3b4HoiSxnuFG2l0mOjFPRU2OxbsRAhFQGu6ngpk=; b=RRfoX+ylkx7+MbEiwsxYMFkyVDGO7NkA/qjrHHwPVJQXDxLPmDtAo72CPxKCQV/2Po kZNjOg+Waygx0OAVdf5P4An9OfGn7dAzv8WwYsBoyOR/rrzIu9U0kty4WfL+/HBjb8PI wvpe8ZHWEo6AlNpUVxq/iZGsVWU4FZuGoYmuqGY8/oiph/w463mD3DZOBjtsQWOHfyoM RjOiBcDeqiLEkXE1eZsBGQQj064Hgt4LJDG7G0ooidKZr+Ue5xh7w4KSVA/qb5OeMqMw GeDgSaTHg3ONwc7ta9McKPBY5Giyowep+0KGWMg9Ffc/QArRbxwO0eeTCt7vQglAu+JL AApw== X-Gm-Message-State: AOAM531SKQqqm06euh79jj6yxGjcEHhEwab403FTwcziSq9cWrvwTKEI KngUtl4qJBelfbzpNogqaYb1ALDPK5TPZloSYeOrr7bxobX/YA== X-Google-Smtp-Source: ABdhPJyk6+VwHldiF4bpEvuyaD2e0uz0CRimhH5VEeNATwTpt1y0trCqpMPIa82s0Eawo6/xgdx76fv2ikGst7zotSw= X-Received: by 2002:a02:7a18:: with SMTP id a24mr14063024jac.45.1628337376327; Sat, 07 Aug 2021 04:56:16 -0700 (PDT) X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.26 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.io gmane.comp.tex.context:112398 Archived-At: --===============4647011544708582179== Content-Type: multipart/alternative; boundary="000000000000e3fb0a05c8f6d65d" --000000000000e3fb0a05c8f6d65d Content-Type: text/plain; charset="UTF-8" For the following document, the last 3 pages are landscape, but I would like to have the pdf-ed rotated so they are in the pdf document portrait, ie rotated 90 degree to the left but leave the page as how they are now. Is there an easy way to achieve this? \startbuffer[apx] \setuppapersize[ A4,landscape] \setuppagenumbering[ location={footer,center}] \setbreakpoints[compound] \starttext \startsection[title={MyTitle},ref={apx}] \dorecurse{10}{\input zapf\par} \stopsection \stoptext \stopbuffer \savebuffer[list=apx, file=apx.tex] \starttext \startbodymatter \dorecurse{10}{\input zapf\par} \typesetfile[\jobname-apx.tex][--purgeall][object=no, width=0pt] \stopbodymatter \startappendices \getfiguredimensions[\jobname-apx.pdf] \dorecurse{\noffigurepages} {\startTEXpage \externalfigure[\jobname-apx.pdf][page=\recurselevel] \stopTEXpage} \stopappendices \stoptext --000000000000e3fb0a05c8f6d65d Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
For the following document, the last 3 pages are landscape= , but I would like to have the pdf-ed rotated so they are in the pdf docume= nt portrait, ie rotated 90 degree to the left but leave the page as how the= y are now. Is there an easy way to achieve this?=C2=A0





\startbuffer= [apx]

\setuppapersize[
=C2=A0 A4,landscape]

\setuppagenumb= ering[
=C2=A0 location=3D{footer,center}]

\setbreakpoints[compoun= d]

\starttext

\startsection[title=3D{MyTitle},ref=3D{apx}]
=C2=A0 \dorecurse{10}{\input zapf\par}

\stopsection

\sto= ptext

\stopbuffer

=C2=A0 \savebuffer[list=3Dapx, file=3Dapx.t= ex]

=C2=A0 \starttext
=C2=A0 \startbodymatter
=C2=A0 \dorecurs= e{10}{\input zapf\par}
=C2=A0 \typesetfile[\jobname-apx.tex][--purgeall]= [object=3Dno, width=3D0pt]
=C2=A0 \stopbodymatter
=C2=A0 \startappend= ices
=C2=A0 \getfiguredimensions[\jobname-apx.pdf]
=C2=A0 \dorecurse{= \noffigurepages}
=C2=A0 =C2=A0 =C2=A0 {\startTEXpage
=C2=A0 =C2=A0 = =C2=A0 =C2=A0 \externalfigure[\jobname-apx.pdf][page=3D\recurselevel]
= =C2=A0 =C2=A0 =C2=A0 =C2=A0\stopTEXpage}
=C2=A0 \stopappendices
=C2= =A0 \stoptext
--000000000000e3fb0a05c8f6d65d-- --===============4647011544708582179== 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 X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fCg== --===============4647011544708582179==--