ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Rotating pages
@ 2021-08-07 11:56 Jeroen via ntg-context
  2021-08-07 12:20 ` Wolfgang Schuster via ntg-context
  0 siblings, 1 reply; 2+ messages in thread
From: Jeroen via ntg-context @ 2021-08-07 11:56 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: Jeroen


[-- Attachment #1.1: Type: text/plain, Size: 933 bytes --]

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

[-- Attachment #1.2: Type: text/html, Size: 1178 bytes --]

[-- Attachment #2: Type: text/plain, Size: 493 bytes --]

___________________________________________________________________________________
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
___________________________________________________________________________________

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

* Re: Rotating pages
  2021-08-07 11:56 Rotating pages Jeroen via ntg-context
@ 2021-08-07 12:20 ` Wolfgang Schuster via ntg-context
  0 siblings, 0 replies; 2+ messages in thread
From: Wolfgang Schuster via ntg-context @ 2021-08-07 12:20 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: Wolfgang Schuster

Jeroen via ntg-context schrieb am 07.08.2021 um 13:56:
> 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[

\setuppapersize[%

>   \dorecurse{\noffigurepages}
>       {\startTEXpage
> \externalfigure[\jobname-apx.pdf][page=\recurselevel]
>  \stopTEXpage}

\externalfigure [...] [page=\recurselevel,orientation=90]

Wolfgang

___________________________________________________________________________________
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
___________________________________________________________________________________

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

end of thread, other threads:[~2021-08-07 12:20 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-08-07 11:56 Rotating pages Jeroen via ntg-context
2021-08-07 12:20 ` Wolfgang Schuster via ntg-context

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).